Jeremias Maerki
58e427d0e5
Avalon Framework bumped to release 4.1.4.
Added Commons IO (and the dependant Commons Lang). These are dev version from CVS for now. I'm going to upgrade as soon as possible.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196183 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
e7b0435b57
Adjust to changes in PDF library.
Avalonize in a backwards-compatible way (optional logging and configuration).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196182 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
48b26cf54b
Adjust to changes in PDF library.
Remove duplicate text encoding code now in PDFText.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196181 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
5f216e6a13
Is now subclass of AbstractFOPTranscoder.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196180 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
dde2829b2b
Moved common code to abstract base class.
Optionally configurable using Avalon Configuration.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196179 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
1d9d314d4e
Logging via Avalon Logger.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196178 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
12bc6b7dda
Special SAXSVGDocumentFactory with the ability to set an arbitrary EntityResolver for Batik.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196177 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
d489eaa5d9
Common base class for all of FOP's transcoders.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196176 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
277094a75c
Adjust to changes in the PDF library.
Moved some encoding code to PDFText where it can reused.
Improved configuration by Avalon
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196175 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
61ec0b34ee
Adjust for new PDFImage design.
Optimizations due to the changes in PDF streams.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196174 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
c487208832
Added method for build a font list from an Avalon Configuration object.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196173 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
dac448a9d1
Switch for disabling on-the-fly stream output (if something goes wrong. was tested with Acrobat and GhostScript)
Factory methods moved to new PDFFactory class.
More uniform and centralized registration of PDFObjects (a lot less redundancy!)
Logging via Avalon Logger (Child PDFObjects get their logger via getDocumentSafely().getLogger()).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196172 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
fa871d7474
PDF Encryption works now in every case I tested. Also, the text and string dictionary entries of PDFInfo are encrypted. The rest of these value still need to be done (best done in one task with refactoring PDF dict generation).
Bring back support for encrypting byte arrays.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196171 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
076ed84421
Adjust to changes in PDFImage design.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196170 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
2b04615604
Better name for the parent reference variable.
No object number in constructor.
Use toPDFString instead of toPDF.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196169 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
8bcfbb950c
No object number in the constructor.
Add a separate method for registering kids.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196168 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
0311235734
Adjust to the PDFT1Stream being an AbstractPDFStream now.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196167 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
495863b9a6
Adjust to the PDF Stream changes.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196166 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
5f1df89a5f
Adjust to the PDF Stream changes.
TODO: This could still be optimized in a similar way as the PDFT1Stream (to avoid the additional buffer).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196165 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
15bb8be1a5
The Type1 font stream is now an AbstractPDFStream to bypass the need for an additional buffer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196164 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
8d1521a71e
Most code has wandered off to AbstractPDFStream. The only thing it does now is to maintain an arbitrary byte buffer.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196163 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
9d1744de51
Image implementation can now indicate if it is DCT encoded (JPEGs).
Image implementation just outputs its raw content to an OutputStream. Filtering is done by the XObject.
Image implementation can now indicate which filter set to use (for encoding optimizations like for JPEGs)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196162 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
4dbd5aa4d8
No object number in the constructor.
Support encryption of string and text values.
TODO: We need to improve generation of PDF dictionaries. The current way is suboptimal.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196161 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
fc0c999b72
Use the toPDFString() (returns String) method instead of toPDF() (returns byte[]) where appropriate. String to byte[] conversion is done in PDFObject in a well-defined location instead of scattered around the codebase.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196160 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
8cfc4cd9e4
The PDF object number doesn't get passed to the constructor anymore. Adjust for that.
Use the toPDFString() (returns String) method instead of toPDF() (returns byte[]) where appropriate. String to byte[] conversion is done in PDFObject in a well-defined location instead of scattered around the codebase.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196159 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
6d505b1a8d
Support as independant PDF object. Used for on-the-fly stream output.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196158 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
195e3247fc
Make todo more prominent (detected by checkstyle)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196157 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
a653ef8a23
Streamlined. Add code for encryption of string and text values. All PDF objects may have a reference to their parent PDFDocuments.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196156 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
6b258d74df
Streamlined. Do some simple memory allocation optimization.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196155 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
4d8e2d23b9
All factory code (make*) has been moved to this new factory class. PDFDocument was too long.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196154 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
fc6c01f65c
This class represents a list of PDF filters to be applied when serializing the output of a PDF object.
It also contains a method to build the filter lists from an Avalon Configuration object.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196153 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
2ee529ef53
Class for PDF text. A lot of text encoding code for PDF is collected/moved here.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196152 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
1ed0b2a36f
Factory for StreamCache instances. Supports a hint for the expected stream size so memory allocation optimizations can occur for the in-memory implementation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196151 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
8198531971
Filters can indicate whether they are ASCII filters (which can be disabled if the document is encrypted)
Filters have a new method for returning a FilteredOutputStream for the new on-the-fly stream output.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196150 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
3783a00258
Abstract base class for all PDF streams. It supports writing stream on-the-fly (Length dict entry is a forward reference). This can be disabled in PDFDocument, the old method still works.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196149 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
165c456507
Special OutputStream decorator that suppresses calls to the close() method. This is my new approach for handling filters. Before I used the Finalizable interface (see PS renderer). But that didn't work out for the PDF library.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196148 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Jeremias Maerki
7eb53440ad
Reduce debug output. A constant can be modified to enable more extensive log output.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196147 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
161248b1da
Pushed more of the svg doc out of the faq and into svg.xml.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196146 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
4f4eeac8ab
Fix URL broken when text moved from dev/svg.xml to svg.xml.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196145 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
7e0f61790f
Restore content of dev/faq.xml that was erroneously deleted. Normalize the contents of svg.xml & dev/svg.xml to remove duplication, and make a first pass at getting the user & developer content into the right document.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196144 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
15ffad59f8
Add comments about support for the update of the FOP live web site.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196143 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
a4f0825a69
Eliminate array looping if text-transform is NONE for a probable performance benefit.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196142 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
1582839360
Add support for text-transform.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196141 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
785a9772fa
Rewrote with instructions for using forrestbot. Added more detail.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196140 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
8801f9e266
Add links to some other Apache sites, per Christian's suggestion.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196139 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
a044048631
Fix typo
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196138 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
1052f0f8bd
Break CVS down into subsections.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196137 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
Christian Geisert
1f85ad1a40
fixed typos on implemented.xml
PR: 18023
Submitted by: glenmazza@yahoo.com (Glen Mazza)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196136 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
0cc6c3703e
Add step-by-step for WinCVS downloads.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196135 13f79535-47bb-0310-9956-ffa450edef68
21 years ago
William Victor Mote
d7a6d2a6b7
Add a "tools" page for FOP-related comments about development tools.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@196133 13f79535-47bb-0310-9956-ffa450edef68
21 years ago