Representing Framemaker Table Properties As Attributes In Markup - Adobe 65030365 - FrameMaker - PC Developer's Manual

Structure application developer's guide
Hide thumbs Also See for 65030365 - FrameMaker - PC:
Table of Contents

Advertisement

18
M o d i f i c a t i o n s t o t h e d e f a u l t t r a n s l a t i o n
these elements. If you're using the CALS table model, you don't need to identify the table
parts, but you may want to use different element names in FrameMaker.
FrameMaker provides several rules for these purposes. If you include these rules, the
software uses them to determine what elements to create in the EDD and to translate
instances of table elements between FrameMaker and markup.
The rules for identifying and renaming table parts are as follows:
element "gi" is fm table element ["fmtag"];
element "gi" is fm table title element ["fmtag"];
element "gi" is fm table heading element ["fmtag"];
element "gi" is fm table body element ["fmtag"];
element "gi" is fm table footing element ["fmtag"];
element "gi" is fm table row element ["fmtag"];
element "gi" is fm table cell element ["fmtag"];
where gi is an generic identifier and fmtag is a FrameMaker element tag. The optional
fmtag argument allows the element to be renamed. If fmtag is not specified, the name
remains the same in the two representations.
If you identify a FrameMaker element as a table part, your document cannot use that
element outside a table. For example, assume you have the rule:
element "entry" is fm table cell element "Cell";
The corresponding EDD contains an element Cell. Documents created with this EDD
should not place the Cell element anywhere other than as a table cell. If they do so, the
resultant document will be invalid.
If your DTD has an element you identify as a table element and another element you identify
as a table part such as a table cell, it may not also include other elements that correspond
to the intervening table parts. For information on how FrameMaker handles this, see
"Omitting explicit representation of table parts" on page 285.
For information on these rules, see "element" on page 376, "is fm table element" on
page 435, and "is fm table part element" on page 436.

Representing FrameMaker table properties as attributes in markup

If you use the CALS table model, FrameMaker automatically represents some table
properties as attributes by default. If you use another table model, FrameMaker does not
recognize any attributes as table properties.
If you have a variant of the CALS model, you can choose different names for these
attributes. If you have any other table model and you want to map attributes to formatting
properties, you can do so. To perform either of these tasks, use this version of the
attribute rule:
attribute "attr" is fm property prop;
Translating Tables
280

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents