2020

Table Of Contents
USING QUARKXPRESS SERVER
returned. If set to true,
modified pictures are
returned. The default
value is true.
saveastemplate true | false
Lets you save a copy
of a project as a
template. The default
value is true. For
example:http://localh
ost:8080/saveas/
qxpdoc/project.qxp?sa
veastemplate=trueYou
can also use this
parameter to save a
copy of a template as
a project. For
example:http://localh
ost:8080/saveas/
qxpdoc/template.qpt?
saveastemplate=false
Render modifier
parameters
layout String
Lets you specify a
layout by name or ID.
The first layout is
Layout 1.
Response A QuarkXPress project.
Alerts
QuarkXPress
document return is
disabled.
HTTP Error #500 This alert displays if Disable QXD
Return is checked in the QuarkXPress Server
administration interface (Administration >
Preferences > General > Server).
The renderer for this
image type has no
way of rendering the
desired objects.
HTTP Error #406 This alert displays if you submit a
qxpdoc render request with the page, pages, box,
or spread parameter.
Cannot save a
QuarkXPress Project
down to an earlier
version.
HTTP Error #500 This alert displays if you attempt
to save a QuarkXPress 6.x project to an earlier
version of QuarkXPress with the qxpdocver
parameter.
Logs See “Understanding logging.”
Example, GET URL http://localhost:8080/qxpdoc/sample.qxp
Example, object
model
Request object name: QuarkXPressRenderRequest // STEP1: Create the
QuarkXPress Server Request // Context and set the nescessary properties
com.quark.qxpsm.QRequestContext requestCtx = new
com.quark.qxpsm.QRequestContext(); Boolean responseAsURL = false;
requestCtx.setDocumentName(docName); // STEP 2(SPECIFIC TO
REQUESTS):Create the QuarkXPress // renderer request and embed it in
the request context. QuarkXPressRenderRequest qxpreq = new
QuarkXPressRenderRequest();
A GUIDE TO QUARKXPRESS SERVER 2020 | 75