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
QContentData
Description
Response to a Web Services call to QuarkXPress Server.
Type
Web Service Data Object
Members
Name
Type
Description
contentType
String
The type of the response. For example, "text/xml" or
"text/plain."
textData
String
If the response type is text, this contains the text. Otherwise,
this value is null.
responseURL
String
If the "responseAsURL" parameter was set to "true" in the
request, this contains the URL of the response. Otherwise,
this value is null.
streamValue
binary
If the response type is binary, this contains the byte array.
Otherwise, this value is null.
encodingType
String
If the response type is text, this value indicates the encoding
of the text (e.g., UTF-8 or ANSI).
actualServerPortUsed
String
Identifies the server
port.
actualServerUsed
String
Identifies the server.
headers
String
If the response
returned by the server
is headers, this array
contains the header
response.
multipartResponse
String
If the response returned by the server is multipart, this array
contains the multipart response parts returned by the server.
Example, Object
Model
QRequestContext context = new QRequestContext();
context.setDocumentName("sample.qxp");
context.setResponseAsURL(true);
JPEGRenderRequest request = new JPEGRenderRequest();
request.setJPEGQuality("4");
context.setRequest(request);
QManagerSDKSvcServiceLocator serviceLocator = new
QManagerSDKSvcServiceLocator();
QManagerSDKSvc service = serviceLocator.getqxpsmsdk();
QContentData response = service.processRequest(context);
System.out.println(response.getResponseURL());
Page 22