aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/table
Commit message (Collapse)AuthorAgeFilesLines
* Bugfix: display-align did not work if the first object in a page was a table.Luca Furini2006-03-231-0/+5
| | | | | | Testcase added, now all seems ok. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@388157 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixed a copy/paste error in the table layout code that caused wrong ↵Jeremias Maerki2006-03-151-1/+1
| | | | | | page break decisions when table-headers and/or table-footers are used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386025 13f79535-47bb-0310-9956-ffa450edef68
* Removed stray debug message.Jeremias Maerki2006-03-061-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@383493 13f79535-47bb-0310-9956-ffa450edef68
* Here's why forcing to border-collapse="separate" on fo:table didn't work. D'oh!Jeremias Maerki2006-01-311-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373761 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #38397: Jeremias Maerki2006-01-261-6/+23
| | | | | | Bugfix: Spanned cells could lead to an false error message about overlapping cells and ultimately a NullPointerException. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372504 13f79535-47bb-0310-9956-ffa450edef68
* Following a clarification by the XSL FO SG, space traits are only set on the ↵Jeremias Maerki2006-01-191-5/+7
| | | | | | | | | | first and last area generated by an FO, and not on every area anymore. For details, see: http://wiki.apache.org/xmlgraphics-fop/XslFoSpecificationUncertainties/SpaceTraits Note: this change brings another issue in column balancing to light. That's the reason for disabling one of the tests. I wasn't able to find a quick fix there. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@370494 13f79535-47bb-0310-9956-ffa450edef68
* Fix for width checks. They didn't take start-indent and end-indent into account.Jeremias Maerki2005-12-191-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357674 13f79535-47bb-0310-9956-ffa450edef68
* Debug optimizationJeremias Maerki2005-12-151-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357061 13f79535-47bb-0310-9956-ffa450edef68
* Fixed a bug where the area for a finished cell that is broken over pages was ↵Jeremias Maerki2005-12-151-1/+2
| | | | | | created once for each row it was spanned over instead of only once. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357008 13f79535-47bb-0310-9956-ffa450edef68
* Added checks that warn about tables and block-containers that are wider than ↵Jeremias Maerki2005-12-151-0/+9
| | | | | | the available content area. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@357000 13f79535-47bb-0310-9956-ffa450edef68
* New method: FONode.decorateWithContextInfo() adds context information to an ↵Jeremias Maerki2005-12-133-11/+18
| | | | | | | | | | | error or log message by either providing the locator information or by gathering context information from the context FOs. Improved log and error messages in a number of places by adding additional context information that should make it easier to find the location in the source files. Added a check to detect inline overflows (LineLayoutManager). Added a check to detect in-page overflows (PageBreakingAlgorithm). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@356592 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Areas for table-cells that are broken over more than one page are ↵Jeremias Maerki2005-12-081-10/+23
| | | | | | | | now generated even if all its content is already painted on a previous page. This fixes strange effects like a table grid that is not completely painted. Some check in the test cases had to be adjusted because the indices weren't correct anymore, since now some previously missing areas are generated. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@355105 13f79535-47bb-0310-9956-ffa450edef68
* Implemented 5.3.4 overconstrained geometry without handling the case when ↵Jeremias Maerki2005-12-022-28/+12
| | | | | | the content IPD is zero. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@351655 13f79535-47bb-0310-9956-ffa450edef68
* Fixing two NPEs occurring with a completely empty table where not even the ↵Jeremias Maerki2005-12-011-1/+3
| | | | | | table-cell has at least one block element and relaxed validation is enabled. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@351491 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Added missing conditionality notification for table-cell content.Jeremias Maerki2005-11-301-0/+4
| | | | | | | | | Extracted functionality to find a previous break into a helper method in ElementListUtils. Fixed misguided german->english translation on parameter names (last != previous). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349909 13f79535-47bb-0310-9956-ffa450edef68
* Added support for border-separation.block-progression-direction (only ↵Jeremias Maerki2005-11-244-11/+39
| | | | | | | | inline-progression-direction worked before). Bugfix for a special case with vertically spanned cells where a cell might have been swallowed as a whole. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@348745 13f79535-47bb-0310-9956-ffa450edef68
* Updated from Jakarta Commons IO 1.0 to 1.1. CopyUtils.copy() becomes ↵Jeremias Maerki2005-11-141-4/+0
| | | | | | | | | IOUtils.copy() again. CopyUtils in 1.0 was not ideal design decision. Fixed most of the unappropriate System.err/System.out/Exception.printStackTrace(). Those that aren't fixed and are not legitimate calls (in main() methods etc.) are marked with a TODO item. Some Javadocs and style updates. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@344111 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug #37415Andreas L. Delmelle2005-11-081-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331912 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug #37270:Jeremias Maerki2005-11-082-42/+88
| | | | | | | | No more exceptions. Code touch-up and logging optimization. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@331844 13f79535-47bb-0310-9956-ffa450edef68
* Fix for Bug #36403.Jeremias Maerki2005-10-271-4/+26
| | | | | | The problem is similar to the row backtracking that has to be done in case of spanned rows but it has to be handled a little differently. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328868 13f79535-47bb-0310-9956-ffa450edef68
* Package documentation.Jeremias Maerki2005-10-271-0/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328824 13f79535-47bb-0310-9956-ffa450edef68
* Merged work on Temp_SpaceResolution branch into trunk (-r 320826:327988).Jeremias Maerki2005-10-244-127/+223
| | | | | | 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
* Cosmetic changes to identifiers, comments and other stylistic corrections.Joerg Pietschmann2005-10-061-29/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@306609 13f79535-47bb-0310-9956-ffa450edef68
* Correction of style violationsAndreas L. Delmelle2005-09-193-7/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290272 13f79535-47bb-0310-9956-ffa450edef68
* Implementation for initial values of the column-number propertyAndreas L. Delmelle2005-09-174-16/+19
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289865 13f79535-47bb-0310-9956-ffa450edef68
* Provide the TABLE_UNITS base value through the PrecentageBaseContext.Jeremias Maerki2005-09-161-6/+11
| | | | | | | Remove the LayoutDimension mechanism entirely. This fixes a problem with proportional-column-width() in nested tables. The LayoutDimension mechanism would look in the parent table for the base value when the base value for the actual table was only just calculated. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289439 13f79535-47bb-0310-9956-ffa450edef68
* An informative warning for the user if he doesn't supply enough table-column ↵Jeremias Maerki2005-09-161-1/+18
| | | | | | elements in fixed table layout. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289428 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix for table_width.xml. Table width was not determined correctly when ↵Jeremias Maerki2005-09-151-8/+12
| | | | | | specified explicitely and indents are present. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289245 13f79535-47bb-0310-9956-ffa450edef68
* Removed TODO. No MT issues here.Jeremias Maerki2005-09-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279721 13f79535-47bb-0310-9956-ffa450edef68
* Fixed javadoc errors.Joerg Pietschmann2005-09-082-3/+4
| | | | | | | Added a few TODOs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@279656 13f79535-47bb-0310-9956-ffa450edef68
* Cleanup of unused imports.Finn Bock2005-09-012-2/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@265738 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #36379:Finn Bock2005-08-317-74/+178
| | | | | | | | | | | | 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
* Set the background traits after the BPD and IPD are set.Jeremias Maerki2005-08-291-7/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264116 13f79535-47bb-0310-9956-ffa450edef68
* Added warning for non-standard fallbackAndreas L. Delmelle2005-08-281-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@263924 13f79535-47bb-0310-9956-ffa450edef68
* Fix for table-body4.xml. Higher penalty values for breaks that would results ↵Jeremias Maerki2005-08-021-0/+10
| | | | | | in unwelcome table breaks. At the moment this is hard-coded to an arbitrary value and needs to be refined. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227030 13f79535-47bb-0310-9956-ffa450edef68
* Padding was ignored by the table stepper. This fixes the newly modified ↵Jeremias Maerki2005-08-021-0/+11
| | | | | | table-cell7.xml. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227015 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixes table-cell7 where padding wasn't handled correctly while ↵Jeremias Maerki2005-07-281-2/+28
| | | | | | adding table areas. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225893 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Fixes table-cell7 where display-align was off when border and/or ↵Jeremias Maerki2005-07-281-4/+4
| | | | | | padding was used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225890 13f79535-47bb-0310-9956-ffa450edef68
* Removed unused methodJeremias Maerki2005-07-281-18/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225887 13f79535-47bb-0310-9956-ffa450edef68
* Removing unused import.Finn Bock2005-07-281-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225743 13f79535-47bb-0310-9956-ffa450edef68
* Send the ID of the producing FO to the area tree as trait where possible. Jeremias Maerki2005-07-262-11/+3
| | | | | | This is useful for testing and may later be interesting for FO editor implementors and for other things where you want to identify the generating FO from a particular object in the output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225268 13f79535-47bb-0310-9956-ffa450edef68
* Buzilla #35787 Jeremias Maerki2005-07-191-5/+10
| | | | | | | When checking for content overflow, don't include border and padding. Clearer warning message in case of height constraint violation on table-rows. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219685 13f79535-47bb-0310-9956-ffa450edef68
* Renamed Item to Cell to TableCellLayoutManager.Jeremias Maerki2005-07-185-9/+9
| | | | | | | Renamed Caption to TableCaptionLayoutManager. Adjusted SVN properties. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219519 13f79535-47bb-0310-9956-ffa450edef68
* Fix for allowing empty table-cells (for relaxed validation). Jeremias Maerki2005-07-151-2/+3
| | | | | | Row heights were not always set, especially when there was no content to make the effective rows grow in height. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219247 13f79535-47bb-0310-9956-ffa450edef68
* breaks supported on tables, table-row and table-cell content now. Cheap ↵Jeremias Maerki2005-06-224-12/+141
| | | | | | | | | approach for now. TableContentLM is not yet restartable, but the Breaker handles that pretty well. Improved page break handling to support the different break classes even if no new block sequence is started. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198765 13f79535-47bb-0310-9956-ffa450edef68
* Fixes NPEs when a table is using collapsing border model in conjunction with ↵Jeremias Maerki2005-06-202-2/+6
| | | | | | empty cells. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198755 13f79535-47bb-0310-9956-ffa450edef68
* Removed LM.initialize() -- switched to internal initialization of all LM's.Glen Mazza2005-06-072-8/+4
| | | | | | | | | | | | Did initialization from constructor, as that appeared sufficient for all of them. Should for any LM, initialization not be available until the parentLM set, then we just need to do this process within a setParent() override. Also removed calls to superclass initialization, because as yet no initialization was occurring in those superclasses. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198719 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: getMaxRemainingHeight() was not very accurate and resulted in wrong ↵Jeremias Maerki2005-05-312-27/+56
| | | | | | | | | | element lists. Mostly problems with calculations when row spans are involved. Bugfix: rows that are dynamically created by a row span are now correctly handled. Bugfix: Proper reset of variables for empty grid units during the stepping process. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198706 13f79535-47bb-0310-9956-ffa450edef68
* New member variable "index" on Position (used for first/last checks).Jeremias Maerki2005-05-306-72/+213
| | | | | | | | | | | | | Position numbering implemented in BlockStackingLayoutManager (see member variables: lastGeneratedPosition and smallestPosNumberChecked) Use notifyPos to give a Position an index (Don't reuse Position instances that get an index!) Flags on TableContentPosition indicating first and last status (see TableStepper). New way of determining first/last area implemented on all currently implemented block-level FOs. Removed obsolete isBogus() method from LayoutManager. Removed duplicate wrapPositionElements() method in FlowLayoutManager. Some javadocs here and there. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198701 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: LAST_IN_BODY wasn't set on the GridUnits of a row that wasn't the ↵Jeremias Maerki2005-05-301-0/+4
| | | | | | last in a table, i.e. when there are multiple bodies. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198699 13f79535-47bb-0310-9956-ffa450edef68