aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Reduce code duplication and make the toString() methods available to the ↵Jeremias Maerki2008-07-283-40/+41
| | | | | | 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
* Dealt with some double formatting issues (coordinate round-trips).Jeremias Maerki2008-07-285-53/+89
| | | | | | Extracted the DecimalFormat cache from PDFNumber into a separate utility class to avoid code duplication. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@680282 13f79535-47bb-0310-9956-ffa450edef68
* Renamed "box" to "viewport". Introduced "group" for pure reference areas ↵Jeremias Maerki2008-07-2813-83/+393
| | | | | | | | | (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-25933-8246/+8341
|\ | | | | | | 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-24929-8237/+8237
| | | | | | | | | | | | and for all?) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679326 13f79535-47bb-0310-9956-ffa450edef68
| * Only update the generated files if any source file is newer than the ↵Jeremias Maerki2008-07-232-13/+28
| | | | | | | | | | | | generated ones. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679164 13f79535-47bb-0310-9956-ffa450edef68
| * My bad.. copy paste error I introduced which broke forrest.Adrian Cumiskey2008-07-231-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679060 13f79535-47bb-0310-9956-ffa450edef68
| * Minor optimization.Adrian Cumiskey2008-07-231-2/+2
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679044 13f79535-47bb-0310-9956-ffa450edef68
| * Lets free a little memory in every BlockParent :).. Commented out the ↵Adrian Cumiskey2008-07-221-1/+1
| | | | | | | | | | | | unused private member variable 'orientation'. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@678730 13f79535-47bb-0310-9956-ffa450edef68
| * Hacked CommandLineOptions so that it accepts '-' as a specification of ↵Vincent Hennebert2008-07-221-36/+54
| | | | | | | | | | | | | | | | | | | | stdin/stdout. Made it work also when infile is specified without any option ('fop - -pdf res.pdf') TODO Investigate the adoption of Apache Commons CLI git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@678699 13f79535-47bb-0310-9956-ffa450edef68
| * Desynchronized createFontKey() and removed single use of static ↵Adrian Cumiskey2008-07-221-5/+5
| | | | | | | | | | | | TRIPLETS_TYPE in fontLookup() following a suggestion by Jeremias Ingo Maas' threading issue (http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200807.mbox/%3C000a01c8eb4b$42166e60$a701010a@ebp01422%3E). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@678691 13f79535-47bb-0310-9956-ffa450edef68
| * Renamed fname to more correct name fontKey.Adrian Cumiskey2008-07-211-5/+5
| | | | | | | | | | | | | | Made createFontKey() in FontInfo synchronized which should hopefully fix Ingo Maas's threading problem (http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200807.mbox/%3C000a01c8eb4b$42166e60$a701010a@ebp01422%3E). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@678477 13f79535-47bb-0310-9956-ffa450edef68
| * Removed unnecessary storing of byte[] nameBytesAdrian Cumiskey2008-07-181-55/+39
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677973 13f79535-47bb-0310-9956-ffa450edef68
| * Ok, I am much happier with this fix now, it doesn't feel like a temporary ↵Adrian Cumiskey2008-07-182-38/+39
| | | | | | | | | | | | | | | | | | hack anymore :). I have revised the fontLookup() algorithm in FontInfo so it now first tries to find matching font triplets by iterating over all the font family names *without substitutions*, if this fails it then iterates over all the font family names looking for matching font triplets *with substitutions* rather then just take the last one in the font family name list with substitutions. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677863 13f79535-47bb-0310-9956-ffa450edef68
| * I'm not really happy with this workaround, it is a bit of a hack (as Symbol ↵Adrian Cumiskey2008-07-171-0/+16
| | | | | | | | | | | | and ZapfDingbats are not available) but it does prevent the IllegalArgumentException from being thrown. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677679 13f79535-47bb-0310-9956-ffa450edef68
| * Undoing this change for now until a better fix can be found as it breaks 4 ↵Adrian Cumiskey2008-07-171-1/+1
| | | | | | | | | | | | unit tests. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677668 13f79535-47bb-0310-9956-ffa450edef68
| * Unused imports.Adrian Cumiskey2008-07-171-10/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677652 13f79535-47bb-0310-9956-ffa450edef68
| * Moved font setup stuff from setupFontInfo() in AFPRenderer and delegated ↵Adrian Cumiskey2008-07-172-47/+120
| | | | | | | | | | | | this stuff to an AFPFontCollection class. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677651 13f79535-47bb-0310-9956-ffa450edef68
| * An optimization and improved readability of fontLookup() call.Adrian Cumiskey2008-07-171-4/+7
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677650 13f79535-47bb-0310-9956-ffa450edef68
| * A minor optimization.Adrian Cumiskey2008-07-171-2/+6
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677649 13f79535-47bb-0310-9956-ffa450edef68
| * ZapfDingbats and Symbol is not always available on the AFPRenderer so we ↵Adrian Cumiskey2008-07-171-1/+1
| | | | | | | | | | | | can't have these as default font family properties unfortunately. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677648 13f79535-47bb-0310-9956-ffa450edef68
* | Improved/fixed font setup for painters. Reduced the whole thing to pass in a ↵Jeremias Maerki2008-07-2310-95/+120
| | | | | | | | | | | | | | | | | | | | fully set-up FontInfo object to reduce dependencies on the font package to the necessary. Fixed problem with some JAXP implementations for "lastProprties" in IFParser. Support for XMP parsing added in IFParser. Added round-trip testing for new IF. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@679047 13f79535-47bb-0310-9956-ffa450edef68
* | Started the IFParser.Jeremias Maerki2008-07-2222-516/+2263
| | | | | | | | | | | | | | | | 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
* | Merge from Trunk up to revision 677588.Jeremias Maerki2008-07-1722-302/+402
|\| | | | | | | | | | | Switched from svnmerge to SVN 1.5 merge tracking manually for this branch only. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AreaTreeNewDesign@677594 13f79535-47bb-0310-9956-ffa450edef68
| * fonts package must not depend on the render package. Refactored to restore ↵Jeremias Maerki2008-07-176-116/+98
| | | | | | | | | | | | that rule. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677543 13f79535-47bb-0310-9956-ffa450edef68
| * Removed stray System.out.Jeremias Maerki2008-07-161-1/+0
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677405 13f79535-47bb-0310-9956-ffa450edef68
| * Worked around a bug in Xalan 2.4.0 (bundled with Sun Java 1.4.2_xx) where ↵Jeremias Maerki2008-07-162-23/+45
| | | | | | | | | | | | file URLs like file:/C:/.... got converted to file:\C:\.... on Windows causing a FileNotFoundException. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@677404 13f79535-47bb-0310-9956-ffa450edef68
| * A nit: clarify message so its more meaningful to end userChris Bowditch2008-07-141-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@676608 13f79535-47bb-0310-9956-ffa450edef68
| * Another attempt at avoiding build issues (?)Andreas L. Delmelle2008-07-131-3/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@676397 13f79535-47bb-0310-9956-ffa450edef68
| * null is not correct here, an empty String needs to be used for the default ↵Jeremias Maerki2008-07-133-43/+43
| | | | | | | | | | | | namespace. Saxon 9 fails with a NullPointerException otherwise. Xalan is more tolerant. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@676307 13f79535-47bb-0310-9956-ffa450edef68
| * Replace occurrences of File.toURL() by File.toURI().toURL() (recommended as ↵Andreas L. Delmelle2008-07-1310-27/+27
| | | | | | | | | | | | of Java 6, where File.toURL() is deprecated) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@676297 13f79535-47bb-0310-9956-ffa450edef68
| * Attempt to fix a potential build problem.Jeremias Maerki2008-07-121-8/+9
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@676161 13f79535-47bb-0310-9956-ffa450edef68
| * Check the result of mkdirs() to see if the target directory could be created.Jeremias Maerki2008-07-111-14/+18
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675845 13f79535-47bb-0310-9956-ffa450edef68
| * Added support for piping:Jeremias Maerki2008-07-103-71/+163
| | | | | | | | | | | | | | | | | | | | - input from stdin (-imagein not supported) - output to stdout Syntax: fop -xml # -xsl mystylesheet.xsl -pdf # (reads the XML from stdin and sends the generated PDF to stdout) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675698 13f79535-47bb-0310-9956-ffa450edef68
| * Beware! An evil tab character! But it's been eliminated. ;-)Jeremias Maerki2008-07-101-17/+17
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675604 13f79535-47bb-0310-9956-ffa450edef68
| * Bugzilla #45369: footnotes were rendered at the top of the region-body when ↵Vincent Hennebert2008-07-102-17/+15
| | | | | | | | | | | | using the intermediate format git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675590 13f79535-47bb-0310-9956-ffa450edef68
| * Duplicated operation scaleX and scaleY replaced simply with scale.Adrian Cumiskey2008-07-101-17/+13
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675501 13f79535-47bb-0310-9956-ffa450edef68
| * Whoops.. default value should be true :).Adrian Cumiskey2008-07-091-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675258 13f79535-47bb-0310-9956-ffa450edef68
| * Added throwexceptions attribute to FOP ant task. This works around the ↵Adrian Cumiskey2008-07-092-1/+28
| | | | | | | | | | | | problem with executing examples/fo/build.xml. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675253 13f79535-47bb-0310-9956-ffa450edef68
| * Minor javadoc cleanup.Adrian Cumiskey2008-07-091-20/+7
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@675231 13f79535-47bb-0310-9956-ffa450edef68
| * One more minor update.Clay Leeds2008-07-071-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674602 13f79535-47bb-0310-9956-ffa450edef68
| * updated info.Clay Leeds2008-07-071-1/+1
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674599 13f79535-47bb-0310-9956-ffa450edef68
| * Correct indentationAndreas L. Delmelle2008-07-071-13/+13
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674540 13f79535-47bb-0310-9956-ffa450edef68
| * Fixing absolute positioning of block-containers: bottom and right distances ↵Luca Furini2008-07-071-0/+9
| | | | | | | | | | | | were not taken into account git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674489 13f79535-47bb-0310-9956-ffa450edef68
| * Refactored this class, moving much of its behaviour to the base ↵Adrian Cumiskey2008-07-071-164/+5
| | | | | | | | | | | | AbstractXMLRenderer class. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674487 13f79535-47bb-0310-9956-ffa450edef68
| * Cleaned up some javadocs.Adrian Cumiskey2008-07-071-7/+12
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674486 13f79535-47bb-0310-9956-ffa450edef68
| * Added new AbstractXMLRenderer base class.Adrian Cumiskey2008-07-071-0/+263
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674484 13f79535-47bb-0310-9956-ffa450edef68
| * Added PDF encryption parameter support in configuration.Adrian Cumiskey2008-07-072-3/+66
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674471 13f79535-47bb-0310-9956-ffa450edef68
| * Added new set accessor method for EncryptionParams.Adrian Cumiskey2008-07-071-0/+8
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674470 13f79535-47bb-0310-9956-ffa450edef68
| * Possible NullPointerException avoidedAdrian Cumiskey2008-07-071-3/+3
| | | | | | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674468 13f79535-47bb-0310-9956-ffa450edef68