]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
16 years agoAdded the change to the FONode interface committed in r670341
Andreas L. Delmelle [Mon, 7 Jul 2008 17:31:12 +0000 (17:31 +0000)]
Added the change to the FONode interface committed in r670341

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674561 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCorrect indentation
Andreas L. Delmelle [Mon, 7 Jul 2008 16:24:54 +0000 (16:24 +0000)]
Correct indentation

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674540 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixing absolute positioning of block-containers: bottom and right distances were...
Luca Furini [Mon, 7 Jul 2008 13:52:36 +0000 (13:52 +0000)]
Fixing absolute positioning of block-containers: bottom and right distances were not taken into account

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674489 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRefactored this class, moving much of its behaviour to the base AbstractXMLRenderer...
Adrian Cumiskey [Mon, 7 Jul 2008 13:44:14 +0000 (13:44 +0000)]
Refactored this class, moving much of its behaviour to  the base AbstractXMLRenderer class.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674487 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCleaned up some javadocs.
Adrian Cumiskey [Mon, 7 Jul 2008 13:43:19 +0000 (13:43 +0000)]
Cleaned up some javadocs.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674486 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded new AbstractXMLRenderer base class.
Adrian Cumiskey [Mon, 7 Jul 2008 13:28:26 +0000 (13:28 +0000)]
Added new AbstractXMLRenderer base class.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674484 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded PDF encryption parameter support in configuration.
Adrian Cumiskey [Mon, 7 Jul 2008 12:42:12 +0000 (12:42 +0000)]
Added PDF encryption parameter support in configuration.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674471 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded new set accessor method for EncryptionParams.
Adrian Cumiskey [Mon, 7 Jul 2008 12:38:04 +0000 (12:38 +0000)]
Added new set accessor method for EncryptionParams.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674470 13f79535-47bb-0310-9956-ffa450edef68

16 years agoPossible NullPointerException avoided
Adrian Cumiskey [Mon, 7 Jul 2008 12:36:57 +0000 (12:36 +0000)]
Possible NullPointerException avoided

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674468 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed error; inadvertently switched the condition with r674272...
Andreas L. Delmelle [Sun, 6 Jul 2008 18:19:48 +0000 (18:19 +0000)]
Fixed error; inadvertently switched the condition with r674272...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674325 13f79535-47bb-0310-9956-ffa450edef68

16 years agoExtracted conversion methods for String to int[] or double[] to a utility class.
Andreas L. Delmelle [Sun, 6 Jul 2008 09:17:14 +0000 (09:17 +0000)]
Extracted conversion methods for String to int[] or double[] to a utility class.
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

16 years agoSimplified implementation of Area.getTraitAsBoolean()
Andreas L. Delmelle [Sun, 6 Jul 2008 08:46:50 +0000 (08:46 +0000)]
Simplified implementation of Area.getTraitAsBoolean()

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674273 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRedo changes made in r674056...
Andreas L. Delmelle [Sun, 6 Jul 2008 08:44:54 +0000 (08:44 +0000)]
Redo changes made in r674056...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674272 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemove deprecated Character area class
Andreas L. Delmelle [Sun, 6 Jul 2008 08:15:50 +0000 (08:15 +0000)]
Remove deprecated Character area class

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674269 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSwitch AreaTreeParser to use a java.nio.CharBuffer, and ignore characters events...
Andreas L. Delmelle [Sun, 6 Jul 2008 07:50:23 +0000 (07:50 +0000)]
Switch AreaTreeParser to use a java.nio.CharBuffer, and ignore characters 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

16 years agoFixed ClassCastException when specifying column-number on something other than a...
Andreas L. Delmelle [Sat, 5 Jul 2008 22:53:58 +0000 (22:53 +0000)]
Fixed ClassCastException when specifying column-number on something other 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

16 years agoReplaced conditional with a switch and capitalized method javadoc description.
Adrian Cumiskey [Fri, 4 Jul 2008 14:12:37 +0000 (14:12 +0000)]
Replaced conditional with a switch and capitalized method javadoc description.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674065 13f79535-47bb-0310-9956-ffa450edef68

16 years ago* Some minor optimizations in AbstractRenderer.
Adrian Cumiskey [Fri, 4 Jul 2008 13:57:57 +0000 (13:57 +0000)]
* Some minor optimizations in AbstractRenderer.
* Renamed getBooleanTrait() to getTraitAsBoolean() in Area.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674056 13f79535-47bb-0310-9956-ffa450edef68

16 years agoThe pdf StringBuffer is only used on these two lines and doesn't seem to do anything...
Adrian Cumiskey [Fri, 4 Jul 2008 13:17:06 +0000 (13:17 +0000)]
The pdf StringBuffer is only used on these two lines and doesn't seem to do anything...
Very strange... :-S

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674043 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor readability improvement.
Adrian Cumiskey [Fri, 4 Jul 2008 13:13:29 +0000 (13:13 +0000)]
Minor readability improvement.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674039 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded check for the case where column-number is specified on something other than...
Andreas L. Delmelle [Mon, 30 Jun 2008 17:34:41 +0000 (17:34 +0000)]
Added check for the case where column-number is specified on something other than a fo:table-cell or fo:table-column (strictly not an error)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672833 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCleanup/re-ordering, and addition of XSL 1.1 FO_ and PR_ constants
Andreas L. Delmelle [Sun, 29 Jun 2008 19:53:17 +0000 (19:53 +0000)]
Cleanup/re-ordering, and addition of XSL 1.1 FO_ and PR_ constants

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672670 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCorrect svn props
Andreas L. Delmelle [Sun, 29 Jun 2008 10:58:31 +0000 (10:58 +0000)]
Correct svn props

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672618 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded disabled testcase for instream-foreign-object in a marker
Andreas L. Delmelle [Sun, 29 Jun 2008 10:52:30 +0000 (10:52 +0000)]
Added disabled testcase for instream-foreign-object in a marker

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672617 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemoved instream-foreign-object in marker; still threw a NPE
Andreas L. Delmelle [Sat, 28 Jun 2008 18:45:16 +0000 (18:45 +0000)]
Removed instream-foreign-object in marker; still threw a NPE

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672565 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCorrected basic checks: check for empty document, as well as empty areaTree...
Andreas L. Delmelle [Sat, 28 Jun 2008 18:39:39 +0000 (18:39 +0000)]
Corrected basic checks: check for empty document, as well as empty areaTree...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672564 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCorrected minor spelling mistake in javadoc
Adrian Cumiskey [Sat, 28 Jun 2008 16:08:13 +0000 (16:08 +0000)]
Corrected minor spelling mistake in javadoc

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672539 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCorrected minor spelling mistake in javadoc
Adrian Cumiskey [Sat, 28 Jun 2008 16:05:08 +0000 (16:05 +0000)]
Corrected minor spelling mistake in javadoc

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672537 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded basic-checks.xml: file currently only contains one default check.
Andreas L. Delmelle [Sat, 28 Jun 2008 12:11:40 +0000 (12:11 +0000)]
Added basic-checks.xml: file currently only contains one default check.
Modified testcase2checks.xsl: the added basic-checks.xml will be inserted before the checks particular to the testcase.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672499 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded testcase for r672010
Andreas L. Delmelle [Sat, 28 Jun 2008 11:24:20 +0000 (11:24 +0000)]
Added testcase for r672010

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672496 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRemoved unnecessary override
Andreas L. Delmelle [Sat, 28 Jun 2008 11:22:58 +0000 (11:22 +0000)]
Removed unnecessary override

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672495 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSome basic cleanup.
Adrian Cumiskey [Thu, 26 Jun 2008 20:49:11 +0000 (20:49 +0000)]
Some basic cleanup.

* Duplicated/redundant PSDictionary, PSPageDeviceDictionary and PSDictionaryFormatException removed and now referenced from xmlgraphics commons.
* Updated xmlgraphics commons jar containing migrated PSPageDeviceDictionary class.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672026 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed a possible NullPointerException: if the citation appears in a fo:marker, the...
Andreas L. Delmelle [Thu, 26 Jun 2008 19:44:20 +0000 (19:44 +0000)]
Fixed a possible NullPointerException: if the citation appears in a fo:marker, the property will only be parsed if the marker is retrieved...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672010 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAnother character handling problem, replaced end-start by length
Maximilian Berger [Tue, 24 Jun 2008 11:59:33 +0000 (11:59 +0000)]
Another character handling problem, replaced end-start by length

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@671145 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix imports...
Andreas L. Delmelle [Mon, 23 Jun 2008 21:39:19 +0000 (21:39 +0000)]
Fix imports...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670777 13f79535-47bb-0310-9956-ffa450edef68

16 years agoA nit...
Andreas L. Delmelle [Mon, 23 Jun 2008 21:32:31 +0000 (21:32 +0000)]
A nit...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670773 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor cleanup: simplified conditional
Andreas L. Delmelle [Mon, 23 Jun 2008 21:29:53 +0000 (21:29 +0000)]
Minor cleanup: simplified conditional

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670770 13f79535-47bb-0310-9956-ffa450edef68

16 years agoJavadoc fixup
Andreas L. Delmelle [Mon, 23 Jun 2008 21:26:56 +0000 (21:26 +0000)]
Javadoc fixup

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670767 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor cleanup: remove redundant cast
Andreas L. Delmelle [Mon, 23 Jun 2008 21:25:30 +0000 (21:25 +0000)]
Minor cleanup: remove redundant cast

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670766 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor cleanup: remove redundant cast
Andreas L. Delmelle [Mon, 23 Jun 2008 21:24:46 +0000 (21:24 +0000)]
Minor cleanup: remove redundant cast

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670765 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor cleanup: remove double storage of the FObj
Andreas L. Delmelle [Mon, 23 Jun 2008 21:22:48 +0000 (21:22 +0000)]
Minor cleanup: remove double storage of the FObj

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670763 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor cleanup: remove unused parameter from method signature
Andreas L. Delmelle [Mon, 23 Jun 2008 21:21:09 +0000 (21:21 +0000)]
Minor cleanup: remove unused parameter from method signature

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670761 13f79535-47bb-0310-9956-ffa450edef68

16 years agoJavadoc fixup
Andreas L. Delmelle [Mon, 23 Jun 2008 21:18:45 +0000 (21:18 +0000)]
Javadoc fixup

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670760 13f79535-47bb-0310-9956-ffa450edef68

16 years agoJavadoc modification + addition of clarifying comments
Andreas L. Delmelle [Mon, 23 Jun 2008 19:56:51 +0000 (19:56 +0000)]
Javadoc modification + addition of clarifying comments

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670723 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFix XMLObj.addCharacters(): incorrect after r670341
Andreas L. Delmelle [Mon, 23 Jun 2008 18:01:25 +0000 (18:01 +0000)]
Fix XMLObj.addCharacters(): incorrect after r670341

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670689 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded support for non-zero borders and padding on page regions.
Luca Furini [Mon, 23 Jun 2008 09:24:14 +0000 (09:24 +0000)]
Added support for non-zero borders and padding on page regions.
Testcase included, now disabled because it is supposed to run with relaxed validation switched on.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670492 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAnother missing file...
Andreas L. Delmelle [Sun, 22 Jun 2008 22:18:53 +0000 (22:18 +0000)]
Another missing file...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670424 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded missing file from r670422
Andreas L. Delmelle [Sun, 22 Jun 2008 22:17:00 +0000 (22:17 +0000)]
Added missing file from r670422

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670423 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSwitch FOText to use a java.nio.CharBuffer, and implement the CharSequence interface.
Andreas L. Delmelle [Sun, 22 Jun 2008 22:10:55 +0000 (22:10 +0000)]
Switch FOText to use a java.nio.CharBuffer, and implement the CharSequence interface.
TextLayoutManager no longer duplicates the char array, operates on the FOText (charAt(i))
Additionally: endOfNode() for FOText and Character deferred until after white-space handling.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670422 13f79535-47bb-0310-9956-ffa450edef68

16 years agoPartial fix of FOEventHandler call sequence (see also Bugzilla #45237):
Andreas L. Delmelle [Sun, 22 Jun 2008 20:57:43 +0000 (20:57 +0000)]
Partial fix of FOEventHandler call sequence (see also Bugzilla #45237):
call startOfNode() after addChildNode()
moved initialization for tableFOs to processNode()
moved finishing code to a finalizeNode() method (which is now also used by AbstractRetrieveMarker)
restored protected status of startOfNode()/endOfNode() in fo.flow.table package

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670412 13f79535-47bb-0310-9956-ffa450edef68

16 years agoDeleted deprecated interface; unused after r670336
Andreas L. Delmelle [Sun, 22 Jun 2008 20:38:28 +0000 (20:38 +0000)]
Deleted deprecated interface; unused after r670336

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670411 13f79535-47bb-0310-9956-ffa450edef68

16 years agoVery minor tweak: simplify conditional
Andreas L. Delmelle [Sun, 22 Jun 2008 20:18:27 +0000 (20:18 +0000)]
Very minor tweak: simplify conditional

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670409 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCorrection: characters() expects a 'length' not an 'endIndex'
Andreas L. Delmelle [Sun, 22 Jun 2008 19:19:17 +0000 (19:19 +0000)]
Correction: characters() expects a 'length' not an 'endIndex'

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670401 13f79535-47bb-0310-9956-ffa450edef68

16 years agoChanged signature for static handleWhiteSpaceFor(), and used internally to make the...
Andreas L. Delmelle [Sun, 22 Jun 2008 11:28:06 +0000 (11:28 +0000)]
Changed signature for static handleWhiteSpaceFor(), and used internally to make the code a bit more compact

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670344 13f79535-47bb-0310-9956-ffa450edef68

16 years agoChanged FONode.addCharacters() signature to match the characters() event (use 'length...
Andreas L. Delmelle [Sun, 22 Jun 2008 11:18:03 +0000 (11:18 +0000)]
Changed FONode.addCharacters() signature to match the characters() event (use 'length' as a parameter instead of 'end')

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670341 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor tweak: use XG Commons version of the interface
Andreas L. Delmelle [Sun, 22 Jun 2008 11:01:27 +0000 (11:01 +0000)]
Minor tweak: use XG Commons version of the interface

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670336 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAvoid StackOverflow on TableColumn.toString() during debugging.
Andreas L. Delmelle [Sun, 22 Jun 2008 10:53:51 +0000 (10:53 +0000)]
Avoid StackOverflow on TableColumn.toString() during debugging.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670335 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor tweak: avoid warning when running through Saxon
Andreas L. Delmelle [Sun, 22 Jun 2008 10:21:03 +0000 (10:21 +0000)]
Minor tweak: avoid warning when running through Saxon

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670332 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor javadoc correction
Andreas L. Delmelle [Sun, 22 Jun 2008 09:28:56 +0000 (09:28 +0000)]
Minor javadoc correction

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670325 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAddition to r670217
Andreas L. Delmelle [Sun, 22 Jun 2008 09:07:47 +0000 (09:07 +0000)]
Addition to r670217

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670323 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMoved the contents of TableBody into a new abstract base class TablePart, which is...
Adrian Cumiskey [Sat, 21 Jun 2008 16:28:56 +0000 (16:28 +0000)]
Moved the contents of TableBody into a new abstract base class TablePart, which is now subclassed by TableBody, TableHeader and TableFooter.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670222 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMoved the contents of TableBody into a new abstract base class TablePart, which is...
Adrian Cumiskey [Sat, 21 Jun 2008 16:10:03 +0000 (16:10 +0000)]
Moved the contents of TableBody into a new abstract base class TablePart, which is now subclassed by TableBody, TableHeader and TableFooter.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670217 13f79535-47bb-0310-9956-ffa450edef68

16 years agoStrict/loose validation of <fo:table-footer/> ordering somehow got lost in processing...
Adrian Cumiskey [Fri, 20 Jun 2008 09:18:56 +0000 (09:18 +0000)]
Strict/loose validation of <fo:table-footer/> ordering somehow got lost in processing feedback branch merge.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@669835 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSeparation of concerns:
Jeremias Maerki [Thu, 19 Jun 2008 09:46:12 +0000 (09:46 +0000)]
Separation of concerns:
Split FOEventHandler into FOEventHandler and FOTreeBuilderContext. The latter contains stuff only used at tree-building stage. FOEventHandler is oriented towards output.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@669436 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSimplifications and a Checkstyle fix.
Jeremias Maerki [Thu, 19 Jun 2008 08:25:46 +0000 (08:25 +0000)]
Simplifications and a Checkstyle fix.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@669423 13f79535-47bb-0310-9956-ffa450edef68

16 years agoWrong line number reported in the case of a line overflow.
Jeremias Maerki [Tue, 17 Jun 2008 09:04:05 +0000 (09:04 +0000)]
Wrong line number reported in the case of a line overflow.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@668576 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixing the PageBreakingAlgorithm, replacing calls to getLineWidth() with getLineWidth...
Luca Furini [Mon, 16 Jun 2008 14:52:14 +0000 (14:52 +0000)]
Fixing the PageBreakingAlgorithm, replacing calls to getLineWidth() with getLineWidth(int) so as to take into account each page's real height.
This fixes the positioning of footnotes when the page bpd is not the same for all pages.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@668177 13f79535-47bb-0310-9956-ffa450edef68

16 years agoremoved double storage of 'fobj'
Maximilian Berger [Sat, 14 Jun 2008 22:20:42 +0000 (22:20 +0000)]
removed double storage of 'fobj'

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@667893 13f79535-47bb-0310-9956-ffa450edef68

16 years agominor spelling & checkstyle fixes
Maximilian Berger [Sat, 14 Jun 2008 18:23:28 +0000 (18:23 +0000)]
minor spelling & checkstyle fixes

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@667864 13f79535-47bb-0310-9956-ffa450edef68

16 years agominor spelling fixes
Maximilian Berger [Sat, 14 Jun 2008 18:18:14 +0000 (18:18 +0000)]
minor spelling fixes

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@667862 13f79535-47bb-0310-9956-ffa450edef68

16 years agominor spelling fixes
Maximilian Berger [Sat, 14 Jun 2008 16:21:15 +0000 (16:21 +0000)]
minor spelling fixes

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@667831 13f79535-47bb-0310-9956-ffa450edef68

16 years agoDisabled retroweaver task definition, because it breaks gump
Maximilian Berger [Fri, 13 Jun 2008 06:03:30 +0000 (06:03 +0000)]
Disabled retroweaver task definition, because it breaks gump

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@667367 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded PMD and Findbugs report, 'reports' target'
Maximilian Berger [Thu, 12 Jun 2008 06:07:28 +0000 (06:07 +0000)]
Added PMD and Findbugs report, 'reports' target'

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@666967 13f79535-47bb-0310-9956-ffa450edef68

16 years agoFixed typo
Vincent Hennebert [Wed, 11 Jun 2008 09:52:04 +0000 (09:52 +0000)]
Fixed typo

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@666596 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReplaced getLast() calls with calls to listUtil
Maximilian Berger [Tue, 10 Jun 2008 07:52:36 +0000 (07:52 +0000)]
Replaced getLast() calls with calls to listUtil

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@665995 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSome updates (improvements?) in the UAX#14-related files:
Andreas L. Delmelle [Mon, 9 Jun 2008 17:27:51 +0000 (17:27 +0000)]
Some updates (improvements?) in the UAX#14-related files:
- LineBreakPairTable.txt: replace tabs with spaces to make the file a bit easier to read (constant column-width, instead of depending on an editor's settings for tabs)
- GenerateLineBreakUtils.java:
  - generate a public final utility class
  - add some spacing in the generated file, after commas and before/after '=' (same styling as manually created files)
  - use Java 1.4 String.split() to tokenize lines, instead of StringTokenizer
  - add javadoc comments for public constants and methods
- LineBreakUtils.java: regenerated after the above updates

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@665793 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor update: make the codegen-unicode target create LineBreakUtils.java at the appro...
Andreas L. Delmelle [Mon, 9 Jun 2008 16:20:08 +0000 (16:20 +0000)]
Minor update: make the codegen-unicode target create LineBreakUtils.java at the appropriate place in the source tree

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@665740 13f79535-47bb-0310-9956-ffa450edef68

16 years agoReplaced LinkedList with generic List interface
Maximilian Berger [Mon, 9 Jun 2008 14:15:38 +0000 (14:15 +0000)]
Replaced LinkedList with generic List interface

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@665699 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMerged revisions 636407-637074,637076-637118,637120-637790,637792-637856,637858-63799...
Jeremias Maerki [Mon, 9 Jun 2008 14:01:53 +0000 (14:01 +0000)]
Merged revisions 636407-637074,637076-637118,637120-637790,637792-637856,637858-637992,637994-638047,638049-638307,638309-638315,638318-664698 via svnmerge from
https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/fop-0_95

........
  r638937 | jeremias | 2008-03-19 18:08:57 +0100 (Mi, 19 Mrz 2008) | 1 line

  A nit.
........
  r640889 | vhennebert | 2008-03-25 17:43:55 +0100 (Di, 25 Mrz 2008) | 2 lines

  Set the final release date and added a news item about the 0.95beta release (the change was made before updating the website)
........
  r642906 | jeremias | 2008-03-31 09:12:40 +0200 (Mo, 31 Mrz 2008) | 3 lines

  Added version number to xml-apis-ext (as suggested by Karel Vervaeke).
  Moved xml-apis to same version as xml-apis-ext.
  Added missing licensing info about xml-apis-ext.
........
  r647403 | jeremias | 2008-04-12 11:02:01 +0200 (Sa, 12 Apr 2008) | 1 line

  Fixed NullPointerException when loading a TrueType font using XML font metric files.
........
  r647537 | jeremias | 2008-04-13 09:36:00 +0200 (So, 13 Apr 2008) | 1 line

  Performance improvement when encoding images: Fixed an important hotspot by extending CloseBlocker from ProxyOutputStream instead of FilterOutputStream as the latter routes all write(byte[]) calls through write(int).
........
  r648984 | jeremias | 2008-04-17 09:00:22 +0200 (Do, 17 Apr 2008) | 1 line

  HeadURL was missing in the properties.
........
  r649006 | jeremias | 2008-04-17 10:42:52 +0200 (Do, 17 Apr 2008) | 1 line

  Fixed text extraction problem with ZapfDingbats and Symbol font in PDF output. These fonts are symbolic and must not use an Encoding value in PDF. Applies to the built-in base 14 variant and to the case where these fonts are explicitely embedded.
........
  r649014 | jeremias | 2008-04-17 11:10:15 +0200 (Do, 17 Apr 2008) | 1 line

  Added missing change information.
........
  r650550 | vhennebert | 2008-04-22 17:22:31 +0200 (Di, 22 Apr 2008) | 4 lines

  Bugzilla 41621:
  - length of the penalty now correctly computed;
  - AssertionError fixed.
........
  r651302 | jeremias | 2008-04-24 18:08:53 +0200 (Do, 24 Apr 2008) | 3 lines

  Fixed regression causing bad positioning of block-containers if used as descendant of a table-cell. This was not caught because of the lack of a test case that would have shown the problem in visual testing with BatchDiffer.
  See also: http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-users/200804.mbox/%3c20080424164128.973A.DEV@jeremias-maerki.ch%3e
........
  r653537 | vhennebert | 2008-05-05 19:47:28 +0200 (Mo, 05 Mai 2008) | 2 lines

  Bugfix: the before border of cells below a column-spanning cell had their value taken from the leading case, instead of the normal one.
........
  r654453 | jeremias | 2008-05-08 11:14:04 +0200 (Do, 08 Mai 2008) | 2 lines

  Added /usr/local/share/fonts as additional possible location for fonts on Unixes.
........
  r656286 | jeremias | 2008-05-14 16:16:49 +0200 (Mi, 14 Mai 2008) | 1 line

  Restored plug-in API compatibility with FOP 0.94. Fixes a NoSuchMethodError when Barcode4J is run.
........
  r656524 | jeremias | 2008-05-15 09:07:18 +0200 (Do, 15 Mai 2008) | 1 line

  Fixed rendering of fixed block-containers in AFP output. The break-out was actually never implemented which is necessary for supporting fixed positioned viewports.
........
  r657520 | maxberger | 2008-05-18 11:38:45 +0200 (So, 18 Mai 2008) | 1 line

  Updated as per suggestions in bug 45019
........
  r661580 | maxberger | 2008-05-30 08:42:17 +0200 (Fr, 30 Mai 2008) | 1 line

  added my key to KEYS, it is used for signing mvn artifacts
........
  r663482 | jeremias | 2008-06-05 09:06:37 +0200 (Do, 05 Jun 2008) | 1 line

  Fixed positioning of absolutely positioned block-containers in multi-column documents.
........
  r664692 | jeremias | 2008-06-09 14:49:45 +0200 (Mo, 09 Jun 2008) | 1 line

  Restored PSImageUtils. I had deleted it prematurely. Extensions like Barcode4J rely on this class.
........

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@665691 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImprove code-readability; add some clarifying comments
Andreas L. Delmelle [Sat, 7 Jun 2008 15:09:42 +0000 (15:09 +0000)]
Improve code-readability; add some clarifying comments

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@664350 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor cleanup: remove unneeded constant
Andreas L. Delmelle [Sat, 7 Jun 2008 14:54:13 +0000 (14:54 +0000)]
Minor cleanup: remove unneeded constant

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@664349 13f79535-47bb-0310-9956-ffa450edef68

16 years agoExtended behavior of preserved linefeeds to codepoints representing mandatory breaks...
Andreas L. Delmelle [Sat, 7 Jun 2008 14:49:42 +0000 (14:49 +0000)]
Extended behavior of preserved linefeeds to codepoints representing mandatory breaks in Unicode UAX#14:
- NEXT LINE (U+0085)
- LINE SEPARATOR (U+2028)
- PARAGRAPH SEPARATOR (U+2029)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@664347 13f79535-47bb-0310-9956-ffa450edef68

16 years agoRestored lost overflow warning in static-content.
Jeremias Maerki [Thu, 5 Jun 2008 07:41:06 +0000 (07:41 +0000)]
Restored lost overflow warning in static-content.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@663493 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMinor cleanup: remove spurious white-space
Andreas L. Delmelle [Wed, 4 Jun 2008 09:53:15 +0000 (09:53 +0000)]
Minor cleanup: remove spurious white-space

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@663045 13f79535-47bb-0310-9956-ffa450edef68

16 years agoApacheCon EU 2008 is long over.
Jeremias Maerki [Wed, 4 Jun 2008 06:10:37 +0000 (06:10 +0000)]
ApacheCon EU 2008 is long over.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@662991 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla #45115:
Jeremias Maerki [Tue, 3 Jun 2008 14:13:27 +0000 (14:13 +0000)]
Bugzilla #45115:
Added a PCL-specific extension attribute on simple-page-master for controlling the simplex/duplex mode.
Submitted by: Martin Edge <Martin.Edge.at.asmorphic.net.au>

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@662807 13f79535-47bb-0310-9956-ffa450edef68

16 years agoInteger keeps inside multi-line blocks and in between block-paragraphs.
Jeremias Maerki [Mon, 2 Jun 2008 12:50:55 +0000 (12:50 +0000)]
Integer keeps inside multi-line blocks and in between block-paragraphs.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@662417 13f79535-47bb-0310-9956-ffa450edef68

16 years agoMore code Cleanups (no functional changes)
Maximilian Berger [Sun, 1 Jun 2008 11:57:33 +0000 (11:57 +0000)]
More code Cleanups (no functional changes)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@662203 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCode Cleanups (no functional change)
Maximilian Berger [Sat, 31 May 2008 11:45:55 +0000 (11:45 +0000)]
Code Cleanups (no functional change)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@662009 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla 45097:
Andreas L. Delmelle [Sat, 31 May 2008 10:56:05 +0000 (10:56 +0000)]
Bugzilla 45097:
Leading/trailing white-space not removed from nested inline-content when there is no preceding/following text.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@661999 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded docs for my recent commit (word-by-word character selection)
Maximilian Berger [Thu, 29 May 2008 12:03:48 +0000 (12:03 +0000)]
Added docs for my recent commit (word-by-word character selection)

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@661310 13f79535-47bb-0310-9956-ffa450edef68

16 years agoSet svn:keywords and svn:eol-style properties for files added in revision 660998
Vincent Hennebert [Thu, 29 May 2008 09:58:06 +0000 (09:58 +0000)]
Set svn:keywords and svn:eol-style properties for files added in revision 660998

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@661276 13f79535-47bb-0310-9956-ffa450edef68

16 years agoImplemented Font auto-selection word-by-word
Maximilian Berger [Wed, 28 May 2008 16:10:32 +0000 (16:10 +0000)]
Implemented Font auto-selection word-by-word

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@660998 13f79535-47bb-0310-9956-ffa450edef68

16 years agoBugzilla 37579: added support for footnotes in lists and table bodies (not header...
Vincent Hennebert [Wed, 28 May 2008 15:24:23 +0000 (15:24 +0000)]
Bugzilla 37579: added support for footnotes in lists and table bodies (not header nor footer).
This is /not/ to be considered a final fix: similar code is duplicated over several classes (LineLayoutManager, ListItemLayoutManager and to less extent TableStepper). Footnotes should probably be handled another way.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@660979 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAdded event TableEventProducer.forceNextColumnNumber when
Simon Pepping [Mon, 19 May 2008 19:02:18 +0000 (19:02 +0000)]
Added event TableEventProducer.forceNextColumnNumber when
TableFObj.ColumnNumberPropertyMaker forces a zero or negative
column-number property to the next available column, because this is a
FOP extension. Fixed TableFObj.ColumnNumberPropertyMaker.make to
really report a cell overlap event.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@657921 13f79535-47bb-0310-9956-ffa450edef68

16 years agoUpdated as per suggestions in bug 45019
Maximilian Berger [Sun, 18 May 2008 09:39:03 +0000 (09:39 +0000)]
Updated as per suggestions in bug 45019

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@657521 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCorrected testcase: since the fo:flow's ID is correctly processed...
Andreas L. Delmelle [Sat, 17 May 2008 21:18:19 +0000 (21:18 +0000)]
Corrected testcase: since the fo:flow's ID is correctly processed...

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@657465 13f79535-47bb-0310-9956-ffa450edef68

16 years agoTweak: make sure the fo:flow's id is bound to the FObj
Andreas L. Delmelle [Thu, 15 May 2008 08:33:19 +0000 (08:33 +0000)]
Tweak: make sure the fo:flow's id is bound to the FObj

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@656546 13f79535-47bb-0310-9956-ffa450edef68

16 years agoAvoid error-message if the text-node is white-space only.
Andreas L. Delmelle [Wed, 14 May 2008 05:11:15 +0000 (05:11 +0000)]
Avoid error-message if the text-node is white-space only.

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@656104 13f79535-47bb-0310-9956-ffa450edef68

16 years agoCheck updated: wrapper now generates a Block, if descendant of an fo:block-container
Andreas L. Delmelle [Tue, 13 May 2008 12:19:03 +0000 (12:19 +0000)]
Check updated: wrapper now generates a Block, if descendant of an fo:block-container

git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@655829 13f79535-47bb-0310-9956-ffa450edef68