8.0
Table Of Contents
- Overview
- New and enhanced features
- Getting started
- Functions
- Function overview
- Render types
- Content modifiers
- Render modifiers
- XML modify
- XML deconstruct and construct
- About XML deconstruct/construct
- xml
- construct
- Deconstructing a project
- Constructing a project
- Working with pages and spreads
- Working with layers
- Working with boxes
- Working with pictures
- Working with text
- Working with tables
- Working with Composition Zones
- Using server XSLT
- Working with lists
- Working with anchored boxes
- Working with placeholders
- Working with metadata
- Working with hidden text
- Administrative Request handlers
- The Modifier DTD
- Sample applications
- Contact Quark
- Legal notice
properties
sdk.QRequestContext requestCtx = new sdk.QRequestContext();
boolean responseAsURL = false;
requestCtx.setDocumentName(docName);
//STEP 2(SPECIFIC TO REQUESTS):Create the Post Script renderer request
and embed it in the request context.
PostScriptRenderRequest pscreq = new PostScriptRenderRequest();
pscreq.setPrintBleed(request.getParameter("PrintBleed"));
pscreq.setPrintPPD(request.getParameter("PrintPPD"));
pscreq.setPages(request.getParameter("Pages"));
requestCtx.setRequest(pscreq);
//STEP3: Create the WIG service and call the processRequest() API
QManagerSDKSvcServiceLocator serviceLocator = new
QManagerSDKSvcServiceLocator();
QManagerSDKSvc service = serviceLocator.getqxpsmsdk();
sdk.QContentData data = service.processRequest(requestCtx);
Please refer to the samples for further details on the use of the WIG object model.
Notes
To generate postscript without using a postscript namespace
Click the Server tab in the Server Configuration dialog box. Choose
PostScript from the Type drop-down menu in the Default Render area.
Click OK. Now submit a postscript request without using a postscript
namespace.
Sample URL for this type of request is:
http://localhost:8080/sample.qxp
Install a PostScript printer on your computer to generate a PostScript or
PDF document correctly.
You can specify an output style and set additional local parameters of that
output style. For example:
http://localhost:8080/postscript/sample.qxp?outputstyle=mystylenam&prntbl
eed=sym,yes,100
where symmetric
is not specified in the output style.
You can specify an output style and override any setting in that output style
with an additional parameter. For example:
http://localhost:8080/postscript/sample.qxp?outputstyle=mystylenam&prntbl
eed=sym,yes,100
where asymmetric is specified in the output style but is overridden with
symmetric
.
If you do not specify an output style for PostScript output, the Default Print
Output Style will be used. In this case, the URL is:
http://localhost:8080/postscript/sample.qxp
You can specify that the project's embedded PostScript settings are to be
Page 60