org.jopendocument.model.table
Class TableTable

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

public class TableTable
extends java.lang.Object


Constructor Summary
TableTable()
           
 
Method Summary
 void addColumn(TableTableColumn col)
           
 void addRow(TableTableRow r)
           
 void completed()
           
 StyleStyle getCellStyle(java.lang.String s)
           
 TableTableColumn getColumn(int i)
           
 TableTableColumn getColumnAtPosition(int colPosition)
           
 java.util.List<TableTableColumn> getColumns()
           
 java.util.List<TableTableColumn> getColumnsInRange(int startCol, int stopCol)
           
 StyleStyle getColumnStyle(java.lang.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)
           
 java.util.List<TableTableRow> getRows()
          Return all the rows (duplicated if repeated)
 java.util.List<TableTableRow> getRowsInRange(int startRow, int stopRow)
           
 StyleStyle getRowStyle(java.lang.String s)
           
 OfficeSpreadsheet getSpreadsheet()
           
 java.lang.String getTableAutomaticPrintRange()
          Gets the value of the tableAutomaticPrintRange property.
 java.lang.String getTableName()
          Gets the value of the tableName property.
 java.lang.String getTableProtected()
          Gets the value of the tableProtected property.
 java.lang.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.
 java.lang.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(java.lang.String value)
          Sets the value of the tableAutomaticPrintRange property.
 void setTableName(java.lang.String value)
          Sets the value of the tableName property.
 void setTablePrintRanges(java.lang.String value)
          Sets the value of the tablePrintRanges property.
 void setTableProtected(java.lang.String value)
          Sets the value of the tableProtected property.
 void setTableProtectionKey(java.lang.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(java.lang.String value)
          Sets the value of the tableStyleName property.
 void setTableTableSource(TableTableSource value)
          Sets the value of the tableTableSource property.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TableTable

public TableTable()
Method Detail

addColumn

public void addColumn(TableTableColumn col)

addRow

public void addRow(TableTableRow r)

getCellStyle

public StyleStyle getCellStyle(java.lang.String s)

getColumn

public TableTableColumn getColumn(int i)

getColumnAtPosition

public TableTableColumn getColumnAtPosition(int colPosition)

getColumns

public java.util.List<TableTableColumn> getColumns()

getColumnsInRange

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

getColumnStyle

public StyleStyle getColumnStyle(java.lang.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 java.util.List<TableTableRow> getRows()
Return all the rows (duplicated if repeated)


getRowsInRange

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

getRowStyle

public StyleStyle getRowStyle(java.lang.String s)

getSpreadsheet

public OfficeSpreadsheet getSpreadsheet()

getTableAutomaticPrintRange

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

Returns:
possible object is String

getTableName

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

Returns:
possible object is String

getTableProtected

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

Returns:
possible object is String

getTableProtectionKey

public java.lang.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 java.lang.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(java.lang.String value)
Sets the value of the tableAutomaticPrintRange property.

Parameters:
value - allowed object is String

setTableName

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

Parameters:
value - allowed object is String

setTablePrintRanges

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

Parameters:
value - allowed object is String

setTableProtected

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

Parameters:
value - allowed object is String

setTableProtectionKey

public void setTableProtectionKey(java.lang.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(java.lang.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 java.lang.String toString()
Overrides:
toString in class java.lang.Object