Glenn Adams
d6d8e57b17
apply complex scripts patch
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1293736 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Mehdi Houshmand
07b46e643a
Enabled assertions in junit tasks (analagous to JVM arg -ea)
- Disabled a layout test that fails an assertion
- Added an expression to a mocked class to pass assertion
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1243963 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Mehdi Houshmand
98532f28aa
Corrected error in Junit4 migration
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1243549 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Mehdi Houshmand
af35f04708
Amended checkstyle errors and return carriages
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237610 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Mehdi Houshmand
c5c6ddef0c
Bugzilla#52513: Moved FOUserAgent to the constructor of the Renderers
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237582 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Peter Hancock
160d78ce1c
Associate structure tree elements directly to render content
* Defer the binding of PCData to struct elems using a placeholder mechanism.
* Translate text nodes to marked-content sequences in IF structure tree.
* Replace ptr with structure tree element.
* Re-order table footers so they appear at the end of the structure tree.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1236718 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Mehdi Houshmand
f248634b7f
Reverted changes made in r1234877, see bugzilla#52513
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235189 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Mehdi Houshmand
fb20c15fa4
Moved the FOUserAgent into the constructor of the Renderers
This breaks the public API but for good reasons:
1) the user-agent is essential for configuring the renderers
2) instantiation of the constructor is always followed by call to "setUserAgent()" (in the examples)
3) simplifies the API and reduces mutability of the Renderers
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1234877 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Mehdi Houshmand
07953c4cf1
Amended a non-ASCII character in a comment
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1234748 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Chris Bowditch
70182e47ba
added svn:eol-style=native property to recently added new files
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1233854 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Chris Bowditch
cb5ef63bdc
use of £ was causing some cross platform issues since it's part of the ASCII extended character set. Swapped it for a Unicode reference to resolve the problem.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1233427 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Chris Bowditch
39d7a6a55d
Bugzilla #51209:
SVG text in AFP creates miscoded GOCA text
Submitted by: Luis Bernardo
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1232845 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Chris Bowditch
fb1489b30e
Bugzilla #50391:
Add support for different flow-name of fo:region-body in FOP
Submitted by: Peter Hancock
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1229622 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Chris Bowditch
0cc4cbb9f0
Bugzilla #51644:
Tagged PDF performance improvement + tests
Submitted by: Mehdi Houshmand
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1228243 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Vincent Hennebert
89eb2ae7a4
Removed file that became empty in rev. 1198853
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1221326 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Vincent Hennebert
c6fb066a02
Removed the DOM representation of the structure tree.
The structure tree is now directly converted into corresponding PDF objects.
When going the IF route, the structure tree is stored in the form of SAX events that will be re-played when it's time to stream them into the output. This may still change.
* Extracted RFC3066 methods from XMLUtil into new LanguageTags class that can be re-used in a non-XML context.
* Dropped support for accessibility in the old Area Tree XML.
* Added support for the xml:lang property on fo:root, so that the global language can be set for the document without retrieving the language from the first page-sequence.
* Renamed StructureTreeBuilder into more appropriate StructureTreeEventHandler (same for applicable sub-classes)
* Renamed StructureTreeBuildingFOEventHandler into FO2StructureTreeConverter and added test case
* Added test cases for classes in the StructureTreeEventHandler hierarchy
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1205935 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Mehdi Houshmand
d955d844f8
Changed the error handling for AFP fonts such that errors are passed to the AFPEventProducer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204579 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Mehdi Houshmand
96f6f23137
Bugzilla #52197: Improved support for AdobeStandardEncoding encoded AFM files for type1 fonts
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1204488 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Vincent Hennebert
07f082ad3d
Bugzilla #52151: added ant script to get JaCoCo code coverage
Patch by Mehdi Houshmand, applied with changes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1203749 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Chris Bowditch
32ad33cda1
Bugzilla #51592: TTFFontLoader ignores the useKerning attribute used with fonts
Patch submitted by Mehdi Houshmand (mehdi1985 at gmail.com)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1203163 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Vincent Hennebert
02303acdd9
Bugzilla 52136: Added to build file JUnit target that uses a regex to run all of the test cases.
Patch by Mehdi Houshmand, applied with minor modifications
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1198853 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Peter Hancock
fd263a114c
Bugzilla#52089: Allow JPEG images to be embedded in an AFP document as
is, without being decoded and encoded. It also allows lossy JPEG compression.
Patch by Jeremias Maerki and Mehdi Houshmand.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1195952 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Vincent Hennebert
b073a605e4
Removed the FO document pre-processing step that was adding ptr and creating a reduced FO tree.
* Removed addPtr.xsl and reduceFOTree.xsl
* Implemented Common Accessibility properties on objects that support them
* Added a special implementation of FOEventHandler to build the structure tree
* Added mockito library and its dependencies
* Added mocks for some FO nodes and properties
* Removed FOTreeUnitTester and converted it into a re-usable FODocumentParser class
* Re-worked table FO test cases accordingly
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1188205 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Vincent Hennebert
ae7c3b4bd8
Cache the schema for the XML namespace to a local directory. This avoids downloading it from the W3C website every time the IF test cases are run.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1186858 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Peter Hancock
9860d5a133
Bugzilla#512010: Simplification of the build.
Reduced code duplication and layout engine tests.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1186070 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Jeremias Maerki
87f892d9d8
Restored PDFDocumentGraphics2D functionality.
Bugfix: NPE after PDFDocumentGraphics2D.create() due to missing font setup and other missing initializations.
Bugfix: Properly handle state in PDFGraphics2D.drawString().
Added an example class demonstrating the use of PDFDocumentGraphics2D.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1183620 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Peter Hancock
25d268f166
Bugzilla#51962: Bugfix for when the last simple-page-master referenced in a page-sequence-master is not chosen when force-page-count=odd.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1181660 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Vincent Hennebert
91c66d9742
Bugzilla #51928: Upgraded all tests to JUnit 4
Patch by Mehdi Houshmand, applied with minor cosmetics and error fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1178747 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Peter Hancock
a4b5668e88
PDFFactory responsible for asdigning name to a subset font.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1175754 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Peter Hancock
de056bce77
Bugzill#51530: Improved support for EBCDIC encoded double byte fonts fo AFP.
Submitted by: Mehdi Houshmand <med1985.at.gmail.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1165223 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Peter Hancock
937d2cbd25
Fixed a bug in AFP where an ArrayOutofBoundsException is throwqn when embedding a Page Segment.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1160298 13f79535-47bb-0310-9956-ffa450edef68
12 anni fa
Vincent Hennebert
fb02159c7d
Bugzilla #51596: A composite glyph can be remapped more than once in a TTF subset, resulting in garbled character
Test and clean-up provided by Mehdi Houshmand
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1155024 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
8e894b822f
Added support for 128bit encryption in PDF output. Based on work by Michael Rubin.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1154998 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Peter Hancock
eee73c4ded
Fixed a bug in AFP where the object area axes of an Include Object was incorrectly set when rotated by 180
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1151452 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Jeremias Maerki
1df8c0b1db
Fixed regression introduced by SVN rev 1088079:
Endless loop with empty fo:inline.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1137921 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Peter Hancock
98264493c4
Fixed io exception in MODCAParser caused by the improper use of mark() and reset()
on the MODCA data input stream. See bugzilla 50909.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1104135 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Jeremias Maerki
de7c0db9e4
https://issues.apache.org/jira/browse/XERCESJ-1505
Schemas should not be downloaded from the W3C website!
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1097807 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
427df0fa7d
Added id element to intermediate format to track the origin of content.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1094690 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Andreas L. Delmelle
a581b1c788
Bugzilla 51032: Fixed regression due to oversight in refactoring text-decoration.
Invalid values properly reported as errors again, instead of causing a NPE.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1089559 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Andreas L. Delmelle
adeb084ad8
Property fixup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088245 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Andreas L. Delmelle
d13c4630ad
Bugzilla 50988: Fixed a NullPointerException in case a fo:character was removed due to white-space handling.
Thanks to Matthias Reischenbacher.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088242 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Andreas L. Delmelle
8ba2be7b37
Properly fix the case of unresolved bookmarks for the intermediate format: bypass serialization of the bookmarks, instead of only its action.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085944 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Andreas L. Delmelle
a1bfc20671
Temporarily disable new test added in r1085824
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085940 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Andreas L. Delmelle
8c443ea886
Fixed regression introduced by Bugzilla 50593: bookmarks pointing to a non-existing internal destination should just trigger a warning.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085824 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Andreas L. Delmelle
a4d39cf194
Bugzilla 50965: Fix regression in BlockContainerLayoutManager where margins were not reset after forced breaks.
Thanks to Martin Koegler.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085820 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
c0388acf51
Bugzilla #50763: Implemented non-standard behavior for basic-link areas, such that they take into account the heights of their descendants areas
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1085058 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
823d0e968d
Bugfix: keep-together does not apply to fo:table-cell
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1084205 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
23a5eabe53
Fixed spurious table warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1084193 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
1337f45867
Bugfix: keep-together on a table containing row-spanning cells was not honored
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1083863 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa
Vincent Hennebert
b8ac4207fe
Renamed Viewport into InlineViewport
Added {@inheritDoc} comments to make Checkstyle happy
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1081822 13f79535-47bb-0310-9956-ffa450edef68
13 anni fa