7.0

Table Of Contents
<LAYOUTNAME>Layout 1</LAYOUTNAME>
<TYPE>Print</TYPE>
<NUMPAGES>4</NUMPAGES>
<PAGEPROPERTIES>
<WIDTH>595.276</WIDTH>
<LENGTH>841.89</LENGTH>
</PAGEPROPERTIES>
<FONTUSAGE>
<FONT>
<NAME>Arial</NAME>
<POSTSCRIPTNAME>ArialMT</POSTSCRIPTNAME>
</FONT>
</FONTUSAGE>
...
In the above snippet of code, the <DOCVERSION> element contains the version
of QuarkXPress in which the project was created, and the
<DOCPLATFORM> ele-
ment contains the name of the operating system in which the project was last
saved. The
<LAYOUT> element contains a layout, and within that layout, the
<FONTUSAGE> element contains descriptions of the fonts used in the layout.
The XML returned for picture boxes, text boxes, and grouped boxes depends
on the Deconstructor XTensions software preferences. For more information,
see “Server preferences” in Chapter 2, “The QuarkXPress Server user interface.”
QuarkXPress Server uses the
CONTENTTYPE attribute to differentiate between
different types of boxes. There are three content types for boxes:
CT_TEXT for
text boxes,
CT_PICT for picture boxes, and CT_GROUP for grouped boxes. For
example, the element
<BOX CONTENTTYPE="CT_TEXT"> describes a text box.
The following sample XML code describes a picture box named “pic1”:
<BOX CONTENTTYPE="CT_PICT">
<IDENTITY>
<UNIQUEID>5</UNIQUEID>
<BOXNAME>pic1</BOXNAME/>
<SPREADNUM>1</SPREADNUM>
<PAGE>1</PAGE>
<LAYER>Default</LAYER>
</IDENTITY>
<PICTUREEFFECTS>FALSE</PICTUREEFFECTS>
DECONSTRUCTOR XTENSIONS SOFTWARE
CHAPTER 4: XTENSIONS SOFTW
ARE
|
173