Working with the table style manager

The table that we added in the preceding examples took properties such as the text style of table cells, the thickness of table lines, the background color of table cells, and the color of the table text from the table style. So far, we have worked with the default table style, but in the following example, we will create our very own table style and make a table with that custom table style:

  1. To make the table style, expand the Annotation panel and click the table style icon indicated in Figure 7.28:

Figure 7. 28: The table style option in the expanded Annotation panel 
  1. Click the New button in the Table Style window and give your new table style a name (I am naming it Test style) and then click Continue.
  2. Now, the New Table Style: Test style window will open, and this is the place where we can change the table style. Go to the Cell styles panel and select Title from the drop-down menu. This will ensure that the properties underneath the Cell styles panel will only affect the title cell:

Figure 7. 29: The Cell styles panel in the New Table Style: Test style window 
  1. Now we have three tabs: General, Text, and Borders. Their names suggest the properties that they are concerned with. Select Red in the Fill color dropdown and leave the other settings as they are by default.
  2. Select a text style from the Properties panel of the Text tab or set a custom height for the title text. In this example, I will only change the text color to green.
  3. From the Borders tab, select a lineweight and a linetype or color for your table borders. In this case, I am changing the lineweight to 0.5 and the color to blue. To apply these lineweights, click the second box on the Properties panel, as highlighted with the red box in screenshot C of Figure 7.30:

Figure 7. 30: The General, Text, and Borders settings for the table  
  1. Once you are done making these changes, click OK to close the table style manager and make a table with this table style.

You will notice that the table cell will inherit the properties that we applied. Similarly, you can modify the table styles again to add more properties to other cell types, such as header and data cells. In our example, the final table looked like Figure 7.31, with these settings applied to only the title cell:

Figure 7. 31: Cell style applied to the title cell of the table 

So, finally, we are done making tables and modifying their properties too. It's time now to move on to the next topic, which is data links. We have already seen an example of data links in action, but we will explore them further in the next section.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.30.253