Class TableManager
java.lang.Object
io.jmix.reports.yarg.formatters.impl.doc.TableManager
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcopy(com.sun.star.frame.XDispatchHelper xDispatchHelper, com.sun.star.frame.XDispatchProvider xDispatchProvider) voidcopyRow(com.sun.star.frame.XDispatchHelper xDispatchHelper, com.sun.star.frame.XController xController, int row) voiddeleteRow(int row) com.sun.star.text.XTextfindFirstEntryInRow(Pattern pattern, int row) intgetCellNamesForTheRow(int row) static com.sun.star.text.XTextTablegetTableByName(com.sun.star.lang.XComponent xComponent, String tableName) getTablesNames(com.sun.star.lang.XComponent xComponent) com.sun.star.table.XCellgetXCell(int col, int row) com.sun.star.text.XTextTablevoidinsertEmptyRow(int indexAfter) voidpaste(com.sun.star.frame.XDispatchHelper xDispatchHelper, com.sun.star.frame.XDispatchProvider xDispatchProvider) voidselectRow(com.sun.star.frame.XController xController, int row) 
- 
Field Details- 
xTextTableprotected com.sun.star.text.XTextTable xTextTable
- 
tableName
 
- 
- 
Constructor Details- 
TableManagerpublic TableManager(com.sun.star.lang.XComponent xComponent, String tableName) throws com.sun.star.container.NoSuchElementException, com.sun.star.lang.WrappedTargetException - Throws:
- com.sun.star.container.NoSuchElementException
- com.sun.star.lang.WrappedTargetException
 
 
- 
- 
Method Details- 
getXTextTablepublic com.sun.star.text.XTextTable getXTextTable()
- 
getTableName
- 
getTablesNames
- 
getTableByNamepublic static com.sun.star.text.XTextTable getTableByName(com.sun.star.lang.XComponent xComponent, String tableName) throws com.sun.star.container.NoSuchElementException, com.sun.star.lang.WrappedTargetException - Throws:
- com.sun.star.container.NoSuchElementException
- com.sun.star.lang.WrappedTargetException
 
- 
findRowWithAliasespublic int findRowWithAliases()
- 
findFirstEntryInRow
- 
getXCellpublic com.sun.star.table.XCell getXCell(int col, int row) throws com.sun.star.lang.IndexOutOfBoundsException - Throws:
- com.sun.star.lang.IndexOutOfBoundsException
 
- 
selectRowpublic void selectRow(com.sun.star.frame.XController xController, int row) throws com.sun.star.uno.Exception - Throws:
- com.sun.star.uno.Exception
 
- 
getCellNamesForTheRow- Parameters:
- row- - row order number [0..n]
- Returns:
- list of cell names for the row
 
- 
deleteRowpublic void deleteRow(int row) 
- 
insertEmptyRowpublic void insertEmptyRow(int indexAfter) 
- 
copyRowpublic void copyRow(com.sun.star.frame.XDispatchHelper xDispatchHelper, com.sun.star.frame.XController xController, int row) throws com.sun.star.uno.Exception - Throws:
- com.sun.star.uno.Exception
 
- 
copypublic void copy(com.sun.star.frame.XDispatchHelper xDispatchHelper, com.sun.star.frame.XDispatchProvider xDispatchProvider) 
- 
pastepublic void paste(com.sun.star.frame.XDispatchHelper xDispatchHelper, com.sun.star.frame.XDispatchProvider xDispatchProvider) 
 
-