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
saveAllDocs
Saves all open documents in the session.
The documents are saved one by one. If error occurs while
saving the document, error is returned immediately and rest of
the documents remain unsaved.
If a document is marked dirty, it cannot be saved and 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 is provided, the
copies of the
opened documents
with changes made
so far are saved in
the new location
and the opened
documents are still
unsaved but have all
the changes made
so far.
sessionId
String
Session in which the
document exists.
saveDoc
Saves the open document.
If a document is marked dirty, it cannot be saved and 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
docName
String
Document to be
saved. Must be
same as used while
opening or creating
the document.
newName
String
New name of the
document. Null if it
is to be saved as
old name.
relativePath
String
Relative path where
the document
should be saved.
The relative path
can also contain the
new name of the
document. If this is
provided, a copy of
the open document
Page 17