Glenn Adams
12e4f1844c
Merge from origin/trunk.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_1rc1@1354655 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
381ddddbcf
Merge from origin/trunk.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_1rc1@1353186 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
4a2e8e12cb
Merge from origin/trunk.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_1rc1@1345839 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
2f1b588c83
Merge from trunk.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-1_1@1343135 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
4778980074
Bugzilla #53294: Fix invalid PostScript file being created when font-size is 0. Submitted by Robert Meyer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1342792 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
89b98e43e0
Added support for the role property on fo:page-sequence, fo:flow and fo:static-content.
This allows to change the mapping of those FOs to PDF structure types when enabling accessibility.
Suggested by Martin Koegler as part of Bugzilla #50852
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1342680 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
5a0e10ae9d
Bugzilla #53242: Support fractional line widths in AFP renderer, fixing problem with SVG line drawing. Submitted by Luis Bernardo.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1339442 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Mehdi Houshmand
1e8a2631f0
Improved handling of AFP double-byte character sets
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1338605 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
6c90bb6701
Bugzilla #43940: Use new double format utility to improve thread safety and performance. Submitted by Julien Aymé, Ognjen Blagojevic.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1331950 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
c40d602973
Bugzilla #51484: Improve test for last section.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1330838 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
1ec5b70b5a
Bugzilla #53148: Fix performance regression in JDK 1.6 Update 19 due to use of Java Beans API. Fix checkstyle errors.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1330317 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
c3bc9e8b04
Bugzilla #51484: Don't write final /sect suffix in RTF if section is last section.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1330296 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
01388f7ca3
Bugzilla #52572: Prevent NPE on use of unsupported collapse-with-precedence; fall back to collapse. Fix checkstyle errors from prior commit.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1326144 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
f54e6a3806
Take leading derived space before/after into account when computing rows for TXT renderer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1325394 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Peter Hancock
37ff704262
Bugzilla#49893: A global setting to wrap F11 images in page segments.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1325277 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
279a59e164
Bugzilla #49754: Bring clone() in line with the recommendations in Object.clone().
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1311120 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
92ca968f8c
Bugzilla #52966: How to use native text with EPSDocumentGraphics2D.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1311103 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
1a9d1d9ad0
Bugzilla #50901: RTF percentage table column width not calculated from table.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1311081 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
e0907f7eb1
Bugzilla #51009: RTF generates unexpected lines for blocks in tables. Also fix three findbugs issues.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1310948 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
9060f22622
Bugzilla #51007: RTF tables do not support percent column-widths.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1310926 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
a93ce40b9a
Bugzilla #49763: Incorrect message when encountering a block in an inline in a footnote
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1310853 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
c0a1068093
Bugzilla #49302: Eliminate duplicate code.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1310672 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
82712c6d2d
Bugzilla #51836: Throw IFException instead of NPE if navigation target (page reference) doesn't exist.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1310666 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Peter Hancock
73c7b4470f
Fixed a bug: Delegate getStructureTreeEventHandler() to delegate
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1306814 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
b9fbfa6b71
Added support for PDF object streams.
When accessibility is enabled and PDF version 1.5 selected, the structure tree will be stored in object streams in order to reduce the size of the final PDF.
This can lead to file reductions by up to 75%
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_ObjectStreams@1303431 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
c1653ad475
Bugzilla #51385: Added configuration option to set the version of the output PDF document.
Patch by Mehdi Houshmand, applied with minor modifications
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1302518 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
e5b62535bb
Added new line at end of files and enabled corresponding rule in checkstyle-5.5
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297404 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
1dc8efba5f
add RegexpSingleline rule to flag use of @author; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297284 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
64cbcc3782
disable line breaks after DOT with NoWhiteSpaceAfter; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297232 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
84943a6eb6
Removed trailing whitespace and enabled corresponding RegexpSingleline Checkstyle rule
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1297008 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
2ed4c2e034
enable ImportOrder rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296526 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
eff48e4a89
enable UnusedImports rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296496 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
9826acf1e8
enable MultipleVariableDeclarations rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296483 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
5494cc056a
enable OneStatementPerLine rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296441 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
1f28434882
enable RedundantImport rule; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296437 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
8882a49ac0
default all RightCurly tokens, thus adding LITERAL_IF; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296418 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Glenn Adams
db70376fd5
default all RedunduntModifier tokens, thus adding INTERFACE_DEF; fix violations
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296405 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
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 years ago
Chris Bowditch
fa6dc48793
Bugzilla 52657: instream foreign object (svg) coloration incorrect
Submitted by Glenn Adams
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1291292 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Vincent Hennebert
eb81bfe45a
Bugzilla #52655: Fixed rendering of special glyphs when using single-byte encoding mode
Patch by Luis Bernardo
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1244656 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Peter Hancock
65e12053cb
Addressed findbugs and checkstyle regressions
Findbugs report generated with version 1.3.9.
Checkstyle report generated with version 5.5.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1240963 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
Peter Hancock
9e004dd3c0
Cleanup associated with rev 1236718
Removed unused structure tree events.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_ImproveAccessibility@1238313 13f79535-47bb-0310-9956-ffa450edef68
12 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago
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 years ago