9.5

Table Of Contents
Session in which the document
should be opened.
String
sessionId
Opens the specified document and keeps it open until further notice. If the
document is already open, an error is returned. If the session does not exist,
an error is returned.
openDoc
DescriptionTypeParameter
Document (along with relative path
if required) to be opened for
modification.
String
docName
QuarkXPress Server instance which
should be used for this document
String
host
modification. If null, this value is
supplied by the load balancer. If the
indicated server is not an active
registered server, an error is thrown.
The port for the server specified in
the host parameter.
Integer
port
Session in which the document
should be opened.
String
sessionId
Executes the request context. If a session ID is specified, the document is kept
open after the request is executed. If no session ID is specified, the request is
processRequestEx
executed normally without keeping the document open. If the document is
open in another session, an error is returned. If the 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).
DescriptionTypeParameter
Request to be executed.
QRequestContextreqContextObj
Session in which the request should
be executed. This value may be null.
String
sessionId
If a session ID is provided, the
document is kept open. If no session
ID is provided, the request is
executed normally, as if
processRequest had been called.
Saves all open documents in the session. The documents are saved one by
one. If error occurs while saving a document, an error is returned immediately
saveAllDocs
and the rest of the documents remain unsaved. 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).
DescriptionTypeParameter
Relative path where open
documents should be saved. If this
String
relativePath
value is provided, copies of open
documents with changes made so
46 | A GUIDE TO QUARKXPRESS SERVER 9.5
USING QUARKXPRESS SERVER