Jeremias Maerki
4a348bebdb
Read the bitmap resolution from PNGs and TIFFs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232263 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
a1793ff056
Merged branch https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock back into Trunk.
Revisions: 227462 to HEAD (231261)
This adds support for block-level content inside fo:inline.
The full set of changes on the branch can be extracted by:
svn log http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/inlineblock -r 227462:231261
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232250 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
55142e780f
Fix regression that caused duplicate IDs when Reload was pressed in the AWT Viewer. The Fop instance should only be used for one single rendering run. The regression was caused by the introduction of a member variable for the FOTreeBuilder which is used to fetch the rendering results.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232236 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
226c83e7aa
Bugzilla #36146
Image scaling didn't work in the Java2D based renderers, as the putImage
function was referring to the wrong height/width.
Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@232234 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
9579f158d6
SVN properties and imports.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231224 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
37203e4c26
AbstractFopImage subclass using ImageIO (JDK >= 1.4) to load images (works with GIF, too). Some of the code dealing with the BufferedImage could probably be extracted to a common subclass since it's mostly a copy from a different FopImage implementation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231223 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
b619da5f6f
Better documentation of FOUserAgent.getStream()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231215 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
8faebbf021
Fallback to default value if "compression" value is not given.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231214 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
9df0081717
Bugzilla #36112
Fix for Java2DRenderer to paint regions other than region-body. Area tree was not properly cloned.
Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231213 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
7298d0d3c7
Bugzilla #36067
Support for relative font sizes.
Submitted by: Manuel Mall <mm.at.arcus.com.au>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231198 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Chris Bowditch
525f70fb21
Submitted by: Manuel Mall <mm.at.arcus.com.au>
ref to bugzilla 36098
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@231047 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
5ac6f14d0c
Committing a hack I've started earlier. The analyzer did not always recognize an SVG file as such, especially XML encoded in a two-byte charset. This will still need some attention.
Logging reenabled.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230759 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
ca4930bd5c
Bugzilla #35998
Context classes into the tools package.
Lonely interface ITableColumnsInfo to the others.
Suggested by: Guillaume Déflache <guillaume.at.anyware-tech.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230499 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
d9e109024f
Bugzilla #35992
Updates based on insights gained through additional test cases.
Submitted by: Manuel Mall <mm.at.arcus.com.au>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230498 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Chris Bowditch
af83c4a874
Patch supplied by Manuel Mall in bugzilla 36036 with minor modifications
Submitted by: Manuel Mall <mm.at.arcus.com.au>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@230445 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Luca Furini
31509f479f
Fix for bug 36007.
The list of elements created by the LineLM was incomplete.
Thanks to Manuel Mall for signaling the bug and providing testcases.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227342 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
fb26b1dc67
Removing dependencies of RTF library on the rest of FOP so it can be used stand-alone.
Submitted by: Guillaume Déflache <guillaume.at.anyware-tech.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227252 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
2aac092449
Proper handling of the color property on page-number and page-number-citatition.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227245 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
8db145138f
Current Forrest is not fully HTML 4.01 and CSS compliant due to a bug, so we better switch the logos off for now.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227222 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
19106ac890
Disabled the external link images. They mess up the layout in many places.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227221 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
a7640237fa
Initial values for "Trunk" column. No guarantees!
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227219 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
3b5033499a
Update to Forrest 0.7.
Preparations for second column for trunk on the compilance page.
Submitted by: Manuel Mall <mm.at.arcus.com.au>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227202 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
69723d15f0
Fix for table-body4.xml. Higher penalty values for breaks that would results in unwelcome table breaks. At the moment this is hard-coded to an arbitrary value and needs to be refined.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227030 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
b0bb8bccf0
Make it possible to keep block-container element lists apart from normal page-level element lists.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227026 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
776f5e3701
Padding was ignored by the table stepper. This fixes the newly modified table-cell7.xml.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@227015 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
2dbaaac3a9
Remove "veryveryalpha" warning.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@226975 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Luca Furini
babe934ef3
Adjusting verticals spaces (coming from space-before and space-after properties) in order to fill the region, whenever possible
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@226973 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Simon Pepping
996d1911b0
Use a more direct notify mechanism for the formatting results
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@226627 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
2d928b74ce
Bugzilla #35937:
FormattingResults mechanism ported from maintenance branch to trunk.
Submitted by: Manuel Mall <mm.at.arcus.com.au>
Patch tweaked slightly to avoid the reference of Fop.java into the area package.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@226511 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
77b319728c
Add support for "mpt" (millipoints, non-standard!!!)
Reenabled warning message for unrecognized units. Otherwise, you simply get a zero value and don't know why.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@226500 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
7b67aa16f5
Bugfix: Fixes table-cell7 where padding wasn't handled correctly while adding table areas.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225893 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
badd0db835
Bugfix: Fixes table-cell7 where display-align was off when border and/or padding was used.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225890 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
e96987f96d
Removed unused method
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225887 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Finn Bock
eddd167339
Removing unused import.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225744 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Finn Bock
fd764a0093
Removing unused import.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225743 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
c74f4591f4
Ported an important page setup instruction from the branch. GhostScript, for example, doesn't recognize the page size correctly, otherwise.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225739 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Finn Bock
d99898354f
Removed unused import.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225591 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
bea9ee4b7e
Buffer InputStream only when not already buffered.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225510 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
1e5a53c0f7
Bugfix: scaling factor was calculated using an integer division, not a double division.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225509 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
59d7ee507a
Improved PrintRenderer to be more easily configurable and so you can pass in your own PrinterJob instance.
Bugfix for paper format construction.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225497 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
990f5e0aee
Changes for restoring JDK 1.3 compatibility.
Submitted by: Robert Bielik <Robert.Bielik.at.gyros.com>
(Patch committed with modifications and additional changes for test code)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225486 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
95216891f3
Various fixes for ID management.
Border/Padding/Background for instream-foreign-object and external-graphic.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225304 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
0985bd6ab2
Accessor for the id property.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225303 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
afe03e4b4b
Small improvements. Fix for missing image areas.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225302 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
009eac2b95
Send the ID of the producing FO to the area tree as trait where possible.
This is useful for testing and may later be interesting for FO editor implementors and for other things where you want to identify the generating FO from a particular object in the output.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225268 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
be12ea359f
Bugfix for NPE when space-before and space-after are used.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225249 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
6abd7463ba
Made Service a stand-alone class so it can be reused.
Made XMLHandler discoverable through the Service class.
Moved XMLHandler collection into new XMLHandlerRegistry class.
Adjusted the Renderers and XMLHandler to the above changes.
This should make it easier to write certain FOP extensions. The changes were triggered by my work on the FOP extension for Barcode4J for the FOP Trunk.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225143 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
0ad4ff2fdc
Bugzilla #35534
space-* production for list-item and list-block.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225135 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
7770609f52
Bugzilla #35534
space-* production for list-item.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@225133 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
b7f97d9c90
Buzilla #35787
When checking for content overflow, don't include border and padding.
Clearer warning message in case of height constraint violation on table-rows.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@219685 13f79535-47bb-0310-9956-ffa450edef68
19 years ago