Adobe 65030365 Developer's Guide - Page 320
Element and attribute structure, Entity and file attributes, Anchored frame properties, EMPTY, entity
UPC - 883919170923
View all Adobe 65030365 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 320 highlights
19 D e f a u l t t r a n s l a t i o n Element and attribute structure This set of declarations represents graphics and equations using elements with a declared content of EMPTY and two primary attributes, entity and file. For a given element, the software writes only one of entity or file. The entity attribute is of type ENTITY and identifies an external data entity containing the graphic or equation. The file attribute is of type CDATA and its value is the name of a file containing the graphic or equation. XML: For XML you should use the entity attribute to treat a graphic file as an unparsed entity. When FrameMaker encounters a graphic or equation on export, it writes a start-tag for an empty element, including values for its attributes, as appropriate. Under some circumstances, it also writes a file containing the graphic or equation itself. You can use read/write rules or a structure API client to change these behaviors. For information about exporting graphic or equation files, see "Creating graphic files on export" on page 306. For information on facets, see the FrameMaker user's manual. Graphic and equation elements have the same set of attributes describing common properties of anchored frames. Graphic elements have additional attributes for properties relevant only to graphics created outside FrameMaker. Finally, your EDD might define other attributes for a particular graphic or equation element. The software exports these attributes as well. Entity and file attributes The default declarations include both an entity and a file attribute for each markup element that corresponds to a graphic or equation. When exporting a FrameMaker document, the software stores the location of the graphic file in one or the other of those attributes, depending on which is present in the markup element declaration. If the markup element has an entity attribute defined, then on export FrameMaker writes a value for the entity attribute in markup. If there is no corresponding entity in the structure application's DTD, it also generates the corresponding entity declaration in the document's internal DTD subset. By default, FrameMaker doesn't generate a public identifier; you must supply a structure API client to do so. If a markup element has a file attribute but no entity attribute, the software writes a value for the file attribute. On import, if the markup element has no value for the entity attribute, the value of the file attribute is used. Otherwise, the entity value is used. Anchored frame properties All markup elements corresponding to graphics and equations have the following implied attributes that supply information about the anchored frame containing the graphic or equation: Translating Graphics and Equations 302