aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr/PageSequenceLayoutManager.java
Commit message (Collapse)AuthorAgeFilesLines
* Use a more direct notify mechanism for the formatting resultsSimon Pepping2005-07-311-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@226627 13f79535-47bb-0310-9956-ffa450edef68
* Removing unused import.Finn Bock2005-07-281-7/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225743 13f79535-47bb-0310-9956-ffa450edef68
* Changes for restoring JDK 1.3 compatibility. Jeremias Maerki2005-07-271-8/+8
| | | | | | | | Submitted by: Robert Bielik <Robert.Bielik.at.gyros.com> (Patch committed with modifications and additional changes for test code) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225486 13f79535-47bb-0310-9956-ffa450edef68
* Various fixes for ID management. Jeremias Maerki2005-07-261-0/+1
| | | | | | Border/Padding/Background for instream-foreign-object and external-graphic. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225304 13f79535-47bb-0310-9956-ffa450edef68
* Moved inline-level LMs and support classes to "inline" subpackage.Jeremias Maerki2005-07-181-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219509 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Proper handling of page break between normally broken parts and the ↵Jeremias Maerki2005-07-111-1/+8
| | | | | | parts that need to be balanced. (multi-column layout, fixes multi-column2a) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@210078 13f79535-47bb-0310-9956-ffa450edef68
* log statement should be debug().Jeremias Maerki2005-06-301-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202494 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: IPD for footnote region now correct in multi-column layout. Jeremias Maerki2005-06-291-26/+198
| | | | | | | | | | | 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 SVN commit. Trivial formatting change.Glen Mazza2005-06-241-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@201562 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-0/+5
| | | | | | | | | 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-2/+2
| | | | | | | | | 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
* Added getPageViewportProvider().Jeremias Maerki2005-06-161-20/+60
| | | | | | | Code styling and javadocs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198749 13f79535-47bb-0310-9956-ffa450edef68
* Page breaking process now respects changing available BPD (not IPD) over ↵Jeremias Maerki2005-06-151-24/+102
| | | | | | | | | | 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
* Switched to null for PageBreaker.getTopLevelLM().Glen Mazza2005-06-141-1/+1
| | | | | | | Not being used by the page-breaking process. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198743 13f79535-47bb-0310-9956-ffa450edef68
* More cleanup/simplifications.Glen Mazza2005-06-091-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198723 13f79535-47bb-0310-9956-ffa450edef68
* Removed LM.initialize() -- switched to internal initialization of all LM's.Glen Mazza2005-06-071-3/+7
| | | | | | | | | | | | 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
* Minor PSLM simplifications.Glen Mazza2005-06-061-24/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198718 13f79535-47bb-0310-9956-ffa450edef68
* Remainder of pslm.gKNE() consolidated into pb.gKNE().Glen Mazza2005-06-051-18/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198717 13f79535-47bb-0310-9956-ffa450edef68
* Two stray isBogus()es removed, AFAICT unnecessary childLC initializationGlen Mazza2005-06-041-17/+2
| | | | | | | removed from PSLM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198716 13f79535-47bb-0310-9956-ffa450edef68
* Constructor for FLM now takes parent as parameter,Glen Mazza2005-06-011-10/+2
| | | | | | | | also setting of Reference Area dimensions moved to FLM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198713 13f79535-47bb-0310-9956-ffa450edef68
* Simplifications to PSLM.gKNE().Glen Mazza2005-06-011-20/+16
| | | | 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-23/+22
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198710 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Area generated by page-number is now cloned for each addAreas() call.Jeremias Maerki2005-05-171-0/+4
| | | | | | | Bugfix: page-number-citations are now properly resolved. The new method in AreaTreeHandler may not be optimal, but I haven't found a better way, yet. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198642 13f79535-47bb-0310-9956-ffa450edef68
* Footnote implementation: changes to existing filesLuca Furini2005-05-171-11/+104
| | | | 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-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198634 13f79535-47bb-0310-9956-ffa450edef68
* Backtracked a bit with SCLM: switched to providing the Region FOGlen Mazza2005-05-161-7/+3
| | | | | | | | | | | instead of the region-reference-area, the latter obtainable already from getCurrentPV(). Switched to a tighter 3-param SCLM constructor, also new convenience method in PV. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198632 13f79535-47bb-0310-9956-ffa450edef68
* PSLM.getParentArea() consolidated into FLM's version; preLoadList()Glen Mazza2005-05-141-25/+1
| | | | | | | preLoadNext() renamed to clearer createChildLMs()/createNextChildLMs(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198630 13f79535-47bb-0310-9956-ffa450edef68
* Placed the PSLM.curFlowIdx within the area.Span object, and addedGlen Mazza2005-05-141-18/+7
| | | | | | | | a few more convenience accessors to PV. This will give us a little more flexibility in which LM's we place functionality. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198629 13f79535-47bb-0310-9956-ffa450edef68
* Providing the region FO to RegionReference, so it is no longerGlen Mazza2005-05-141-1/+1
| | | | | | | | necessary for PSLM to separately supply it to SCLM. Some simplification of SCLM's Breaker class. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198628 13f79535-47bb-0310-9956-ffa450edef68
* Merge of branch Temp_KnuthStylePageBreaking back into HEAD.Jeremias Maerki2005-05-131-446/+277
| | | | | | | 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
* Changed from addChild(Area) to clearer addChildArea(Area).Glen Mazza2005-03-161-3/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198499 13f79535-47bb-0310-9956-ffa450edef68
* 1.) Moved setting of idp value into Span constructor because the class is in anGlen Mazza2005-03-161-91/+36
| | | | | | | | | | | | invalid state without it. 2.) Creating first column/normal flow by default in Span, as this class must have at least one column to be valid. 3.) More simplifications, clarifications in PSLM. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198498 13f79535-47bb-0310-9956-ffa450edef68
* More simplifications to PSLM.Glen Mazza2005-03-141-47/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198493 13f79535-47bb-0310-9956-ffa450edef68
* Removing illegal tab characters.Jeremias Maerki2005-03-131-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198492 13f79535-47bb-0310-9956-ffa450edef68
* More simplifications to PSLM.Glen Mazza2005-03-131-25/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198491 13f79535-47bb-0310-9956-ffa450edef68
* More simplifications to PSLM.Glen Mazza2005-03-131-47/+13
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198490 13f79535-47bb-0310-9956-ffa450edef68
* More simplifications to PSLM.Glen Mazza2005-03-121-39/+32
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198485 13f79535-47bb-0310-9956-ffa450edef68
* Minor simplifications to PSLM.Glen Mazza2005-03-121-11/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198484 13f79535-47bb-0310-9956-ffa450edef68
* Minor simplification to PSLM.Glen Mazza2005-03-121-16/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198483 13f79535-47bb-0310-9956-ffa450edef68
* 1.) More commenting, some simplifications in the Area classes and PSLM.Glen Mazza2005-03-111-18/+14
| | | | | | | 2.) Renamed Area.Flow to NormalFlow, uglier but more in conformance with the Recommendation (normal-flow-reference-area) and more specific/easier to understand. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198477 13f79535-47bb-0310-9956-ffa450edef68
* More simplifications to PSLM.Glen Mazza2005-03-051-20/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198471 13f79535-47bb-0310-9956-ffa450edef68
* Validation for fo:table and fo:table-header added, some minor ↵Glen Mazza2005-03-051-3/+1
| | | | | | simplifications in other places. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198466 13f79535-47bb-0310-9956-ffa450edef68
* Created new Root.notifyPageSequenceFinished() method, consolidatingGlen Mazza2005-03-011-2/+1
| | | | | | | two other methods to better stress that these occur as a unit. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198460 13f79535-47bb-0310-9956-ffa450edef68
* Corrected the logic of adding markers. LayoutManagers are responsibleSimon Pepping2005-02-201-6/+9
| | | | | | | | | | for correctly setting is-first and is-last on the BreakPoss and from there in the arguments of the addMarkers method. Implemented this for BlockLM. Also made a small change in the retrieval of markers from preceding pages. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198447 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-191-0/+1
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Page numbering bug fixed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198444 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-181-1/+1
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: More cleanup in PageSequence (also removed local LayoutMasterSet variable to emphasize Root's ownership of this object in the FO Tree hierarchy.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198443 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bad page-master and region margin calculations. All margin ↵Jeremias Maerki2005-02-171-10/+2
| | | | | | | | | calculations now use margin-* attributes directly, ignoring start|end-indent and space-*. Better check for borders and padding on regions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198436 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-171-13/+15
| | | | | | | | | | | Obtained from: Submitted by: Reviewed by: Cleanup of page number handling throughout application. Removed old code from PageSequence.java. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198434 13f79535-47bb-0310-9956-ffa450edef68
* Some cleanup -- moved getSimplePageMasterToUse() to PageSequence (logicGlen Mazza2005-02-121-59/+14
| | | | | | | is useful with other implementations of PSLM.) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198428 13f79535-47bb-0310-9956-ffa450edef68
* PR:Glen Mazza2005-02-121-6/+1
| | | | | | | | | | Obtained from: Submitted by: Reviewed by: Removed flush() override from PSLM, consolidated StorePagesModel & AreaTreeModel, removed unused LineTrait.java. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198425 13f79535-47bb-0310-9956-ffa450edef68