org.pentaho.reporting.engine.classic.core.function.sys
Class CellFormatFunction
java.lang.Object
org.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.AbstractFunction
org.pentaho.reporting.engine.classic.core.function.AbstractElementFormatFunction
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
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.AbstractExpression |
clone, getDataRow, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime |
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 |
CellFormatFunction
public CellFormatFunction()
- Default Constructor.
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.