Luca Furini
8236380d5c
Handling of very long footnotes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198702 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
4fd57be858
New member variable "index" on Position (used for first/last checks).
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
19 years ago
Jeremias Maerki
00e5508f82
Bugfix: LAST_IN_BODY wasn't set on the GridUnits of a row that wasn't the 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
19 years ago
Jeremias Maerki
a567b5af74
Obsolete code removed and text-transform behaviour changed based on input from Victor Mote: http://marc.theaimsgroup.com/?t=111718934800001&r=1&w=2
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198698 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
7c75437788
Missing FOs that can receive markers.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198695 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
99bce5520b
Cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198694 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
a65a4d0db9
Skip markers (they are validated properly earlier).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198693 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
85f0d34d12
Support for multiple pages in PDFDocumentGraphics2D. Same approach as for AbstractPSDocumentGraphics2D.
Call to nextPage() closes current page, the first subsequent painting operation prepares a new page.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198690 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
a4bbb9175e
A glue at the beginning of the element list can't be a legal break point. Fixes an ArrayIndexOutOfBounds when there's a space-before at the beginning of the list.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198689 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
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