Adobe 65030365 Developer's Guide - Page 308
Exporting table widths proportionally, Creating vertical straddles
UPC - 883919170923
View all Adobe 65030365 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 308 highlights
18 Modifications to the default translation Exporting table widths proportionally When you export a table, the software writes the width of the columns as absolute measurements by default. If you want to use proportional widths instead, you can use these rules: writer use proportional widths; writer proportional width resolution is "value"; where value is an integer. The proportions of all columns in a table add to value. If you do not specify the proportional width resolution rule, the default is 100; that is, the proportional widths of all columns add to 100. If you do not specify the use proportional widths rule, the software writes absolute widths for all tables. For example, assume you use the CALS table model and you've added these rules: writer use proportional widths; writer proportional width resolution is "4"; If you export a FrameMaker document containing a 3-column table whose columns are, respectively, 1 in, 1 in, and 2 in wide, the software writes the following colspec start-tags for the table: If the table's actual column widths do not add to the resolution, FrameMaker rounds the values as necessary. For example, if the above table columns were actually 0.75 in, 1.2 in, and 2.2 in, the software would still write the same colspec start-tag. You can use the use proportional widths rule with any attribute that has been associated with the column widths property, not just the CALS attributes. For more information on these rules, see "writer" on page 467, "use proportional widths" on page 463, and "proportional width resolution is" on page 452. Creating vertical straddles FrameMaker provides two rules for you to use if your table structure defines rows that are always straddled. In an element rule for a table cell, you can use this rule: reader start vertical straddle "name"; In an element rule for a table row, you can use this rule: reader end vertical straddle "name1 . . . nameN"; reader end vertical straddle "name1 . . . nameN" before this row; where name identifies the element that starts a vertical straddle, and each namei is a previously named straddle that ends with this element. Translating Tables 290