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
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
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
23e1125a2b
Property fixup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1056772 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
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
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
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
Simon Pepping
24e2fad7e1
Allow for words consisting of only soft hyphens; fixes bug 49837
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1042115 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Andreas L. Delmelle
3231a8001e
Bugzilla 38264: hyphenation in combination with preserved linefeeds and/or white-space
no longer causes duplication of content and missing hyphens
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039188 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
e126edb6ed
Do not re-create an AlignmentContext instance if one already exists.
Fixes a bug when the changing IPD hack is triggered and the getNextKnuthElements method is called a second time
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035609 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
3dc848243b
Added missing license header.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035276 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
e6245e4939
Removed tab characters.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1035275 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
1939c00e19
Applied patch 50240 by Mehdi Houshmand with changes: Java source and
target changed to 1.5. EncodingMode changed from class -> enum.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1033859 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Simon Pepping
04701709af
Making fallback from (lang,country) to (lang) consistent
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1004907 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Jeremias Maerki
144138a647
Bugzilla #49885:
Fixed retrieval of available BPD for cases spanning columns and multiple pages with differing page masters.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@993357 13f79535-47bb-0310-9956-ffa450edef68
13 years ago
Vincent Hennebert
6faeb0d394
Implemented reset method for changing IPD
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@992029 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
26393f0e18
Removed old Renderer implementations for AFP, PCL, PDF, PS.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@989178 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
aba436311c
Removed many "// CSOK: ConstantName" instances for constants, by converting them to uppercase as they should really be.
Fixed some other non-Checkstyle issues on the way, imports mainly.
Removed some "log" instances that were not used.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985571 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
29e8badcec
Bugzilla #49733:
Resolved compilation (safe one), Checkstyle and many Javadoc warnings.
Submitted by: Glenn Adams <glenn.at.skynav.com>
Changes to patch:
- Restored the deprecated Graphics2DAdapter method (to be removed after Barcode4J 2.1 is released).
- Restored Renderer.startPageSequence(LineArea) pending discussion about removal.
- build.xml: set max VM to 1024MB instead of 2048MB to allow for 32-bit JVMs.
- build.xml: restored longer taskdef names.
- Restored Checkstyle 4 file for people running older IDEs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985537 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
9f598d8f74
Refactored the multi-threading harness a bit to support IF conversion.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@964334 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
9708ccc61a
Restored ColorExt after removing it from XML Graphics Commons again.
Moved GrayScaleColorConverter as a package-local class from XGC to the AFP package (doesn't require deprecation when we can put the functionality in XGC later with the new color infrastructure).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@959945 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
2150f3f35a
Color-related classes were moved to the org.apache.xmlgraphics.java2d.color package.
Updated XML Graphics Commons Snapshot.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@954512 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
45e2cc1466
FontEventAdapter has been replaced by FontEventProducer
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932523 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
5ca051ca12
Now that the creation of event-model.xml has been standardised, the EventModelFactory mechanism is no longer needed. Removed all the factory classes.
Registration through META-INF/services also is no longer necessary.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932510 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
a5a17890ad
Moved ResourceEventProducer to org.apache.fop
Renamed event model used by FOPTestEventModelFactory to "event-model.xml"
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932497 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
8f6b532710
Split catch-all EventFormatter.xml message file into individual files for each EventProducer. There is no longer a default EventModelFactory
Added test case for font event
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932481 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
83f36b614c
Added test cases to ensure that the event notification system runs smoothly
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932461 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
6bccfa5456
Bugfix: NPE when there is a forced break before a table occurring at an IPD change
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@923380 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
b85576c83a
Bugfix: definition of a special page-master for the last page was interfering with changing IPD code
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@915406 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
ab6e2cc40a
Bugzilla #46486: having a special page-master for the last page caused loss of content when normal blocks were mixed with blocks spanning all columns.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@900364 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
a5197e625c
Updated reference accessible PDF files. Old ones had "Apache FOP Version SVN branches/Temp_Accessibility" as Creator and Producer values. New ones have "Apache FOP Version SVN trunk". This was causing spurious differences when testing PDF accessibility.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@898845 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
91cdef3c33
Added possibility to customize PDF tagging via the role property
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@898840 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Chris Bowditch
27166d6f10
Bugzilla #48237:
AFP Renderer does not respect image color settings for svg
Submitted by: Peter Hancock <peter.hancock.at.gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@897221 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
37b744039a
Bugzilla #48071: made the MinOptMax class immutable. Also, lots of clean ups and minor refactorings.
Patch submitted by Alexander Kiel.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@893238 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
82dbf4af9c
Fixed test case: #CMYK pseudo-profile comes before the color profile URI.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@891726 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
48617bc347
Fixed test case: 102 / 255 is 0.4, not 0.48. It is not the same as the previous check where no RGB replacement values are given but are calculated from the CMYK value.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@891725 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Jeremias Maerki
a3b7f647e5
Bugfix: Added equals() method to ColorExt because the base class only compares the RGB value but not any other value.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@884117 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
d61456f236
Bugfix in Changing IPD: reset only the children LMs that have been created so far. Layout managers following a forced break have not even been created yet.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@883709 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
1bc82acecd
Moved declaration of xml:space attribute from <text> to <page-sequence> in the XML Schema, to reflect changes from rev. 834020.
Moved validation of intermediate XML to testParserToIntermediateFormat method, so that any validation error is returned by Junit instead of being swallowed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@834135 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
a964e7ec26
Bugzilla #48082: value of conditional space not always taken into account in the calculation of a table's height
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@830996 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
85cd9cf950
XMLUtilTestCase somehow hasn't been included in the merge of the accessibility branch into the Trunk
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@830576 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
662af8ed5a
Updated test case: there is now a specific handling of alt-text
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@829135 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
cacfc7c9bf
Added test framework for accessibility. See README file.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@827725 13f79535-47bb-0310-9956-ffa450edef68
14 years ago
Vincent Hennebert
77d320fbcd
Bugfix: crash occurring when no restartable element could be found after a changing IPD break
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@827047 13f79535-47bb-0310-9956-ffa450edef68
14 years ago