2020

Table Of Contents
USING QUARKXPRESS SERVER
Parameter Type Description
relativePath String
Relative path where open
documents should be saved.
If this value is provided,
copies of open documents
with changes made so far are
saved in the new location.
The open documents are not
saved but have all of the
changes made so far.
sessionId String
Session in which the
document exists.
saveDoc
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 become inactive; in such a case,
the document must be closed and opened again).
Parameter Type Description
docName String
Document to be saved. Must
be the same name that was
used when opening or
creating the document.
newName String
New name of the document.
If null, the document is
saved with the old name.
relativePath String
Relative path where the
document should be saved.
The relative path 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.
sessionId String
Session in which the
document exists.
getXPressDOME
x
Lets you create a DOM of a particular layout or portion of a
layout.
getXMLFromXPr
essDOM
Creates an XML string out of the DOM.
getXPressDOMFr
omXML
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.
Example, QRequestContext rc = new QRequestContext(); rc.documentName = “test.qxp”;
44 | A GUIDE TO QUARKXPRESS SERVER 2020