aboutsummaryrefslogtreecommitdiffstats
path: root/src/sandbox/org/apache
Commit message (Collapse)AuthorAgeFilesLines
* Merged trunk@1354651Peter Hancock2012-06-298-45/+76
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_RoundedCorners@1355321 13f79535-47bb-0310-9956-ffa450edef68
| * Eliminate javadocs warnings.Glenn Adams2012-06-043-23/+43
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1345838 13f79535-47bb-0310-9956-ffa450edef68
| * enable ImportOrder rule; fix violationsGlenn Adams2012-03-033-11/+15
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296526 13f79535-47bb-0310-9956-ffa450edef68
| * enable UnusedImports rule; fix violationsGlenn Adams2012-03-022-2/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1296496 13f79535-47bb-0310-9956-ffa450edef68
| * apply complex scripts patchGlenn Adams2012-02-262-3/+6
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1293736 13f79535-47bb-0310-9956-ffa450edef68
| * Amended checkstyle errors and return carriagesMehdi Houshmand2012-01-301-0/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237610 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla#52513: Moved FOUserAgent to the constructor of the RenderersMehdi Houshmand2012-01-302-5/+8
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1237582 13f79535-47bb-0310-9956-ffa450edef68
| * Reverted changes made in r1234877, see bugzilla#52513Mehdi Houshmand2012-01-242-8/+5
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1235189 13f79535-47bb-0310-9956-ffa450edef68
| * Moved the FOUserAgent into the constructor of the RenderersMehdi Houshmand2012-01-232-5/+8
| | | | | | | | | | | | | | | | | | | | This breaks the public API but for good reasons: 1) the user-agent is essential for configuring the renderers 2) instantiation of the constructor is always followed by call to "setUserAgent()" (in the examples) 3) simplifies the API and reduces mutability of the Renderers git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1234877 13f79535-47bb-0310-9956-ffa450edef68
| * Another go at removing all trailing whitespaceVincent Hennebert2010-11-251-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1039179 13f79535-47bb-0310-9956-ffa450edef68
| * Reverting renaming of public methods of rev. 1036179Simon Pepping2010-11-191-4/+4
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036809 13f79535-47bb-0310-9956-ffa450edef68
| * Forgot to rename in one clientSimon Pepping2010-11-181-4/+4
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036467 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #49913Peter Hancock2011-06-081-0/+7
| | | | | | | | | | | | | | Minor bug fixes and some cleanup git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_RoundedCorners@1133370 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #49913:Jeremias Maerki2010-09-301-1/+9
|/ | | | | | | | | | | | | | | Initial code drop for support of rounded corners. Submitted by: Peter Hancock <peter.hancock.at.gmail.com> Changes to patch: - Java 1.5 methods eliminated - Some (not all!) Checkstyle violations fixed. - Fixed some excessive and missing whitespace - paintCornersAsBitmap() in AFPPainter was missing a call to ImageSize.calcPixelsFromSize() - Made AT representation of border traits cleaner - Added a TODO for table borders (inner and outer versions) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_RoundedCorners@1003020 13f79535-47bb-0310-9956-ffa450edef68
* Removed many "// CSOK: ConstantName" instances for constants, by converting ↵Jeremias Maerki2010-08-141-7/+1
| | | | | | | | | them to uppercase as they should really be. Fixed some other non-Checkstyle issues on the way, imports mainly. Removed some "log" instances that were not used. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@985571 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #49733:Jeremias Maerki2010-08-1413-193/+138
| | | | | | | | | | | | | | 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
* Moved ResourceEventProducer to org.apache.fopVincent Hennebert2010-04-091-1/+1
| | | | | | | | Renamed event model used by FOPTestEventModelFactory to "event-model.xml" git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@932497 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: font-family values need to be enclosed in apostrophes in case they ↵Jeremias Maerki2010-01-281-1/+1
| | | | | | contain whitespace. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@904170 13f79535-47bb-0310-9956-ffa450edef68
* Merged changes from Trunk up to revision 824832Vincent Hennebert2009-10-132-5/+9
|\ | | | | | | 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-012-2/+4
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@820672 13f79535-47bb-0310-9956-ffa450edef68
| * Added a DocumentHandler implementation for PNG output including multi-file ↵Jeremias Maerki2009-10-011-3/+5
| | | | | | | | | | | | output support. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@820637 13f79535-47bb-0310-9956-ffa450edef68
* | Merged changes from Trunk up to revision 816269Vincent Hennebert2009-09-184-86/+157
|\| | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@816718 13f79535-47bb-0310-9956-ffa450edef68
| * Changed SVG output to produce coordinates in points rather than millipoints. ↵Jeremias Maerki2009-09-174-44/+118
| | | | | | | | | | | | Millipoint coordinates can become quite large and can cause trouble later. This is related to (but not fixing) Bugzilla #47641. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@816116 13f79535-47bb-0310-9956-ffa450edef68
| * Added ability to create single-page SVG 1.1 using a DOMResult or SAXResult.Jeremias Maerki2009-08-041-42/+39
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800697 13f79535-47bb-0310-9956-ffa450edef68
* | Reverted changes for "ptr" to painter interface as announced in #46705. The ↵Jeremias Maerki2009-04-141-5/+4
| | | | | | | | | | | | | | | | | | pointer value is now provided through the IFContext so only the implementations that support it have to deal with it. Also, the method signature changes in the renderers are now reverted. They are not necessary. Found a few other smaller omissions (IFRenderer, IFSerializer) that didn't seem to have been merged properly from Trunk. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Accessibility@764802 13f79535-47bb-0310-9956-ffa450edef68
* | Bugzilla #46705:Jeremias Maerki2009-02-191-4/+6
|/ | | | | | | | | | | | | | | 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
* Fixed copy/paste mistakes.Jeremias Maerki2009-02-162-0/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@744874 13f79535-47bb-0310-9956-ffa450edef68
* Moved area tree example to package embedding/atxml.Jeremias Maerki2009-02-062-12/+0
| | | | | | | | | | | | | | Created a new concatenation example for the new IF in package embedding/intermediate. Exchanged IFRendererMaker with IFSerializerMaker. Removed unused method getConfigurator() from document handler makers. Extracting original nested IFException in IFParser's parse() method. Removed obsolete IFSerializerConfiguration. Now covered by PrintRendererConfigurator. Delegating FontInfo setter calls to mimic handlers in IFSerializer. Fixed a bug in RendererFactory for the case when FOUserAgent.setDocumentHandlerOverride() is used. Added a generic IFDocumentHandler proxy class (IFDocumentHandlerProxy). Added a simple IFConcatenator helper class for simple IF concatenations (experimental). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@741576 13f79535-47bb-0310-9956-ffa450edef68
* Performance improvements and file-size reductions by introducing ↵Jeremias Maerki2009-02-051-4/+8
| | | | | | | | | 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
* Added general support for the fox:conversion-mode inside the new IF.Jeremias Maerki2009-01-111-6/+3
| | | | | | | Cleaned up usage of fox:conversion-mode foreign attribute. Plus additional cleanup. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@733455 13f79535-47bb-0310-9956-ffa450edef68
* Introduced IFContext to provide access to foreign attributes (as discussed ↵Jeremias Maerki2009-01-023-7/+10
| | | | | | | | | | | on fop-dev). Removed the foreign attributes map from the drawImage methods as a consequence. Added support for foreign attributes on the page (PCL's paper-source and duplex-mode extensions). Fixed a couple of bugs parsing the document navigation elements. Build-time test suite now runs through. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@730740 13f79535-47bb-0310-9956-ffa450edef68
* Need to use xml:space="preserve" on text elements in IF and SVG output to ↵Jeremias Maerki2008-12-221-0/+2
| | | | | | avoid problems with editing those files in XML editors and rendering SVG text starting or ending with whitespace. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@728699 13f79535-47bb-0310-9956-ffa450edef68
* Added page master name to IFDocumentHandler.startPage() method.Jeremias Maerki2008-11-192-2/+4
| | | | | | | | 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
* Moved IFState instance variable into AbstractIFPainter as all ↵Jeremias Maerki2008-10-231-26/+0
| | | | | | | | | | | | | | implementations use it. Refactored default image handling methods in AbstractIFPainter a bit to make them more universal. Fixed a small mistake in Java2DImageHandlerRenderedImage. Added configurator code for new PCL implementation. Fixed smaller issues in PCLGenerator. Added support for painting images (e-g and i-f-o) as bitmaps (depends on rev 707329 in XML Graphics Commons). Added support for text with custom fonts to be painted as bitmaps. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@707331 13f79535-47bb-0310-9956-ffa450edef68
* Split IFPainter into IFDocumentHandler and IFPainter. This makes the ↵Jeremias Maerki2008-09-287-644/+755
| | | | | | | | | | implementation classes smaller, better allows to isolate the painting parts and helps with formats that generate one object per page (SVG, PNG etc.). Added ImageHandlerFactory to FopFactory. Started TIFF output in order to develop the Java2DPainter that will be needed for certain tasks when generating PCL. Tweaked the way XML is generated for IF and SVG output. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@699813 13f79535-47bb-0310-9956-ffa450edef68
* Added support for painting leaders (implemented as drawLine in IFPainter).Jeremias Maerki2008-08-201-5/+27
| | | | | | 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
* Had to introduce "clip-rect" to handle clipping on background images, leader ↵Jeremias Maerki2008-08-151-0/+5
| | | | | | etc. A full viewport is probably too heavy-weight here. This is to be considered temporary pending verification with SVG and PCL implementations. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@686253 13f79535-47bb-0310-9956-ffa450edef68
* Some fixes for SVG along the way:Jeremias Maerki2008-08-152-0/+16
| | | | | | | Fix for group nesting. Fix for reused content (metadata etc.) cause exceptions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@686227 13f79535-47bb-0310-9956-ffa450edef68
* Initial implementation for border painting for the new IF (including support ↵Jeremias Maerki2008-08-141-0/+7
| | | | | | 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
* Added document-trailer element to the IF (for example for the bookmark tree).Jeremias Maerki2008-08-131-16/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@685472 13f79535-47bb-0310-9956-ffa450edef68
* Removed obsolete addTarget() method from IFPainter.Jeremias Maerki2008-08-121-7/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@685197 13f79535-47bb-0310-9956-ffa450edef68
* Extracted some often-used XML constants and utility methods into an ↵Jeremias Maerki2008-08-121-9/+2
| | | | | | interface and a class in org.apache.fop.util. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@685137 13f79535-47bb-0310-9956-ffa450edef68
* Implemented foreign-object support for the new intermediate format.Jeremias Maerki2008-08-071-41/+21
| | | | | | Note: foreign namespace are only properly processed if there is an ImagePreloader and, where necessary, one or more supporting ImageConverters and/or ImageHandlers. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@683637 13f79535-47bb-0310-9956-ffa450edef68
* First steps at unified image handling as proposed on ↵Jeremias Maerki2008-08-055-3/+427
| | | | | | | | | | | 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
* Reduce code duplication and make the toString() methods available to the ↵Jeremias Maerki2008-07-281-17/+2
| | | | | | outside (need them for debugging later). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680338 13f79535-47bb-0310-9956-ffa450edef68
* Renamed "box" to "viewport". Introduced "group" for pure reference areas ↵Jeremias Maerki2008-07-282-17/+86
| | | | | | | | | (only transformation, no clipping). "viewport" and "group" are implemented in IFSerializer, SVG and PDF. Some minor problems remain. Fixed a few minor bugs (like NPEs) found while testing. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680266 13f79535-47bb-0310-9956-ffa450edef68
* Merge from Trunk revisions 677589 to 679734.Jeremias Maerki2008-07-2510-41/+41
|\ | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@679781 13f79535-47bb-0310-9956-ffa450edef68
| * Fed up with all those trailing whitespaces. Let's remove them all (once... ↵Vincent Hennebert2008-07-2410-41/+41
| | | | | | | | | | | | and for all?) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679326 13f79535-47bb-0310-9956-ffa450edef68
| * Ensured all SVN properties are set equallyMaximilian Berger2008-02-132-102/+102
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@627367 13f79535-47bb-0310-9956-ffa450edef68
* | Started the IFParser.Jeremias Maerki2008-07-224-0/+24
| | | | | | | | | | | | | | | | Started a PDF painter. Factored out common code to PDFRenderingUtil. Smaller infrastructure changes for the new IF (like MIME type reporting). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@678780 13f79535-47bb-0310-9956-ffa450edef68