8.0
Table Of Contents
- Overview
- New and enhanced features
- Getting started
- Functions
- Function overview
- Render types
- Content modifiers
- Render modifiers
- XML modify
- XML deconstruct and construct
- About XML deconstruct/construct
- xml
- construct
- Deconstructing a project
- Constructing a project
- Working with pages and spreads
- Working with layers
- Working with boxes
- Working with pictures
- Working with text
- Working with tables
- Working with Composition Zones
- Using server XSLT
- Working with lists
- Working with anchored boxes
- Working with placeholders
- Working with metadata
- Working with hidden text
- Administrative Request handlers
- The Modifier DTD
- Sample applications
- Contact Quark
- Legal notice
Example, Object
Model
Creating a new Box: You can add a new box of a specified type to an existing
spread in a QuarkXPress project at the specified position using the following code
snippet with the Box object.
Spread spread = new Spread();
Box box = new Box();
box.name = "textbox1";
Geometry geometry = new Geometry();
Position position = new Position();
position.top = "110";
position.left = "89";
position.bottom = "220";
position.right = "300";
geometry.position = position;
geometry.shape = "SH_RECT";
geometry.page = "1";
geometry.layer = "Default";
box.geometry = geometry;
box.boxType = "CT_TEXT";
box.operation = "CREATE";
spread.box = new Box[]{box};
While creating a box, position attributes need to be specified.
Box is linked to Spread, Spread to Layout, which is further linked with
ModifierRequestContents
An existing box can be deleted by providing the ID name for a box and the
operation attribute as “DELETE”
Related topics:
About XML modify
Modifying box properties and content
Deleting boxes
Modifying picture properties
Modifying text attributes
Page 123