Specifying The Entity Name On Export - 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
For a graphic element:
Created in the FrameMaker document by
the author...
You can use a similar rule to convert all graphic files of one format to another. With the
following example you can convert all TIFF files to PICT:
element "graphic" {
is fm graphic element;
writer facet "TIFF"{
}}

Specifying the entity name on export

Your organization may have common graphics used by all authors. For example, you may
have a particular graphic file that contains your company's logo. To facilitate authors using
the same graphic for the logo, you can create an element that always points to the same
file. In this case, you always want the entity name to be the same for elements of this type.
In the absence of an entity property value for the graphic inset, when the software exports
an external data entity for a graphic or equation, it generates a name for the entity based
on the element name. You can change the name with the entity name rule. The format
of the entity name rule is:
element "gi" {
is fm graphic_or_equation element ["fmtag"];
writer type ["name"] entity name is "ename";
}
where gi is a generic identifier; graphic_or_equation is one of the keywords graphic
or equation; fmtag is an optional FrameMaker element tag; type is one of the keywords
anchored frame, facet, or equation; name is a facet name you supply only if type
is facet; and ename is the entity name. In situations where there could be more than one
entity for a given graphic element, the software ensures unique entity names by appending
an integer to the end of the ename argument.
Translating Graphics and Equations
convert referenced graphics;
export to file "$(entity).pic" as
"PICT";
On export to markup the software:
Writes a graphic file named graphic1.pic
(graphic2.pic, graphic3.pic, etc.). It also
creates a graphic element in markup with
graphic1 as the value of the entity attribute,
and an entity named graphic1 that references
the graphic file.
318

Advertisement

Table of Contents
loading

This manual is also suitable for:

Framemaker 7.1

Table of Contents