aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/fo/flow/Table.java
Commit message (Collapse)AuthorAgeFilesLines
* Moved table-related FObj into new o.a.fop.fo.flow.table packageVincent Hennebert2007-11-051-555/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592103 13f79535-47bb-0310-9956-ffa450edef68
* First step towards building row groups at the FO tree stage. The built row ↵Vincent Hennebert2007-11-051-9/+48
| | | | | | | | | | groups are currently not used and the TableRowIterator stuff remains unchanged; this allows for more atomic commits. - introduced RowGroupBuilder hierarchy; - moved TableRowIterator test cases into fotree, and integrated them in the test suite. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@592058 13f79535-47bb-0310-9956-ffa450edef68
* Reworked the creation of implicit columns to match new behaviour: the number ↵Vincent Hennebert2007-11-021-28/+48
| | | | | | of columns of a table without explicit fo:table-column is set by the row that has the most columns. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@591299 13f79535-47bb-0310-9956-ffa450edef68
* - Enforced check for proper number of columns in a table. Now if a table has ↵Vincent Hennebert2007-10-311-0/+7
| | | | | | | | | explicit table-columns, those fix the total number of columns and any row having more columns will lead to an error. - Set up a framework for unit-testing classes from the FO tree, and added some first testcases for the number of columns in tables. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@590705 13f79535-47bb-0310-9956-ffa450edef68
* - factored the management of column numbers into a separate helper classVincent Hennebert2007-10-301-125/+78
| | | | | | | | | | | | | - moved the PendingSpan inner class from TableFObj into TableCellContainer, where it's a bit more appropriate - simplified the getTable method in TableFObj by overriding it in Table - simplified the propertyMaker for column-number: now it's the table-cell which notifies the parent table-body that it starts a new row. As an additional benefit the propertyMaker for starts-row is now called only once, instead of twice before - reworked, factored and simplified the handling of column indices in TableCellContainer - bugfix: repeated fo:table-column were not added at the right place in the column lists - bugfix: width set on cell on second row was applied to the column's width, whereas it shouldn't - checkstyle cleanup git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@590136 13f79535-47bb-0310-9956-ffa450edef68
* Made the columns field in Table private, and created suitable accessors to itVincent Hennebert2007-10-261-2/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@588604 13f79535-47bb-0310-9956-ffa450edef68
* Moved the creation of the columns list to the declaration of the columns ↵Vincent Hennebert2007-10-261-5/+3
| | | | | | field. Even if there are no explicit columns the list will have to be created anyway. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@588597 13f79535-47bb-0310-9956-ffa450edef68
* * Javadoc update: use {@inheritDoc} instead of @see where applicable, ↵Andreas L. Delmelle2007-07-181-14/+9
| | | | | | | | | | removal of some @author tags * Additional code cleanup: removal of unused imports (mainly in the fo.flow package) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@557337 13f79535-47bb-0310-9956-ffa450edef68
* Use a slightly more convenient name to keep the code somewhat readableAndreas L. Delmelle2007-07-141-2/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@556248 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 41656:Andreas L. Delmelle2007-07-071-8/+0
| | | | | | | | | | | | | Refactoring in the fo package: -> removal of the childNodes instance member in fop.fo.FObj -> addition of a firstChild instance member in fop.fo.FObj -> addition of a siblings instance member in fop.fo.FONode -> addition of a FONodeIterator interface in FONode + corresponding implementation in FObj -> changed implementations of FObj.addChildNode(), .removeChild() and .getChildNodes() git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554104 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 42089: Cleanup and restructuring (suggested by Adrian Cumiskey)Andreas L. Delmelle2007-07-071-9/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@554094 13f79535-47bb-0310-9956-ffa450edef68
* Time to enable border-collapse="collapse"Vincent Hennebert2007-04-201-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530727 13f79535-47bb-0310-9956-ffa450edef68
* Documentation, cleanup, log statements in the table layout code.Vincent Hennebert2007-03-191-1/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@519975 13f79535-47bb-0310-9956-ffa450edef68
* The spec explicitely does not specify what should be done when bpd is set to ↵Vincent Hennebert2007-02-071-1/+6
| | | | | | a different value than "auto" for fo:table. Display a warning that "auto" will be used as a fall back. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@504602 13f79535-47bb-0310-9956-ffa450edef68
* In relaxed validation mode, it should be acceptable to have fo:table-footer ↵Vincent Hennebert2007-01-091-1/+1
| | | | | | /after/ fo:table-body git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@494416 13f79535-47bb-0310-9956-ffa450edef68
* Comment out unused properties. Patch by Richard WheeldonSimon Pepping2006-12-201-10/+6
| | | | | | | | <richardw@geoquip-rnd.demon.co.uk>. ASF Bugzilla Bug 41044, attachment 19177. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@488960 13f79535-47bb-0310-9956-ffa450edef68
* Implemented limited support for extension properties through new methods on ↵Jeremias Maerki2006-09-111-6/+20
| | | | | | | | | | ElementMapping (backwards-compatible). Moved block-progression-unit into the fox: namespace. Implemented new extension properties: fox:orphan-content-limit and fox:widow-content-limit for fo:table and fo:list-block. See documentation for details. Bugfix in ElementListUtils.removeLegalBreaks (concerning box/glue combinations). Added a unit test to cover the problem. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@442282 13f79535-47bb-0310-9956-ffa450edef68
* Minor enhancement of column-number property code / removal of unused methodAndreas L. Delmelle2006-08-221-6/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433459 13f79535-47bb-0310-9956-ffa450edef68
* Rework of default column-creation and setting column-widths from the first ↵Andreas L. Delmelle2006-08-211-41/+88
| | | | | | row (fixes Bugzilla 35656) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@433291 13f79535-47bb-0310-9956-ffa450edef68
* Rework of the marker/retrieve-marker implementation to cater for correct ↵Andreas L. Delmelle2006-08-061-11/+32
| | | | | | evaluation of percentages and relative font-sizes, as well as more correct white-space handling. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@429168 13f79535-47bb-0310-9956-ffa450edef68
* Changed license headers and updated NOTICE file according to: ↵Jeremias Maerki2006-07-281-5/+6
| | | | | | http://www.apache.org/legal/src-headers.html git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@426576 13f79535-47bb-0310-9956-ffa450edef68
* See r412224: forgot to move the related code for TableColumn...Andreas L. Delmelle2006-06-071-4/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412380 13f79535-47bb-0310-9956-ffa450edef68
* Fixes Bugzilla 39560: make sure the interaction between FOs and properties ↵Andreas L. Delmelle2006-06-061-20/+38
| | | | | | is only performed once git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412224 13f79535-47bb-0310-9956-ffa450edef68
* Implementation for from-table-column(). See: bugzilla 38282Andreas L. Delmelle2006-01-311-18/+21
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373922 13f79535-47bb-0310-9956-ffa450edef68
* The border-collapse property on fo:table is now forced to the value ↵Jeremias Maerki2005-12-051-2/+5
| | | | | | "separate" until the collapsing border has been implemented. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@354075 13f79535-47bb-0310-9956-ffa450edef68
* Made the FO tree a little more consistent by renaming getName() to ↵Jeremias Maerki2005-11-111-5/+3
| | | | | | getLocalName() and adding additional methods like: getNamespaceURI() and getNormalNamespacePrefix(). getName() now returns the fully qualified name combined from getLocalName() and getNormalNamespacePrefix(). For special cases you can call getName(String) to return a different namespace prefix. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332545 13f79535-47bb-0310-9956-ffa450edef68
* Merged work on Temp_SpaceResolution branch into trunk (-r 320826:327988).Jeremias Maerki2005-10-241-12/+13
| | | | | | Source: http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_SpaceResolution/ git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328010 13f79535-47bb-0310-9956-ffa450edef68
* Removed warning for padding (r291267); padding never seems to be null, so ↵Andreas L. Delmelle2005-09-251-2/+2
| | | | | | warning was given for all tables... git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291457 13f79535-47bb-0310-9956-ffa450edef68
* Removed superfluous javadocAndreas L. Delmelle2005-09-241-5/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291268 13f79535-47bb-0310-9956-ffa450edef68
* Added warning for padding on table with collapsing border-modelAndreas L. Delmelle2005-09-241-11/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291267 13f79535-47bb-0310-9956-ffa450edef68
* Java 1.3 compatibility.Jeremias Maerki2005-09-221-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290962 13f79535-47bb-0310-9956-ffa450edef68
* Update for initial-values of column-number + some pending style-violation ↵Andreas L. Delmelle2005-09-201-0/+1
| | | | | | corrections git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290540 13f79535-47bb-0310-9956-ffa450edef68
* Implementation for initial values of the column-number propertyAndreas L. Delmelle2005-09-171-14/+79
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289865 13f79535-47bb-0310-9956-ffa450edef68
* An informative warning for the user if he doesn't supply enough table-column ↵Jeremias Maerki2005-09-161-1/+1
| | | | | | elements in fixed table layout. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289428 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36379:Finn Bock2005-08-311-1/+3
| | | | | | | | | | | | Revised percentage resolution system. Submitted by: Manuel Mall <mm.at.arcus.com.au> Slightly modified to avoid early evaluation of getValue(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265577 13f79535-47bb-0310-9956-ffa450edef68
* Added warning for unimplemented featureAndreas L. Delmelle2005-08-281-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@263923 13f79535-47bb-0310-9956-ffa450edef68
* Added support for table border-*-precedence properties in the tableFinn Bock2005-08-261-11/+12
| | | | | | | | fo objects. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@240173 13f79535-47bb-0310-9956-ffa450edef68
* Switch to .equals() instead of == for String compares of namespaces. Thanks ↵Glen Mazza2005-06-261-1/+1
| | | | | | to Nils Meier for the suggestion. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@201864 13f79535-47bb-0310-9956-ffa450edef68
* Warning about collapsing border model.Jeremias Maerki2005-06-201-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198754 13f79535-47bb-0310-9956-ffa450edef68
* Initial keep-together support on table.Jeremias Maerki2005-05-231-1/+14
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198672 13f79535-47bb-0310-9956-ffa450edef68
* Merge of branch Temp_KnuthStylePageBreaking back into HEAD.Jeremias Maerki2005-05-131-7/+26
| | | | | | | Temp_KnuthStylePageBreaking branch and HEAD have been tagged prior to the merge, so merging uncommitted work from the branch should be easier. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198627 13f79535-47bb-0310-9956-ffa450edef68
* ----------------------------------------------------------------------Glen Mazza2005-03-051-0/+4
| | | | | | | Validation bug fixed on fo:table. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198468 13f79535-47bb-0310-9956-ffa450edef68
* Validation for fo:table and fo:table-header added, some minor ↵Glen Mazza2005-03-051-1/+59
| | | | | | simplifications in other places. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198466 13f79535-47bb-0310-9956-ffa450edef68
* Set border traits for fo:table only if border-collapse="separate".Jeremias Maerki2005-02-151-0/+10
| | | | | | | Some clean-up. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198430 13f79535-47bb-0310-9956-ffa450edef68
* Implemented table-omit-header-at-break. The same for footers comes later ↵Jeremias Maerki2005-02-111-0/+10
| | | | | | when page breaking is revisited. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198418 13f79535-47bb-0310-9956-ffa450edef68
* No longer fail when no table-columns are defined. The table creates a ↵Jeremias Maerki2005-02-091-0/+17
| | | | | | | | | | "default column" which is used to handle any defaults and inheritance. The columns list is populated with at least the default column. The first row is not yet inspected for determining column widths as described in fixed table layout. (see comment in code) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198407 13f79535-47bb-0310-9956-ffa450edef68
* Accessor for table-layout property.Jeremias Maerki2005-02-091-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198402 13f79535-47bb-0310-9956-ffa450edef68
* Support for table-cells as direct children of table-body|header|footer.Jeremias Maerki2005-02-081-0/+5
| | | | | | | | The table-cells are grouped into table-rows using starts-row and ends-row properties during FO tree building so the layout managers don't have to handle both cases. This will hopefully keep the code simpler. Additional accessors on some FO objects. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198391 13f79535-47bb-0310-9956-ffa450edef68
* Support for border-spacing shorthand.Jeremias Maerki2005-02-071-0/+5
| | | | | | | Accessor for border-separation on table. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198389 13f79535-47bb-0310-9956-ffa450edef68
* Border, Padding and spaces on level fo:table.Jeremias Maerki2005-01-311-18/+39
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198352 13f79535-47bb-0310-9956-ffa450edef68