Jeremias Maerki
b126cbbe6d
Removing unreachable catch block.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@387524 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
42f0996c4a
Use non-deprecated ways to get a default user agent.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@387522 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Simon Pepping
df94bcac57
Change call to deprecated FOUserAgent constructor to FopFactory method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@384602 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Simon Pepping
976e91c7ad
Ensure a consistent Fop object in the constructor
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@384002 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Simon Pepping
b521d507d8
Ensure the consistency of the created Fop object
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@383973 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Simon Pepping
67b2910a04
Height is not Width
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@383685 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Simon Pepping
a9f93d65e6
Add Fop constructor and corresponding FopFactory methods with an
output stream. Adapt MultipleFO2PDF example.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@383398 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
7f9eeb6971
Ported the latest bugfix in FOUserAgent to branch:
Fix bug in the construction of a base URL when it's specified as a file system path.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@381982 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
f729e663fd
Deprecated PDFEncryptionParams on FOUserAgent in factor of the more generic solution using FOUserAgent.getRendererOptions().
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@378001 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
50663d3ae7
Cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@377685 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
d9789e1aec
Attaching the ImageFactory to the FopFactory. To have a cache effect between multiple rendering runs the FopFactory would have to be reused after this change. Multiple FopFactories = Multiple image caches.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@377680 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
7c6c1e28af
Hooking the ContentHandlerFactoryRegistry into the FopFactor.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@377672 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
5d7852dbfa
Most of the API finalization proposal is implemented now. No deprecations, yet, and the image cache and a couple of nits are not addressed, yet.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_API_Finalization@377403 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Peter Herweg
9962f56963
RTF: length of leveltext has to be specified as two-digit hex-value
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377256 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Andreas L. Delmelle
045fc2577c
Slight correction: single quoted font-family names not properly handled
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377242 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Andreas L. Delmelle
26acc4f9a2
Extra constants needed for the font shorthand
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377223 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Andreas L. Delmelle
c3ec6a4b5a
Added implementation for the font shorthand property (+ some checkstyle cleanup)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377222 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Peter Herweg
49ffdc1d05
Bugfix for Bug 38041: correct handling of different list-item-label's
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377220 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Peter Herweg
d58773be31
RTF: fix a few checkstyle warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377219 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
ebbf1fb43b
Bugzilla #38618:
cleanup of rgb() and implementation of system-color()
Submitted by: Max Berger <max.at.berger.name>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377045 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
17094f3329
Creation of Font instances centralized in FontInfo and added a cache for them. This removes duplicate code in a number of places, improves speed a little and saves memory.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376706 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
77f908f5cc
Reworked area building in AreaTreeParser to match the scheme that the FOTreeBuilder uses. Cuts away another 10-15% processing time. Too many String.equals() calls and a minor optimization in setTraits().
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376293 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
6e19d34db2
Decorate warning with location info.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376250 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
edfe1fbf5b
Bugfix: Fixed two causes for ClassCastExceptions in BlockContainerLayoutManager.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376235 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
88879d0506
Bugfix: padding-top and padding-bottom on list-items could lead to wrong page break decisions and thus to overlapping text.
Bugfix: break-before and break-after were ignored on list-items.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@376226 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
3606df4b66
Added missing values in area tree XML for PageViewport (simple-page-master-name and blank).
Performance improvement of about 10% for a simple document inside the AreaTreeParser (Hotspot: setTraits())
Changed the way that trait info lookup is done in Trait.java. Should be just a little faster now.
Unused traits disabled.
Commented unused methods.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375983 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
eba245a39c
Style fixes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375605 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
fc6a15c27b
Non-SVG XML got loaded into a non-namespace-aware node which caused problems later when serializing the foreign XML to the intermediate format. Fixes a problem with serializing barcodes (Barcode4J) to the intermediate format.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375604 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Luca Furini
5769a0fe9f
Fix for bug 38507: the elements representing a non-breaking space were not always correct, sometimes allowing a break.
This also solves another bug concerning the incorrect suppression of a nbsp at the beginning of a line.
A bit of clean-up in TextLayoutManager
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375585 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Peter Herweg
e6e8c883e2
RTF: fix a few checkstyle warnings
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375067 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Peter Herweg
0eaad5d958
RTF: remove usage of TableLayoutManager; use SimplePercentBaseContext instead
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@375060 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Andreas L. Delmelle
3c450ea43c
Correction of the issue raised on the WhiteSpace Wiki (see accompanying change)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374712 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Andreas L. Delmelle
9de5004fa6
File missing from http://svn.apache.org/viewcvs?rev=374174&view=rev... Thanks, Manuel! :-)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374541 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
8bdee8d2d9
Bugzilla #38453:
Bugfix: Text-decoration was not promoted if no text-decoration attribute was specified on a nested element.
Nice side-effect: more efficient evaluation of text-decoration.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374425 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
91d8c38fa9
Don't swallow characters if the handler does not implement LexicalHandler.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374312 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Andreas L. Delmelle
ae44bf2f44
Further fine-tuning of white-space-handling during refinement
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@374174 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Andreas L. Delmelle
50782f6e6b
Implementation for from-table-column(). See: bugzilla 38282
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373922 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
f221e2cad2
Here's why forcing to border-collapse="separate" on fo:table didn't work. D'oh!
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373761 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
a51f3ff12b
Bugzilla #38434:
Restore JDK 1.3.1 compatibility.
Submitted by: Jelka Kosir <jelka.kosir.at.atol.si>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373469 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Simon Pepping
af24371d6a
An addition to FOP that can be used to render a hyphenation tree in
various ways, among which a complete tree representation. And
correction of a few typos in HyphenationTree.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373170 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Simon Pepping
8f160a6bf6
Change TransformerHandler to ContentHandler. Use comment method when
available.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372971 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Peter Herweg
ba51a1b92a
RTF: testcase 'tableunits.fo' failed because there was no PercentBaseContext passed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372916 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Chris Bowditch
eff8f14068
TransformerHandler changed to ContentHandler to allow easier integration of XML Renderer to a SAX Events chain
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372914 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
951ce15476
Added safe-guard against reuse to avoid problems with the renderers.
Removed reset() method. Compared to the many hundred object instances that get created by the FO tree and layout engine, the Fop and FOTreeBuilder instance are negligible. Better keep the API as simple as possible and create an environmental class in the long run.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372880 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
c6e95444dd
Don't swallow the stack trace.
Handle the case when the image cannot be found and don't throw an NPE in that case.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372518 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
11d47a815e
Bugzilla #38397:
Bugfix: Spanned cells could lead to an false error message about overlapping cells and ultimately a NullPointerException.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372504 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
5c9f9e96d0
Bugzilla #37506:
Extracted a base class for both PFMReader and TTFReader to remove duplicate code.
Submitted by: Kev Jackson <kevin.jackson.at.it.fts-vn.com>
(Patch applied with changes: escape method removed, tabs removed, javadocs added)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372317 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Peter Herweg
94a6ff7f78
added support for number-columns-spanned and number-rows-spanned in the same cell
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372292 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
24e4b22e76
To avoid NPEs due to my latest fix, use the default simple-page-master from the page-sequence-master if one is used.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372220 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години
Jeremias Maerki
3d1baf5455
Bugfix: Regions with non-standard names got ignored in RTF output leading to missing headers and footers.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@372214 13f79535-47bb-0310-9956-ffa450edef68
преди 18 години