org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements
Class EPSheet

java.lang.Object
  |
  +--org.apache.avalon.framework.logger.AbstractLoggable
        |
        +--org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.BaseElementProcessor
              |
              +--org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.EPSheet
All Implemented Interfaces:
org.apache.avalon.framework.component.Component, ElementProcessor, org.apache.avalon.framework.logger.Loggable, 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:

Author:
Marc Johnson (marc_johnson27591@hotmail.com), Andrew C. Oliver (acoliver2@users.sourceforge.net)

Fields inherited from interface org.apache.cocoon.components.elementprocessor.ElementProcessor
ROLE
 
Constructor Summary
EPSheet()
          constructor
 
Method Summary
 void endProcessing()
          override of endProcessing().
 boolean getDisplayFormulas()
           
 boolean getDisplayOutlines()
           
 boolean getHideColHeader()
           
 boolean getHideGrid()
           
 boolean getHideRowHeader()
           
 boolean getHideZero()
           
 boolean getOutlineSymbolsBelow()
           
 boolean getOutlineSymbolsRight()
           
protected  org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.Sheet getSheet()
          override of getSheet()
 void initialize(Attribute[] attributes, ElementProcessor parent)
          Override of Initialize() implementation
 
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 org.apache.avalon.framework.logger.AbstractLoggable
getLogger, setLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPSheet

public EPSheet()
constructor
Method Detail

initialize

public void initialize(Attribute[] attributes,
                       ElementProcessor parent)
                throws java.io.IOException
Override of Initialize() implementation
Overrides:
initialize in class BaseElementProcessor
Parameters:
attributes - the array of Attribute instances; may be empty, will never be null
parent - the parent ElementProcessor; may be null
Throws:
java.io.IOException - if anything is wrong

endProcessing

public void endProcessing()
                   throws java.io.IOException
override of endProcessing(). Reponsible for fixing style regions with blank cells.
Overrides:
endProcessing in class BaseElementProcessor
Throws:
java.io.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 java.io.IOException
Returns:
true if formulas should be displayed
Throws:
java.io.IOException - if attribute is missing or malformed

getHideZero

public boolean getHideZero()
                    throws java.io.IOException
Returns:
true if zeroes should be suppressed
Throws:
java.io.IOException - if attribute is missing or malformed

getHideGrid

public boolean getHideGrid()
                    throws java.io.IOException
Returns:
true if grid should be hidden
Throws:
java.io.IOException - if attribute is missing or malformed

getHideColHeader

public boolean getHideColHeader()
                         throws java.io.IOException
Returns:
true if column headers should be hidden
Throws:
java.io.IOException - if attribute is missing or malformed

getHideRowHeader

public boolean getHideRowHeader()
                         throws java.io.IOException
Returns:
true if row headers should be hidden
Throws:
java.io.IOException - if attribute is missing or malformed

getDisplayOutlines

public boolean getDisplayOutlines()
                           throws java.io.IOException
Returns:
true if outlines should be displayed
Throws:
java.io.IOException - if attribute is missing or malformed

getOutlineSymbolsBelow

public boolean getOutlineSymbolsBelow()
                               throws java.io.IOException
Returns:
true if outline symbols are below
Throws:
java.io.IOException - if attribute is missing or malformed

getOutlineSymbolsRight

public boolean getOutlineSymbolsRight()
                               throws java.io.IOException
Returns:
true if outline symbols are on the right
Throws:
java.io.IOException - if attribute is missing or malformed


Copyright © 1999-2002 Apache Software Foundation. All Rights Reserved.