LibreOffice Module unotest (master) 1
Public Member Functions | Private Member Functions | List of all members
org.openoffice.test.tools.SpreadsheetDocument Class Reference
Inheritance diagram for org.openoffice.test.tools.SpreadsheetDocument:
[legend]
Collaboration diagram for org.openoffice.test.tools.SpreadsheetDocument:
[legend]

Public Member Functions

 SpreadsheetDocument (XMultiServiceFactory orb) throws com.sun.star.uno.Exception
 Creates a new blank spreadsheet document. More...
 
 SpreadsheetDocument (XMultiServiceFactory orb, XComponent document)
 
XCellRange getSheet (int index) throws com.sun.star.uno.Exception
 returns the sheet with the given index More...
 
- Public Member Functions inherited from org.openoffice.test.tools.OfficeDocument
 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...
 

Private Member Functions

XSpreadsheets getSheets ()
 returns the sheets collection More...
 

Additional Inherited Members

- Static Public Member Functions inherited from org.openoffice.test.tools.OfficeDocument
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 inherited from org.openoffice.test.tools.OfficeDocument
static XComponent implLoadAsComponent (XMultiServiceFactory orb, String documentOrFactoryURL) throws com.sun.star.uno.Exception
 

Detailed Description

Definition at line 29 of file SpreadsheetDocument.java.

Constructor & Destructor Documentation

◆ SpreadsheetDocument() [1/2]

org.openoffice.test.tools.SpreadsheetDocument.SpreadsheetDocument ( XMultiServiceFactory  orb) throws com.sun.star.uno.Exception
inline

Creates a new blank spreadsheet document.

Definition at line 33 of file SpreadsheetDocument.java.

References org.openoffice.test.tools.OfficeDocument.implLoadAsComponent().

◆ SpreadsheetDocument() [2/2]

org.openoffice.test.tools.SpreadsheetDocument.SpreadsheetDocument ( XMultiServiceFactory  orb,
XComponent  document 
)
inline

Definition at line 39 of file SpreadsheetDocument.java.

Member Function Documentation

◆ getSheet()

XCellRange org.openoffice.test.tools.SpreadsheetDocument.getSheet ( int  index) throws com.sun.star.uno.Exception
inline

returns the sheet with the given index

Definition at line 56 of file SpreadsheetDocument.java.

References org.openoffice.test.tools.SpreadsheetDocument.getSheets(), and index.

◆ getSheets()

XSpreadsheets org.openoffice.test.tools.SpreadsheetDocument.getSheets ( )
inlineprivate

The documentation for this class was generated from the following file: