2016

Table Of Contents
// STEP 2(SPECIFIC TO REQUESTS):
// Create the QuarkXPress renderer
// request and embed it in the request context.
ScreenPDFRenderRequest screenpdfRequest = new
ScreenPDFRenderRequest();
screenpdfRequest.setColorImageDownSample(
request.getParameter("ColorImageDownSample"));
screenpdfRequest.setCompression(request.getParameter(
"Compression"));
requestCtx.setRequest(screenpdfRequest);
// STEP3: Create the service and
// call the processRequest() API
RequestService service = new RequestServiceStub();
com.quark.qxpsm.QContentData data =
service.processRequest(requestCtx);
html5
The html5 render type returns a .zip file containing HTML5 output.
html5
Namespace
Lets you generate an HTML5
article and returns it as a .zip file.
For example:
http://localhost:8080/
appstudio/html/template.qxp
String
html
Parameters
Lets you specify a layout by name
or ID. The first layout is Layout 1.
String
layout
Render modifier
parameters
Lets you specify a page.Integer
page
Lets you specify a range of pages.String (page
range)
pages
A .zip file containing an HTML5 article.Response
HTTP Error #406The renderer for this image type has
no way of rendering the desired
objects.
Alerts
This alert displays if you submit a render request
with the box parameter.
HTTP Error #10120Cannot open this document type.
Please select a QuarkXPress document
or template.
This alert displays if you submit an appstudio
request for a QuarkCopyDesk article.
See Understanding loggingLogs
http://localhost:8080/html5/templae.qxp?
webreader=true
Example, GET URL
Request object name: html5RenderRequest
Example, object
model
Understanding render modifiers
Render modifiers let you control which parts of a project are rendered and set the scale
of the returned renderings. The topics covered here include the following:
A GUIDE TO QUARKXPRESS SERVER 2016 | 73
USING QUARKXPRESS SERVER