2017

Table Of Contents
USING QUARKXPRESS SERVER
54 | A Guide to QuarkXPress Server 2017
ave
The ave render type returns a .zip file containing an AVE issue file and its
corresponding manifest.
p
arameters
layout by name or ID.
The first layout is
Layout 1.
page Integer Lets you specify a page.
pages String (page range)
Lets you specify a range
of pages.
Response A .zip file containing an HTML5 article.
Alerts
T
he renderer for this
image type has no way
of rendering the desired
objects.
HTTP Error #406 This alert displays if you submit
a render request with the box parameter.
Cannot open this
document type. Please
select a QuarkXPress
document or template.
H
TTP Error #10120This alert displays if you
submit an appstudio request for a
QuarkCopyDesk article.
Logs See “Understanding logging.”
Example, GET URL http://localhost:8080/appstudio/sample.qxp
Example, object model
Request object name: AppStudioRenderRequest // STEP 1: Create the
QuarkXPress Server Request // Context and set the necessary properties
com.quark.qxpsm.QRequestContext requestCtx = new
com.quark.qxpsm.QRequestContext(); Boolean responseAsURL = false;
requestCtx.setDocumentName(docName); // STEP 2 (SPECIFIC TO
REQUESTS): // Create the App Studio renderer // request and embed it in
the request context. AppstudioRenderRequest req = new
AppstudioRenderRequest();
req.setAppStudioData(request.getParameter(“AppStudioData”));
requestCtx.setRequest(req); // STEP 3: Create the service and call the //
processRequest() API RequestService service = new RequestServiceStub();
com.quark.qxpsm.QContentData data =
service.processRequest(requestCtx);
Namespace AVE
Parameters outputstyle stylename
Lets you specify an
output style. To use a
named output style, use
the name of that
output style. For
example:http://localhos
t:8080/ave/
sample.qxp?outputstyle
=stylename To use
settings that have been
captured with the
Capture Settings in the
QuarkXPress Export