2017

Table Of Contents
USING QUARKXPRESS SERVER
A Guide to QuarkXPress Server 2017 | 45
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).
Parameter Type Description
reqContextObj QRequestContext
Request to be
e
xecuted.
sessionId String
Session in which
the request should
be executed. This
value may be null.
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.
saveAllDocs
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 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).
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,