Andreas L. Delmelle
3eae31b8cd
More fixups: eliminate stray hungarians + added TODO for parameter removal
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067724 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
d0c126ee27
Eliminate unnecessary boxing (possible after r1062901)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067711 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
f7b0d89c8f
Fix checkstyle issues
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067698 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
8f57470e9e
Fixups + necessary changes after r1067689
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067693 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
ee1b5eadad
Got a bit ahead of myself, again...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067692 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
57b24da133
Fixups, type safety...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067691 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
628e223221
Code fixups
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067689 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
b5e54229b0
Revert previous commit; wrong class...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067688 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
4d65912a7f
Code fixups
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067684 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
039e412b31
Minor fixups
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067681 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
eb10500376
Commit missing file from r1067670
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067672 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
0af6c82070
Decommission BlockStackingLM.StackingIter
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067670 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
6ac76ab073
Minor fixup: extract condition into local variable
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067668 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
72e24a8ee9
Code cleanup:
- reduce code duplication in getNextKnuthElements()
- removed references to experimental BlockStackingLM.bpUnit
- changed silly private method label
- various fixups
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067665 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
5d0cd53c0a
Code cleanup: reduce some code duplication in getNextKnuthElements() variants (e.a.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067661 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
db0fea16de
Code cleanup (minor)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067569 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
d2d04b82a1
Further cleanup: reduce some code duplication in BlockStackingLM's getNextKnuthElements() variants
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067567 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
8dd910c9ac
Restored part that would otherwise cause a StackOverflowError...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067565 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
70dcfa2400
Code cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067559 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
e8279d632f
Add type safety to LMiter
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067558 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
4941b30967
Code cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067533 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
58d1c60f10
Decommission InlineStackingLM.StackingIter (+ minor fixups)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067371 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
9e56df1048
Decommission private PositionIterator subclasses in list package (+ minor fixups)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067365 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
8addb610e1
Decommission AreaAdditionUtil.StackingIter + minor fixups
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067360 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
186dd12cec
Refactoring PositionIterator Step 1: make the class instantiable, provide default implementations for getLM() and getPos(), and make the constructor public
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067353 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
8312fbff3f
Bugfix: Suppress generating duplicate fo:root and fo:declarations extension attachments.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067190 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
2068719a60
Bugzilla #50705:
Fix to preserve the order of AFP TLEs and NOPs as given in the XSL-FO document.
Submitted by: Mehdi Houshmand <med1985.at.gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1067109 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
99958ef625
Generify ListUtil methods
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1066626 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
d42674784f
Bugzilla #50699:
Added support for lookup of alternative glyphs when additional single-byte encodings are used, ex. replacing "Omegagreek" by "Omega" and vice versa.
Submitted by: Alexandros Papadakis <alpapad.at.gmail.com>
Changes to patch:
- fixed a couple of typos
- code formatting
- a little code optimization
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1066400 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
e1d2e4628b
Commit file necessary to avoid compile error after r1066198
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1066277 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
587a85e035
Add type safety to PositionIterator + attempt at javadoc improvement
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1066275 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
0bf6f2900d
Small cleanup: extract TextDecorationMaker, move validation into convertProperty() and eliminate unnecessary TextDecorationProperty
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1066198 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
d8261a197b
Bugzilla 48334: Added implementation for xml:base
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1066190 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
3c839549f3
Bugzilla 50698: Changes after updating XGC JAR
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1066182 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
941181b8e3
Allow afp:no-operation to be added to fo:page-sequence (page group in AFP) and fo:declarations (document in AFP). Includes a test case.
Update QDox to avoid a bug with class private enums.
Connect some older test cases into the standard test suite.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1066078 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
f540b00cf2
Fix an forgotten change of type in class Area and a checkstyle error in class FObj
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1064159 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
1c8f05b0a0
Bugzilla 50635: fix issue in checkPreparedPages() where the same page-sequence is potentially started multiple times
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1063022 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
5d677308df
Bugzilla 50636: fix performance issue when adding pages in very large documents
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1062913 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
59933c342d
Bugzilla 50593: Mostly add type safety to various collections in the fop.area package. Additionally, added @Override annotations and used static import for Constants.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1062901 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
9e0c21610d
Removed unnecessary Checkstyle CSOK comments
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1062741 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
881ef26a95
Make HashMaps type safe + remove corresponding redundant casts and unnecessary (un)boxing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1062241 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
b970c338ba
Minor fixups: extract addAttributeToList() + no reason to first check the attributeValue to ignore namespace declarations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1062236 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
57d30ce111
Bugzilla 50626: Fix potential performance issue when adding nodes. Thanks to mkoegler.AT.auto.tuwien.ac.at.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1062225 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
03f05c5dc5
Avoid deconstructing and reconstructing the base URI of the
configuration; the location string is obtained from a sax.Locator with
system ID, line number and optionally column number
(avalon.framework.configuration.SAXConfigurationHandler.getLocationString),
and can be used as a URI string directly.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1061362 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
5f60c6889c
Code cleanup.
Not every color has to be a ColorWithAlternatives any longer now that we have the isSameColor() function.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060736 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
07d78ae970
Bugfix: don't use toString() but properly generate the color function.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060719 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
abbe9fc809
Correct link to replacement.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060466 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
c5d004d473
Make sure sub bridge contexts also have our bridges.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060464 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
d3d628c0b6
Removed FopFactory.getColorSpace() in favor of FopFactory.getColorSpaceCache() to better follow the pattern we use for the FontManager and ImageManager.
Increased accuracy for sRGB derivation.
Fixed some tests.
Fixed bug in ColorUtil.toSRGBColor().
Documented inconsistency inside java.awt.Color in ColorUtilTest.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060457 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
5a367c3b12
Bugfix: Extracting the base directory through Configuration.getLocation() didn't work for Windows, since Windows paths can contain drive letters that are separated by colons. This lead to FOP scanning the whole drive for fonts starting from the drive root in the auto-detect case.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059945 13f79535-47bb-0310-9956-ffa450edef68
13 years ago