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
Glen Mazza
0a11fbaf71
Minor simplification to PSLM.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198483 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
7abfc1a0a7
SpacePropertyMaker to handle conditionality as defined by the spec:
"The .conditionality component of any space-before or space-after determined
from a margin property is set to "retain"."
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198480 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
b23a3cab04
Convenience method to access conditionality component.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198479 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
6f74156233
Additional accessors.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198478 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
61ccdc197b
1.) More commenting, some simplifications in the Area classes and PSLM.
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
19 years ago
Glen Mazza
b1e947efe8
Minor code nitpick.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198476 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
33505a7664
Validation added for master-name and master-reference properties.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198475 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
a392d777f6
Refactoring of Knuth line breaking code (including some speed improvements)
Bugzilla: #32612
Submitted by: Finn Bock <bckfnn.at.worldonline.dk>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198474 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
c230af051c
Resurrected AWT/Java2D renderer
Submitted by: Renaud Richardet <renaud.richardet.at.gmail.com>
Modifications to the patch:
- correct copyright years
- warning message when EPS files are used as images
- removed/commented hard-coded path names, should be improved by loading the image from an InputStream obtained throug the user agent
- Enabled loading images from the bitmap array coming from FopImage. There are hard-coded value which need to be fixed but they show the approach.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198472 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
2b60d0cdfd
More simplifications to PSLM.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198471 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
22ed7684d3
Validation added for five more FO's.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198470 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
e7450b91fb
PR:
Obtained from:
Submitted by:
Reviewed by:
validateChildNode() for fo:list-item-body implemented; redundant check in flow removed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198469 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
44bb5929dc
----------------------------------------------------------------------
Validation bug fixed on fo:table.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198468 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
b667d1a700
Validation for fo:table and fo:table-header added, some minor simplifications in other places.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198466 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Simon Pepping
07493978a3
Corrected a validation problem. Made TableFooter use TableBody's validation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198465 13f79535-47bb-0310-9956-ffa450edef68
19 years ago