aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/AbstractBreaker.java
Commit message (Collapse)AuthorAgeFilesLines
...
* Modified the KnuthSequence system. Transferred logic from the layoutSimon Pepping2005-12-221-2/+40
| | | | | | | managers to the KnuthSequences. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358534 13f79535-47bb-0310-9956-ffa450edef68
* Introduced a flag to tell the page breaking to operate in auto-height mode, ↵Jeremias Maerki2005-12-221-1/+11
| | | | | | i.e. no overflows can happen. This disables the overflow warnings when footnote-separators are defined. They don't have an explicit height. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358522 13f79535-47bb-0310-9956-ffa450edef68
* Further decoupling the area tree from the FO tree.Jeremias Maerki2005-12-211-4/+4
| | | | | | | Created a new class org.apache.fop.layoutmgr.Page that holds a reference to the generating SimplePageMaster and the PageViewport. A deserialized area tree doesn't need a reference to the SimplePageMaster. Renamed PageViewportProvider to PageProvider as it now returns Page instances, not (directly) PageViewports. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@358254 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #37813:Jeremias Maerki2005-12-071-0/+1
| | | | | | | Fixed a bug that occurred if the first block was span="all". A page break was inserted in this situation, the first span was calculated as if it were span="none". Code added to remove empty span areas. This is a lot easier and cleaner than trying not to instantiate the first span right from the beginning. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@354752 13f79535-47bb-0310-9956-ffa450edef68
* Updated from Jakarta Commons IO 1.0 to 1.1. CopyUtils.copy() becomes ↵Jeremias Maerki2005-11-141-5/+6
| | | | | | | | | 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
* Merged work on Temp_SpaceResolution branch into trunk (-r 320826:327988).Jeremias Maerki2005-10-241-6/+27
| | | | | | 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
* Implemented the wrap-option property.Luca Furini2005-09-161-2/+2
| | | | | | The overflow property is not yet implemented, so at the moment if wrap-option = "no-wrap" and the text overflows it invades the margins. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289531 13f79535-47bb-0310-9956-ffa450edef68
* Merged branch ↵Jeremias Maerki2005-08-121-0/+1
| | | | | | | | | | | | | https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock back into Trunk. Revisions: 227462 to HEAD (231261) This adds support for block-level content inside fo:inline. The full set of changes on the branch can be extracted by: svn log http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock -r 227462:231261 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232250 13f79535-47bb-0310-9956-ffa450edef68
* Make it possible to keep block-container element lists apart from normal ↵Jeremias Maerki2005-08-021-1/+10
| | | | | | page-level element lists. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227026 13f79535-47bb-0310-9956-ffa450edef68
* Adjusting verticals spaces (coming from space-before and space-after ↵Luca Furini2005-08-021-1/+10
| | | | | | properties) in order to fill the region, whenever possible git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@226973 13f79535-47bb-0310-9956-ffa450edef68
* Default break class should be EN_COLUMN or else there will be problems in ↵Jeremias Maerki2005-07-081-1/+1
| | | | | | multi-column documents. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@209765 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: IPD for footnote region now correct in multi-column layout. Jeremias Maerki2005-06-291-43/+78
| | | | | | | | | | | Next step at multi-column layout: - A multi-column section that needs column balancing is normally rendered until the next-to-last page. The rest of the element are re-broken by a special balancing page breaker. - Multiple spans supported in area tree and through break handling. - There are still problems with footnotes and column balancing. - Main layout loop changed to render an element list right after it's broken. The block lists are not collected anymore and then rendered. Bugfix: PageViewportProvider had a one-off (when accessing through "relative to current element list") git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202368 13f79535-47bb-0310-9956-ffa450edef68
* First parts on a page which don't fit are moved to the next page. A counter ↵Jeremias Maerki2005-06-231-1/+21
| | | | | | | | | avoids endless loops. Fixes normal-breaking5.xml. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198768 13f79535-47bb-0310-9956-ffa450edef68
* breaks supported on tables, table-row and table-cell content now. Cheap ↵Jeremias Maerki2005-06-221-13/+31
| | | | | | | | | 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
* Page breaking process now respects changing available BPD (not IPD) over ↵Jeremias Maerki2005-06-151-4/+17
| | | | | | | | | | multiple pages. PageSequenceMaster allows backtracking. PageViewports are delivered through a PageViewportProvider class which caches PVs and handles cases where the breaking algorithm allocates PVs that turn out to be unused later (because of hard breaks which may cause blank pages, for example). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198746 13f79535-47bb-0310-9956-ffa450edef68
* Simplifications to PSLM.gKNE().Glen Mazza2005-06-011-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198711 13f79535-47bb-0310-9956-ffa450edef68
* Handling page dependent footnote separatorLuca Furini2005-05-311-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198710 13f79535-47bb-0310-9956-ffa450edef68
* First step towards keep-together on tables (should work on table-rows now).Jeremias Maerki2005-05-231-42/+2
| | | | | | | | Logging of element lists removed from AbstractBreaker. Instead creates ElementListObserver which receives notifications on newly created element lists so they can be logged, checked or whatever. Please see the next commit under the "test" directory. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198669 13f79535-47bb-0310-9956-ffa450edef68
* log translation only.Jeremias Maerki2005-05-171-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198641 13f79535-47bb-0310-9956-ffa450edef68
* Footnote implementation: changes to existing filesLuca Furini2005-05-171-7/+15
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198637 13f79535-47bb-0310-9956-ffa450edef68
* Converted System.out calls to logger calls.Jeremias Maerki2005-05-171-59/+73
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198634 13f79535-47bb-0310-9956-ffa450edef68
* Merge of branch Temp_KnuthStylePageBreaking back into HEAD.Jeremias Maerki2005-05-131-0/+661
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