Holger's
Java API

Uses of Class
com.antelmann.ooffice.OfficeException

Packages that use OfficeException
com.antelmann.ooffice The classes in this package are to be used in conjunction with OpenOffice. 
 

Uses of OfficeException in com.antelmann.ooffice
 

Methods in com.antelmann.ooffice that throw OfficeException
 int TextTableFrame.appendRows(String tableName, int count)
          returns the number of rows in the given table including the appended rows
 void TextTableFrame.copyCellText(String originTableName, int originRow, int originColumn, String targetTableName, int targetRow, int targetColumn)
           
 void TextTableFrame.copyCellText(String originTableName, String originCellName, String targetTableName, String targetCellName)
           
 int TextTableFrame.deleteRows(String tableName, int atRow, int count)
          returns the number of rows in the given table including the inserted rows
static com.sun.star.lang.XComponent OOUtils.getActiveComponent()
           
static TextFrame TextFrame.getActiveDocument()
          seeks the currently active document on the desktop (if any) and returns it
static SpreadsheetFrame SpreadsheetFrame.getActiveDocument()
          seeks the currently active document on the desktop (if any) and returns it
 com.sun.star.text.XTextCursor TextFrame.getBookmarkCursor(String bookmark)
           
 com.sun.star.text.XTextRange TextFrame.getBookmarkRange(String bookmark)
           
 String TextFrame.getBookmarkText(String bookmark)
           
 com.sun.star.table.XCell TextTableFrame.getCell(String tableName, int row, int column)
           
 com.sun.star.table.XCell TextTableFrame.getCellForBookmark(String bookmark)
           
 com.sun.star.table.XCell TextTableFrame.getCellForCursor(com.sun.star.text.XTextCursor cursor)
           
 String SpreadsheetFrame.getCellFormula(String sheet, int row, int column)
           
 String TextTableFrame.getCellNameFor(String bookmark)
           
 String TextTableFrame.getCellNameFor(com.sun.star.table.XCell cell)
           
 String[] TextTableFrame.getCellNamesFor(String tableName)
           
static com.sun.star.frame.XComponentLoader OOUtils.getComponentLoader()
           
 String TextFrame.getFieldText(String fieldName)
          the fully quantified field name is to be supplied
 com.sun.star.sheet.XSpreadsheet SpreadsheetFrame.getSheet(int index)
           
 com.sun.star.sheet.XSpreadsheet SpreadsheetFrame.getSheet(String name)
           
 String TextTableFrame.getTableNameFor(String bookmark)
           
 String TextTableFrame.getTableNameFor(com.sun.star.table.XCell cell)
           
 String TextFrame.getUserFieldText(String userFieldName)
           
 com.sun.star.text.XTextViewCursor TextFrame.gotoBookmark(String bookmark)
          sets the view cursor to the given bookmark
 com.sun.star.text.XTextCursor TextFrame.gotoFirst(String searchText, boolean caseSensitive)
          sets the view cursor to the first occurrence of the given String and returns it as a cursor for further handling
 void TextFrame.insertFileAt(File file, com.sun.star.text.XTextCursor cursor)
          inserts one document into another
 void TextFrame.insertImage(File file, com.sun.star.text.XTextCursor cursor, TextFrame.AnchorType at, Map<Object,Object> props)
          props may be null
 void TextFrame.insertImage(String url, com.sun.star.text.XTextCursor cursor, TextFrame.AnchorType at, Map<Object,Object> props)
          props may be null
 com.sun.star.text.XText TextTableFrame.insertIntoCell(String tableName, int row, int column, String text)
          returns the text component of the target cell for further handling
 com.sun.star.text.XText TextTableFrame.insertIntoCell(String tableName, String cellName, String text)
          returns the text component of the target cell for further handling
 int TextTableFrame.insertRows(String tableName, int atRow, int count)
          returns the number of rows in the given table including the inserted rows
 int TextTableFrame.insertRowsAtBookmark(String bookmark, int count)
           
 void TextFrame.insertUrlAt(String url, com.sun.star.text.XTextCursor cursor)
          inserts one document into another
static
<T> T
OOUtils.loadDocument(Class<T> type, File file, Map<Object,Object> props, OOUtils.TargetFrame target, int searchFlag)
           
static
<T> T
OOUtils.loadDocument(Class<T> type, String url, Map<Object,Object> props, OOUtils.TargetFrame target, int searchFlag)
           
 void SpreadsheetFrame.placeTableModel(TableModel model, String sheet, int row, int column)
          places the given model into the spreadsheet with the upper left corner at the given location using a variety of useful default cell formats
 void TextFrame.print()
           
 void SpreadsheetFrame.print()
           
 void TextFrame.setBookmarkText(String bookmark, String text)
          sets the text of for a defined bookmark within the given document
 void TextTableFrame.setCellBackground(com.sun.star.table.XCell cell, String imageURL)
           
 void SpreadsheetFrame.setCellDate(String sheet, int row, int column, Date date)
           
 void SpreadsheetFrame.setCellDateTime(String sheet, int row, int column, Date date)
           
 void SpreadsheetFrame.setCellFormula(String sheet, int row, int column, String formula)
           
 void SpreadsheetFrame.setCellTime(String sheet, int row, int column, Date date)
           
 void SpreadsheetFrame.setCellTime(String sheet, int row, int column, TimeInDay time)
           
 void SpreadsheetFrame.setCellValue(String sheet, int row, int column, double value)
           
 void SpreadsheetFrame.setCellValue(String sheet, int row, int column, Object value)
          makes a best effort to set the cell's value using an appropriate format
 void SpreadsheetFrame.setCellValue(String sheet, int row, int column, String value, SpreadsheetFrame.CellFormat format)
          sheet, value, format must not be null
 void TextFrame.setFieldText(String fieldName, String text)
          the fully quantified field name is to be supplied
 void TextFrame.setUserFieldContent(Map<Object,Object> fields)
          sets the field content of the field variables contained in the map.
 

Constructors in com.antelmann.ooffice that throw OfficeException
SpreadsheetFrame()
          creates a blank new spreadsheet
SpreadsheetFrame(File template)
          creates a new document based on the given template file
SpreadsheetFrame(File file, Properties props)
          loads a document (the given file) into a blank frame along with the given properties
TextFrame()
          creates a blank new document
TextFrame(File template)
          creates a new document based on the given template file
TextFrame(File file, Map<Object,Object> props)
          loads a document (the given file) into a blank frame along with the given properties
TextFrame(String url, Map<Object,Object> props)
          loads a document from the given url into a blank frame along with the given properties.
 



(c) 2001-2006 Holger Antelmann - all rights reserved (contact: info@antelmann.com)
see www.antelmann.com/developer for further details and available downloads