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
RequestParameters request = new RequestParameters();
NameValueParam nameValue1 = new NameValueParam();
nameValue1.paramName = this.boxname1.Text;
if(!this.boxvalue1.Text.Equals(""))
nameValue1.textValue = this.boxvalue1.Text;
request.params = new NameValueParam[]{nameValue1};
rc.request = request;
//Create the service and call it with QRequestContext object
QManagerSDKSvcService svc = new QManagerSDKSvcService();
sdk.QContentData qc = svc.processRequest(rc);
Notes
Use "&" to change the contents of multiple boxes in one request. The
general URL for the multiple-box request is:
http://localhost:8080/sample.qxp?text1=NewText1&text2=NewText2
where text1 and text2
are the names of the two different boxes.
Box names are case sensitive. If you had used Text1 instead of text1 in
the URL mentioned above, you would not have been able to place the
content into the text box named text1
.
Include the file:
indicator before specifying the text file in the request to place the content in
the text box. Ensure that the text file exists in the document pool.
To import text from a text file that exists in the subfolder of the
document pool:
On Windows: The general URL format is:
http://localhost:8080/sample.qxp?text1=file:Content\Story.txt
where text1 is the text box name and the text file "Story.txt" exists in the
subfolder "Content" in the document pool.
On Mac OS®: The general URL format is:
http://localhost:8080/sample?text1=file:Content:Story.txt
where text1
is the text box name and the text file "Story.txt" exists in the subfolder
"Content" in the document pool.
You can import an XTags file generated by QuarkXPress.
Page 87