14.01.2013 Views

FrameMaker 9.0 Structure Application Developer Reference - Adobe

FrameMaker 9.0 Structure Application Developer Reference - Adobe

FrameMaker 9.0 Structure Application Developer Reference - Adobe

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

anchored frame<br />

translating anchored frame contents, see <strong>Developer</strong> Guide, Chapter 23, Translating Graphics and<br />

Equations<br />

Examples<br />

Assume you use the Graphic element for all graphic elements. If the graphic contains any single<br />

facet, assume the graphic was imported as an entity and you want the default behavior. However,<br />

if the author used <strong>FrameMaker</strong> graphic tools to create the objects in the graphic element, you<br />

want the file written in QuickDraw PICT format.<br />

To accomplish all this, use this rule:<br />

element "graphic" {<br />

is fm graphic element;<br />

writer anchored frame export to file "$(docname).pic"<br />

as "PICT";<br />

}<br />

Assume the <strong>FrameMaker</strong> document is named mydoc.fm. For the first graphic that is not a single<br />

facet, the software writes out a graphic file named mydoc1.pic in the PICT format.<br />

If the export DTD declares an entity attribute to identify the graphic file with the graphic<br />

element, the software generates the following entity declaration:<br />

<br />

The corresponding graphic element in the markup could be:<br />

<br />

If the export DTD includes only a file attribute to associate the graphic file with the graphic<br />

element, the software uses this filename as its value:<br />

<br />

See also<br />

Related rules “equation” on page 63<br />

“facet” on page 72<br />

Rules mentioned in<br />

synopses<br />

General information<br />

on this topic<br />

“element” on page 54<br />

“is fm equation element” on page 107<br />

“is fm graphic element” on page 109<br />

“writer” on page 160<br />

<strong>Developer</strong> Guide, Chapter 23, Translating Graphics and Equations<br />

<strong>Structure</strong>d <strong>Application</strong> <strong>Developer</strong> <strong>Reference</strong> 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!