aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/layoutmgr
Commit message (Collapse)AuthorAgeFilesLines
* Restored breakability of block-level content in inlines: Jeremias Maerki2005-08-101-5/+20
| | | | | | Treat block sequences diffently from inline sequences. A block sequence's elements should not be combined to a single box as this removes breakability. The elements are now simply wrapped and handled separately in the previously disabled code part in addAreas(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231255 13f79535-47bb-0310-9956-ffa450edef68
* Fix line element list reporting. Jeremias Maerki2005-08-101-2/+4
| | | | | | TODO item for the single LineBreakPosition created for nested block-level FOs. This seems wrong to me. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231185 13f79535-47bb-0310-9956-ffa450edef68
* Missing IPD values.Jeremias Maerki2005-08-091-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231062 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Introduced a new member variable in LayoutContext holding the ↵Jeremias Maerki2005-08-093-2/+26
| | | | | | alignment in BP direction. Now that we have mixed inline/block capabilities the alignment must always be properly set depending on the direction we fetch the element lists for. Holding the BP alignment in the LayoutContext makes sure this information doesn't get lost when directions are mixed. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231042 13f79535-47bb-0310-9956-ffa450edef68
* Extended comment to document the open argument.Jeremias Maerki2005-08-091-0/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@231013 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: Remove empty sequence at the end. Jeremias Maerki2005-08-081-2/+7
| | | | | | Bugfix: Don't check the "sequence" variable but the "returnList" variable for size() > 0. This ate up text. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@230807 13f79535-47bb-0310-9956-ffa450edef68
* Earlier fix was not quite right. TODO can be removed now. Jeremias Maerki2005-08-081-2/+5
| | | | | | Early null check to make debugging easier. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@230806 13f79535-47bb-0310-9956-ffa450edef68
* Typo and imports.Jeremias Maerki2005-08-081-3/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@230805 13f79535-47bb-0310-9956-ffa450edef68
* Deal with a mix of KnuthSequences of KnuthSequences and KnuthSequences of ↵Jeremias Maerki2005-08-082-15/+52
| | | | | | | | | KnuthElements to allow for fewer container classes. InlineLM instead of InlineStackingLM for inline part of footnote. Supposedly fixed a bug in addALetterSpace. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@230779 13f79535-47bb-0310-9956-ffa450edef68
* My work on block content in inline content sofar. Block content inSimon Pepping2005-08-047-412/+661
| | | | | | | | | fo:inline is implemented. Basic rendering of this content is in place. BasicLinkLM uses the new structure for returning new Knuth elements git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock@227471 13f79535-47bb-0310-9956-ffa450edef68
* Fix for bug 36007.Luca Furini2005-08-041-0/+1
| | | | | | | The list of elements created by the LineLM was incomplete. Thanks to Manuel Mall for signaling the bug and providing testcases. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227342 13f79535-47bb-0310-9956-ffa450edef68
* Proper handling of the color property on page-number and page-number-citatition.Jeremias Maerki2005-08-032-9/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227245 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
* Make it possible to keep block-container element lists apart from normal ↵Jeremias Maerki2005-08-022-1/+17
| | | | | | page-level element lists. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227026 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
* Adjusting verticals spaces (coming from space-before and space-after ↵Luca Furini2005-08-028-61/+107
| | | | | | 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
* 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
* 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-284-10/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225743 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: scaling factor was calculated using an integer division, not a ↵Jeremias Maerki2005-07-271-2/+2
| | | | | | double division. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225509 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-2610-4/+105
| | | | | | 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
* Send the ID of the producing FO to the area tree as trait where possible. Jeremias Maerki2005-07-268-11/+23
| | | | | | 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
* Bugfix for NPE when space-before and space-after are used.Jeremias Maerki2005-07-261-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225249 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #35534 Jeremias Maerki2005-07-251-0/+12
| | | | | | space-* production for list-item and list-block. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225135 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #35534 Jeremias Maerki2005-07-251-5/+12
| | | | | | space-* production for list-item. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225133 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
* Renamed Item to ListItemContentLayoutManager.Jeremias Maerki2005-07-182-8/+8
| | | | | | Adjusted SVN properties. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219516 13f79535-47bb-0310-9956-ffa450edef68
* Moved inline-level LMs and support classes to "inline" subpackage.Jeremias Maerki2005-07-1830-775/+139
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219509 13f79535-47bb-0310-9956-ffa450edef68
* Shortcut work-around for i-f-o in static-content. I still need to estimate ↵Jeremias Maerki2005-07-181-1/+1
| | | | | | the implications concerning memory consumption. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219460 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
* WrapperLayoutManagerMaker was used by RetrieveMarker. This caused a ↵Jeremias Maerki2005-07-151-1/+15
| | | | | | ClassCastException with my recent fix. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219246 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #35749: Jeremias Maerki2005-07-153-3/+62
| | | | | | | IDs on fo:wrapper didn't register on the pages because fo:wrapper didn't have an LM that does that job for it. The new LM for wrapper creates a dummy area so addId() can be triggered. No area is actually sent to the area tree. The WrapperLM is simply inserted before its children. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219226 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
* Bugfix: Corrected the calculation of the full length of the section to be ↵Jeremias Maerki2005-07-111-4/+9
| | | | | | | | broken. Could lead to strange results. Own private logger for easier debugging. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@210077 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
* Column balancing seems to work now. Jeremias Maerki2005-07-082-5/+35
| | | | | | | I had to modify BreakingAlgorithm to add best records for parts which are too short. Furthermore, it took an additional computed value to tweak the balancing. It effectively makes shorter trailing parts preferred. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@209748 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
* Fix vertical placement of page-number and page-number-citation.Jeremias Maerki2005-06-293-5/+24
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202427 13f79535-47bb-0310-9956-ffa450edef68
* Observe line layout element lists, too.Jeremias Maerki2005-06-291-0/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202426 13f79535-47bb-0310-9956-ffa450edef68
* toString() method.Jeremias Maerki2005-06-291-0/+10
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202425 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: IPD for footnote region now correct in multi-column layout. Jeremias Maerki2005-06-293-74/+277
| | | | | | | | | | | 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
* My first laughable attempt at a page breaker for balancing columns. Doesn't ↵Jeremias Maerki2005-06-291-0/+70
| | | | | | | | work if the element list fits into the first available area and doesn't balance exactly like I would like it to when the balancing actually gets active. But it's better than nothing to start with. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202367 13f79535-47bb-0310-9956-ffa450edef68
* Span change detection and infastructure for signalling it.Jeremias Maerki2005-06-292-10/+40
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202364 13f79535-47bb-0310-9956-ffa450edef68
* Enable starting the break process at an arbitrary position inside an element ↵Jeremias Maerki2005-06-291-6/+15
| | | | | | list. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@202363 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-237-22/+105
| | | | | | | | | 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