9.5

Table Of Contents
far are saved in the new location.
The open documents are not saved
but have all of the changes made so
far.
Session in which the document
exists.
String
sessionId
Saves the open document. If a document is marked dirty, an error is returned
(a document is marked dirty when the server that opened the document has
saveDoc
become inactive; in such a case, the document must be closed and opened
again).
DescriptionTypeParameter
Document to be saved. Must be the
same name that was used when
opening or creating the document.
String
docName
New name of the document. If null,
the document is saved with the old
name.
String
newName
Relative path where the document
should be saved. The relative path
String
relativePath
can also contain the new name of
the document. If this is provided, a
copy of the open document with
changes made so far is saved in the
new location. The open document
is not saved but has all of the
changes made so far.
Session in which the document
exists.
String
sessionId
Lets you create a DOM of a particular layout or portion of a layout.
getXPressDOMEx
Creates an XML string out of the DOM.
getXMLFromXPressDOM
Takes a raw XML representation of a project as a string and returns an object
model representing that project, with Project as the root class.
getXPressDOMFromXML
QRequestContext rc = new QRequestContext();
rc.documentName = "test.qxp";
Example, object
model
rc.responseAsURL = false;
JPEGRenderRequest jpegRequest = new JPEGRenderRequest();
rc.request = jpegRequest;
RequestService svc = new RequestService();
QContextData response = svc.processRequest(rc);
QRequest
Base class for all request objects (such as PDFRenderRequest). All request objects share some common
data members, which are described below.
Description
Web service data objectType
A GUIDE TO QUARKXPRESS SERVER 9.5 | 47
USING QUARKXPRESS SERVER