Adrian Cumiskey
4d2b456445
Possible NullPointerException avoided
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674468 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Andreas L. Delmelle
709cfb2f95
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 ago
Andreas L. Delmelle
f4a4b96129
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 ago
Andreas L. Delmelle
d1be091687
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 ago
Andreas L. Delmelle
fac88f32ac
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 ago
Andreas L. Delmelle
8db6a0a344
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 ago
Andreas L. Delmelle
40d9afc4de
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 ago
Andreas L. Delmelle
5d7e72e0c5
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 ago
Adrian Cumiskey
95bec3df3e
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
Adrian Cumiskey
204ed6d4a3
* 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 ago
Adrian Cumiskey
f46fc609ad
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 ago
Adrian Cumiskey
2851b9c98a
Minor readability improvement.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@674039 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Andreas L. Delmelle
adb107e632
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 ago
Andreas L. Delmelle
00f13c2f08
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 ago
Andreas L. Delmelle
a0ca957f55
Correct svn props
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672618 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Andreas L. Delmelle
0246b7f6fb
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 ago
Andreas L. Delmelle
36e0839dac
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 ago
Andreas L. Delmelle
a724b0fa9c
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 ago
Adrian Cumiskey
a9e8348fc7
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 ago
Adrian Cumiskey
8789979442
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 ago
Andreas L. Delmelle
7175553e3b
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 ago
Andreas L. Delmelle
9ee21cd9b6
Added testcase for r672010
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672496 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Andreas L. Delmelle
1a0a279d3b
Removed unnecessary override
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@672495 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Adrian Cumiskey
a76d8b110d
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 ago
Andreas L. Delmelle
d9ccf5f4ed
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 ago
Maximilian Berger
dc3032f675
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 ago
Andreas L. Delmelle
5578f06aa1
Fix imports...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670777 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Andreas L. Delmelle
ea18f526fd
A nit...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670773 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Andreas L. Delmelle
05f5dd475b
Minor cleanup: simplified conditional
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670770 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Andreas L. Delmelle
4d7ed2afb1
Javadoc fixup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670767 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Andreas L. Delmelle
9963937e29
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 ago
Andreas L. Delmelle
c679183959
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 ago
Andreas L. Delmelle
35ca6c79d8
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 ago
Andreas L. Delmelle
4796fd3e35
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 ago
Andreas L. Delmelle
a69b3658ec
Javadoc fixup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670760 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Andreas L. Delmelle
400e1f2b50
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 ago
Andreas L. Delmelle
c9f1206db8
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 ago
Luca Furini
770ac26554
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 ago
Andreas L. Delmelle
9c1e622432
Another missing file...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@670424 13f79535-47bb-0310-9956-ffa450edef68
16 years ago
Andreas L. Delmelle
d617099c1d
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 ago
Andreas L. Delmelle
07c5dcf716
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 ago
Andreas L. Delmelle
d02d89fc24
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 ago
Andreas L. Delmelle
e04c31d665
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 ago
Andreas L. Delmelle
d93f3a8b77
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 ago
Andreas L. Delmelle
cd2b9b2a43
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 ago
Andreas L. Delmelle
ebee3981d4
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 ago
Andreas L. Delmelle
79fbd6dfcc
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 ago
Andreas L. Delmelle
cebba418a9
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 ago
Andreas L. Delmelle
1dcb12e27c
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 ago
Andreas L. Delmelle
833f24d52f
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 ago