This method closes all the documents opened in Lotus Symphony.
Syntax
public void closeDocuments(boolean saveChanges)
Parameters
boolean saveChanges
Specifies
whether save changes before closing documents. A value of true saves changes. A value of false does not save changes.
Usage
- If the parameter saveChanges is false, all the documents are closed without saving changes.
- If the parameter saveChanges is true and the documents are in visible mode:
- If there are documents that are new, or new from a template, a Documents-Save window
display to save the file.
- If there are documents that are opened from a file, then the documents
are saved before closing.
- If the parameter saveChanges is true and the documents are in invisible mode:
- If there are documents that are new , or new from a template, this method throws an exception.
- If there are documents that are opened from a file, then the documents
are saved before closing.