Commit Graph

5838 Commits

Author SHA1 Message Date
Andreas L. Delmelle
2c8c8c837c Code style: single class imports only...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@652674 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 21:39:17 +00:00
Andreas L. Delmelle
1363d64956 First steps towards fo:retrieve-table-marker
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@652673 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 21:34:19 +00:00
Jeremias Maerki
3d594ae70c DSC = Document Structuring Conventions!
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@652582 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 17:16:57 +00:00
Jeremias Maerki
a58560c014 Website fixes.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@652581 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 17:15:49 +00:00
Andreas L. Delmelle
c5bc9c6571 Javadoc corrections
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@652565 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 16:15:44 +00:00
Adrian Cumiskey
256567a245 Forgot about dependency on PrintRenderer, last commit broke the build - will commit this rename later.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@652525 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 14:01:54 +00:00
Adrian Cumiskey
003e8e389c Renamed variable
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@652520 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 13:46:21 +00:00
Andreas L. Delmelle
292760ece2 Minor cleanup: remove height/width members and unused getHeight()/getWidth() accessors
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@652467 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 10:01:51 +00:00
Andreas L. Delmelle
2063c29973 Added enum "none" as a legitimate value for max-height/min-height (behavior to be checked)
Added small testcase to check the correspondence mapping.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@652465 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 09:52:24 +00:00
Andreas L. Delmelle
99d913e85d Tweak: activate max-height/min-height and max-width/min-width
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@652456 13f79535-47bb-0310-9956-ffa450edef68
2008-05-01 09:16:05 +00:00
Andreas L. Delmelle
7dc0ea558a Correction of r651866
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651898 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 08:18:31 +00:00
Clay Leeds
9a236f8501 Updated to include dev (0.95beta) release.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651880 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 03:27:39 +00:00
Andreas L. Delmelle
d8494c1892 Minor refactoring: consolidate getPSLM().notifyEndOfLayout(fobj.getId()) in AbstractLayoutManager.notifyEndOfLayout()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651867 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 23:07:51 +00:00
Andreas L. Delmelle
ac29c8eee2 Javadoc updates: attempt at improving interactivity and consistency
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651866 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 22:08:10 +00:00
Andreas L. Delmelle
83d3be0ad9 Basic activation on some widely used properties (prepare for implementation)
+ javadoc updates


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651856 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 20:21:44 +00:00
Andreas L. Delmelle
a5c9618411 Basic activation of keep-* properties on Character and AbstractGraphics
+ javadoc updates


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651855 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 20:19:59 +00:00
Andreas L. Delmelle
5b92a2b32f Bugzilla 44203:
Fixed a logic error in Hyphenator.java where an UnsupportedOperationException was erroneously thrown if the supplied source had an associated InputStream.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651853 13f79535-47bb-0310-9956-ffa450edef68
2008-04-26 20:06:04 +00:00
Jeremias Maerki
46ddb807a2 Restored Java 1.4 compatibility (Boolean.parseBoolean() is a Java 5 method).
Simplified the ExternalLink's string representation to follow the pattern used by Trait.Background.
Added a check to test for the effect of the show-destination property.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651623 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 15:03:17 +00:00
Adrian Cumiskey
417f880fb9 Renamed method.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651622 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 14:59:49 +00:00
Andreas L. Delmelle
7b7345085e Added missing file from r651575
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651613 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 14:13:08 +00:00
Jeremias Maerki
2647dfd93f Update for advanced keeps.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651591 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 12:31:44 +00:00
Andreas L. Delmelle
0aef8c3193 Correction: remove unfinished sentence...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651577 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 11:37:11 +00:00
Andreas L. Delmelle
6a5f719385 Bugzilla 44634: Added partial implementation for show-destination.
Only works for PDF output, when the PDF is opened in a standalone viewer, and for links that point to destinations in another PDF document.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651575 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 11:27:19 +00:00
Jeremias Maerki
c47f87ac1b Second part of the implementation of stage 1 for advanced keeps (see Wiki): Integer values are treated differently from "always" values in keep-with-next/previous.within-column for all block-level FOs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651558 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 10:07:58 +00:00
Andreas L. Delmelle
69f2bb15e9 Cleanup: removal of commented block/methods + some javadoc updates
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651551 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 09:30:09 +00:00
Adrian Cumiskey
09abeb4758 Removed the tab characters that were causing a big moan from eclipse
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651544 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 09:04:06 +00:00
Andreas L. Delmelle
a6d5390ee3 Removed TODO: New validation event to generate an error in case an fo:marker appears as a child of an fo:block-container with absolutely positioned areas.
Additionally: some javadoc updates in BlockContainer.java


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651543 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 08:59:56 +00:00
Jeremias Maerki
a33539b153 Cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651540 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 08:44:39 +00:00
Jeremias Maerki
4e61617403 Javadocs
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651538 13f79535-47bb-0310-9956-ffa450edef68
2008-04-25 08:42:02 +00:00
Simon Pepping
707465c821 Make the eventResourceGenerator task for the test files a separate
task. Now one can do: ant codegen, compile outside of ant, ant
compile-copy-resources, ant junit-compile-copy-resources.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651333 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 18:19:06 +00:00
Simon Pepping
5cded0d5c2 Improve table-unit computation if proportional-column-width() is used
as a subexpression. Fixes bug 44658.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@651323 13f79535-47bb-0310-9956-ffa450edef68
2008-04-24 17:46:31 +00:00
Jeremias Maerki
ec0cb2d2d4 Partially reverted my revision 641827: The yellow tint of certain JPEG images came from badly extracted ICC color profiles. This is fixed in XML Graphics Commons Trunk (revision 650048).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@650050 13f79535-47bb-0310-9956-ffa450edef68
2008-04-21 08:32:02 +00:00
Simon Pepping
a0a75029b9 An implementation of a positive integer property maker. It implements
convertProperty, which is the correct method to implement if one wants
to add to the make process. This fixes bug 44619.


git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649657 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 19:07:57 +00:00
Jeremias Maerki
fa13f5c3f1 Remember the missing glyphs also if an event listener is registered so they don't get warned about twice.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649552 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 14:40:56 +00:00
Jeremias Maerki
070382fa9b Bugfix: If the first event is not issued over an event producer, the fallback logging event listener was not installed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649477 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 12:03:24 +00:00
Jeremias Maerki
85946488d7 Fixed build problem. FOPException is no longer thrown there.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649420 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 09:16:28 +00:00
Jeremias Maerki
88e5a6ee83 Introduced PageProductionException and fixed exception throwing for the event related to this exception. It's a RuntimeException descendant as making it a checked exception would have made changes necessary to at least a dozen more classes. Our overall exception style is still not so good.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649396 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 07:44:32 +00:00
Jeremias Maerki
f30530f322 Forgot to include in commit for revision 649285.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649393 13f79535-47bb-0310-9956-ffa450edef68
2008-04-18 07:40:27 +00:00
Jeremias Maerki
58ca051e72 Split PrintRenderer into PageableRenderer and PrintRenderer (extends PageableRenderer). This allows the use of FOP with JPS. A new example illustrates how this is done.
Removed the code that sets start/end/copies from system properties (now done through renderer options).

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649285 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 21:27:46 +00:00
Jeremias Maerki
c7cf9e0dd1 Throw a useful exception when the user agent isn't set on the renderer. This has been a problem for more than one person setting up their own renderer using FOUserAgent.setRendererOverride().
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649283 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 21:25:02 +00:00
Jeremias Maerki
867bded418 clone() did not propagate the page's page index.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649279 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 21:23:15 +00:00
Jeremias Maerki
1a3f45023b Now tunneling all events through a special event listener in tests. This serves two purposes:
- Better readability of the test output.
- Identification of messages that are not sent through the event subsystem, yet.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649160 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 16:01:41 +00:00
Jeremias Maerki
e7c4e9837b Bugzilla #43383:
Made sure the pages don't appear out of order in AWT preview.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649149 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 15:14:26 +00:00
Jeremias Maerki
5772532f67 Bugzilla #41687:
Restored ability to specify from/to and odd/even pages as well as the number of copies for printing from the command-line. Note that this is no longer done via system properties but through the renderer options. Syntax is slightly different. See "fop -print help".

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649146 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 15:12:23 +00:00
Vincent Hennebert
2110cefe60 Fixed minor typo
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649119 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 14:10:04 +00:00
Jeremias Maerki
e5ee5c2bcf Bugzilla #44678:
Added ability to pass in the PrinterJob instance through the renderer options.
Submitted by: Antti Karanta <Antti.Karanta.at.napa.fi>

Modifications/Additions to patch:
- Don't remove the contructor with the PrinterJob parameter, just deprecate it.
- Adjust old-style print example to use renderer options

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649091 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 13:33:07 +00:00
Jeremias Maerki
54e844c8c5 Bugfix: Avoid stopping early when no EmbedFontInfos are found during font detection.
Submitted by: Raphael Parree <rparree.at.gmail.com>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@649012 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 08:59:48 +00:00
Jeremias Maerki
0caddb1f5e HeadURL was missing in the properties.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@648985 13f79535-47bb-0310-9956-ffa450edef68
2008-04-17 07:01:19 +00:00
Jeremias Maerki
01a9c273a2 First part of the implementation of stage 1 for advanced keeps (see Wiki): Integer values are treated differently from "always" values in keep-together.within-column for all block-level FOs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@648381 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 19:18:46 +00:00
Jeremias Maerki
f993b978c0 Adjust information on logging given the availability of the event package.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@648206 13f79535-47bb-0310-9956-ffa450edef68
2008-04-15 10:19:44 +00:00