2017

Table Of Contents
USING QUARKXPRESS SERVER
A Guide to QuarkXPress Server 2017 | 69
values are: 1 (lowest
compression), 2
(medium compression),
3 (high compression),
and 4 (highest
compression). The
default value is 1.
transparentpng true | false
L
ets you specify
whether to generate a
PNG file that uses
transparency.
upadateimage true | false
Lets you specify
whether to update
imported pictures.
updateflow true | false
Lets you specify
whether to update the
text flow version of a
project to the current
version.
Render modifier
parameters
boxes String
Lets you request
multiple boxes.
page Integer
Lets you specify a single
page.
scale
Float .1 to 6.92 for
Windows .1 to 8 on
Mac OS
Lets you specify a
scaling percentage. The
valid values are from .1
(10%) to 8 (800%) on
Mac OS or 6.92 (692%)
on Windows.
box String
Lets you request a
single box.
spread Integer
Lets you specify a
spread. The first spread
is spread 1. In a facing-
page document, spread
1 consists of the first
page.
layout String
Lets you specify a
layout by name or ID.
The first layout is
Layout 1.
Response A PNG file.
Logs See “Understanding logging.”
Example, GET URL http://localhost:8080/png/sample.qxp?pngcompression=1
Example, object model
Request object name: PNGRenderRequest // STEP1: Create the
QuarkXPress Server Request // Context and set the nescessary properties
com.quark.qxpsm.QRequestContext rc = new
com.quark.qxpsm.QRequestContext(); Boolean responseAsURL = false;
rc.setDocumentName(docName); // STEP 2(SPECIFIC TO
REQUESTS):Create the PNG renderer // request and embed it in the