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

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.BaseElementProcessor
          extended by org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.EP_HCenter
All Implemented Interfaces:
Component, LogEnabled, ElementProcessor, POIFSElementProcessor

public class EP_HCenter
extends BaseElementProcessor

No-op implementation of ElementProcessor to handle the "hcenter" tag This element has a single attribute, value, which is boolean.

Version:
CVS $Id: EP_HCenter.html 1304258 2012-03-23 10:09:27Z ilgrosso $
Author:
Marc Johnson (marc_johnson27591@hotmail.com)

Field Summary
 
Fields inherited from interface org.apache.cocoon.components.elementprocessor.ElementProcessor
ROLE
 
Constructor Summary
EP_HCenter()
          constructor
 
Method Summary
 void endProcessing()
          Setup whether or not the worksheet content is centered (horizontally) on the page when it is printed
 boolean getValue()
           
 
Methods inherited from class org.apache.cocoon.components.elementprocessor.impl.poi.hssf.elements.BaseElementProcessor
acceptCharacters, acceptWhitespaceCharacters, getAncestor, getAttributes, getCell, getData, getFilesystem, getParent, getSheet, getValue, getWorkbook, initialize, setFilesystem
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EP_HCenter

public EP_HCenter()
constructor

Method Detail

getValue

public boolean getValue()
                 throws IOException
Returns:
value
Throws:
IOException - if the value is malformed or missing

endProcessing

public void endProcessing()
                   throws IOException
Setup whether or not the worksheet content is centered (horizontally) on the page when it is printed

Specified by:
endProcessing in interface ElementProcessor
Overrides:
endProcessing in class BaseElementProcessor
Throws:
IOException


Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.