Package org.apache.fop.fo.flow.table
Interface TableEventProducer
- All Superinterfaces:
org.apache.fop.events.EventProducer
public interface TableEventProducer
extends org.apache.fop.events.EventProducer
Event producer interface for table-specific XSL-FO validation messages.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Provider class for the event producer. -
Method Summary
Modifier and TypeMethodDescriptionvoid
breakIgnoredDueToRowSpanning
(Object source, String elementName, boolean breakBefore, Locator loc) Break ignored due to row spanning.void
cellOverlap
(Object source, String elementName, int column, Locator loc) Cell overlap.void
footerOrderCannotRecover
(Object source, String elementName, Locator loc) The table-footer was found after the table-body.void
forceNextColumnNumber
(Object source, String elementName, Number propValue, int columnNumber, Locator loc) void
noMixRowsAndCells
(Object source, String elementName, Locator loc) No mixing of table-rows and table-cells is allowed for direct children of table-body.void
nonAutoBPDOnTable
(Object source, Locator loc) A value other than "auto" has been specified on fo:table.void
noTablePaddingWithCollapsingBorderModel
(Object source, Locator loc) Padding on fo:table is ignored if the collapsing border model is active.void
paddingNotApplicable
(Object source, String elementName, Locator loc) padding-* properties are not applicable.void
startEndRowUnderTableRowWarning
(Object source, Locator loc) starts-row/ends-row for fo:table-cells non-applicable for children of an fo:table-rowvoid
tooManyCells
(Object source, Locator loc) Column-number or number of cells in the row overflows the number of fo:table-column specified for the table.void
valueMustBeBiggerGtEqOne
(Object source, String propName, int actualValue, Locator loc) Property value must be 1 or bigger.void
warnImplicitColumns
(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
-