2015

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);
swf
The swf render type returns a SWF (Flash) rendering of a Print layout or an Interactive
layout.
SWFNamespace
Lets you specify the minimum compatible
version of Flash Player.
swf6 | swf7
version
Parameters
Lets you specify a layout by name or ID. The
first layout is Layout 1.
string
layout
Lets you specify a single page.string
page
Lets you specify a range of pagesstring
pages
Lets you specify whether the SWF file should
run in full-screen mode by default.
true | false
fullscreen
Lets you indicate whether to include any fonts
that are necessary to correctly render text in
Text Box objects within the exported SWF file
true | false
embedallfonts
Lets you specify whether to compress the
exported file.
true | false
compressswf
Lets you specify whether to compress audio in
the exported file.
true | false
compressaudio
Lets you specify the quality of JPEG images in
the exported file, with 100 being highest
quality.
1100
jpegquality
When download is true, the browser always
displays a dialog box that lets the end user save
true | false
download
the returned file, even if the browser can
display it.
When download is false, the browser attempts
to display the returned file. If the browser
cannot display the file, it lets the end user save
the returned file.
The default value is false.
A GUIDE TO QUARKXPRESS SERVER 2015 | 73
USING QUARKXPRESS SERVER