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
error log file. The transaction entry in the error log contain the date and time of the
request, the error code, and the error message.
The following is a sample of an error log transaction entry:
8/3/2005 11:27:24 - Error - Error Code: 10008 - The renderer for this image type
has no way of rendering the desired objects.
Example GET
URL
http://localhost:8080/jpeg/sample.qxp?jpegquality=1
Example, Object
Model
Request Object Name : JPEGRenderRequest
Code Snippet :
//STEP1: Create the QuarkXPress Server Request Context and set the necessary
properties
sdk.QRequestContext requestCtx = new sdk.QRequestContext();
boolean responseAsURL = false;
requestCtx.setDocumentName(docName);
//STEP2: Create the JPEG renderer request and attach it to the request context.
JPEGRenderRequest jpreq = new JPEGRenderRequest();
jpreq.setJPEGQuality(request.getParameter("jpegQuality"));
jpreq.setLayout(request.getParameter("Layout"));
requestCtx.setRequest(jpreq);
//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 a JPEG image without using the JPEG namespace
Click the Server tab in the Server Configuration dialog box. Choose JPEG
from the Type drop-down menu in the Default Render area. Click OK
. Enter the JPEG request as
http://localhost:8080/sample.qxp
Page 54