8.0
Table Of Contents
- Overview
- New and enhanced features
- Getting started
- Functions
- Function overview
- Render types
- Content modifiers
- Render modifiers
- XML modify
- XML deconstruct and construct
- About XML deconstruct/construct
- xml
- construct
- Deconstructing a project
- Constructing a project
- Working with pages and spreads
- Working with layers
- Working with boxes
- Working with pictures
- Working with text
- Working with tables
- Working with Composition Zones
- Using server XSLT
- Working with lists
- Working with anchored boxes
- Working with placeholders
- Working with metadata
- Working with hidden text
- Administrative Request handlers
- The Modifier DTD
- Sample applications
- Contact Quark
- Legal notice
If session does not exist, error is returned.
If the document is not open, error is returned.
If the document is opened in another session, error is
returned.
If an error occurs while closing the document, it is logged in
the logs. However, the document is marked closed in the
internal cache, and no error is returned.
Parameter
Type
Description
docName
String
Document to be
closed.
sessionId
String
Session in which
document was
opened.
closeSession
Closes the specified session.
If the session does not exist, error is returned.
If any documents are still open in the session, error is
returned.
Parameter
Type
Description
sessionId
String
Session to be
closed.
getErrorObject
Gets the internal error object.
If you receive an exception from Web services caused by
QuarkXPress Server or Manager (and not a runtime
exception such as a null pointer exception), you call this
method and pass a stringified form of the exception. The
method returns an error object which has easy-to-use
methods for getting the error code, getting the error message,
etc.
getOpenDocs
Gets all the open documents in the session.
If the session does not exist, 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, error is
returned.
If the session does not exist, error is returned.
Parameter
Type
Description
docName
String
Document to be
Page 14