aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/fop/render/pdf/PDFContentGenerator.java
Commit message (Collapse)AuthorAgeFilesLines
* Transition source to standard maven hierarchy (initial).Glenn Adams2016-03-031-524/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/maven@1733433 13f79535-47bb-0310-9956-ffa450edef68
* FOP-2445: Merge PDF Linearization branchSimon Steiner2015-02-241-0/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1661887 13f79535-47bb-0310-9956-ffa450edef68
* Enabled Checkstyle ExplicitInitializationCheck and fixed resulting warningsVincent Hennebert2014-07-151-1/+1
| | | | | | | That check had been agreed upon but left disabled because of the number of warnings too high to fix manually git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1610839 13f79535-47bb-0310-9956-ffa450edef68
* FOP-2337 Remove xobj type=formSimon Steiner2014-04-281-0/+7
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1590619 13f79535-47bb-0310-9956-ffa450edef68
* FOP-2301: Enable support for PDF sub-page transitions.Glenn Adams2013-11-011-20/+61
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1537948 13f79535-47bb-0310-9956-ffa450edef68
* FOP-2216: PDF forms are offset; patch submitted by Simon SteinerLuis Bernardo2013-03-161-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1457282 13f79535-47bb-0310-9956-ffa450edef68
* FOP-2188: optimize string allocation in pdf output processingGlenn Adams2013-01-161-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1434502 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #54081: properly tag hyphenated words in PDF output when ↵Vincent Hennebert2012-11-021-22/+40
| | | | | | accessibility is enabled git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1405158 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 50986: Fixed an issue where invalid PDF page content was generated ↵Andreas L. Delmelle2011-04-031-1/+1
| | | | | | | | | due to incorrect ET/EMC sequences. Thanks to Martin Koegler. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1088231 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Trunk, revisions 965390 to 1060234.Jeremias Maerki2011-01-181-3/+7
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@1060241 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #49733:Jeremias Maerki2010-08-141-3/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Resolved compilation (safe one), Checkstyle and many Javadoc warnings. Submitted by: Glenn Adams <glenn.at.skynav.com> Changes to patch: - Restored the deprecated Graphics2DAdapter method (to be removed after Barcode4J 2.1 is released). - Restored Renderer.startPageSequence(LineArea) pending discussion about removal. - build.xml: set max VM to 1024MB instead of 2048MB to allow for 32-bit JVMs. - build.xml: restored longer taskdef names. - Restored Checkstyle 4 file for people running older IDEs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985537 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #49403:Jeremias Maerki2010-06-251-5/+8
|/ | | | | | | | | Initial support for PDF Separation color spaces (aka spot colors). This is still unfinished but produces valid PDF with Separation colors in simple cases. Based on work by: Patrick Jaromin <Patrick.at.Jaromin.com> Note: PDFColor is broken right now, as I'm planning to phase that class out. Squeezing separation colors and what else comes later into that class isn't such a good idea IMO. Instead, PDFColorHandler tries to do all that in a better way based on the new color support classes from XGC. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Color@957913 13f79535-47bb-0310-9956-ffa450edef68
* Renamed some variables and methods for consistency.Vincent Hennebert2009-10-211-23/+30
| | | | | | | | Improved javadocs. Code clean-up and simplification. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@828038 13f79535-47bb-0310-9956-ffa450edef68
* Merged changes from Trunk up to revision 824832Vincent Hennebert2009-10-131-4/+4
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824839 13f79535-47bb-0310-9956-ffa450edef68
| * Some javadoc fixes: @code -> @linkJeremias Maerki2009-10-011-4/+4
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@820672 13f79535-47bb-0310-9956-ffa450edef68
* | Bugfix: render all background images as artifactsVincent Hennebert2009-10-131-10/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824808 13f79535-47bb-0310-9956-ffa450edef68
* | Implemented accessibility in PDFRendererVincent Hennebert2009-10-121-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824441 13f79535-47bb-0310-9956-ffa450edef68
* | Switched parameters of separateTextElements and beginTextObjectAccess, for ↵Vincent Hennebert2009-10-121-6/+6
| | | | | | | | | | | | consistency with saveGraphicsState and beginMarkedContentSequence git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@824439 13f79535-47bb-0310-9956-ffa450edef68
* | Bugfix: Previous simplification requires keeping track of whether we are in ↵Jeremias Maerki2009-04-161-6/+11
| | | | | | | | | | | | | | | | a marked content sequence. Removed unused variable accessEnabled in PDFContentGenerator. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765539 13f79535-47bb-0310-9956-ffa450edef68
* | Fixed some bugs concerning marked content generation inside leaders ↵Jeremias Maerki2009-04-161-15/+31
| | | | | | | | | | | | | | | | | | (use-content case). Removed marked content logic from PDFTextUtil and concentrated it in PDFContentGenerator to make Artifact generation more uniform. Not only text generates Artifacts but inside leaders images can also be Artifacts. Some code simplifications. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@765525 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #46705:Jeremias Maerki2009-02-191-2/+92
|/ | | | | | | | | | | | | | | Accessibility and Tagged PDF Support Submitted by: Jost Klopfstein <jost.klopfstein.at.gmail.com> Changes to patch by jeremias: - Some style fixes - Various simplifications - Removal of dead code - Addressed some issues raised in Bugzilla (work in progress) - Fixed a couple of bugs on leader handling detected while testing (an NPE remains in leader_leader-pattern_use-content.xml) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@745949 13f79535-47bb-0310-9956-ffa450edef68
* Performance improvements and file-size reductions by introducing ↵Jeremias Maerki2009-02-051-0/+10
| | | | | | | | | letter-spacing and word-spacing attributes in new IF (as mentioned on fop-dev). Allow to control whether kerning information is loaded from fonts. Started support for AFP font embedding (incomplete and currently disabled) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@741165 13f79535-47bb-0310-9956-ffa450edef68
* Forgot to add link support. First version added now. Generalizing this for ↵Jeremias Maerki2008-12-091-11/+0
| | | | | | | | | the IF is not so easy it seems. Moved document navigation features (bookmarks, links, named destinations) into a separate handler interface that can be optionally implemented by document handler implementations. This will need a bit more work to be complete (parsing for document navigation from IF, cleanup in PDF library etc.). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@724932 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Trunk revisions 719662 - 724689.Jeremias Maerki2008-12-091-6/+6
| | | | | | Conflict for ImageHandler interface resolved by renaming Trunk's ImageHandler to ImageHandlerBase and extending the other ImageHandler from that. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@724729 13f79535-47bb-0310-9956-ffa450edef68
* Added page master name to IFDocumentHandler.startPage() method.Jeremias Maerki2008-11-191-14/+0
| | | | | | | | Wired together the support for out-of-order rendering (only applicable to PDF) when the intermediate format is not used (in-memory rendering). Fixed a logical bug in IFRenderer that caused some unneeded code. Glyph adjustments (kerning, letter/word space...) were not done right. All painters fixed/adjusted accordingly. Started implementation of the PostScript painter: Supports only text and filled rectangles so far. Work in progress... git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@719051 13f79535-47bb-0310-9956-ffa450edef68
* Added support for painting leaders (implemented as drawLine in IFPainter).Jeremias Maerki2008-08-201-0/+14
| | | | | | Removed unused "stroke" parameter in drawRect and renamed the method to fillRect. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@687455 13f79535-47bb-0310-9956-ffa450edef68
* Initial implementation for border painting for the new IF (including support ↵Jeremias Maerki2008-08-141-1/+1
| | | | | | for PDF, but not SVG, yet) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@685827 13f79535-47bb-0310-9956-ffa450edef68
* Fix for kerning (switched to SVG semantics, now working correctly for both ↵Jeremias Maerki2008-08-061-9/+13
| | | | | | | | | SVG and PDF) Introduced a special SVG image handler (the successor to PDFSVGHandler). Fixed placement of patterns and links in SVGs for PDF output (the transformations for viewbox and group were not recorded in the state). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@683364 13f79535-47bb-0310-9956-ffa450edef68
* First steps at unified image handling as proposed on ↵Jeremias Maerki2008-08-051-0/+327
http://wiki.apache.org/xmlgraphics-fop/ImageSupport/ImageHandler. This shall serve as a preview to motivate early feedback if anyone is interested. Basic external-graphic support now available for PDF and SVG painters (for PDF: RenderedImage, SVG, JPEG, CCITT and Java2D, for SVG: embedded SVG and RFC2397 data URLs containing PNG and JPEG images) Change to IFPainter: added support for foreign attributes for the "image" tag. PDFContentGenerator introduced to hold the most important objects for PDF generation (unification for renderer and painter). Re-routed most image handling through the new image handling code (not fully done, yet, some code duplication remains). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@682757 13f79535-47bb-0310-9956-ffa450edef68