Adobe FRAMEMAKER 10 Скачать руководство пользователя страница 222

ADOBE FRAMEMAKER 10

MIF Reference

217

Document statement

In addition to document preferences (see 

“Document statement” on page 84

), the MIF 

Document

 statement 

describes standard formats for rubi text. The rubi formatting substatements correspond to settings in the Rubi 
Properties dialog box.

Syntax

Example

<Document

. . .

<DRubiSize 50%>

<DRubiOverhang Yes>

<DRubiAlignAtBounds Yes>

<DWideSpaceForJapanese Proportional>

<Document

See page 84 

<DRubiSize 

percentage

>

OR

The size of the rubi characters, proportional to the size of the 
oyamoji characters

Allowed values are 1.0% through 1000.0%

<DRubiFixedSize 

point size

The fixed size of the rubi characters in points only. 

Either the DRubiSize statement or the DRubiFixedSize state-
ment can be specified, but not both in the same document. 

<DRubiOverhang 

boolean

>

Yes allows rubi to overhang hiragana oyamoji text

<DRubiAlignAtBounds 

boolean

>

Yes aligns all rubi and oyamoji characters at line boundaries

<DWideRubiSpaceForJapanese 

keyword

>

Determines how to space rubi characters for Japanese 
oyamoji that is wider than the rubi text

keyword

 can be:

Wide

Narrow

Proportional

<DNarrowRubiSpaceForJapanese 

keyword

>

Determines how to space rubi characters for Japanese 
oyamoji that is narrower than the rubi text

keyword

 can be:

Wide

Narrow

Proportional

<DWideRubiSpaceForOther 

keyword

>

Determines how to space rubi characters for non-Japanese 
oyamoji that is wider than the rubi text

keyword

 can be:

Wide

Narrow

Proportional

<DNarrowRubiSpaceForOther 

keyword

>

Determines how to space rubi characters for non-Japanese 
oyamoji that is narrower than the rubi text

keyword

 can be:

Wide

Narrow

Proportional

>

End of the 

Document 

statement

Содержание FRAMEMAKER 10

Страница 1: ...MIF Reference ADOBE FRAMEMAKER 10...

Страница 2: ...ra Copyright 1991 All rights reserved Proximity Technology A Division of Franklin Electronic Publishers Inc Burlington New Jersey USA Copyright 1990 Munksgaard International Publishers Ltd Copyright 1...

Страница 3: ...ferences 36 Creating variables 38 Creating conditional text 40 Creating filters 43 Including template files 44 Setting View Only document options 46 Applications of MIF 47 Debugging MIF files 50 Other...

Страница 4: ...or structured documents 169 Text in structured documents 172 Structured book statements 172 MIF Messages 176 Chapter 6 MIF Equation Statements Document statement 178 Math statement 182 MathFullForm st...

Страница 5: ...5 General rules for reading and writing facets 260 Chapter 12 EPSI Facet Format Specification of an EPSI facet 261 Example of an EPSI facet 261 Chapter 13 FrameImage Facet Format Specification of a Fr...

Страница 6: ...and graphics information You use the database to enter manipulate sort and select data You use FrameMaker to format the resulting data You use MIF files as the data interchange format between the data...

Страница 7: ...When you are learning about MIF statements you may find it useful to understand how FrameMaker represents documents How MIF statements represent documents FrameMaker represents document components as...

Страница 8: ...perties that are specified in setup files and in templates In UNIX versions these templates are ASCIITemplate and NewTemplate You can modify these default objects and document formats by creating your...

Страница 9: ...nts one or more numbers a string a token or nested statements Markup statements are always delimited by angle brackets macro statements are not For the syntax of macro statements see Macro statements...

Страница 10: ...tagstring must exactly match the tagstring value A tagstring value can include any character from the FrameMaker char acter set pathname A string specifying a pathname see Device independent pathname...

Страница 11: ...ric values into equivalent measurement units X Y W H Coordinates of a point on the physical screen represented by X and Y plus dimensions describing the width and height Used only by the DWindowRect a...

Страница 12: ...cimal notation or Unicode notation In the previous example the hexadecimal notation for the paragraph symbol is xa6 Alternatively you can use the u00B6 Unicode notation to represent the same character...

Страница 13: ...ve The following table specifies device independent absolute pathnames for the different versions of FrameMaker Relative pathnames A relative pathname shows the location of a file relative to the curr...

Страница 14: ...rameMaker document you usually save it in Normal format FrameMaker s binary format for document files To save a document as a MIF file choose Save As from the File menu In the Save Document dialog box...

Страница 15: ...and turn off Smart Quotes If you leave Smart Quotes on you must use a key sequence to type the quotation marks that enclose a MIF string To enter a left quotation mark type Control To enter a straigh...

Страница 16: ...ds MIF files study the following example This MIF file uses only four statements to describe a document that contains one line of text MIFFile 8 00 The only required statement Para Begin a paragraph P...

Страница 17: ...h s format not by adding extra carriage returns In a FrameMaker document you store paragraph formats in a Paragraph Catalog and assign a tag name to the format You can then apply the same format to ma...

Страница 18: ...h Designer with the related Pgf substatements Suppose you have created a paragraph format for a numbered list item with Basic properties defined as follows in the Paragraph Designer Basic properties T...

Страница 19: ...ents PgfLineSpacing Fixed Line Spacing fixed PgfNumTabs 1 Number of tab stops TabStop Begin definition of tab TSX 0 25 Tab position TSType Left Tab type TSLeaderStr Tab leader none end of TabStop PgfU...

Страница 20: ...Black Color FDW 0 0 pt Spread FStretch 100 Stretch FUnderlining NoUnderlining Underline FOverline No Overline FStrike No Strikethrough FChangeBar No Change Bar FPosition FNormal Superscript Subscript...

Страница 21: ...able shows the corresponding MIF statements In MIF file In Paragraph Designer PgfPlacement Anywhere Start PgfWithNext No Keep With Next Pgf PgfWithPrev No Keep With Previous Pgf PgfBlockSize 1 Widow O...

Страница 22: ...Numbering properties The following table shows the corresponding MIF statements In MIF file In Paragraph Designer PgfAutoNum Yes Turn on Autonumber PgfNumFormat n t Autonumber Format a number followed...

Страница 23: ...aph Designer PgfHyphenate Yes Automatic Hyphenation on HyphenMaxLines 2 Max Adjacent HyphenMinWord 5 Shortest Word HyphenMinPrefix 3 Shortest Prefix HyphenMinSuffix 3 Shortest Suffix PgfMinWordSpace 9...

Страница 24: ...fMinJRomanLetterSpace percentage Minimum Western Asian Spacing PgfOptJRomanLetterSpace percentage Optimum Western Asian Spacing PgfMaxJRomanLetterSpace percentage Maximum Western Asian Spacing PgfMinJ...

Страница 25: ...Pgf statements A PgfCatalog statement looks like this PgfCatalog Pgf A paragraph format description Pgf More paragraph formats end of PgfCatalog The Pgf statement describes a complete paragraph format...

Страница 26: ...ads in the MIF file Applying a paragraph format To apply a format from the Paragraph Catalog to a paragraph use the PgfTag statement to include the format tag name within the Para statement For exampl...

Страница 27: ...cond paragraph in document end of ParaLine end of Para The previous example is in the sample file pgffmt mif If you open this file in FrameMaker you ll find that the second paragraph also has the new...

Страница 28: ...ting and applying paragraph formats as described in the previous section Because the two methods are similar this section just summarizes how to create and apply character formats In a MIF file the Ch...

Страница 29: ...t A table format controls the appearance of a table including the number and width of columns the types of ruling or shading in rows and columns and the table s position in a text column Table formats...

Страница 30: ...lBody The body of the table Row One for each row in body end of TblBody TblF The footer omit if no footer Row One for each row in footer end of TblF end of Tbl The TblID statement assigns a unique ID...

Страница 31: ...of Cell Cell Second cell in row CellContent Para PgfTag CellBody ParaLine String 455 00 end of Para end of CellContent end of Cell end of Row end of TblBody end of Tbl end of Tbls A table cell is a te...

Страница 32: ...he table ID used by the ATbl statement must exactly match the ID given by the TblID statement If it does not the MIF interpreter ignores the ATbl statement and the table instance does not appear in th...

Страница 33: ...Second cell appears even though CellContent it is empty Para PgfTag CellHeading ParaLine end of Para end of CellContent end of Cell end of Row If the cell straddles rows the substatement is CellRows C...

Страница 34: ...y other row TblXFill 15 No fill for alternate rows TblXColor Black Color for alternate rows TblAltShadePeriod 1 TblLRuling Thin Use thin left outside rule TblBRuling Thin Use thin bottom outside rule...

Страница 35: ...ed table formats supersede those in the default Table Catalog You can add a minimal table format to the catalog by simply supplying a table format tag name The MIF interpreter supplies a set of defaul...

Страница 36: ...than other document components A table without an applied table format does not inherit one from a previously defined table Instead it gets a set of default properties from the MIF interpreter Thus if...

Страница 37: ...meMaker provides a default right master page for single sided documents and default right and left master pages for double sided documents A MIF file can either use the default page layout or provide...

Страница 38: ...a single sided custom layout If the document that you re importing needs a custom master page you must specify a custom page layout For example a document might need a master page for background graph...

Страница 39: ...lumn layout must also match TRColumnGap 0 0 end TextRect end Page If the dimensions specified by the ShapeRect statement and column layout specified by the TRNumColumns and TRColumnGap statements of t...

Страница 40: ...u import a two sided document you might need to specify different page layouts for right and left pages For example a document might have a wider inside margin to allow extra room for binding You can...

Страница 41: ...ndex entries cross references and hypertext commands to a document FrameMaker provides both predefined marker types and markers that you can define as needed For more information about markers and mar...

Страница 42: ...ame Page XRefDef page x11 pagenum end of XRefFormat end of XRefFormats The name can be any string allowed in a MIF file see Character set in strings on page 7 In this example a nonbreaking space x11 a...

Страница 43: ...s not required in a MIF input file The previous example would be written as follows XRef XRefName Page XRefSrcText 34126 Heading My Heading XRefSrcFile end of XRef String page The text that appears in...

Страница 44: ...phasis A15 24 Default Font end of VariableFormat You can specify character formats as building blocks that is the character format name must be enclosed in angle brackets Because of MIF parsing requir...

Страница 45: ...cify their format via ConditionCatalog and Condition statements Apply one or more condition tags to the appropriate sections of the document via Conditional and Uncondi tional statements Show or hide...

Страница 46: ...identified using the BoolCondTag You can create these expressions by linking condition tags with boolean operators and describe them in the BoolCondExpr statement If the value of BoolCondState of a B...

Страница 47: ...oesn t span paragraphs all the text appears in one Para statement If the hidden text spans paragraphs each end of paragraph in the conditional text forces a new Para statement in the hidden text flow...

Страница 48: ...er comprises a tag called AttrCondExprTag the expression tag AttrCondExprStr and the state of the filter which is stored in the AttrCondState tag The state of the filter indicates whether the filter i...

Страница 49: ...finitions and delete the text flow 3 Generate the text flow for your document and use the include statement to read the formatting information from the template Creating the template Create the templa...

Страница 50: ...le Suppose the edited MIF file is called mytemplate mif Your application would generate the following two lines at the top of any new MIF file MIFFile 8 00 Generated by my application include mytempla...

Страница 51: ...t window include the following statement DViewOnlySelect No You can normally select text and objects in a locked document by Control dragging in UNIX and Windows versions Specifying DViewOnlySelect No...

Страница 52: ...cross reference does not highlight the marker The user cannot select text in the locked document By default clicking a cross reference does not highlight the marker associated with the destination tex...

Страница 53: ...MIF book file to easily add or change document names in a book For an example of using MIF to easily update the values in a table see Updating several values in a table on page 229 Writing filters MIF...

Страница 54: ...dvantage of FrameMaker s syntactically complete MIF statements but allows your filter to write a shorter MIF file If your filter needs to generate fully formatted MIF files you can minimize the number...

Страница 55: ...debugging MIF files you should examine the error messages for clues The MIF interpreter reports line numbers for most errors For a description of MIF error messages see MIF Messages In some cases the...

Страница 56: ...ve documents modify documents and interact with the user The FDK also includes the Frame Development Environment FDE which allows you to make your FDK clients portable to the platforms that FrameMaker...

Страница 57: ...Define macros with a define statement and read in files with an include statement These statements can appear anywhere at the top level ColorCatalog Describes document colors The ColorCatalog statemen...

Страница 58: ...ix file type and paragraph tags or marker types to include InitialAutoNums Provides a starting value for the autonumber series in a document Dictionary Lists allowed words in the document AFrames Desc...

Страница 59: ...r more information see MIF Compatibility Control statements Control statements set defaults provide debugging information and insert comments Units statement The Units statement specifies the default...

Страница 60: ...t changes the setting Comment statement The Comment statement identifies an optional comment Syntax Usage Comments can appear within Comment statements or they can follow a number sign When it encount...

Страница 61: ...The MIF parser requires these brackets to interpret the macro correctly include statement The include statement reads information from other files It is similar to an include statement in a C program...

Страница 62: ...iewState statement Syntax Conditional text FrameMaker documents can contain conditional text In a MIF file the condition tags are defined by a Condition statement which specifies whether the condition...

Страница 63: ...ional text and the Unconditional statement marks the end These statements must appear in a Row or ParaLine statement ConditionCatalog Condition Defines a condition tag see Condition statement next Con...

Страница 64: ...tement The BoolCondCatalog statement defines the contents of Boolean Expression Catalog for conditional text A MIF file can have only one BoolCondCatalog statement after Condition Catalog Syntax BoolC...

Страница 65: ...ts contain a catalog of predefined filters DefAttrValues statement The DefAttrValues statement is used to define a set of attributes with relevant values Syntax BoolCondExpr string Boolean expression...

Страница 66: ...atement The PgfCatalog statement defines the contents of the Paragraph Catalog A MIF file can have only one PgfCatalog statement which must appear at the top level in the order given in MIF file layou...

Страница 67: ...with the following exception the PgfNumTabs statement must appear before any TabStop statements Syntax Basic properties Pgf Begin paragraph format PgfTag tagstring Paragraph tag name PgfUseNextTag boo...

Страница 68: ...acter by ASCII value in UNIX versions type man ascii in a UNIX window for a list of characters and their corresponding ASCII values End of TabStop statement TabStop Additional statements as needed Def...

Страница 69: ...spacing as a percentage of a standard space in the paragraph s default font PgfOptWordSpace integer Optimum word spacing as a percentage of a standard space in the paragraph s default font PgfMaxWord...

Страница 70: ...eNormal PgfTopSepAtIndent boolean Used for structured documents only PgfTopSepOffset dimension Used for structured documents only PgfBotSeparator string Name of reference frame from reference page to...

Страница 71: ...defined by a PgfFont or a Font statement Character formats can be defined locally or they can be stored in the Character Catalog which is defined by a FontCatalog statement FontCatalog statement The...

Страница 72: ...Swedish Japanese TraditionalChinese SimplifiedChinese Korean Font encoding FEncoding keyword Specifies the encoding for this font This is to specify the encoding for a double byte font If not present...

Страница 73: ...kerning FCase keyword Applies capitalization style to string keyword can be one of FAsTyped FSmallCaps FLowercase FUppercase Kerning information FDX percent Horizontal kern value for manual kerning e...

Страница 74: ...ference on page 130 Font name When a PgfFont or Font statement includes all of the family angle weight and variation properties FrameMaker identifies the font in one or more of the following ways The...

Страница 75: ...mName W Helvetica I 700 Narrow Tables Table formats are defined by a TblFormat statement Table formats can be locally defined or they can be stored in a Table Catalog which is defined by a TblCatalog...

Страница 76: ...Before dimension Space above table TblSpAfter dimension Space below table TblAlignment keyword Horizontal alignment within text column or text frame keyword can be one of Left Center Right Inside Outs...

Страница 77: ...s draw bottom rule on the last sheet only No means draw rule on the bottom of every sheet Shading properties TblHFFill integer Default fill pattern for table heading and footing see page 107 TblHFColo...

Страница 78: ...ph format for the column s heading cells in new tables PgfTag tagstring Applies format from Paragraph Catalog Pgf Overrides Paragraph Catalog format as needed see page 62 End of TblColumnH statement T...

Страница 79: ...bles and text insets The TblLocked statement does not correspond to any setting in the Table Designer The statement is for text insets that retain formatting information from the source document If th...

Страница 80: ...NumColumns integer Number of columns in the table TblColumnWidth dimension Width of first column TblColumnWidth dimension Width of second column Width of remaining columns as needed EqualizeWidths Mak...

Страница 81: ...ting rows omit if no table footing Row See Row statement next Row Additional statements as needed End of TblF statement End of Tbl statement Row Conditional Specifies conditional row row is unconditio...

Страница 82: ...ontents It also includes format straddle and rotation information as needed The statement must appear in a Row statement Syntax End of Row statement Cell CellFill integer Fill pattern for cell 0 15 se...

Страница 83: ...al ways to determine column width Calculating proportional width columns MIF uses this formula to calculate the width of proportional width columns The arguments have the following values For example...

Страница 84: ...level in the order given in MIF file layout on page 52 Syntax Ruling statement The Ruling statement defines the ruling styles used in table formats It must appear within the RulingCatalog statement Sy...

Страница 85: ...ble in a document The color views for a document are specified in the Views statement The current view for the document is identified in a DCurrentView statement The color of a FrameMaker document obj...

Страница 86: ...nt ColorCyan percentage Percentage of cyan 0 100 ColorMagenta percentage Percentage of magenta 0 100 ColorYellow percentage Percentage of yellow 0 100 ColorBlack percentage Percentage of black 0 100 C...

Страница 87: ...refers to the variable name shows where the variable appears in text see ParaLine statement on page 125 VariableFormats and VariableFormat statements The VariableFormats statement defines document var...

Страница 88: ...to other documents A cross reference has a marker that indicates the source where the cross reference points and a format that determines the text and its formatting in the cross reference All cross...

Страница 89: ...the document The Dictionary statement contains the user s list of allowed words for the document Document statement The Document statement defines global document properties A document can have only...

Страница 90: ...rs For example a Key of 126 non printing characters would require 378 ASCII characters However since a valid MIF string can only have up to 255 ASCII characters such a Key statement would be invalid i...

Страница 91: ...d by filters to specify column gap DPageSize W H Document s default page size and orientation if W is less than H the document s orientation is portrait otherwise it is landscape Pagination DStartPage...

Страница 92: ...string Paragraph and reference frame tag for document footnotes DFNoteMaxH dimension Maximum height allowed for document footnotes DFNoteRestart keyword Document footnote numbering control by page or...

Страница 93: ...properties DChBarGap dimension Change bar distance from column DChBarWidth dimension Thickness of change bar DChBarPosition keyword Position of change bar keyword can be one of LeftOfCol RightOfCol N...

Страница 94: ...and in a View Only document command is specified by hex function code see page 47 DViewOnlyWinBorders boolean No suppresses display of scroll bars and border buttons in document window of View Only do...

Страница 95: ...percentage The size of the rubi characters proportional to the size of the oyamoji characters see Rubi text on page 216 Reference properties DUpdateXRefsOnOpen boolean Yes specifies that cross refere...

Страница 96: ...ame of the table tag in the custom table tag Math properties For more information see MIF Equation Statements Structure properties For more information see MIF Statements for Structured Docu ments and...

Страница 97: ...zoom setting Column properties DMargins L T R B Not generated by FrameMaker but used by filters to specify text margins ignored unless DColumns is specified DColumns integer Not generated by FrameMake...

Страница 98: ...Kanjikazu BusinessKazu Custom ChapterNumText string When ChapterNumStyle is set to Custom this is the string to use ChapterNumComputeMethod keyword Chapter numbering keyword can be one of StartNumberi...

Страница 99: ...f Arabic UCRoman LCRoman UCAlpha LCAlpha KanjiNumeric ZenArabic ZenUCAlpha ZenLCAlpha Kanjikazu BusinessKazu Custom SubSectionNumText string When SubSectionNumStyle is set to Custom this is the string...

Страница 100: ...on Document format properties DSmartQuotesOn boolean Use curved left and right quotation marks DSmartSpacesOn boolean Prevents entry of multiple spaces DLinebreakChars string OK to break lines at the...

Страница 101: ...rd Placement of number in document footnote keyword can be one of FNSuperscript FNBaseline FNSubscript DFNoteAnchorPrefix string Prefix before document footnote number in text DFNoteAnchorSuffix strin...

Страница 102: ...upon opening DSymbolsOn boolean Turns on text symbols upon opening DGraphicsOff boolean Yes displays text only DPageScrolling keyword Specifies how FrameMaker displays consecutive pages keyword can b...

Страница 103: ...tring Tag name of process color to print as separation DPrintSeparations boolean Yes prints separations DTrapwiseCompatibility boolean When printing to a PostScript file Yes generates postscript opti...

Страница 104: ...ts that are targets of hypertext markers or cross references have been marked according to optimization rules for version 6 0 or later this style of marking makes it unnecessary to use DPDFCreateNamed...

Страница 105: ...tion in this statement of the default fields for Creator Creation Date or MetaData Date For more information see PDF Document Info on page 85 Key string A string of up to 255 ASCII characters that rep...

Страница 106: ...or if the menu bar is not found the standard FrameMaker menu bar is used DVoMenuBar string Name of the menu bar displayed by an FDK client when the docu ment is opened in View Only mode if an empty st...

Страница 107: ...The Dictionary statement lists all the words in the document dictionary A MIF file can have only one Dictionary statement which must appear at the top level in the order given in MIF file layout on p...

Страница 108: ...e PageType keyword Page type keyword can be one of LeftMasterPage RightMasterPage OtherMasterPage ReferencePage BodyPage HiddenPage PageNum string Page number for additive pages provided for output fi...

Страница 109: ...es are landscape If DPageSize defines a landscape page one whose width is greater than its height pages with an angle of 0 or 180 degrees are landscape pages with an angle of 90 or 270 degrees are por...

Страница 110: ...rame is not described by any MIF statement When you import a MIF file into an existing FrameMaker document the default current page is the first page visible when the Import command is invoked the cur...

Страница 111: ...0 points Angle degrees Rotation angle of object in degrees default is 0 Frames cells and equations can only be rotated in 90 degree increments all other objects can be arbitrarily rotated ReRotateAngl...

Страница 112: ...r document you can rotate an object in either a counterclockwise or clockwise direction In a MIF file the rotation angle is always measured in a counterclockwise direction An object without an Angle s...

Страница 113: ...are not needed for every object For example if you write out a MIF file not all objects will contain these statements If these statements do not appear in an object or MIF file the following rules app...

Страница 114: ...starting point and the tail cap at the ending point of lines and arcs The arrow style property statements can appear in any order in an ArrowStyle statement For a complete description of arrow style p...

Страница 115: ...in degrees BaseAngle integer Arrowhead base angle in degrees Length dimension Arrowhead length HeadType keyword Arrowhead type keyword can be one of Stick Hollow Filled ScaleHead boolean Yes scales h...

Страница 116: ...rame is anchored and if anchored the position of the anchored frame keyword can be one of Below Top Bottom Inline Left Right Inside Outside Near Far RunIntoParagraph NotAnchored Tag tagstring Name of...

Страница 117: ...ameType Top Below the insertion point of the cursor FrameType Below At the bottom of the text column FrameType Bottom Running into the paragraph FrameType RunIntoParagraph If the graphic frame is anch...

Страница 118: ...ocument the data describing the graphic is recorded within the ImportObject statement The description of a graphic in a given format is called a facet FrameMaker uses facets to display graphics print...

Страница 119: ...in hexadecimal see Facet Formats for Graphics EndInset End of the data describing the imported graphic NativeOrigin X Y Coordinates of the origin of the imported graphic within the page or frame appl...

Страница 120: ...the graphic type and the value of the ImportObFixedSize statement Position and coordinate systems Some types of graphics such as EPS use coordinate systems to specify the position of the graphic When...

Страница 121: ...with a graphic imported by reference does not contain any facets A facet contains graphic data in a specific format For example a TIFF facet contains graphic data described in TIFF format An EPSI face...

Страница 122: ...by developers at your site format_id is a code specifying the format that the filter translates The code is a string of four characters The following table lists some of the possible codes Code Descri...

Страница 123: ...red as a device independent bitmap DIB You can import a Shockwave Flash SWF file by referencing it from the document or by pasting it into the document In both cases the graphic object is made up of t...

Страница 124: ...ver with Applications and Insets which is included in the UNIX version of the Frame Developer s Kit For more information about importing graphics see your user s manual Math statement A Math statement...

Страница 125: ...t the top level or in a Page or Frame statement Syntax HeadCap keyword Type of head cap for lines and arcs keyword can be one of ArrowHead Butt Round Square TailCap keyword Type of tail cap for lines...

Страница 126: ...ASCII range You can define macros that make Char statements more readable and there are several predefined constants for character values See Char statement on page 126 TextRect statement The TextRect...

Страница 127: ...me in the flow If there is no next TextRect use a TRNext 0 statement or omit the entire TRNext statement The text frame is rotated by the value specified in an Angle statement The default angle is 0 T...

Страница 128: ...ry only if you want to reset the text frame defaults If the text flow contains side heads the TFSideheads statement is set to Yes The PgfPlacementStyle statement under paragraph properties identifies...

Страница 129: ...persistent across sessions assigned when FrameMaker generates a MIF file used by the FDK client and should not be used by filters Font Changes font as needed see PgfFont and Font statements on page 66...

Страница 130: ...Where the following text goes SpclHyphenation boolean Hyphenation of a word at the end of a line causes the word to be spelled differently as with German hyphenation Font Embedded character change for...

Страница 131: ...iable is affected by global formatting performed on the document For more information about text insets see Text insets text imported by reference on page 130 Char statement The Char statement inserts...

Страница 132: ...However these special characters continue to be represented by Character Names in dialog boxes MarkerTypeCatalog statement The MarkerTypeCatalog statement defines the contents of the catalog of user...

Страница 133: ...atalog MTypeName string Markername asitappears in the Marker Type popup menuoftheMarker dialog box end of MarkerTypeCatalog End of MarkerTypeCatalog statement Marker Unique ID ID persistent across ses...

Страница 134: ...ed since January 1 1970 XRefLocked boolean Yes means the cross reference is part of a text inset that obtains its formatting information from the source document XRefSrcText string Text to search for...

Страница 135: ...hat reads formatting information from the current document The cross reference is affected by global formatting performed on the document For more information about text insets see Text insets text im...

Страница 136: ...ter to use when updating the text inset The record is specified in the TiImportHint statement and uses the following syntax record_vers vendor format_id platform filter_vers filter_name Note that the...

Страница 137: ...PGRF Built in FrameMaker filters FAPI External FDK client filter FFLT External FrameMaker filters IMAG External ImageMark filters XTND External XTND filters Code Description WDBN Microsoft Word compou...

Страница 138: ...t defines a text inset created and maintained by an FDK client application Syntax Usage When updating text insets the FDK client can use the TiClientName substatement to determine if it should update...

Страница 139: ...t s formats the TiFormatRemoveOverrides substatement specifies whether or not format overrides in the text are removed and the TiFormatRemovePage Breaks substatement specifies whether or not manual pa...

Страница 140: ...appears in a TextInset statement Syntax TiText TiEOLisEOP boolean Yes specifies that the end of the line marks the end of a paragraph No specifies that a blank line identifies the end of a paragraph T...

Страница 141: ...the following substatements are used TiTblSep t TiTblNumSep 1 As another example if the imported text uses two spaces to distinguish the contents of one table cell from the next the following substate...

Страница 142: ...playText Specifies the type of text to display in the book window for each book component icon PDF statements Specify document info entries and how to handle named destinations when you save the book...

Страница 143: ...MIF file for a document Comment Units Verbose PgfCatalog and FontCatalog ColorCatalog and ConditionCatalog BWindowRect statement The BWindowRect statement defines the position of the book window on t...

Страница 144: ...nclude Unicode characters represent Unicode characters via xHHHH where x opens the character code the character closes the character code and HHHH are as many hexadec imal values as are required to re...

Страница 145: ...statments should begin under a BeginFolder and EndFolder statements or BeginGroup and EndGroup statements The sequence should be as follows BXmlStyleSheet string The path or URI to the stylesheet that...

Страница 146: ...onentTitle The name for the folder or group EndFolder EndFolder indicates the end of the folder started with the immedi ately previous BeginFolder statement Group components BeginGroup If the BookComp...

Страница 147: ...de on which to start keyword can be one of ReadFromFile default NextAvailableSide StartLeftSide StartRightSide Volume numbering VolumeNumStart integer Starting volume number VolumeNumStyle keyword Sty...

Страница 148: ...use numbering set for the component s document Section numbering SectionNumStart integer Starting section number SectionNumStyle keyword Style of section numbering keyword can be one of Arabic UCRoma...

Страница 149: ...previous compo nent UseSameNumbering use the same numbering as previous compo nent ReadFromFile use numbering set for the component s document Page numbering ContPageNum boolean Yes continues page nu...

Страница 150: ...ng typicallytorestartperflow according to BFNoteRestart setting PerPage restart footnote numbering for each page overrides BFNoteRestart setting ReadFromFile use numbering set for the component s docu...

Страница 151: ...t as calculated the last time the book was updated ComponentIsDitaMap boolean Yes if the component file path is a DITA map Book autonumbering BookInitialAutoNums Provides a starting value for the auto...

Страница 152: ...rence is an element from a structured document XRefSrcFile pathname File in which to search for source text for pathname syntax see page 7 XRefSrcElemNonUniqueId string A string specifying the id attr...

Страница 153: ...cross references An object element holds one of its specified type of object and nothing more Tables belong to both groups of elements Although they can contain other elements table parts such as row...

Страница 154: ...idHighestLevel boolean Yes indicates element can be used as the highest level element for a flow only a container element is allowed to be the highest level element EDGeneralRule string The general ru...

Страница 155: ...a table is inserted Valid only if EDObject is one of the following EDTable EDTblHeading EDTblBody EDTblFooting EDTblRow EDTblCell EDAttrDefinitions List of attribute definitions EDAttrDef Definition...

Страница 156: ...ions which describe attributes information stored with an element other than its content The definition of an attribute can specify that the attribute is required for all elements with the element def...

Страница 157: ...pe if there are two Section elements among its ancestors Element definitions contain format rules grouped into the following statements EDTextFormatRules EDObjectFormatRules EDPrefixRules EDAttrRequir...

Страница 158: ...t before the element s content The EDPre fixRules statement defines the formatting properties to be applied to a prefix in different contexts It must appear in an ElementDef statement It is valid only...

Страница 159: ...ation of level and context format rules LevelFormatRule A level format rule see LevelFormatRule statement on page 156 ContextFormatRule A context format rule see ContextFormatRule statement on page 15...

Страница 160: ...format rules statement such as an EDTextFormatRules or EDEndElementRules statement Syntax LevelFormatRule Additional level format rule statements as needed End of EDStartElementRules statement EDEndE...

Страница 161: ...textFormatRule statement they specify a context and one or more statements that define how to change formatting when the context applies If an If or ElseIf statement does not include a Context or Leve...

Страница 162: ...Else statement If Begin If clause Level levelstring String specifying a level of nesting such as 1 or 5 If the element is nested to this level the following formatting statements are used to format t...

Страница 163: ...es can include this statement FmtChangeListTag tagstring The tag of a named format change list a format change list in the format change list catalog For moreinformation on format change lists see For...

Страница 164: ...ragraph If it does this it can t specify changes to any other paragraph properties If a FmtChangeList statement defines a named change list it must include an FclTag statement specifying its name In a...

Страница 165: ...er dimension Space below paragraph PgfSpAfterChange dimension Change to space below paragraph PgfLineSpacingFixed boolean Yes means the lines spacing is fixed to the default font size PgfLeading dimen...

Страница 166: ...r see Font name on page 69 FPlatformName string Platform specific font name only read by the Windows version see FPlatformName statement on page 70 Default font size color and width FSize dimension Si...

Страница 167: ...case FUppercase Default font kerning information FDX percent Horizontal kern value for manual kerning expressed as percentage of an em positive value moves characters right and negative value moves ch...

Страница 168: ...NumFormat string Autonumber formatting string PgfNumberFont tagstring Tag from Character Catalog PgfNumAtEnd boolean Yes places number at end of line instead of beginning Advanced properties PgfHyphen...

Страница 169: ...t above paragraph PgfTopSepAtIndent boolean Yes if the position of the frame specified by the PgfTopS eparator statement is at the current left indent PgfTopSepOffset dimension Position at which to pl...

Страница 170: ...ragraph in a cell PgfCellRMargin dimension Right cell margin for first paragraph in a cell PgfCellRMarginChange dimension Change to right cell margin for first paragraph in a cell PgfCellLMarginFixed...

Страница 171: ...s nested inside both the Para and ParaLine statements ElementBegin ETag UnorderedList Collapsed No ENamespacePrefix string The prefix that identifies the namespace ENamespacePath string The system pat...

Страница 172: ...ear when the element has no prefix The SuffixBegin statement appears before the element suffix string which is followed by the ElementEnd statement Everything between the SuffixBegin statement and the...

Страница 173: ...ncoding string The XML encoding parameter that was specified in the XML declara tion when the XML file was opened DXmlFileEncoding string BXmlFileEncoding string The XML encoding that was found in the...

Страница 174: ...og for the document DAttributeDisplay keyword Default attribute display setting for document keyword can be one of AllAttributes display all attributes ReqAndSpec display required and specified attrib...

Страница 175: ...lyFormatRules boolean Yes uses element format rules to reformat document on opening and to remove format overrides for input filters only not gener ated by FrameMaker DBookElementHierarchy If the docu...

Страница 176: ...n document PgfLIndent dimension Minimum left indent allowed in document PgfRIndent dimension Minimum right indent allowed in document PgfSpBefore dimension Minimum space before allowed in document Pgf...

Страница 177: ...hat were created in FrameMaker These documents normally contain structural elements A structured book file has the same book statements that appear in a normal book file plus two additional types of i...

Страница 178: ...B instead of the letter D Syntax ElementDefCatalog Begin Element Catalog ElementDef Element definitions defined on page 149 ElementDef Additional statements as needed End of ElementDefCatalog stateme...

Страница 179: ...imension Maximum left indent allowed in book PgfRIndent dimension Maximum right indent allowed in book PgfSpBefore dimension Maximum space before allowed in book PgfSpAfter dimension Maximum space aft...

Страница 180: ...mum leading allowed in book FSize dimension Minimum font size allowed in book FDW dimension Minimum character spread allowed in book TSX dimension Minimum horizontal position of tab stop PgfCellLMargi...

Страница 181: ...nt Exclusions not allowed for object element definition An element definition for an object element contains an EDExclusions statement Inclusions not allowed for object element definition An element d...

Страница 182: ...element definition for tag will be used Two or more element definitions use the same tag Format tag is invalid for an element of type EDEquation defaulting to Medium Only small medium and large format...

Страница 183: ...e in points of summation and product symbols in medium equations DMathLargeSigma dimension Size in points of summation and product symbols in large equa tions DMathSmallLevel1 dimension Size in points...

Страница 184: ...r numbers DMathVariables tagstring Font for variables DMathStrings tagstring Font for strings DMathGreek tagstring Font for Greek characters DMathCatalog Describes custom math elements see DMathCatalo...

Страница 185: ...OpName Real Numbers Type of math element DMathNewType Atom end of DMathNew end of DMathCatalog end of Document Define the custom element on a reference page that has a name beginning with FrameMath Pa...

Страница 186: ...lement although you cannot change the element s type or behavior For example to redefine the built in inverse sine function asin so that it appears as sin 1 add the redefined element to the Math Catal...

Страница 187: ...T char x end of MathFullForm For more information about including custom operators in equations see Custom operators on page 200 For more information about format codes see MathFullForm statement syn...

Страница 188: ...are unsupported by another application If you are writing an input filter for converting equations created with another application to FrameMaker equations you must provide a ShapeRect or MathOrigin s...

Страница 189: ...set a manual line break point MathFullForm id i2i char x String values in format codes must be enclosed in straight double quotation marks To include characters in the extended ASCII range above 0x127...

Страница 190: ...e 0 no outline 1 outline OintegerO Overline 0 no overline 1 overline qstringq Color name for example Red rmetricr Extra space to right of expression corresponds to Spacing values in the Position Setti...

Страница 191: ...ression NaN means not a number These forms of num usually result from computations string string contains a character string Character strings must be enclosed in straight double quotation marks To in...

Страница 192: ...ar beta MathFullForm char bot MathFullForm char chi MathFullForm char cpartial MathFullForm char degree MathFullForm char delta MathFullForm char Delta MathFullForm char emptyset MathFullForm char eps...

Страница 193: ...llForm char psi MathFullForm char Psi MathFullForm char Re MathFullForm char rho MathFullForm char sigma MathFullForm char Sigma MathFullForm char tau MathFullForm char theta MathFullForm char Theta M...

Страница 194: ...char expression is backward compatible The char expression can also describe composite diacritical marks The following table contains examples MathFullForm char Xi MathFullForm char zeta Example MathF...

Страница 195: ...cribes a dummy variable that you can use as a placeholder in equations For example in the following equation i is a dummy variable The dummy expression has the same syntax as the char expression and c...

Страница 196: ...athFullForm atan char x MathFullForm atanh char x MathFullForm box char x MathFullForm box2 char x MathFullForm boxdot char x MathFullForm bra char x MathFullForm ceil char x MathFullForm change char...

Страница 197: ...char x MathFullForm forall char x MathFullForm id char x MathFullForm id i1i char x MathFullForm id i2i char x MathFullForm imag char x MathFullForm ket char x MathFullForm lap char x MathFullForm ln...

Страница 198: ...FullForm rparen i1i char x MathFullForm rparen i2i char x MathFullForm sec char x MathFullForm sech char x MathFullForm semicolon char x MathFullForm sgn char x MathFullForm sin char x MathFullForm si...

Страница 199: ...char x char x MathFullForm function char x char x MathFullForm function oppartial char x char x a MathFullForm function optotal char x char x MathFullForm inprod char x char x MathFullForm lim char x...

Страница 200: ...ullForm equiv char x char x MathFullForm geq char x char x MathFullForm gg char x char x MathFullForm greaterthan char x char x MathFullForm in char x char x MathFullForm jotdot char x char x MathFull...

Страница 201: ...har x MathFullForm plus char x char x MathFullForm plus char x minus char x MathFullForm propto char x char x MathFullForm rightarrow char x char x MathFullForm Rightarrow char x char x MathFullForm s...

Страница 202: ...operands Some expressions have optional operands In these expressions the optional operands follow the primary operand The following table contains an example of each expression with optional operand...

Страница 203: ...ted after subscript operands The following table contains an example of each indexes form MathFullForm oppartial char x MathFullForm oppartial char x char x MathFullForm optotal char x MathFullForm op...

Страница 204: ...um 3 3 num 4 4 Example MathFullForm statement MathFullForm chem 1 0 0 0 char x num 1 1 MathFullForm chem 0 0 1 0 char x num 1 1 MathFullForm chem 1 0 1 0 char x num 1 1 num 2 2 MathFullForm chem 1 1 0...

Страница 205: ...has a custom operator MyFunction that is added to the DMathCatalog statement as follows DMathCatalog DMathNew MathFullForm tensor 4 char x num 1 1 num 2 2 num 3 3 MathFullForm tensor 3 char x num 1 1...

Страница 206: ...example suppose you redefine the built in operator asin and add it to the Math Catalog as follows DMathCatalog DMathOpOverrides Names the built in operator DMathOpName asin Forces lookup from referen...

Страница 207: ...te out EUC The MIF can converted between Shift JIS and EUC using a Japanese text conversion utility The MIF encoding statement is converted along with the text in the MIF file To determine which encod...

Страница 208: ...fixed string and determines what the hexadecimal encoding is for it From that FrameMaker expects the same encoding to be used for all subsequent Asian text in the document To see the characters spell...

Страница 209: ...e combined font CombinedFontBaseFamily string The name of the Asian component font CombinedFontWesternFamily string The name of the Roman component font CombinedFontWesternSize percent The size of the...

Страница 210: ...CombinedFont FEncoding JISX0208 ShiftJIS FLocked No end of Font String CombinedFontStatement Font FTag FPlatformName M Osaka P FWesternPlatformName M Times P FFamily Osaka FCombinedFontName MyCombined...

Страница 211: ...aracters of each class The CharClass statement assigns each character to one of 25 classes For example the BegParentheses class and the EndParentheses class are defined by the following MIF statements...

Страница 212: ...This is most critical with the character classes To specify a character class in MIF you must be able to type the character and save it in a text file The standard Western system doesn t include these...

Страница 213: ...aracters custom character classes KumihanCatalog Kumihan Defines a Kumihan table set Kumihan Additional Kumihan table sets as needed one for each Asian language up to four per document End of KumihanC...

Страница 214: ...he end of a footnote and the next character Do not assign any characters to this class BaseCharWithRubi chars 14 The rubi block including oyamoji and rubi text This class has to do with Rubikake and N...

Страница 215: ...tion of a CharClass statement CharClass BegParentheses EndParentheses NoLineBeginChar end of CharClass SqueezeTable statement The SqueezeTable statement defines how to compress the space surrounding c...

Страница 216: ...ginning or end of a line These values specify how to spread a character of the class identified by the row statement when followed by a character in the class identified by the column position in the...

Страница 217: ...Spread the first character by 1 2 em and the second character by 1 4 em 7 Add spread to the first character of an Asian Roman character pair 8 Add spread to the second character of a Roman Asian chara...

Страница 218: ...ach value corresponds to one of the 25 character classes respec tively These values specify how to break a line after a character of the class identified by the row statement when followed by a charac...

Страница 219: ...umerals End of LineBreakTable statement The possible values for numerals are 0 Line break is allowed 1 Line break is not allowed 2 Break the line according to Roman text rules 3 This character pair sh...

Страница 220: ...umeric values in each statement row Each value corresponds to one of the 25 character classes respec tively These values specify how to add space after a character of the class identified by the row s...

Страница 221: ...ubi composite contains an object tagged RubiGroup the oyamoji text an element tagged Rubi and the rubi text Spare3 numerals Spare4 numerals Spare5 numerals End of ExtraSpaceTable statement The possibl...

Страница 222: ...ecified but not both in the same document DRubiOverhang boolean Yes allows rubi to overhang hiragana oyamoji text DRubiAlignAtBounds boolean Yes aligns all rubi and oyamoji characters at line boundari...

Страница 223: ...t the rubi composite includes a RubiGroup element and a Rubi element Syntax Example unstructured Paraline String kumihan RubiCompositeBegin String RubiTextBegin String RubiTextEnd RubiCompositeEnd end...

Страница 224: ...teDisplay AllAttributes end of Element end of RubiCompositeBegin String Oyamoji text RubiTextBegin Element Unique 123457 ETag Rubi Attributes Typical MIF to define attributes end of Attributes Collaps...

Страница 225: ...ollowing text file was created with a text editor A filter program translated the text file to produce the following MIF file MIFFile 8 00 Identifies this as a MIF file The macros below are used only...

Страница 226: ...mation between FrameMaker and other ParaLine String applications while preserving graphics document ParaLine String structure and format end of Para Second paragraph of text Macros defined earlier are...

Страница 227: ...GroupID 1 Font FFamily Times FSize 14 FPlain Yes FBold Yes FDX 0 FDY 0 FDAX 0 FNoAdvance No TLOrigin 1 85 0 21 TLAlignment Center String Market Shares end of TextLine Boxes for Brand F and Brand I le...

Страница 228: ...String 1987 TextLine GroupID 1 TLOrigin 2 08 2 51 TLAlignment Center String 1988 TextLine GroupID 1 TLOrigin 2 58 2 51 TLAlignment Center String 1989 Y axis labels TextLine GroupID 1 TLOrigin 0 46 1...

Страница 229: ...ID 1 ShapeRect 2 60 0 85 0 13 1 50 Define the group for all the objects to make the chart easier to manipulate after it s imported into a FrameMaker document Group ID 1 Pie chart example When the MIF...

Страница 230: ...1 144 144 ArcTheta 309 ArcDTheta 51 Define the group for all the objects to make the chart easier to manipulate after it s imported into a FrameMaker document Group ID 1 Custom dashed lines FrameMaker...

Страница 231: ...0pt solid DashSegment 16pt DashSegment 12pt solid DashSegment 8pt end of DashedPattern HeadCap Butt TailCap Butt NumPoints 2 Point 1 0 3 Point 7 5 3 end of PolyLine This one has a missing DashSegment...

Страница 232: ...the column width is determined by the width of a particular cell Column widths are further affected by the EqualizeWidths statement which sets the columns to the width of the widest column within the...

Страница 233: ...ookup in Paragraph Catalog PgfTag TableTitle ParaLine String StockWatch end of ParaLine end of Para end of TblTitleContent end of TblTitle TblH The heading Row The heading row Cell CellContent Para Ce...

Страница 234: ...Forces lookup in Paragraph Catalog ParaLine String 63 75 end of Cell Cell CellContent Para PgfTag CellBody Forces lookup in Paragraph Catalog ParaLine String 2 50 end of Cell end of Row end of TblBod...

Страница 235: ...lation capabilities of a database and the formatting capabilities of FrameMaker through MIF In this example inventory information for a coffee distributor is stored in a database Database fields conta...

Страница 236: ...te for the final report in FrameMaker Design the master pages and body pages for the document and create paragraph and character formats You can include graphics such as a company logo on the master p...

Страница 237: ...w that uses the TextRectID from the empty body page in the coffee mif template 13 Includes the Atbl statement that places the table instance in the document text flow 14 Closes the document In the fol...

Страница 238: ...ng CR SEND PACKET vDoc ParaLine String Status CR SEND PACKET vDoc Cell CellContent Para PgfTag CellHeading CR Retail and Discount prices are conditional SEND PACKET vDoc ParaLine Conditional InConditi...

Страница 239: ...ng GREEN COFFEE PRICE LIST AFrame 1 CR SEND PACKET vDoc Para PgfTag Prepared ParaLine String To order contact CR SEND PACKET vDoc Para PgfTag Body ParaLine String 1 CR SEND PACKET vDoc Para PgfTag Bod...

Страница 240: ...t file and write the table data to the Tbls file If you are using 4th Dimension the procedure should have the following statements vDoc CREATE DOCUMENT Prompts user to name main file vTbls CREATE DOCU...

Страница 241: ...reference to a graphics file on disk you would create a separate text file called AFrames mif for only the AFrames statement Using the technique described in the previous section you would insert the...

Страница 242: ...section lists the MIF messages produced by the MIF interpreter and describes their meanings This message Means Skipping these chars MIF statements Done skipping The MIF file contains a syntax error o...

Страница 243: ...ement is present in MIF for use by other programs thatread MIFfiles it is not used by the MIFinterpreter When the MIF interpreter reads a MIF file it counts the number ofTabStopstatementstodetermineth...

Страница 244: ...ected opcode A statement was found in a context where it is not valid for example an FFamily statement in a Document statement Unexpected right angle bracket A right angle bracket was found where a da...

Страница 245: ...und color for a conditional tag is added using the CBackgroundColor tag Track text edits FrameMaker tracks the Windows Unix username of the user who edits a document in track changes mode FrameMaker a...

Страница 246: ...t In a MIF file Boolean condition expressions are defined using a BoolCond statement The BoolCond statement defines a new Boolean condition expression which is used to evaluate the show hide state of...

Страница 247: ...of fields in the File Info dialog box In MIF this data is stored as sub state ments of DocFileInfo and BookFileInfo This XMP data contains the data that is stored in the PDFDocInfo and PDFBookInfo sta...

Страница 248: ...and how it should appear Book Components Book components store numbering properties to use when generating a book The following table shows the new MIF statements for managing different types of numbe...

Страница 249: ...allCapsStretch are new statements that specify the amount to stretch or compress superscript subscript or small caps text Color statements MIF 5 5 now supports a number of color libraries In the Color...

Страница 250: ...bTint applies a tint to whatever color is assigned to the object If the object s color already has a tint the two tint values are added together Structured element definition statements EDAttrHidden i...

Страница 251: ...of a book of a text column or text frame As a result of this change the TblAlignment statement now supports the additional keywords Inside and Outside In addition the existing TblTitleContent stateme...

Страница 252: ...tatements are found under both the TextRect statement and the TextFlow statement the state ments under the TextRect statement will be used Note that the existence of side heads in a text flow is still...

Страница 253: ...If the TiTblNumHdrRows substatement is not set to 0 the table has header rows If the TiTblHeadersEmpty substatement is set to No these rows are filled with imported text on page 136 Structured docume...

Страница 254: ...ear in the Color pop up menu in the FrameMaker Tools palette Views Ignored MIF 3 00 MIF 4 00 FSeparation integer FColor string CSeparation integer CColor string RulingSeparation integer RulingColor st...

Страница 255: ...The diacritical expression is not backward compatible Character format statements The following table lists the changes in Font and PgfFont statements If your application only reads or writes files fo...

Страница 256: ...name components in a device independent pathname are obsolete and are ignored by the MIF interpreter For information about valid codes see Device independent pathnames on page 7 Document statements Th...

Страница 257: ...reads a Page statement that contains a PageOrientation statement but no PageAngle statement it determines the page s angle from the PageOrien tation statement If the page orientation matches the orie...

Страница 258: ...ic inset format Note If you are using the API to implement the graphic inset editor the syntax described in this appendix applies only to external graphic insets For information on specifying facet na...

Страница 259: ...ameMaker For information about registering your application specific facets see the FDK Platform Guide for your platform which is included with the Frame Developer s Kit Data type The second line prov...

Страница 260: ...ic insets UNIX versions A graphic inset contains graphic data that can be written by a graphic application and used by FrameMaker to display and print an imported graphic A graphic inset can also spec...

Страница 261: ...application To edit an external graphic inset from FrameMaker users must open FrameMaker document select the graphic inset and choose the Graphic Inset command from the Special menu FrameMaker passes...

Страница 262: ...t an internal graphic inset users must open FrameMaker document select the graphic inset and choose the Graphic Inset command from the Special menu FrameMaker writes the graphic inset to a temporary f...

Страница 263: ...can use the graphic inset file to share data with applications other than FrameMaker Application specific facets can be contained entirely within the graphic inset file a local facet or the graphic in...

Страница 264: ...t file A remote application specific facet has the following format facet_name facet_type path_for_facet_file EndInset For example the following lines describe the remote facet described in the applic...

Страница 265: ...d in Unsigned bytes on page 254 and metric data should follow the conventions described in Metric data on page 255 When writing the facet data your application can use as many lines as necessary Each...

Страница 266: ...an EPSI facet An EPSI facet begins with the following facet name and data type lines EPSI v Each line of EPSI facet data ends with n When FrameMaker imports a graphic inset with an EPSI facet FrameMa...

Страница 267: ...n FFFFC0 n FFFFC0 n FFFFC0 n FFFFC0 n FFFFC0 n FFFFC0 n FFFFC0 n FFFFC0 n FFFFC0 n FFFFC0 n FFFFC0 n FFFFC0 n FFFFC0 n EndPreview n EndProlog n Page one 1 n 0 0 moveto 18 0 rlineto 0 18 rlineto 18 0 r...

Страница 268: ...rint resolution in the Imported Graphic Scaling dialog box The print resolution determines the size of the imported graphic Specification of FrameImage data A description of a graphic in FrameImage fo...

Страница 269: ...000001 or 0x00000002 In the example because the graphic is in black and white the value is set to 0x00000000 The eighth value is the length of the color map in bytes If the graphic is in black and whi...

Страница 270: ...or standard Each type uses different data formats Byte encoded data If ras_type is RT_BYTE_ENCODED if the sixth value in the header is 0x00000002 the data is a run length encoded pixel matrix The byte...

Страница 271: ...rns of black and white For example hex 55 represents binary 01010101 which produces a gray shade hex FF represents binary 11111111 which produces black and hex 00 represents binary 00000000 which prod...

Страница 272: ...graphic is in black and white FrameImage v x 59a66a95 00000040 00000010 00000001 00000000 00000001 00000000 00000000 FFFFFFFFFFFFFFFF 80000000FFFFFFFF 80000000FFFFFFFF 80000000FFFFFFFF 80000000FFFFFFF...

Страница 273: ...ded in the description because the graphic is in black and white Unlike the previous file this graphic file is in encoded format FrameImage v x 59A66A95 00000040 00000010 00000001 00000000 00000002 00...

Страница 274: ...ADOBE FRAMEMAKER 10 MIF Reference 269 8003FF 00000001 8003FF 00000001 8003FF 00000001 8003FF 00000001 8003FF 00000001 8003FF 00000001 8007FF x EndInset Graphic data...

Страница 275: ...rameMaker For example the character string MakerVector6 0 identifies an imported graphic created in FrameMaker 9 If the imported graphic is stored in a separate file the file must include the header s...

Страница 276: ...nnot be used for other purposes in the document If the definition of a color in the FrameVector graphic does not match the definition in the color catalog of the document FrameMaker uses the definitio...

Страница 277: ...282 0x84 Rounded rectangle page 282 0x85 Arc page 283 0x86 FrameImage graphic imported within this graphic page 283 0x87 Beginning of text line page 284 0x88 Text in text line page 284 0x89 End of te...

Страница 278: ...n x and y coordinates rectangle 4 metrics interpreted as the position of the rectangle in x and y coordinates and the size of the rectangle in width and height Specification by data type Byte Descript...

Страница 279: ...ation by data type String metric metric metric Description of data Name of color tag string Percentages of red green and blue metric metric metric Size of data in bytes Variable Example 03 0000001B 00...

Страница 280: ...of dash segments short Length of dash segments in points metric metric Size of data in bytes Variable Default value None solid Example 06 0000000A 0002 00080000 00060000 for a dashed line with the fol...

Страница 281: ...n bytes 4 Default value 0 Example 20 00000004 00500000 for the rotation angle of 80 Specification by data type Byte Description of data Index to pen patterns see Values for Pen and Fill statements on...

Страница 282: ...by data type Byte Description of data Is the object overprinted 0 no 1 yes Size of data in bytes 1 Default value 0 no Example 25 00000001 00 if not overprinted 25 00000001 01 if overprinted Specifica...

Страница 283: ...1 Default value 0 no Example 29 00000001 00 for an unsmoothed object 29 00000001 01 for a smoothed object Specification by data type Byte string string string some strings not used depending on flag...

Страница 284: ...ot currently used Bit 5 overline Bit 6 strikethrough Bit 7 superscript Bit 8 subscript Bit 9 outline Bit 10 shadow Bit 11 pair kern Bits 12 13 case 0 as is 1 small caps 2 lower case 3 upper case Size...

Страница 285: ...e MIF FVar statement Size of data in bytes Variable Default value default font variation Example 30 00000008 00 08 52 65 67 75 6C 61 72 00 for the font variation Regular Specification by data type Met...

Страница 286: ...ge of spread Size of data in bytes 4 Default value default word spread Example 33 00000004 00008000 for a word spread of 50 0 50 33 00000004 FFFF8000 for a word spread of 50 0 50 Specification by data...

Страница 287: ...of points long Position of each point in points point point Size of data in bytes Variable Example 82 0000000C 00000002 00120000 00360000 00FC0000 003F0000 for a polyline with the following specificat...

Страница 288: ...iption of data Position and size of arc in points rectangle Start angle in degrees metric Length of arc in degrees where positive values correspond to clockwise arcs and negative values correspond to...

Страница 289: ...pecification by data type Point byte Description of data Baseline origin of the text line in points point Text line alignment byte 0 left 1 center 2 right Size of data in bytes 9 Example 87 00000009 0...

Страница 290: ...eight 60 points 003C Note Clipping rectangles are unique to the FrameVector format All objects within a clipping rectangle are drawn to the boundaries of the rectangle If an object extends beyond this...

Страница 291: ...ic FrameVector v MakerVector6 0 x 010000000150 020000001000000000000000000168000000D80000 230000000400008000 21000000010F 24000000080006426C61636B00 260000000100 220000000104 200000000400000000 830000...

Страница 292: ...s is in hexadecimal format The following lines specify the FrameVector version 6 0 and the size 5 x 3 or 360 points by 216 points and position 0 0 of the FrameVector graphic 010000000150 0200000010000...

Страница 293: ...00C0000000190000 The rest of the styles are inherited from previous objects Specification of the text line The text line in this example has the following specifications The position of the text line...

Страница 294: ...points 85 points and 51 points 85 points 00720000005500000033000000550000 The rest of the styles are inherited from previous objects Specification of the arc The arc in this example has the following...

Отзывы: