2017

Table Of Contents
USING QUARKXPRESS SERVER
80 | A Guide to QuarkXPress Server 2017
html5
To Export as responsive HTML5 publication(Multi Device Output) :
Create/Duplicate different layouts in a QXP project where each layout
corresponds to a digital device/orientation.
Optionally create an HTML5 output style.
Optionally specify a name for the section to be exported as a Table of Contents.
While exporting as HTML5 Publication, select layouts to be included in the
publication and select the HTML5 output style to be applied.
To Create Multiple Layouts in a QXP Project,one for each device/orientation please
refer to the “HTML5 Publication output styles” section in ‘A Guide to QuarkXPress
2017’ , found here:
http://files.quark.com/download/documentation/QuarkXPress/2017/English/QXP-2017-
User-Guide-EN.pdf
The html5 render type returns a .zip file containing HTML5 output.
Modifier XML Markup :
Use the Markup for the respective layout type ( iPad(V), iPhone5 (V), iPhone6 (V),
Android (V)) as shownin the following figure:
Logs See “Understanding logging.”
Example, GET URL
http://localhost:8080/screenpdf/sample.qxp?
colorimagedownsample=72&colorcompression=0
Example, object model
Request object name: ScreenPDFRenderRequest // STEP1: Create the
QuarkXPress Server Request Context // and set the nescessary properties
com.quark.qxpsm.QRequestContext requestCtx = new
com.quark.qxpsm.QRequestContext(); String docName =
r
equest.getParameter(“documentName”) ;
requestCtx.setDocumentName(docName); // 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);