EasyManua.ls Logo

Adobe FRAMEMAKER 10 - Page 90

Adobe FRAMEMAKER 10
294 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ADOBE FRAMEMAKER 10
MIF Reference
85
PDF Document Info
For versions 6.0 and later, FrameMaker stores PDF File Info in the document file. FrameMaker automatically
supplies values for Creator, Creation Date and Metadata Date; these Document Info fields do not appear in MIF
statements for PDF Document Info. However, a user can use the File Info dialog box to specify values for Author,
Title, Subject, Keywords, Copyright, Web Statement, Job Reference, and Marked. The values for all these values
appear in PDF Document Info. A document can also contain arbitrary Document Info fields if they have been
entered via an FDK client or by editing a MIF file. In MIF, each Document Info entry consists of one
Key statement
and at least one
Value statement.
A
Key statement contains a string of up to 255 ASCII characters. The Key names a File Info field; in PDF the field
name can be up to 126 characters long. In MIF you represent non-printable characters via
#HH, where # identifies a
hexadecimal representation of a character, and
HH is the hexadecimal value for the character. For example, use #23
to represent the “#” character. Zero-value hex-codes (
#00) are illegal. In PDF, these hexadecimal representations are
interpreted as PDFDocEncoding (see Portable Document Format Reference Manual, Addison-Wesley, ISBN 0-201-
62628-4).
Note that a a File Info field name can be up to 126 characters long, and a MIF string can contain up to 255 characters.
Some characters in the key string may be hexadecimal representations, and each hexadecimal representation uses
three ASCII characters. 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
in MIF.
The contents of the File Info field is represented by a series of
Value statements. Each value statement can contain a
string of up to 255 ASCII characters. In PDF the File Info contents can contain up to 32765 Unicode characters. To
accommodate this number of Unicode characters, FrameMaker generates MIF in the following ways:
It represents the Document Info contents as a series of Value statements, each one 255 ASCII characters long, or
less.
It uses special codes to indicate Unicode characters that are outside the standard ASCII range. Mif represents
Unicode characters as
&#xHHHH;, where &#x opens the character code, the “;” character closes the character code,
and
HHHH are as many hexadecimal values as are required to represent the character.
Note that each Unicode representation of a character uses up to seven ASCII characters. For example, a string of 255
Unicode characters could require as many as 1785 ASCII characters.
For example, The following MIF statements show three possible Document Info fields:
<PDFDocInfo
<Key `Author'>
<Value `Thomas Aquinas'>
<Key `Title'>
<Value `That the Soul Never Thinks Without an Image'>
<Key `Subject'>
<Value `Modern translation of the views of T. A. concerning cognition; "It is'>
<Value ` impossible for our intellect, in its present state of being joined t'>
<Value `o a body capable of receiving impressions, actually to understand...'>
> # end of PDFDocInfo
Syntax
<Document
Document properties
<DNextUnique
ID
>
Refers to the next object with a <Unique
ID
> statement; gener-
ated by FrameMaker and should not be used by filters
Window properties

Table of Contents

Related product manuals