diff options
author | Simon Pepping <spepping@apache.org> | 2008-05-19 19:02:18 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2008-05-19 19:02:18 +0000 |
commit | 00cfbeeb22039e7e37d123c318292e625eaddf79 (patch) | |
tree | d3eacf8520eff13d9a930fea1786c0ba174c5f9f /src/java/org/apache/fop/fo/flow/table/TableEventProducer.java | |
parent | c097c3ef1110611baf100d5b407fd12392125f29 (diff) | |
download | xmlgraphics-fop-00cfbeeb22039e7e37d123c318292e625eaddf79.tar.gz xmlgraphics-fop-00cfbeeb22039e7e37d123c318292e625eaddf79.zip |
Added event TableEventProducer.forceNextColumnNumber when
TableFObj.ColumnNumberPropertyMaker forces a zero or negative
column-number property to the next available column, because this is a
FOP extension. Fixed TableFObj.ColumnNumberPropertyMaker.make to
really report a cell overlap event.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@657921 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/fop/fo/flow/table/TableEventProducer.java')
-rw-r--r-- | src/java/org/apache/fop/fo/flow/table/TableEventProducer.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/java/org/apache/fop/fo/flow/table/TableEventProducer.java b/src/java/org/apache/fop/fo/flow/table/TableEventProducer.java index 44ddcc038..9c4a82dd6 100644 --- a/src/java/org/apache/fop/fo/flow/table/TableEventProducer.java +++ b/src/java/org/apache/fop/fo/flow/table/TableEventProducer.java @@ -145,6 +145,17 @@ public interface TableEventProducer extends EventProducer { Locator loc) throws PropertyException; /** + * @param source the event source + * @param elementName the name of the context node + * @param propValue the user-specified value of the column-number property + * @param columnNumber the generated value for the column-number property + * @param loc the location of the error or null + * @event.severity WARN + */ + void forceNextColumnNumber(Object source, String elementName, Number propValue, + int columnNumber, Locator loc); + + /** * Break ignored due to row spanning. * @param source the event source * @param elementName the name of the context node |