Omitting Representation Of Graphic Properties 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

19
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
With this rule, other elements can use the h attribute for different purposes.
In both of these examples, the software creates an EDD from a DTD without creating an
attribute that corresponds to the h attribute. When importing or exporting markup
documents, it uses the attribute to read or write the appropriate information from the
graphic.
The dpi and impsize attributes defined for graphic elements deserve special attention.
For each generic identifier that represents an imported graphic object, you can decide
whether its size is specified with the dpi or the impsize attribute. By default, the software
uses the dpi attribute, but you can change this default with the specify size rule. For
information on this rule, see "Changing how FrameMaker writes out the size of a graphic"
on page 319.
For information on the rules used in these examples, see "attribute" on page 367, "element"
on page 376, "is fm graphic element" on page 422, and "is fm property" on page 424.

Omitting representation of graphic properties in markup

Some properties of graphics and equations have no explicit representation in markup. In
such cases, you may want to use a rule to make the information explicit in FrameMaker.
You can use this rule to do so:
fm property prop value is "propval";
where prop is the FrameMaker property and propval is the value to use.
With this rule, the software creates a DTD from an EDD without creating the corresponding
markup attribute. When importing a markup document, it causes the software to assign a
particular value to one of the formatting properties. When exporting a document, it tells
FrameMaker not to write an attribute with the value.
The fm property rule can be used at the highest level to set a default or within an
element rule to be restricted to a single element.
For example, you may have a markup element bitmap treated as a graphic element in
FrameMaker. Furthermore, you know that you never want to make a copy of such an object
in the FrameMaker document; you do not want your end users to have the option of
importing by copy. You can accomplish this as follows:
element "bitmap" {
is fm graphic element;
fm property import by reference or copy value is "ref";
}
When creating an EDD from a DTD, the software does not create an impby attribute for
the bitmap element. Consequently, when exporting a FrameMaker document to markup,
it does not try to write a value for the impby attribute. When importing a markup document,
it automatically sets the property value to ref.
Translating Graphics and Equations
312

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents