org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements
Class EPSheet
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.BaseElementProcessor
org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.EPSheet
- All Implemented Interfaces:
- Component, LogEnabled, ElementProcessor, POIFSElementProcessor
public class EPSheet
- extends BaseElementProcessor
No-op implementation of ElementProcessor to handle the "Sheet" tag
This element contains other elements and has the following boolean
attributes:
- DisplayFormulas
- HideZero
- HideGrid
- HideColHeader
- HideRowHeader
- DisplayOutlines
- OutlineSymbolsBelow
- OutlineSymbolsRight
- Version:
- CVS $Id: EPSheet.html 1304258 2012-03-23 10:09:27Z ilgrosso $
- Author:
- Marc Johnson (marc_johnson27591@hotmail.com), Andrew C. Oliver (acoliver2@users.sourceforge.net)
Constructor Summary |
EPSheet()
constructor |
Methods inherited from class org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.BaseElementProcessor |
acceptCharacters, acceptWhitespaceCharacters, getAncestor, getAttributes, getCell, getData, getFilesystem, getParent, getValue, getWorkbook, setFilesystem |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EPSheet
public EPSheet()
- constructor
initialize
public void initialize(Attribute[] attributes,
ElementProcessor parent)
throws IOException
- Override of Initialize() implementation
- Specified by:
initialize
in interface ElementProcessor
- Overrides:
initialize
in class BaseElementProcessor
- Parameters:
attributes
- the array of Attribute instances; may be empty, will
never be nullparent
- the parent ElementProcessor; may be null
- Throws:
IOException
- if anything is wrong
endProcessing
public void endProcessing()
throws IOException
- override of endProcessing(). Reponsible for fixing style regions with
blank cells.
- Specified by:
endProcessing
in interface ElementProcessor
- Overrides:
endProcessing
in class BaseElementProcessor
- Throws:
IOException
getSheet
protected org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.Sheet getSheet()
- override of getSheet()
- Overrides:
getSheet
in class BaseElementProcessor
- Returns:
- the sheet
getDisplayFormulas
public boolean getDisplayFormulas()
throws IOException
- Returns:
- true if formulas should be displayed
- Throws:
IOException
- if attribute is missing or malformed
getHideZero
public boolean getHideZero()
throws IOException
- Returns:
- true if zeroes should be suppressed
- Throws:
IOException
- if attribute is missing or malformed
getHideGrid
public boolean getHideGrid()
throws IOException
- Returns:
- true if grid should be hidden
- Throws:
IOException
- if attribute is missing or malformed
getHideColHeader
public boolean getHideColHeader()
throws IOException
- Returns:
- true if column headers should be hidden
- Throws:
IOException
- if attribute is missing or malformed
getHideRowHeader
public boolean getHideRowHeader()
throws IOException
- Returns:
- true if row headers should be hidden
- Throws:
IOException
- if attribute is missing or malformed
getDisplayOutlines
public boolean getDisplayOutlines()
throws IOException
- Returns:
- true if outlines should be displayed
- Throws:
IOException
- if attribute is missing or malformed
getOutlineSymbolsBelow
public boolean getOutlineSymbolsBelow()
throws IOException
- Returns:
- true if outline symbols are below
- Throws:
IOException
- if attribute is missing or malformed
getOutlineSymbolsRight
public boolean getOutlineSymbolsRight()
throws IOException
- Returns:
- true if outline symbols are on the right
- Throws:
IOException
- if attribute is missing or malformed
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.