2016

Table Of Contents
literal
The literal render type returns the contents of a file without any attempt to process
it as a template. Depending on the file's MIME type, the requested project can be
displayed within the browser (for example, if the response is a JPEG file) or saved to
disk (for example, if the response is a Microsoft Word document).
literal
Namespace
The requested file returned in the HTTP response.Response
HTTP Error #401
Incorrect
administration
Alerts
This alert displays if you specify an invalid administrator user name and
password.
realm username
and password.
What to do: Use the user name and password set in the Authentication
pane of the General Preferences dialog box (Administration > Preferences
> General) in the QuarkXPress Server Web interface.
See Understanding loggingLogs
http://localhost:8080/literal/Story.doc
Example, GET
URL
Request object name: LiteralRequest
com.quark.qxpsm.QRequestContext rc =
new com.quark.qxpsm.QRequestContext();
Example, object
model
if(!this.DocumentSettings1.documentName.Text.Equals(""))
rc.documentName = this.DocumentSettings1.documentName.Text;
rc.request = new LiteralRequest();
//Create the service and call it with QRequestContext object
RequestService svc = new RequestService();
com.quark.qxpsm.QContentData qc = svc.processRequest(rc);
pdf
The pdf render type returns a PDF rendering of a project.
PDF
Namespace
Lets you specify an output style. To use a
named output style, use the name of that
output style. For example:
http://localhost:8080/pdf/
sample.qxp?outputstyle=stylename
stylename,
document
outputstyle
Parameters
To use settings that have been captured with
the Capture Settings in the QuarkXPress
Export as PDF dialog box, use document. For
example:
http://localhost:8080/pdf/
sample.qxp?outputstyle=document
Lets you specify the title of the PDF file.String
title
Lets you specify the subject of the PDF file.String
subject
Lets you specify the author of the PDF file.String
author
Lets you specify keywords for the PDF file.String
keywords
Lets you specify whether to include hyperlinks
in the PDF file.
1 | 0 | true |
false | yes | no
includehyperlinks
60 | A GUIDE TO QUARKXPRESS SERVER 2016
USING QUARKXPRESS SERVER