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
Jeremias Maerki
a712bc8cdc
Reduced task attribute redundancy by using <presetdef>.
Added maxmemory="256m" on junit instead of a JVM argument to overcome OutOfMemoryErrors that I have since moving to Windows 7 64bit.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1061678 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
93e2a5192a
Fix for paths with spaces.
Submitted by: Carl Hoffman/Glenn Adams
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1061652 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
463d94cbe9
Remove commented line
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060284 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
b60bbd26cb
Results of color conversions differ between Java 5 and 6.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060279 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
992d7e9d1d
Merge from Trunk, revisions 965390 to 1060234.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060241 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
678138119f
Add test/use-case for id on fo:root
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059415 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
db3ce37279
Bugzilla 50590: Fix typo in fop_exec() function in fop.js. Thanks to sergeyb49.AT.gmail.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1059385 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
Simon Pepping
5ebc034341
move hyphenation-dependent testcase into hyphenation-testcases
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1058034 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
Andreas L. Delmelle
23e1125a2b
Property fixup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1056772 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
Simon Pepping
1854e09c00
Fix bug 50510
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1051874 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
d4ec49dd8f
Auxiliary positions do not have an index value; fixing this in InlineStackingLM.applyChanges, rewrapping positions; fixed bug 49870
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1050342 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
810ab878c4
Bugzilla #49060: File Descriptor leak in AFP renderer
Patch by Peter Hancock, applied with minor style modifications
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1050104 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
6f9a59a3fd
Bugzilla #50089: Content after forced break in block-container is not rendered
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1049228 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
ce6d9e1eee
Adjust to changes in XML Graphics Commons:
- equals() to ColorUtil.isSameColor()
- ICCColorSpaceExt to ICCColorSpaceWithIntent
- int to RenderingIntent enum
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1045155 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
f4086dd275
Avoid an NPE in InlineStackingLM.applyChanges for Knuth elements with a null position; resolves bug 50276
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1043871 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
bc3a0d90c1
Bugzilla #42034:
Fixed adjustment of inline parent area for justified text containing a forward page reference.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1042934 13f79535-47bb-0310-9956-ffa450edef68
13 years ago