2015

Table Of Contents
http://localhost:8080/qcddoc/copydesk/sample.qcd
Example, GET
URL
Request object name: CopyDeskDocRequest
Example, object
model
qxpdoc
The qxpdoc render type returns a QuarkXPress project.
qxpdoc
Namespace
Indicates the QuarkXPress version format to use. For example:
http://localhost:8080/qxpdoc/
construct/project1.qxp?qxpdocver=8
8 | 9
qxpdocver
Parameters
Lets you specify whether to return modified pictures in the
response or not. If set to false, modified pictures are not
true | false
upadateimage
returned. If set to true, modified pictures are returned. The
default value is true.
Lets you save a copy of a project as a template. The default
value is true. For example:
http://localhost:8080/saveas/
qxpdoc/project.qxp?saveastemplate=true
true | false
saveastemplate
You can also use this parameter to save a copy of a template
as a project. For example:
http://localhost:8080/saveas/
qxpdoc/template.qpt?saveastemplate=false
Lets you specify a layout by name or ID. The first layout is
Layout 1.
String
layout
Render modifier
parameters
A QuarkXPress project.Response
HTTP Error #500QuarkXPress
document return
is disabled.
Alerts
This alert displays if Disable QXD Return is checked in the
QuarkXPress Server administration interface (Administration > Preferences
> General > Server).
HTTP Error #406The renderer for
this image type
This alert displays if you submit a qxpdoc render request with the page,
pages, box, or spread parameter.
has no way of
rendering the
desired objects.
HTTP Error #500Cannot save a
QuarkXPress
This alert displays if you attempt to save a QuarkXPress 6.x project to an
earlier version of QuarkXPress with the qxpdocver parameter.
Project down to
an earlier version.
See Understanding loggingLogs
http://localhost:8080/qxpdoc/sample.qxp
Example, GET
URL
Request object name: QuarkXPressRenderRequest
// STEP1: Create the QuarkXPress Server Request
// Context and set the nescessary properties
Example, object
model
com.quark.qxpsm.QRequestContext requestCtx =
new com.quark.qxpsm.QRequestContext();
Boolean responseAsURL = false;
A GUIDE TO QUARKXPRESS SERVER 2015 | 69
USING QUARKXPRESS SERVER