org.jopendocument.model.table
Class TableTable

java.lang.Object
  extended by org.jopendocument.model.table.TableTable

public class TableTable
extends Object


Field Summary
protected  OfficeForms officeForms
           
protected  String tableAutomaticPrintRange
           
protected  String tableName
           
protected  String tablePrintRanges
           
protected  String tableProtected
           
protected  String tableProtectionKey
           
protected  TableScenario tableScenario
           
protected  TableShapes tableShapes
           
protected  String tableStyleName
           
protected  List<Object> tableTableColumnsOrTableTableColumnOrTableTableColumnGroupOrTableTableHeaderColumns
           
protected  List<Object> tableTableRowsOrTableTableRowOrTableTableRowGroupOrTableTableHeaderRows
           
protected  TableTableSource tableTableSource
           
 
Constructor Summary
TableTable()
           
 
Method Summary
 void addColumn(TableTableColumn col)
           
 void addRow(TableTableRow r)
           
 void completed()
           
 StyleStyle getCellStyle(String s)
           
 TableTableColumn getColumn(int i)
           
 TableTableColumn getColumnAtPosition(int colPosition)
           
 List<TableTableColumn> getColumns()
           
 List<TableTableColumn> getColumnsInRange(int startCol, int stopCol)
           
 StyleStyle getColumnStyle(String s)
           
 int getHeight(int startRow, int stopRow)
           
 OfficeForms getOfficeForms()
          Gets the value of the officeForms property.
 StylePageLayoutProperties getPageLayoutProperties()
          Returns the page layout properties
 int getPrintHeight()
           
 int getPrintHeight(double resizeFactor)
           
 int getPrintStartCol()
           
 int getPrintStartRow()
           
 int getPrintStopCol()
           
 int getPrintStopRow()
           
 int getPrintWidth()
           
 int getPrintWidth(double resizeFactor)
           
 List<TableTableRow> getRows()
          Return all the rows (duplicated if repeated)
 List<TableTableRow> getRowsInRange(int startRow, int stopRow)
           
 StyleStyle getRowStyle(String s)
           
 OfficeSpreadsheet getSpreadsheet()
           
 String getTableAutomaticPrintRange()
          Gets the value of the tableAutomaticPrintRange property.
 String getTableName()
          Gets the value of the tableName property.
 String getTableProtected()
          Gets the value of the tableProtected property.
 String getTableProtectionKey()
          Gets the value of the tableProtectionKey property.
 TableScenario getTableScenario()
          Gets the value of the tableScenario property.
 TableShapes getTableShapes()
          Gets the value of the tableShapes property.
 String getTableStyleName()
          Gets the value of the tableStyleName property.
 TableTableSource getTableTableSource()
          Gets the value of the tableTableSource property.
 void setOfficeForms(OfficeForms value)
          Sets the value of the officeForms property.
 void setSpreadsheet(OfficeSpreadsheet s)
           
 void setTableAutomaticPrintRange(String value)
          Sets the value of the tableAutomaticPrintRange property.
 void setTableName(String value)
          Sets the value of the tableName property.
 void setTablePrintRanges(String value)
          Sets the value of the tablePrintRanges property.
 void setTableProtected(String value)
          Sets the value of the tableProtected property.
 void setTableProtectionKey(String value)
          Sets the value of the tableProtectionKey property.
 void setTableScenario(TableScenario value)
          Sets the value of the tableScenario property.
 void setTableShapes(TableShapes value)
          Sets the value of the tableShapes property.
 void setTableStyleName(String value)
          Sets the value of the tableStyleName property.
 void setTableTableSource(TableTableSource value)
          Sets the value of the tableTableSource property.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

officeForms

protected OfficeForms officeForms

tableAutomaticPrintRange

protected String tableAutomaticPrintRange

tableName

protected String tableName

tablePrintRanges

protected String tablePrintRanges

tableProtected

protected String tableProtected

tableProtectionKey

protected String tableProtectionKey

tableScenario

protected TableScenario tableScenario

tableShapes

protected TableShapes tableShapes

tableStyleName

protected String tableStyleName

tableTableColumnsOrTableTableColumnOrTableTableColumnGroupOrTableTableHeaderColumns

protected List<Object> tableTableColumnsOrTableTableColumnOrTableTableColumnGroupOrTableTableHeaderColumns

tableTableRowsOrTableTableRowOrTableTableRowGroupOrTableTableHeaderRows

protected List<Object> tableTableRowsOrTableTableRowOrTableTableRowGroupOrTableTableHeaderRows

tableTableSource

protected TableTableSource tableTableSource
Constructor Detail

TableTable

public TableTable()
Method Detail

addColumn

public void addColumn(TableTableColumn col)

addRow

public void addRow(TableTableRow r)

getCellStyle

public StyleStyle getCellStyle(String s)

getColumn

public TableTableColumn getColumn(int i)

getColumnAtPosition

public TableTableColumn getColumnAtPosition(int colPosition)

getColumns

public List<TableTableColumn> getColumns()

getColumnsInRange

public List<TableTableColumn> getColumnsInRange(int startCol,
                                                int stopCol)

getColumnStyle

public StyleStyle getColumnStyle(String s)

getHeight

public int getHeight(int startRow,
                     int stopRow)

getOfficeForms

public OfficeForms getOfficeForms()
Gets the value of the officeForms property.

Returns:
possible object is OfficeForms

getPageLayoutProperties

public StylePageLayoutProperties getPageLayoutProperties()
Returns the page layout properties

Returns:
the properties

getPrintHeight

public int getPrintHeight()

getPrintHeight

public int getPrintHeight(double resizeFactor)

getPrintStartCol

public int getPrintStartCol()

getPrintStartRow

public int getPrintStartRow()

getPrintStopCol

public int getPrintStopCol()

getPrintStopRow

public int getPrintStopRow()

getPrintWidth

public int getPrintWidth()

getPrintWidth

public int getPrintWidth(double resizeFactor)

getRows

public List<TableTableRow> getRows()
Return all the rows (duplicated if repeated)


getRowsInRange

public List<TableTableRow> getRowsInRange(int startRow,
                                          int stopRow)

getRowStyle

public StyleStyle getRowStyle(String s)

getSpreadsheet

public OfficeSpreadsheet getSpreadsheet()

getTableAutomaticPrintRange

public String getTableAutomaticPrintRange()
Gets the value of the tableAutomaticPrintRange property.

Returns:
possible object is String

getTableName

public String getTableName()
Gets the value of the tableName property.

Returns:
possible object is String

getTableProtected

public String getTableProtected()
Gets the value of the tableProtected property.

Returns:
possible object is String

getTableProtectionKey

public String getTableProtectionKey()
Gets the value of the tableProtectionKey property.

Returns:
possible object is String

getTableScenario

public TableScenario getTableScenario()
Gets the value of the tableScenario property.

Returns:
possible object is TableScenario

getTableShapes

public TableShapes getTableShapes()
Gets the value of the tableShapes property.

Returns:
possible object is TableShapes

getTableStyleName

public String getTableStyleName()
Gets the value of the tableStyleName property.

Returns:
possible object is String

getTableTableSource

public TableTableSource getTableTableSource()
Gets the value of the tableTableSource property.

Returns:
possible object is TableTableSource

setOfficeForms

public void setOfficeForms(OfficeForms value)
Sets the value of the officeForms property.

Parameters:
value - allowed object is OfficeForms

setSpreadsheet

public void setSpreadsheet(OfficeSpreadsheet s)

setTableAutomaticPrintRange

public void setTableAutomaticPrintRange(String value)
Sets the value of the tableAutomaticPrintRange property.

Parameters:
value - allowed object is String

setTableName

public void setTableName(String value)
Sets the value of the tableName property.

Parameters:
value - allowed object is String

setTablePrintRanges

public void setTablePrintRanges(String value)
Sets the value of the tablePrintRanges property.

Parameters:
value - allowed object is String

setTableProtected

public void setTableProtected(String value)
Sets the value of the tableProtected property.

Parameters:
value - allowed object is String

setTableProtectionKey

public void setTableProtectionKey(String value)
Sets the value of the tableProtectionKey property.

Parameters:
value - allowed object is String

setTableScenario

public void setTableScenario(TableScenario value)
Sets the value of the tableScenario property.

Parameters:
value - allowed object is TableScenario

setTableShapes

public void setTableShapes(TableShapes value)
Sets the value of the tableShapes property.

Parameters:
value - allowed object is TableShapes

setTableStyleName

public void setTableStyleName(String value)
Sets the value of the tableStyleName property.

Parameters:
value - allowed object is String

setTableTableSource

public void setTableTableSource(TableTableSource value)
Sets the value of the tableTableSource property.

Parameters:
value - allowed object is TableTableSource

completed

public void completed()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2010 jOpenDocument All Rights Reserved.