|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.openoffice.xmerge.converter.xml.sxc.SpreadsheetDecoder
This class is a abstract class for encoding a "Device"
Document
format into an alternative spreadsheet format.
Constructor Summary | |
SpreadsheetDecoder(java.lang.String name,
java.lang.String password)
Constructor for creating new SpreadsheetDecoder . |
Method Summary | |
abstract void |
addDeviceContent(ConvertData cd)
Add the contents of a ConvertData to the workbook. |
abstract java.lang.String |
getCellContents()
Return the contents of the active cell. |
abstract java.lang.String |
getCellDataType()
Return the data type of the active cell. |
abstract Format |
getCellFormat()
Return a Format object describing the active cells
formatting. |
abstract int |
getColNumber()
Returns the number of the active column. |
abstract int |
getNumberOfColumns()
Returns the number of populated columns in the current WorkSheet. |
abstract int |
getNumberOfRows()
Returns the number of populated rows in the current WorkSheet. |
abstract int |
getNumberOfSheets()
Returns the total number of sheets in the WorkBook. |
abstract int |
getRowNumber()
Returns the number of the active row. |
abstract java.lang.String |
getSheetName()
Returns the name of the current WorkSheet. |
abstract boolean |
goToNextCell()
Move on the next populated cell in the current WorkSheet. |
abstract void |
setWorksheet(int sheetIndex)
Sets the active WorkSheet. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public SpreadsheetDecoder(java.lang.String name, java.lang.String password) throws java.io.IOException
SpreadsheetDecoder
.Method Detail |
public abstract void addDeviceContent(ConvertData cd) throws java.io.IOException
ConvertData
to the workbook.cd
- The ConvertData
containing the
content.java.io.IOException
- If any I/O error occurs.public abstract java.lang.String getCellContents()
public abstract java.lang.String getCellDataType()
public abstract Format getCellFormat()
Format
object describing the active cells
formatting.Format
object for the cell.public abstract int getColNumber()
public abstract int getNumberOfColumns()
public abstract int getNumberOfRows()
public abstract int getNumberOfSheets()
public abstract int getRowNumber()
public abstract java.lang.String getSheetName()
public abstract boolean goToNextCell() throws java.io.IOException
java.io.IOException
- If any I/O error occurs.public abstract void setWorksheet(int sheetIndex) throws java.io.IOException
sheetIndex
- The index of the sheet to be made active.java.io.IOException
- If any I/O error occurs.
|
OpenOffice.org XMerge API |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |