8.1

Table Of Contents
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 WIG service and
//call the processRequest() API
QManagerSDKSvcServiceLocator serviceLocator = new
QManagerSDKSvcServiceLocator();
QManagerSDKSvc service = serviceLocator.getqxpsmsdk();
sdk.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
QXP SERVER 8.1 WEB INTEGRATION GUIDE | 57
USING THE WEB INTERFACE