Jeremias Maerki
9fd779a18a
Merged https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_PDF_in_PDF (563130:HEAD) into Trunk.
Adds generic structures in PDF so it is possible to embed external PDF documents, for example to support PDF files in fo:external-graphic for PDF output. See also: http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200708.mbox/%3c20070806165027.5C59.DEV@jeremias-maerki.ch%3e
I tried to keep the changes on the API of the PDF library minimal but there could still be some incompatibilities for anyone who uses it separately.
This also adds support for dynamically registering an image handler. That's just a temporary solution until the image package redesign is done. But it works.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@588547 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Jeremias Maerki
655b012eae
Bugzilla #43597:
Added support for SVGZ.
Submitted by: Max Berger <max.at.berger.name>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@587052 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Vincent Hennebert
300ac95fdc
Bug #42476:
- fix NPE in XMLReader when no handler is found for the image
- prevent SVGReader from closing the input stream if the image actually isn't SVG
- reduce log level in SVGReader and XMLReader to avoid "false positive" (read error reported whereas the image format actually isn't recognized). This may hide regular I/O errors to the end-user, but I assume this will be rare enough compared to the annoyance of such messages when third-party plugins are used.
Patch submitted by Max Berger (max.at.berger.name)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@542447 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
f5abed20f9
Changed license headers and updated NOTICE file according to: http://www.apache.org/legal/src-headers.html
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@426576 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Peter Herweg
d0becd0611
Use FOP's wrapper classes to load images. Support 'auto' in fo:external-grapic@height, -@width, -@content-height and -@content-width
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@329590 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Glen Mazza
f6064f69f4
Removed the getLogger() and setLogger() from FOUserAgent; replaced with Commons Logging
equivalents in places where previously used.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197591 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
Jeremias Maerki
f375715f4b
Applied Apache License Version 2.0 by following the instructions at http://www.apache.org/dev/apply-license.html.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@197384 13f79535-47bb-0310-9956-ffa450edef68
20 years ago
William Victor Mote
8557c71491
move fo/FOUserAgent to apps/FOUserAgent, as it manages configuration information for the application as a whole
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196827 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
1e5d512c21
Moved sources from src/org/** to src/java/org/**
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196061 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
d708e7de1f
Switched to long licence
Some general checkstyle fixing
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196030 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Keiron Liddle
706230140e
handle image stream better, try to make sure only
opened once and properly closed
gif image broken until it can be loaded from a stream
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195455 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
1e79030d31
Fixed checkstyle violations (we're down at 8500 now)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@195164 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Keiron Liddle
f0e4882228
renders images and ifo to pdf doc
added xml reader for external graphics
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194696 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Keiron Liddle
38b2ca9fad
improved thread safety of readers
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194670 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Keiron Liddle
fc9ae36c80
some preliminary changes to image handling
Images are put into a cache, different cahces are possible
if information is required it needs to be explicitly loaded
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194663 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Tore Engvig
b58396ce84
PR:
Obtained from:
Submitted by:
Reviewed by:
Support for CMYK jpeg's and ICC profiles
Initial support for EPS images (only limited support in PDFRenderer)
(need to fix PSRenderer as soon as new area tree and rendering stuff are finished)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194570 13f79535-47bb-0310-9956-ffa450edef68
22 years ago
Tore Engvig
e0edd21572
Formatted code according to code standards.
Changed license to use short license.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194380 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Keiron Liddle
522e44c745
now passes in url string to the analyser
some readers may need the url eg. svg document creator
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@194261 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
eschaeffer
31744f7be5
Add TIFFReader support
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193905 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Steve Coffman
bacbe7a091
Adds textdeko.fo file example. Applies Art Welch's JDK 1.1.x compatibility
fixes.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193739 13f79535-47bb-0310-9956-ffa450edef68
23 years ago
Keiron Liddle
121931da47
support for external svg document/image
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193678 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
eschaeffer
bcf1eacb8f
Factory for ImageReader classes
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193634 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
eschaeffer
8ed9575e48
*** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193630 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
jtauber
8db42fcc7a
removed multiple CRs at end of lines
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193230 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
jtauber
c52d0e5d3b
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193223 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Dirk-Willem van Gulik
4aabd256ea
Removed goof which is not in open source CVS version
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193220 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Dirk-Willem van Gulik
f1ca24b933
Added licences everywhere... ish
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193219 13f79535-47bb-0310-9956-ffa450edef68
24 years ago
Dirk-Willem van Gulik
10070e8383
Initial revision
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@193213 13f79535-47bb-0310-9956-ffa450edef68
24 years ago