Package org.apache.fop.fo.flow.table
Interface TableEventProducer
public interface TableEventProducer
Event producer interface for table-specific XSL-FO validation messages.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classProvider class for the event producer. -
Method Summary
Modifier and TypeMethodDescriptionvoidbreakIgnoredDueToRowSpanning(Object source, String elementName, boolean breakBefore, Locator loc) Break ignored due to row spanning.voidcellOverlap(Object source, String elementName, int column, Locator loc) Cell overlap.voidfooterOrderCannotRecover(Object source, String elementName, Locator loc) The table-footer was found after the table-body.voidforceNextColumnNumber(Object source, String elementName, Number propValue, int columnNumber, Locator loc) voidnoMixRowsAndCells(Object source, String elementName, Locator loc) No mixing of table-rows and table-cells is allowed for direct children of table-body.voidnonAutoBPDOnTable(Object source, Locator loc) A value other than "auto" has been specified on fo:table.voidnoTablePaddingWithCollapsingBorderModel(Object source, Locator loc) Padding on fo:table is ignored if the collapsing border model is active.voidpaddingNotApplicable(Object source, String elementName, Locator loc) padding-* properties are not applicable.voidstartEndRowUnderTableRowWarning(Object source, Locator loc) starts-row/ends-row for fo:table-cells non-applicable for children of an fo:table-rowvoidtooManyCells(Object source, Locator loc) Column-number or number of cells in the row overflows the number of fo:table-column specified for the table.voidvalueMustBeBiggerGtEqOne(Object source, String propName, int actualValue, Locator loc) Property value must be 1 or bigger.voidwarnImplicitColumns(Object source, Locator loc) table-layout=fixed and column-width unspecified => falling back to proportional-column-width(1)
-
Method Details
-
nonAutoBPDOnTable
A value other than "auto" has been specified on fo:table.- Parameters:
source- the event sourceloc- the location of the error or null- Event severity level:
- WARN
-
noTablePaddingWithCollapsingBorderModel
Padding on fo:table is ignored if the collapsing border model is active.- Parameters:
source- the event sourceloc- the location of the error or null- Event severity level:
- WARN
-
noMixRowsAndCells
No mixing of table-rows and table-cells is allowed for direct children of table-body.- Parameters:
source- the event sourceelementName- the name of the context nodeloc- the location of the error or null- Throws:
ValidationException- the validation error provoked by the method call- Event severity level:
- FATAL
-
startEndRowUnderTableRowWarning
starts-row/ends-row for fo:table-cells non-applicable for children of an fo:table-row- Parameters:
source- the event sourceloc- the location of the error or null- Event severity level:
- WARN
-
tooManyCells
Column-number or number of cells in the row overflows the number of fo:table-column specified for the table.- Parameters:
source- the event sourceloc- the location of the error or null- Throws:
ValidationException- the validation error provoked by the method call- Event severity level:
- FATAL
-
valueMustBeBiggerGtEqOne
void valueMustBeBiggerGtEqOne(Object source, String propName, int actualValue, Locator loc) throws PropertyException Property value must be 1 or bigger.- Parameters:
source- the event sourcepropName- the property nameactualValue- the actual valueloc- the location of the error or null- Throws:
PropertyException- the property error provoked by the method call- Event severity level:
- FATAL
-
warnImplicitColumns
table-layout=fixed and column-width unspecified => falling back to proportional-column-width(1)- Parameters:
source- the event sourceloc- the location of the error or null- Event severity level:
- WARN
-
paddingNotApplicable
padding-* properties are not applicable.- Parameters:
source- the event sourceelementName- the name of the context nodeloc- the location of the error or null- Event severity level:
- WARN
-
cellOverlap
void cellOverlap(Object source, String elementName, int column, Locator loc) throws PropertyException Cell overlap.- Parameters:
source- the event sourceelementName- the name of the context nodecolumn- the column index of the overlapping cellloc- the location of the error or null- Throws:
PropertyException- the property error provoked by the method call- Event severity level:
- FATAL
-
forceNextColumnNumber
void forceNextColumnNumber(Object source, String elementName, Number propValue, int columnNumber, Locator loc) - Parameters:
source- the event sourceelementName- the name of the context nodepropValue- the user-specified value of the column-number propertycolumnNumber- the generated value for the column-number propertyloc- the location of the error or null- Event severity level:
- WARN
-
breakIgnoredDueToRowSpanning
void breakIgnoredDueToRowSpanning(Object source, String elementName, boolean breakBefore, Locator loc) Break ignored due to row spanning.- Parameters:
source- the event sourceelementName- the name of the context nodebreakBefore- true for "break-before", false for "break-after"loc- the location of the error or null- Event severity level:
- WARN
-