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
Andreas L. Delmelle
dab44c5bc7
Remove unused class
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059427 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
9d2871392c
Enable id on fo:root pt 3 - Signal processed id at end of document
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059389 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
b10e0688b1
Enable id property on fo:root.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059387 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
a00c4f3eea
Associate id of fo:root with every new page.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059386 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
503980704c
Previous commit would have caused compile error, unless others included as well.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059215 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
bbb419b067
Might as well make those primitive ints...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059212 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
37f7acac32
Eliminate unnecessary boxing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059210 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
c3245eafd9
Eliminate a small waste: no reason to store the char as a String, and then constuct a new one in getSpace()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059201 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
15cc348a97
Minor fixups
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059197 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
a7b8c7f2c9
Minor nit: eliminate stray hungarian...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059195 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
1eaae07e7d
Fix deprecation warnings; add some type safety
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1058988 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
4c8a18e4a5
Relative URIs in the configuration file are evaluated relative to the base URI of the configuration file
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1058945 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
e5edb89a59
Restored compatibility with third-party extensions.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1058295 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
af425f58c3
CheckStyle fixup...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1057931 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
092af3cf90
Bugzilla 49848: Correct behavior of keep-together.within-line in case of nested inlines
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1056945 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
aaf2ae529e
Switch to type-safe collections (+ related cleanup of redundant casts, for-loops...)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1056926 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
f7d9c3fa72
Fix minor bug in validateChildNode() + make regions Map type-safe
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1056924 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
2fb9c63eea
Simplify Region.getViewportRectangle(): no reason to pass the SinglePageMaster as a parameter, as Regions have access to it
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1056923 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
e5e7806fd2
Commit changes forgotten in r757256...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1056861 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
795c023eae
Some refactoring
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1056723 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
dfa4c54704
Bugzilla 50471: Avoid ArrayIndexOutOfBoundsException for codepoints without a linebreak class
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1056518 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
4de3abbc23
Bugzilla 48380: Avoid ClassCastException when using fox:widow-content-limit
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1056513 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
7c5be87cdb
Add type-safe parameters to collections; replace XGC jar to benefit from new type-safe methods
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1055034 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
e058f4d959
Avoid unwrapping and rewrapping of Positions; use inspection instead. Remove unused method removeWordSpace
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1052561 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
c65432227a
Keep a reference to a pageRef string, not to the page itself; suggested by Alexis Giotis
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1052214 13f79535-47bb-0310-9956-ffa450edef68
13 years ago