LibreOffice Module unotest (master) 1
|
provides a small wrapper around a document More...
Public Member Functions | |
OfficeDocument (XMultiServiceFactory orb, XComponent document) | |
boolean | close () |
XComponent | getDocument () |
OfficeDocumentView | getCurrentView () |
retrieves the current view of the document More... | |
XInterface | createInstance (String serviceSpecifier) throws com.sun.star.uno.Exception |
creates a component at the service factory provided by the document More... | |
Static Public Member Functions | |
static OfficeDocument | blankTextDocument (XMultiServiceFactory orb) throws com.sun.star.uno.Exception |
static OfficeDocument | blankDocument (XMultiServiceFactory orb, DocumentType eType) throws com.sun.star.uno.Exception |
Static Protected Member Functions | |
static XComponent | implLoadAsComponent (XMultiServiceFactory orb, String documentOrFactoryURL) throws com.sun.star.uno.Exception |
Private Member Functions | |
DocumentType | classify () |
classifies a document More... | |
Static Private Member Functions | |
static XComponent | implLoadAsComponent (XMultiServiceFactory orb, String documentOrFactoryURL, final PropertyValue[] i_args) throws com.sun.star.uno.Exception |
static OfficeDocument | implLoadDocument (XMultiServiceFactory orb, String documentOrFactoryURL, final PropertyValue[] i_args) throws com.sun.star.uno.Exception |
static String | getDocumentFactoryURL (DocumentType eType) |
returns a URL which can be used to create a document of a certain type More... | |
Private Attributes | |
final XMultiServiceFactory | m_orb |
XComponent | m_documentComponent |
provides a small wrapper around a document
Definition at line 41 of file OfficeDocument.java.
|
inline |
Definition at line 45 of file OfficeDocument.java.
References org.openoffice.test.tools.OfficeDocument.m_documentComponent, and org.openoffice.test.tools.OfficeDocument.m_orb.
Referenced by org.openoffice.test.tools.OfficeDocument.implLoadDocument().
|
inlinestatic |
Definition at line 87 of file OfficeDocument.java.
References org.libreoffice.unotest.args, eType, org.openoffice.test.tools.OfficeDocument.getDocumentFactoryURL(), and org.openoffice.test.tools.OfficeDocument.implLoadDocument().
Referenced by org.openoffice.test.tools.OfficeDocument.blankTextDocument().
|
inlinestatic |
Definition at line 81 of file OfficeDocument.java.
References org.openoffice.test.tools.OfficeDocument.blankDocument(), and org.openoffice.test.tools.DocumentType.WRITER.
|
inlineprivate |
classifies a document
Definition at line 160 of file OfficeDocument.java.
References org.openoffice.test.tools.DocumentType.CALC, org.openoffice.test.tools.DocumentType.DRAWING, org.openoffice.test.tools.DocumentType.FORMULA, org.openoffice.test.tools.OfficeDocument.m_documentComponent, org.openoffice.test.tools.DocumentType.PRESENTATION, org.openoffice.test.tools.DocumentType.UNKNOWN, and org.openoffice.test.tools.DocumentType.WRITER.
Referenced by org.openoffice.test.tools.OfficeDocument.getCurrentView().
|
inline |
Definition at line 96 of file OfficeDocument.java.
References org.openoffice.test.tools.OfficeDocument.m_documentComponent.
|
inline |
creates a component at the service factory provided by the document
Definition at line 181 of file OfficeDocument.java.
References org.openoffice.test.tools.OfficeDocument.m_documentComponent.
|
inline |
retrieves the current view of the document
Definition at line 123 of file OfficeDocument.java.
References org.openoffice.test.tools.DocumentType.CALC, org.openoffice.test.tools.OfficeDocument.classify(), org.openoffice.test.tools.OfficeDocument.m_documentComponent, org.openoffice.test.tools.OfficeDocument.m_orb, and xController.
|
inline |
Definition at line 113 of file OfficeDocument.java.
References org.openoffice.test.tools.OfficeDocument.m_documentComponent.
Referenced by org.openoffice.test.tools.SpreadsheetDocument.getSheets().
|
inlinestaticprivate |
returns a URL which can be used to create a document of a certain type
Definition at line 140 of file OfficeDocument.java.
References org.openoffice.test.tools.DocumentType.CALC, org.openoffice.test.tools.DocumentType.DRAWING, eType, org.openoffice.test.tools.DocumentType.FORMULA, org.openoffice.test.tools.DocumentType.PRESENTATION, String, org.openoffice.test.tools.DocumentType.WRITER, and org.openoffice.test.tools.DocumentType.XMLFORM.
Referenced by org.openoffice.test.tools.OfficeDocument.blankDocument().
|
inlinestaticprotected |
Definition at line 52 of file OfficeDocument.java.
References org.openoffice.test.tools.OfficeDocument.implLoadAsComponent().
Referenced by org.openoffice.test.tools.OfficeDocument.implLoadAsComponent(), org.openoffice.test.tools.OfficeDocument.implLoadDocument(), and org.openoffice.test.tools.SpreadsheetDocument.SpreadsheetDocument().
|
inlinestaticprivate |
Definition at line 58 of file OfficeDocument.java.
|
inlinestaticprivate |
Definition at line 70 of file OfficeDocument.java.
References org.openoffice.test.tools.OfficeDocument.implLoadAsComponent(), and org.openoffice.test.tools.OfficeDocument.OfficeDocument().
Referenced by org.openoffice.test.tools.OfficeDocument.blankDocument().
|
private |
Definition at line 196 of file OfficeDocument.java.
Referenced by org.openoffice.test.tools.OfficeDocument.classify(), org.openoffice.test.tools.OfficeDocument.close(), org.openoffice.test.tools.OfficeDocument.createInstance(), org.openoffice.test.tools.OfficeDocument.getCurrentView(), org.openoffice.test.tools.OfficeDocument.getDocument(), and org.openoffice.test.tools.OfficeDocument.OfficeDocument().
|
private |
Definition at line 195 of file OfficeDocument.java.
Referenced by org.openoffice.test.tools.OfficeDocument.getCurrentView(), and org.openoffice.test.tools.OfficeDocument.OfficeDocument().