2020

Table Of Contents
USING QUARKXPRESS SERVER
not exist, an error is returned.
Parameter Type Description
sessionId String
Session whose open
documents are sought.
getOpenSessions Gets all open sessions.
getPreferences Gets QuarkXPress Server preferences.
setPreferences Sets QuarkXPress Server preferences.
getXPressDOM Creates a DOM for the specified document.
newDoc
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 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.
Parameter Type Description
docName String
Document to be opened for
modification. Provide the
name only. You can provide
a relative path when you
save the document.
jobJacketName String
Name of the Job Jackets file
to be used. The Job Jackets
file is assumed to be already
available on the
QuarkXPress server
computer.
jobTicketName String
Name of the Job Ticket to be
used.
host String
The QuarkXPress Server
instance that should be used
for this 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.
port Integer
The port for the server
specified in the host
parameter.
sessionId String
Session in which the
document should be
opened.
openDoc
Opens the specified document and keeps it open until further
notice. If the document is already open, an error is returned. If
42 | A GUIDE TO QUARKXPRESS SERVER 2020