9.5

Table Of Contents
Document to be closed.String
docName
Session in which document was
opened.
String
sessionId
Closes the specified session. If the session does not exist, an error is returned.
If any documents are still open in the session, an error is returned.
closeSession
DescriptionTypeParameter
Session to be closed.String
sessionId
Gets all the open documents in the session. If the session does not exist, an
error is returned.
getOpenDocs
DescriptionTypeParameter
Session whose open documents are
sought.
String
sessionId
Gets all open sessions.
getOpenSessions
Gets QuarkXPress Server preferences.
getPreferences
Sets QuarkXPress Server preferences.
setPreferences
Creates a DOM for the specified document.
getXPressDOM
Creates a new document for modification and keeps it open until further
notice. The document is created with a single layout. To create a more complex
newDoc
document, use the processRequestEx API. If a document with the same name
is already open, an error is returned. If the session does not exist, an error is
returned.
DescriptionTypeParameter
Document to be opened for
modification. Provide the name
String
docName
only. You can proivde a relative
path when you save the document.
Name of the Job Jackets file to be
used. The Job Jackets file is assumed
String
jobJacketName
to be already available on the
QuarkXPress server computer.
Name of the Job Ticket to be used.String
jobTicketName
The QuarkXPress Server instance
that should be used for this
String
host
document 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
A GUIDE TO QUARKXPRESS SERVER 9.5 | 45
USING QUARKXPRESS SERVER