Class Test.F
-
Method Summary
Modifier and TypeMethodDescriptionvoidcustomizeImage(ODT.Image image) Allows customization of an image before it is generated.voidcustomizeTable(ODT.Table table) Allows customization of a table before it is generated.evaluate(ODT.Element element, String variableName) Evaluates a given variable name within the context of a specific element and returns the corresponding value.Methods inherited from class com.storedobject.office.Filler
createLinkData, customizeSection, evaluate, execute, execute, getLinkCondition, getLinkFilter, getODT, getReportingObject, getTransactionManager, populateData, setImageCustomizer, setReportingObject, setSectionCustomizer, setTableCustomizerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.storedobject.common.Executable
act, run
-
Method Details
-
customizeTable
Description copied from class:FillerAllows customization of a table before it is generated.Override this method to control table output, row counts, blank rows, or remove the table entirely.
By default, this method takes appropriate action if a link object is specified (in that case, the name should be prefixed with "L:" followed by the link's data class) or if the table name starts with "A:" followed by an attribute name of the reporting object. If an attribute name is specified, it can also contain dot-operators.
Note: If a customizer is set, it will be invoked first to perform table-specific adjustments.
- Overrides:
customizeTablein classFiller<Object>- Parameters:
table- The table being customized.
-
customizeImage
Description copied from class:FillerAllows customization of an image before it is generated.Override this method to modify image handling or remove the image entirely.
Note: If a customizer is set, it will be invoked to perform image-specific adjustments.
- Overrides:
customizeImagein classFiller<Object>- Parameters:
image- The image being customized.
-
evaluate
Description copied from class:FillerEvaluates a given variable name within the context of a specific element and returns the corresponding value. The evaluation process can involve checking system entities, users, reporting objects, table cells, or default fallback cases based on the provided variable name.It internally invokes
Filler.evaluate(Object, String)to determine the variable's value. Please see note# 3 ofFiller.evaluate(Object, String)for more details.- Overrides:
evaluatein classFiller<Object>- Parameters:
element- The ODT.Element instance that provides contextual information for evaluation. This can include associated table cells or the overall reporting context.variableName- The name of the variable to evaluate. It may have specific prefixes (e.g., "SystemEntity.", "SystemUser.", "O:") that affect the evaluation process.- Returns:
- The result of the evaluation, or a default string indicating the variable name is unresolved (e.g., "variableName = ?"). The return type depends on the context and the data associated with the variable name.
-