Jeremias Maerki
76ac8eb6ba
keep-with-next|previous on lists.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198686 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
a12cdded3f
Update for toString()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198685 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
9b3c25d9da
Modify keep-with-next and keep-with-previous handling to support "level-hopping" (see keep-with-next1a and keep-with-previous1a)
Full keep handling for tables (there's a remaning problem with keep-with-previous)
keep-together support for lists.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198683 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
1af57e403b
More keep accessors where needed.
Common abstract base class for ListItemLabel and ListItemBody to make code in the LM more readable.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198682 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
a20b446f7d
Need the ability to modify P after creation of the instance.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198681 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
fba3e38223
Two new flags for handling keeps.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198680 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
01030d8337
Initial keep-together support on table.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198672 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
6cfafce29a
First step towards keep-together on tables (should work on table-rows now).
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
19 years ago
Jeremias Maerki
bba17f602a
Code cleanup and some javadocs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198668 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
b2f63e3c0f
Additional ppm indicator especially interesting for those of us doing high-volume printing.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198667 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
4b69173061
Fixes for a few minor problems in certain special cases.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198666 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
24674ca558
Output vertical position of text area in area tree XML.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198664 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Luca Furini
89051f7340
Correction to footnotes handling: break a footnote body only if its citation is in the last content line.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198662 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
4fb26b188f
I love my testcases. table-row1 just showed me another bug. :-)
Bugfix: row background did not get painted in certain situations. rowFO was reset too soon.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198661 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
d8d40c99b9
Bugfix for a ClassCastException on autoheight block-containers where Position instances come through for normal penalties between blocks.
Additional fix so a distinction is made between space-related positions and the penalties that caused the problem above.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198655 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
752cadb31d
Code cleanup.
Some style fixes.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198653 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
ef1396bf39
Bugfix for space-after on fixed-height block-containers.
Code cleanup.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198652 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
407531b9a5
Bugfix for space-after situation in block-containers.
Javadocs for protected variables.
Make two private variables protected as they are used by descendants, too.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198651 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
5bf570e04f
Bugfix: Footnote appears now even if inline part is empty. (see footnotes2.xml in testcases)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198648 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
095b06900c
Handle empty inlines/blocks better.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198647 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
569f660349
Removed obsolete code.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198644 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
edf6eeea25
Removed a lot of obsolete code from the old page breaking approach.
Some style improvements here and there.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198643 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
907fad82cc
Bugfix: Area generated by page-number is now cloned for each addAreas() call.
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
19 years ago
Jeremias Maerki
87b0189857
log translation only.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198641 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
bbc0ef0a3d
Imports.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198640 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
aef6da7c27
Bugfix for flow IPD not being set correctly.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198639 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Luca Furini
ec76b9b067
Footnote implementation: new files
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198638 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Luca Furini
8a6f6d0013
Footnote implementation: changes to existing files
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198637 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
35caddb90a
Bugfix: When a grid unit is incomplete at the page break, it is not rendered on the first page.
Reported By: Simon Pepping
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198636 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
ba56ae964a
Bugfix: Removal of last penalty is fixed now.
Cleanup, style improvements and javadocs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198635 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
f7e7da95ec
Converted System.out calls to logger calls.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198634 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
0f80e203b0
Better error message if the image class can't be instantiated.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198633 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
2415bc03b7
Backtracked a bit with SCLM: switched to providing the Region FO
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
19 years ago
Glen Mazza
6becbdcba4
Comment reunited with its method.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198631 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
f773f91721
PSLM.getParentArea() consolidated into FLM's version; preLoadList()
preLoadNext() renamed to clearer createChildLMs()/createNextChildLMs().
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198630 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
39229973d4
Placed the PSLM.curFlowIdx within the area.Span object, and added
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
19 years ago
Glen Mazza
e67ea113c1
Providing the region FO to RegionReference, so it is no longer
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
19 years ago
Jeremias Maerki
e835307c93
Merge of branch Temp_KnuthStylePageBreaking back into HEAD.
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
19 years ago
Jeremias Maerki
11b33608e1
Convenience method for checking "auto" enum value on a property. Makes code more readable.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198506 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
b867098c77
Reenabling consistency check.
Had to rename "bChecked" to "consistent" because that first check in checkConsistency() somehow malfunctioned with the other name. Very weird.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198505 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
2332ae0d9b
More accessors on block-containers.
Javadocs touch-up
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198504 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
5c82c15413
Slight deviation from the template.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198503 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
5581e549ee
Changed from addChild(Area) to clearer addChildArea(Area).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198499 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
6079f6f376
1.) Moved setting of idp value into Span constructor because the class is in an
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
19 years ago
Glen Mazza
4aa732439c
More simplifications to PSLM.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198493 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
fbaf02105a
Removing illegal tab characters.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198492 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
0304064f34
More simplifications to PSLM.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198491 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
fbc248fb1e
More simplifications to PSLM.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198490 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
8f552ad2f9
More simplifications to PSLM.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198485 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
a31afbf3d0
Minor simplifications to PSLM.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198484 13f79535-47bb-0310-9956-ffa450edef68
19 years ago