org.pentaho.reporting.engine.classic.core.function.sys
Class CellFormatFunction

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.function.AbstractExpression
      extended by org.pentaho.reporting.engine.classic.core.function.AbstractFunction
          extended by org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction
              extended by org.pentaho.reporting.engine.classic.core.function.sys.CellFormatFunction
All Implemented Interfaces:
Serializable, Cloneable, EventListener, PageEventListener, ReportListener, Expression, Function, LayoutProcessorFunction, StructureFunction

public class CellFormatFunction
extends AbstractElementFormatFunction
implements StructureFunction

The cell-format function is an internal structure function that copies the format-strings of any text-field into the stylesheet of the element. This function does nothing if the current export type is not Table/Excel.

Author:
Thomas Morgner
See Also:
Serialized Form

Constructor Summary
CellFormatFunction()
          Default Constructor.
 
Method Summary
 int getDependencyLevel()
          Overrides the dependency level to only execute this function on the pagination and content-generation level.
 Expression getInstance()
          Return a completly separated copy of this function.
 int getProcessingPriority()
           
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction
getElement, getValue, groupFinished, groupStarted, itemsAdvanced, itemsFinished, itemsStarted, pageFinished, pageStarted, reportFinished, reportInitialized, reportStarted, setElement
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractFunction
reportDone
 
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.pentaho.reporting.engine.classic.core.event.ReportListener
groupFinished, groupStarted, itemsAdvanced, itemsFinished, itemsStarted, reportDone, reportFinished, reportInitialized, reportStarted
 
Methods inherited from interface org.pentaho.reporting.engine.classic.core.function.Expression
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, getValue, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime
 

Constructor Detail

CellFormatFunction

public CellFormatFunction()
Default Constructor.

Method Detail

getProcessingPriority

public int getProcessingPriority()
Specified by:
getProcessingPriority in interface StructureFunction

getDependencyLevel

public int getDependencyLevel()
Overrides the dependency level to only execute this function on the pagination and content-generation level.

Specified by:
getDependencyLevel in interface Expression
Overrides:
getDependencyLevel in class AbstractExpression
Returns:
LayoutProcess.LEVEL_PAGINATE.

getInstance

public Expression getInstance()
Description copied from class: AbstractExpression
Return a completly separated copy of this function. The copy does no longer share any changeable objects with the original function.

Specified by:
getInstance in interface Expression
Overrides:
getInstance in class AbstractExpression
Returns:
a copy of this function.