Adobe 65030365 Developer's Guide - Page 143
Text Format Rules for Containers, Tables, and Footnotes, In
UPC - 883919170923
View all Adobe 65030365 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 143 highlights
10 Text Format Rules for Containers, Tables, and Footnotes 10 You can define text formatting properties for containers, tables, table parts, and footnotes in FrameMaker. When an end user inserts one of these elements in a document, text in the element or in a descendant is formatted automatically according to the format rules in the EDD. Text formatting in FrameMaker is hierarchical-an element can inherit its properties from ancestors and pass on its properties to descendants. XML uses CSS and XSL to express formatting of a document apart from the markup data. When reading XML, FrameMaker does not use the CSS data or any of the formatting expressed in XSL. Instead, FrameMaker uses the template associated with the XML structure application to format the data. When writing XML, FrameMaker can generate a CSS file based on the formatting in the document template. You can also use the File > Structure Tools > Generate CSS2 command to generate a CSS. The formatting information in the template includes format definitions as well as format rules specified in the EDD. You specify whether or not to generate the CSS in the structapps.fm file. For more information, see "Managing CSS generation" on page 62 and Chapter 15, "Saving EDD Formatting Information as a CSS Stylesheet." Markup does not provide a mechanism for formatting text, so the text format rules you write in FrameMaker do not have counterparts in markup. If you import a DTD, you can add format rules to the resulting EDD for use in FrameMaker. If you import a markup document, the text in the document is formatted for elements that have format rules in the EDD you use. If you export a document or EDD to markup, the text formatting information is not preserved. In this chapter This chapter explains how to write text format rules for containers, tables and their parts, and footnotes in FrameMaker. In the outline below, click a topic to go to its page. Background on text format rules and inheritance: • "Overview of text format rules" on page 126 • "How elements inherit formatting information" on page 127 Syntax of text format rules: • "Specifying an element paragraph format" on page 132 • "Writing context-dependent format rules" on page 132 Structure Application Developer's Guide 125