|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRemoteDocument
This class represents a Lotus Symphony document.
Document provides access to paragraphs, table, page styles and sections, and provides methods to save, print, close, and export documents to other formats.
Creation and access
Method Summary | |
---|---|
void |
closeDocument(boolean saveChanges)
This method closes the document. |
IRemoteBookmarks |
getBookmarks()
This property returns all the bookmarks of a document. |
IRemoteTextRange |
getContent()
This property returns a TextRange object that represents the whole text range of the document. |
IRemoteFields |
getFields()
This property returns a Fields object that represents all the fields in a document. |
IRemotePageStyles |
getPageStyles()
This property returns page styles of this document. |
IRemoteTextParagraphs |
getParagraphs()
This property returns a TextParagraphs object that represents all the paragraphs of a document. |
IRemoteTextSections |
getSections()
This property returns a TextSections object that represents all the sections of a document. |
IRemoteSelection |
getSelection()
This property returns the selection object of the document. |
IRemoteTextTables |
getTables()
This property returns a TextTables object that represents all the tables of a document. |
IRemoteTextGraphics |
getTextGraphics()
This property returns a TextGraphics object that represents all the graphic objects of a document. |
int |
getWordCount()
This property returns the number of words in the document. |
void |
replaceAll(java.lang.String what,
java.lang.String replacement,
boolean matchcase)
This method replaces all the specified text in a document with other text. |
void |
saveAsDocument(java.lang.String fileName,
java.lang.String fileFormat)
This method saves the document with a new name or format. |
void |
saveAsDocument(java.lang.String fileName,
java.lang.String fileFormat,
java.lang.String password)
This method saves the document with a new name or format. |
void |
saveDocument()
This method saves the document. |
Methods inherited from interface com.mindoo.remote.api.symphony.IRemoteSymphonyDocument |
---|
close, export, export, export, exportPDF, getApplication, getFullName, getName, getPath, getSaveFormat, getStyleFamilies, getType, getUniqueID, isSaved, isVisible, print, print, print, print, save, saveAs, saveAs, saveAs, setEditAreaVisible |
Method Detail |
---|
IRemoteTextRange getContent() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteTextParagraphs getParagraphs() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemotePageStyles getPageStyles() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteTextSections getSections() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteTextTables getTables() throws RemoteEclipseAPIException
RemoteEclipseAPIException
int getWordCount() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteSelection getSelection() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteBookmarks getBookmarks() throws RemoteEclipseAPIException
RemoteEclipseAPIException
IRemoteTextGraphics getTextGraphics() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void closeDocument(boolean saveChanges) throws RemoteEclipseAPIException
saveChanges
- Specifies true to save changes before closing document.
RemoteEclipseAPIException
void saveDocument() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void saveAsDocument(java.lang.String fileName, java.lang.String fileFormat) throws RemoteEclipseAPIException
fileName
- Specifies 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.fileFormat
- Specifies the format of the document to be saved. The following file formats are supported:RemoteEclipseAPIException
void replaceAll(java.lang.String what, java.lang.String replacement, boolean matchcase) throws RemoteEclipseAPIException
what
- Specifies the text in the document to be replaced.replacement
- Specifies the text that replaces the text specified by the what parameter.matchcase
- Specifies whether to match case. A value of true matches case, and a value of false does not match case.
RemoteEclipseAPIException
IRemoteFields getFields() throws RemoteEclipseAPIException
RemoteEclipseAPIException
void saveAsDocument(java.lang.String fileName, java.lang.String fileFormat, java.lang.String password) throws RemoteEclipseAPIException
fileName
- Specifies 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.fileFormat
- Specifies the format of the document to be saved. The following file formats are supported:password
- Specifies the password of the document.
RemoteEclipseAPIException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |