Jeremias Maerki
c58159b0eb
Checkstyle only.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@541628 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
6a01a683b7
Bugzilla #42406:
Use source resolution setting for bitmap images which don't provide their own resolution.
Submitted by: Hussein Shafie <hussein.at.xmlmind.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@540052 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
2b5c710ccf
Bugzilla #42109:
Fixed the rendering of zero-width spaces for certain fonts by not generating them into the area tree.
Submitted by: Paul Vinkenoog <paul.at.vinkenoog.nl>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@540049 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
c432f41561
PFMFile is now also used inside FOP's normal operations, so don't log too much in "info" level.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@540042 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
650ab02c56
Bugzilla #42067:
Fixed a possible StringIndexOutOfBoundsException.
Submitted by: Paul Vinkenoog <paul.at.vinkenoog.nl>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@540036 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
34f930d783
Bugzilla #42067:
Restore JDK 1.3 compatibility.
Submitted by: Adrian Cumiskey <fop-dev.at.cumiskey.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@539406 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
4dbd4bd6aa
Bugfix for ClassCastException with spaces inside a table-cell (using fox:widow/orphan-content-limit)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@538849 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
70d54cb2fa
Missed the URL.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@538829 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
d4988bf34c
ApacheCon US coming up next
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@538826 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
87ef9c6ed9
ID on wrapper should work now.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@538539 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
9d9251d694
Small Javadoc issue fixed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@538509 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
b0f7901112
Extracted a little bit of the multi-output handling code from PNGRenderer in to a new class (MultiFileRenderingUtil) for reuse in the SVGRenderer.
Minimal SVG rendering support using Batik's SVGGraphics2D
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@538506 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
603ae92fea
setHyphenBaseURL() was missing.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@538485 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Luca Furini
29ea9c1b10
Fixing a problem with disappearing footnotes inside inlines when hyphenation is enabled, and with disappearing footnotes whose inline child can be hyphenated (quite unlikely, but you never know ...).
As the FootnoteLM was completely "bypassed", it could not add the anchor in the getChangedKnuthElement() phase.
Testcase updated with an example of the "hyphenated inline child" case.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@538198 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
0266898d95
Bugfix: Integers were not correctly formatted in PDF. This fixes a problem with embedded fonts.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@537129 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
b2fd48501b
Fixed default encoding problem.
Submitted by: Jelka Kosir <jelka.kosir.at.atol.si>
Note by jeremias: I haven't found any information which encoding/charset should be used with basic authentication. RFC 2617 doesn't seem to address that. The behaviour for characters outside the US-ASCII (7bit) charset may not be as expected.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@537120 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
02bb4b460f
ArrayList -> List.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@535885 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
b222b4dcad
Removed newly introduced dependency from the PDF library to the area tree.
Removed PDFDocument.setHasDestinations() (PDFDocument knows that already).
Started to add some generic PDF data structures (array, dictionary).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@535883 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
cb481cd002
Testcase for bookmarks in the area tree.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@535867 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
719a8a5077
Bugzilla #42067:
Add support for exact positioning of internal PDF links.
Submitted by: Paul Vinkenoog <paul.at.vinkenoog.nl>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@535866 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
283e22abda
I've finally setup a local test project using Maven, so I can properly test the Maven artifacts. Turns out, another two small changes are necessary.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@535566 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
b875d9bf1a
Avoid dependency on FOP 0.20.5 from the Batik 1.6 transcoder.
Adjust avalon-framework-impl to an actually available version.
Submitted by: Lars Trieloff <lars.trieloff.at.mindquarry.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@535125 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
d7f5122dee
Added Maven artifact building following the same pattern as in XML Graphics Commons.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@534750 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
abe5f3efc3
Reworded requirements slightly to make it more clear to people switching from 0.20.5 to 0.93 (thanks for the hint, Henning).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@533992 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
23ccb79d82
Bugzilla #41434:
Fix PDF Genaration for non-ASCII compatible locales.
Submitted by: Martin Kögler <martin.koegler.at.brz.gv.at>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@533986 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
6309a4f57e
Bugfixes:
- NPE when break-before is set on the first row of a table with headers
- NPE when break-after is set on the last row of a table with headers or footers
- Invalid break class exception when break-after is set on the last block of a cell in the last row of a table
- double page break when break-before is set both on a table and its first row
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@533789 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
361470baa8
Fix a NPE when break-before is specified on the first row of a table, and when that row contains a row-spanning cell.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@532780 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
c4e62b9f84
Add check for the number of pages
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@532777 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
c529b33567
Fix spelling error in svn:keywords property
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@532775 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
975a67c116
Make keep-with-next and keep-with-previous work on fo:table
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@532754 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
f2b3555501
Forgot checks for the second table's IPDs
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@531804 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
c1056b66e0
"Exhaustive" testcase for border resolution in the collapsing-border model
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@531799 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
b6fcfcbe1e
First testcases for the collapsing-border model in tables
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530894 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
9590ee0eb0
Fix the handling of padding for spanning cells in the collapsing-border model
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530887 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
0dee60e68e
Of course the painting of table borders in the collapsing model is due to Jeremias. Damn me for not thinking of that in the previous commit.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530886 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
95a8746368
Time to enable border-collapse="collapse"
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530727 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
47007e04de
Fix the computation of cells' IPD when they contain children with forced breaks.
In such cases TableCellLM.getNextKnuthElements was called several times, and thus the borders/paddings of the cell were substracted several times from the IPD.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530724 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
69ebbadae6
Move out all statistics/debug related code into an inner Statistics class.
Patch submitted by Adrian Cumiskey (fop-dev AT cumiskey DOT com)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530682 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
c2008825ea
I messed up the RDF. Fixed now.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530681 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
d7b52de121
Bugfix: update dx also for grid units having no border, in the addAreas method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530469 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
f99c3b88a7
- remove call to addPadding in TraitSetter.addCollapsingBorders
- make the call explicit in TableCellLM, only when necessary. That is, areas holding borders for spanning cells in collapsing mode don't need to have padding set
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530445 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
23b32dea95
Fix the handling of forced breaks which were sometimes counted twice.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@530040 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
5b35af19ad
Extract the logic for advancing to the next grid row, from the getNextStep method to a new one.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529930 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
313cb7945e
... and correct the test for early returning if stepFound is false
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529926 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
8b2772dcaf
Replace the seqCount integer with a stepFound boolean in the getNextStep method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529921 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
3839d6c734
Replace the array of forced breaks with a single boolean, which should be enough.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529920 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
0db11afe48
- add a columnCount field for clarity
- remove unneeded parameter from the getNextStep method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529670 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
2f6386898a
Make the fop.layoutengine.disabled property work with fop.layoutengine.starts-with
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529667 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
ac8dd41ea7
Style only: fix indentation
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529544 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Vincent Hennebert
9eeaaef84e
- add svn:keywords and svn:eol-style properties
- style touch up
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529507 13f79535-47bb-0310-9956-ffa450edef68
17 years ago