aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org
Commit message (Collapse)AuthorAgeFilesLines
* equals implementation violated spec -> replaced with new contentEquals functionMaximilian Berger2009-09-1512-72/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815358 13f79535-47bb-0310-9956-ffa450edef68
* no page index requires no location to satisfy identity junit testMaximilian Berger2009-09-151-3/+11
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815346 13f79535-47bb-0310-9956-ffa450edef68
* removed possible null referenceMaximilian Berger2009-09-151-5/+5
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815330 13f79535-47bb-0310-9956-ffa450edef68
* non-functional stylistic fixesMaximilian Berger2009-09-151-15/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815328 13f79535-47bb-0310-9956-ffa450edef68
* Add safeguards for getter not to return nullMaximilian Berger2009-09-151-11/+31
| | | | | | fixes an NPE with disfunctional links. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815301 13f79535-47bb-0310-9956-ffa450edef68
* Moved the class UnicodeClasses to src/codegen/unicode, so that it isSimon Pepping2009-09-032-354/+24
| | | | | | | | | | | | only built when the classes.xml file is regenerated. Modified the build file accordingly. Restored Java 5 features in UnicodeClasses. Created a License utility class. Added a license statement and a generated file statement to classes.xml. Made GenerateLineBreakUtils.java use the License class, and made it avoid trailing spaces in the generated file. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@810896 13f79535-47bb-0310-9956-ffa450edef68
* Fixed Checkstyle warnings and replaced a java 1.5 classSimon Pepping2009-08-263-14/+20
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808166 13f79535-47bb-0310-9956-ffa450edef68
* Merged back ChangingIPDHack branch into TrunkVincent Hennebert2009-08-2626-816/+1338
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808157 13f79535-47bb-0310-9956-ffa450edef68
* Reverted changes made in revision 796809 (manual merge of clean-up changes ↵Vincent Hennebert2009-08-2616-343/+807
| | | | | | made in the ChangingIPDHack branch). Those changes will be re-applied when merging the branch back to Trunk with svn merge --reintegrate (if everything goes well...) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808135 13f79535-47bb-0310-9956-ffa450edef68
* Removed a commented leftover from local testsAndreas L. Delmelle2009-08-241-1/+0
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@807301 13f79535-47bb-0310-9956-ffa450edef68
* Reduce messages to DEBUG level, since they are meant more as a reminder for ↵Andreas L. Delmelle2009-08-241-2/+2
| | | | | | devs, not a source of confusion for end-users git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@807299 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 46905: Added basic implementation for column-level keeps. Andreas L. Delmelle2009-08-2330-494/+777
| | | | | | | | Also added one disabled-testcase for a remaining issue with page-level keeps in multi-column layout. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@807014 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 46883: fixed a hotspot in the AFP renderer. Reduced time spent in ↵Andreas L. Delmelle2009-08-231-9/+10
| | | | | | the method by introducing a member variable to hold the data-length. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@807010 13f79535-47bb-0310-9956-ffa450edef68
* Revert some changes that were meant to be kept local for the moment...Andreas L. Delmelle2009-08-201-4/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806365 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 47710: White-space handling in retrieved markers throws a ↵Andreas L. Delmelle2009-08-202-1/+19
| | | | | | NullPointerException in some cases. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806361 13f79535-47bb-0310-9956-ffa450edef68
* Fixed checkstyle warningsSimon Pepping2009-08-201-15/+38
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806341 13f79535-47bb-0310-9956-ffa450edef68
* I tried to remove all methods which are not Java 1.4 compliant.Simon Pepping2009-08-201-14/+28
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806291 13f79535-47bb-0310-9956-ffa450edef68
* Prepare for new hyphenation pattern files, which do not have their own ↵Simon Pepping2009-08-185-190/+8137
| | | | | | classes and instead use the default classes in FOP. Modified the build process to a forked java task, in order to be able to set a larger stack size for the compilation of the large number of classes. Added an ant task to generate a new default classes file, to be used with an update of the Unicode Character Database. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@805561 13f79535-47bb-0310-9956-ffa450edef68
* bug fix: 47694 Avoid create IOCA for background on empty areasChris Bowditch2009-08-141-0/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@804268 13f79535-47bb-0310-9956-ffa450edef68
* Renamed PageScaleAttributes class into PageScale.Vincent Hennebert2009-08-124-26/+38
| | | | | | | | | | | Simplified and improved its behaviour: - return null for an empty string - allow for an arbitrary sequence of white spaces between the scales - check that number of arguments is no more than 2 - other small improvements git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@803440 13f79535-47bb-0310-9956-ffa450edef68
* Fixed issues in PageBoundaries class:Vincent Hennebert2009-08-101-26/+36
| | | | | | | | | | | | | - typos in method name and documentation - unnecessary conversions from double to int - a single space between values of bleed and crop-offset is too restrictive; changed into a sequence of white space characters Cleanup and improvements of prepress tests: - split PrepressTest class into two separate PageScaleTest and PageBoundariesTest test cases - moved newly created test cases into prepress sub-package - re-organized tests and made them more complete git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@802752 13f79535-47bb-0310-9956-ffa450edef68
* added support for IMM Extension on fo:simple-page-master element in the AFP ↵Chris Bowditch2009-08-043-28/+74
| | | | | | Renderer git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800852 13f79535-47bb-0310-9956-ffa450edef68
* What we thought were cubic curves in GOCA, were actually just quadratic ↵Jeremias Maerki2009-08-042-8/+150
| | | | | | ones. This changes tries to approximate cubic Bézier curves with the quadratic fillets available in GOCA. This should improve vector graphic quality in certain cases. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800695 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #47311:Jeremias Maerki2009-08-034-117/+130
| | | | | | | | Fixed typos. Bugfix: when crop-offset wasn't specified, but bleed was, the media box was wrong. Tried to fix encapsulation problem mentioned by Vincent. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800401 13f79535-47bb-0310-9956-ffa450edef68
* Fixed problem with raster font substitution when there's no smaller font ↵Jeremias Maerki2009-08-031-3/+7
| | | | | | available. This avoids an exception. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800229 13f79535-47bb-0310-9956-ffa450edef68
* Reverted rev 798521.Jeremias Maerki2009-08-032-16/+15
| | | | | | Reason: Loss of accuracy. PDF is operating at points rather than millipoints. Especially when it comes to prepress features people will want exact sizes in the target PDFs. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800217 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #47311:Jeremias Maerki2009-08-026-20/+383
| | | | | | | | | | | | | | | | Added an initial set of extensions for prepress support (fox:bleed, fox:crop-offset, fox:crop-box and fox:scale). This is currently supported only by PDF and Java2D renderers. Submitted by: Peter Coppens <pc.subscriptions.at.gmail.com> Changes to patch by jeremias: - crop box expands from trim box rather than the bleed box. - fixed positioning in AWT preview Additional changes included: - disabled the border around every page in Java2DRenderer. - if background painting is enabled for the Java2DRenderer, it uses the bleed box rather than the trim box. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800142 13f79535-47bb-0310-9956-ffa450edef68
* Reverted changes in rev 797899 (but xgc.jar updated rather than reverted)Jeremias Maerki2009-08-022-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800133 13f79535-47bb-0310-9956-ffa450edef68
* Also use Rectangle instead of Rectangle2D for page boxes in the PDF libraryVincent Hennebert2009-07-282-15/+16
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798521 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla #47311:Jeremias Maerki2009-07-288-63/+92
| | | | | | | | | | | | | | Preparations in PDF library for bleed, trim and crop boxes. Submitted by: Peter Coppens <pc.subscriptions.at.gmail.com> Page view area changed from Rectangle2D to Rectangle where possible. Submitted by: Vincent Hennebert <vhennebert.at.apache.org> (Patch in Bugzilla only partially applied. Changes discussed with the properties not included, yet) git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798511 13f79535-47bb-0310-9956-ffa450edef68
* PCL Output: Added support for specifying the output bin (pcl:output-bin ↵Jeremias Maerki2009-07-284-0/+29
| | | | | | extension, same way pcl:paper-source works). git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798417 13f79535-47bb-0310-9956-ffa450edef68
* Added A5 format.Jeremias Maerki2009-07-281-0/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798415 13f79535-47bb-0310-9956-ffa450edef68
* Added support for AFP font embedding. Note: this changes the default ↵Jeremias Maerki2009-07-2716-72/+395
| | | | | | | | | | behaviour. Like with PDF and PS, all fonts are embedded by default unless matched in the "referenced-fonts" section in the configuration. Added support for embedding external AFP form maps (form defs) using the afp:include-form-map extension. Fixed a small problem with AFP-related events. DefaultFOPResourceAccessor got a fallback to the user agent's base URI if no category base URI is specified. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798207 13f79535-47bb-0310-9956-ffa450edef68
* Fixes GUMP build problems, the automated e-mail was starting to annoy so I ↵Adrian Cumiskey2009-07-262-2/+2
| | | | | | | | | | scratched an itch :). * Updated xmlgraphics-commons to trunk version. * Fixed ImageRendered constructor call in PDFGraphics2D and AFPGraphics2D to be compatible with the new parameter that has been added in xmlgraphics-commons. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@797899 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: if an incomplete GoTo action has already been recorded for a given ↵Vincent Hennebert2009-07-231-7/+12
| | | | | | ID, there's no need to re-create and store another one git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@797142 13f79535-47bb-0310-9956-ffa450edef68
* Merged clean-up-only changes made in the ChangingIPDHack branch. Those ↵Vincent Hennebert2009-07-2216-807/+344
| | | | | | | | | | | | | | correspond to the following revision numbers: 785291 785632 787733 787769 788371 793645 git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@796809 13f79535-47bb-0310-9956-ffa450edef68
* Bugzilla 47508: Fix error while writing TLE's attribute qualifier in the ↵Andreas L. Delmelle2009-07-101-2/+2
| | | | | | output. Thanks to Bharat Attaluri. git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@793095 13f79535-47bb-0310-9956-ffa450edef68
* Bugfix: support justified text in AFP Renderer (already working in AFP Painter)Chris Bowditch2009-07-103-9/+102
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@792873 13f79535-47bb-0310-9956-ffa450edef68
* Undid change related to column-keepsAndreas L. Delmelle2009-07-091-2/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@792411 13f79535-47bb-0310-9956-ffa450edef68
* Changed explicit check to assertAndreas L. Delmelle2009-07-091-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@792410 13f79535-47bb-0310-9956-ffa450edef68
* Fixed minor code indentation issuesVincent Hennebert2009-07-071-7/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791894 13f79535-47bb-0310-9956-ffa450edef68
* bug fix: fractional points sizes in AFP not working correctly together with ↵Chris Bowditch2009-07-076-50/+157
| | | | | | fo:inline git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791781 13f79535-47bb-0310-9956-ffa450edef68
* Undid change related to column-keepsAndreas L. Delmelle2009-07-041-7/+1
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791155 13f79535-47bb-0310-9956-ffa450edef68
* Further cleanup/readability improvementsAndreas L. Delmelle2009-07-042-57/+58
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791153 13f79535-47bb-0310-9956-ffa450edef68
* Added reminder to check later on...Andreas L. Delmelle2009-07-031-1/+4
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@791012 13f79535-47bb-0310-9956-ffa450edef68
* Further cleanup/readability improvementsAndreas L. Delmelle2009-07-013-56/+93
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@790166 13f79535-47bb-0310-9956-ffa450edef68
* Some cleanups and attempts at improving code-readability and -extensibility:Andreas L. Delmelle2009-07-014-293/+521
| | | | | | | | | | | * added inner holder class to BreakingAlgorithm to contain everything related to the fitness classes. Improves readability of both the code and the trace messages. * extracted blocks of code in BreakingAlgorithm.findBreakingPoints() into protected methods. Following the already existing handleBox(), added handleGlueAt() and handlePenaltyAt() to provide extension points to subclasses. Extraction of the code-blocks related to the node-recovery mechanism. * extracted blocks of code in BreakingAlgorithm.considerLegalBreak() into protected methods: deactivateNode(), activateNode() and forceNode() * factored the functionality to obtain the index of the first box into KnuthSequence... just seemed to make sense; may be useful elsewhere. * some (but not all :() javadoc fixups * minor changes to LineLayoutManager and PageBreakingAlgorithm to take into account above changes git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@790142 13f79535-47bb-0310-9956-ffa450edef68
* bug fix: make sure CropBox is honoured in SVG when overflow="hidden"Chris Bowditch2009-06-251-6/+6
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@788278 13f79535-47bb-0310-9956-ffa450edef68
* Added generics comments.Adrian Cumiskey2009-06-231-1/+2
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@787668 13f79535-47bb-0310-9956-ffa450edef68
* Added generics comments.Adrian Cumiskey2009-06-231-3/+3
| | | | git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@787667 13f79535-47bb-0310-9956-ffa450edef68