aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache
Commit message (Collapse)AuthorAgeFilesLines
...
* Reverted revision 670341 and replaced it with a different solution as discussed:Jeremias Maerki2008-07-2810-49/+55
| | | | | | | | addCharacters() is now deprecated and called by the new characters() method which uses start/length instead of start/end. Fixed bugs in the AFP and PS extensions (ArrayIndexOutOfBoundsExceptions). They were not properly changed when the interface changed. Discussion: http://markmail.org/message/pdgzf6odxrnhflby git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@680378 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #45470:Jeremias Maerki2008-07-281-34/+42
| | | | | | Added LayoutManagerMapping.registerMaker() to make registration of custom layout managers easier. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@680369 13f79535-47bb-0310-9956-ffa450edef68
* Fed up with all those trailing whitespaces. Let's remove them all (once... ↵Vincent Hennebert2008-07-24916-8178/+8178
| | | | | | and for all?) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@679326 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
* 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-161-2/+13
| | | | | | 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
* 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
* 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-091-1/+23
| | | | | | 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
* 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-071-3/+45
| | | | 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
* Fixed error; inadvertently switched the condition with r674272...Andreas L. Delmelle2008-07-061-1/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674325 13f79535-47bb-0310-9956-ffa450edef68
* Extracted conversion methods for String to int[] or double[] to a utility class.Andreas L. Delmelle2008-07-062-48/+130
| | | | | | | Made AreaTreeParser.getAttributeAsXXX() methods static to stress their utility character, and removed the private parseRect() in favor of getAttributeAsRectangle2D(). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674276 13f79535-47bb-0310-9956-ffa450edef68
* Simplified implementation of Area.getTraitAsBoolean()Andreas L. Delmelle2008-07-061-7/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674273 13f79535-47bb-0310-9956-ffa450edef68
* Redo changes made in r674056...Andreas L. Delmelle2008-07-061-27/+35
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674272 13f79535-47bb-0310-9956-ffa450edef68
* Remove deprecated Character area classAndreas L. Delmelle2008-07-063-136/+34
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674269 13f79535-47bb-0310-9956-ffa450edef68
* Switch AreaTreeParser to use a java.nio.CharBuffer, and ignore characters ↵Andreas L. Delmelle2008-07-061-29/+64
| | | | | | events for all elements other than <word>, <space> or <character> git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674267 13f79535-47bb-0310-9956-ffa450edef68
* Fixed ClassCastException when specifying column-number on something other ↵Andreas L. Delmelle2008-07-051-49/+65
| | | | | | than a fo:table-column or fo:table-cell... git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674245 13f79535-47bb-0310-9956-ffa450edef68
* Replaced conditional with a switch and capitalized method javadoc description.Adrian Cumiskey2008-07-041-11/+12
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674065 13f79535-47bb-0310-9956-ffa450edef68
* * Some minor optimizations in AbstractRenderer.Adrian Cumiskey2008-07-043-34/+43
| | | | | | | * Renamed getBooleanTrait() to getTraitAsBoolean() in Area. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674056 13f79535-47bb-0310-9956-ffa450edef68
* The pdf StringBuffer is only used on these two lines and doesn't seem to do ↵Adrian Cumiskey2008-07-041-3/+0
| | | | | | | | | anything... Very strange... :-S git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674043 13f79535-47bb-0310-9956-ffa450edef68
* Minor readability improvement.Adrian Cumiskey2008-07-041-1/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674039 13f79535-47bb-0310-9956-ffa450edef68