This method saves the document with a new name or format.
Defined in
Syntax
public void saveAsDocument(String fileName, String fileFormat) throws SymphonyException
Parameters
String fileNameSpecifies the new name of the document to be saved and must contain the file path. For example, on Microsoft® Windows® , the format is D:\\test.odt . On Linux®, the format is /home/me/test.odt.
String fileFormatUsage
If the file path does not exist, this method throws an exception.
If the file format is not supported, this method throws an exception.
If the file already exists and the document is in visible mode, prompt asks if the existing file should be overwritten.
If the file already exists and the document is in invisible mode, this method overwrite the existing file.
See examples
Related information