Maximilian Berger
1097615c51
Added Checkstyle 5 config file (just ported from checkstyle-4.0.xml)
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815384 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 16:17:59 +00:00
Maximilian Berger
50e993d6d4
Fixed SVN Props
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815383 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 16:15:11 +00:00
Maximilian Berger
482b874cec
equals implementation violated spec -> replaced with new contentEquals function
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815358 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 15:07:51 +00:00
Maximilian Berger
a164040a67
no page index requires no location to satisfy identity junit test
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815346 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 14:35:28 +00:00
Maximilian Berger
98060eef9d
removed possible null reference
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815330 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 14:02:48 +00:00
Maximilian Berger
c5cd099975
non-functional stylistic fixes
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815328 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 13:53:09 +00:00
Maximilian Berger
0a0a566c5d
Add safeguards for getter not to return null
...
fixes an NPE with disfunctional links.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@815301 13f79535-47bb-0310-9956-ffa450edef68
2009-09-15 12:50:47 +00:00
Simon Pepping
d5911c9e9a
Moved the class UnicodeClasses to src/codegen/unicode, so that it is
...
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
2009-09-03 11:36:02 +00:00
Jeremias Maerki
7389ef5a0f
There an easier way to throw exceptions from certain event otherwise not causing an exception.
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@810792 13f79535-47bb-0310-9956-ffa450edef68
2009-09-03 07:24:43 +00:00
Vincent Hennebert
1e062c6c0f
Forgot to update status file in rev. 808157
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@809988 13f79535-47bb-0310-9956-ffa450edef68
2009-09-01 11:55:48 +00:00
Simon Pepping
4bd1866092
Fixed Checkstyle warnings and replaced a java 1.5 class
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808166 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 20:00:24 +00:00
Vincent Hennebert
bcfda76c15
Merged back ChangingIPDHack branch into Trunk
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808157 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 18:50:10 +00:00
Vincent Hennebert
9520407736
Reverted changes made in revision 796809 (manual merge of clean-up changes 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
2009-08-26 17:42:11 +00:00
Andreas L. Delmelle
ccc743d929
Fixed some oversights: fo:title was already implemented long ago, fo:wrapper works correctly as of trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@808081 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 16:08:01 +00:00
Maximilian Berger
4201d1086d
declaration and icc-profile have been supported for a while now
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@807547 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 10:42:37 +00:00
Andreas L. Delmelle
ac01d144b8
Removed a commented leftover from local tests
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@807301 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 16:34:38 +00:00
Andreas L. Delmelle
a8c7344b38
Reduce messages to DEBUG level, since they are meant more as a reminder for 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
2009-08-24 16:32:49 +00:00
Andreas L. Delmelle
a6b2b2e4b9
Bugzilla 46905: Added basic implementation for column-level keeps.
...
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
2009-08-23 20:27:48 +00:00
Andreas L. Delmelle
6f8f642694
Bugzilla 46883: fixed a hotspot in the AFP renderer. Reduced time spent in 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
2009-08-23 19:57:48 +00:00
Andreas L. Delmelle
5355a5c8a4
Revert some changes that were meant to be kept local for the moment...
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806365 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 21:21:43 +00:00
Andreas L. Delmelle
b0ece6c49d
Bugzilla 47710: White-space handling in retrieved markers throws a NullPointerException in some cases.
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806361 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 21:15:52 +00:00
Simon Pepping
fddf572a55
Fixed checkstyle warnings
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806341 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 20:32:32 +00:00
Simon Pepping
c36d7815bb
I tried to remove all methods which are not Java 1.4 compliant.
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@806291 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 18:27:47 +00:00
Simon Pepping
40b065f458
Prepare for new hyphenation pattern files, which do not have their own 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
2009-08-18 20:05:01 +00:00
Chris Bowditch
c2b8346e6c
bug fix: 47694 Avoid create IOCA for background on empty areas
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@804268 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 15:46:05 +00:00
Vincent Hennebert
13c85d5622
Added tests for 2, 3, 4 values specified in the page boundaries properties.
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@804159 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 10:44:29 +00:00
Vincent Hennebert
40af8ffb2a
Renamed PageScaleAttributes class into PageScale.
...
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
2009-08-12 10:46:39 +00:00
Vincent Hennebert
cd6bbe2084
Fixed issues in PageBoundaries class:
...
- 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
2009-08-10 11:16:45 +00:00
Vincent Hennebert
b0df5eb81b
Fixed and improved documentation about prepress extensions:
...
- AFAIU all of them have been implemented in both the PDF and Java2D renderers
- the default value of crop-offset is bleed
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@801130 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 11:07:18 +00:00
Chris Bowditch
5ab295cc5a
added support for IMM Extension on fo:simple-page-master element in the AFP Renderer
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800852 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 15:44:16 +00:00
Jeremias Maerki
ee23221821
Added ability to create single-page SVG 1.1 using a DOMResult or SAXResult.
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800697 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 08:12:18 +00:00
Jeremias Maerki
67934b05e5
What we thought were cubic curves in GOCA, were actually just quadratic 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
2009-08-04 08:10:43 +00:00
Jeremias Maerki
837d5f3d51
Bugzilla #47311 :
...
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
2009-08-03 14:25:41 +00:00
Vincent Hennebert
1364615701
The javadocs task needs more memory.
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800312 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 11:34:32 +00:00
Jeremias Maerki
6e5e209265
Fixed problem with raster font substitution when there's no smaller font available. This avoids an exception.
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800229 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 07:25:00 +00:00
Jeremias Maerki
5f8f50a231
Reverted rev 798521.
...
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
2009-08-03 06:43:45 +00:00
Jeremias Maerki
44cef15e6f
Demo file for bleed and crop marks.
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800143 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 19:43:19 +00:00
Jeremias Maerki
cc32c1fab6
Bugzilla #47311 :
...
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
2009-08-02 19:41:37 +00:00
Jeremias Maerki
cdd66d9c22
Reverted changes in rev 797899 (but xgc.jar updated rather than reverted)
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@800133 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 19:13:26 +00:00
Vincent Hennebert
ba8c6840fb
Also use Rectangle instead of Rectangle2D for page boxes in the PDF library
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798521 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 13:45:56 +00:00
Jeremias Maerki
a699c1f062
Bugzilla #47311 :
...
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
2009-07-28 12:53:58 +00:00
Jeremias Maerki
ddee8ae8d2
AFPEventProducer was moved months ago but this file not adjusted. That cause an IllegalStateException: Event model doesn't contain the definition for org.apache.fop.afp.AFPEventProducer
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798490 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 11:40:30 +00:00
Jeremias Maerki
4b2c6579ff
PCL Output: Added support for specifying the output bin (pcl:output-bin 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
2009-07-28 06:41:49 +00:00
Jeremias Maerki
f2ab7b6c0a
Added A5 format.
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@798415 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 06:21:50 +00:00
Jeremias Maerki
a11874283e
Added support for AFP font embedding. Note: this changes the default 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
2009-07-27 16:33:01 +00:00
Adrian Cumiskey
c29f2ba1ec
Fixes GUMP build problems, the automated e-mail was starting to annoy so I 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
2009-07-26 10:13:37 +00:00
Vincent Hennebert
ab339a952b
Bugfix: if an incomplete GoTo action has already been recorded for a given 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
2009-07-23 16:40:04 +00:00
Vincent Hennebert
d3302f39bd
Merged clean-up-only changes made in the ChangingIPDHack branch. Those 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
2009-07-22 17:43:38 +00:00
Andreas L. Delmelle
16ae24e8a3
Bugzilla 47508: Fix error while writing TLE's attribute qualifier in the output. Thanks to Bharat Attaluri.
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@793095 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 19:57:52 +00:00
Chris Bowditch
37f5573e66
Bugfix: support justified text in AFP Renderer (already working in AFP Painter)
...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@792873 13f79535-47bb-0310-9956-ffa450edef68
2009-07-10 10:32:23 +00:00