]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
16 years agoStreamlined the recording of row offsets, by replacing Map with a List. Fixed bug...
Vincent Hennebert [Tue, 18 Dec 2007 18:58:29 +0000 (18:58 +0000)]
Streamlined the recording of row offsets, by replacing Map with a List. Fixed bug #43633 in the same time.

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

16 years agoRenamed firstRow into firstRowIndex and moved its initialization into handeTableConte...
Vincent Hennebert [Tue, 18 Dec 2007 17:01:45 +0000 (17:01 +0000)]
Renamed firstRow into firstRowIndex and moved its initialization into handeTableContentPosition

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

16 years agoSimplification in RowPainter: avoid the use of an array to store rowOffsets and first...
Vincent Hennebert [Tue, 18 Dec 2007 16:48:03 +0000 (16:48 +0000)]
Simplification in RowPainter: avoid the use of an array to store rowOffsets and firstRow index for each part of the table (header, footer, body). One at a time is enough.

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

16 years agoReset previousRowsLength before a new row-group is handled
Vincent Hennebert [Tue, 18 Dec 2007 11:56:38 +0000 (11:56 +0000)]
Reset previousRowsLength before a new row-group is handled

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

16 years agoSimplified addAreasAndFlushRow: there can no longer be null GridUnits, every hole...
Vincent Hennebert [Mon, 17 Dec 2007 19:05:27 +0000 (19:05 +0000)]
Simplified addAreasAndFlushRow: there can no longer be null GridUnits, every hole in the grid is now filled with an EmptyGridUnit

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

16 years agoRenaming GridUnitPart into the more accurate CellPart. Moreover I was always making...
Vincent Hennebert [Mon, 17 Dec 2007 18:56:46 +0000 (18:56 +0000)]
Renaming GridUnitPart into the more accurate CellPart. Moreover I was always making the confusion between gup and pgu

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

16 years agoOrganized imports
Vincent Hennebert [Mon, 17 Dec 2007 10:21:04 +0000 (10:21 +0000)]
Organized imports

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

16 years agoStreamlining/Correction of the changes made in r603926
Andreas L. Delmelle [Sun, 16 Dec 2007 19:54:00 +0000 (19:54 +0000)]
Streamlining/Correction of the changes made in r603926
- delegate validation of the fo:wrapper's children to the parent: added static FONode.validateChildNode()
- narrow the condition for processing text-childnodes:
  this is not only constrained to fo:flow and fo:static-content, but the same goes
  for a fo:wrapper that is a direct descendant of a fo:block-container or fo:inline-container,
  which only allow block-level content (interpretation)
- minor javadoc fixups/improvements

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

16 years agoTestcase for the resolution of collapsed and conditional borders in the FO tree
Vincent Hennebert [Sat, 15 Dec 2007 18:16:01 +0000 (18:16 +0000)]
Testcase for the resolution of collapsed and conditional borders in the FO tree

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

16 years agoDon't hack when you're tired! Reverting r604293 and instead fixing the right value...
Jeremias Maerki [Fri, 14 Dec 2007 21:24:14 +0000 (21:24 +0000)]
Don't hack when you're tired! Reverting r604293 and instead fixing the right value. It's DecodeParams -> DecodeParms!

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

16 years agoBugfix: DecodeParms -> DecodeParams (introduced when I changed to generic PDF structures)
Jeremias Maerki [Fri, 14 Dec 2007 20:58:53 +0000 (20:58 +0000)]
Bugfix: DecodeParms -> DecodeParams (introduced when I changed to generic PDF structures)
(fixes CCITT encoded images)

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

16 years agoFixed copy constructor
Adrian Cumiskey [Fri, 14 Dec 2007 13:16:06 +0000 (13:16 +0000)]
Fixed copy constructor

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

16 years agoReduced visibility of methods from public to package-private
Vincent Hennebert [Fri, 14 Dec 2007 12:23:10 +0000 (12:23 +0000)]
Reduced visibility of methods from public to package-private

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

16 years agoClean up: removed all reset and resetPosition methods, which pre-date the Knuth era...
Vincent Hennebert [Fri, 14 Dec 2007 11:32:51 +0000 (11:32 +0000)]
Clean up: removed all reset and resetPosition methods, which pre-date the Knuth era and are no longer needed

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

16 years agoThrow a ValidationException if table-footer is put after table-body and the table...
Vincent Hennebert [Thu, 13 Dec 2007 19:17:12 +0000 (19:17 +0000)]
Throw a ValidationException if table-footer is put after table-body and the table uses the collapsing border model. The footer must be known to properly resolve borders.

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

16 years agoRemoved parameter from the endTablePart method, as the part is already passed as...
Vincent Hennebert [Thu, 13 Dec 2007 18:57:25 +0000 (18:57 +0000)]
Removed parameter from the endTablePart method, as the part is already passed as as a parameter of the previously called startTablePart method

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

16 years agoRemoved parameter from the endPart method, since the part is already passed as a...
Vincent Hennebert [Thu, 13 Dec 2007 18:52:48 +0000 (18:52 +0000)]
Removed parameter from the endPart method, since the part is already passed as a parameter of the previously called startPart method

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

16 years agoFixed the handling of columns in the border resolution, especially in case of column...
Vincent Hennebert [Thu, 13 Dec 2007 18:28:56 +0000 (18:28 +0000)]
Fixed the handling of columns in the border resolution, especially in case of column-spanning cells

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

16 years agoStyle only: removed trailing white spaces
Vincent Hennebert [Thu, 13 Dec 2007 17:32:43 +0000 (17:32 +0000)]
Style only: removed trailing white spaces

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

16 years agoOk, now /really/ revert the previous commit :-\
Vincent Hennebert [Thu, 13 Dec 2007 17:31:26 +0000 (17:31 +0000)]
Ok, now /really/ revert the previous commit :-\

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

16 years agoReverted change accidentally introduced in the previous commit. A proper fix needs...
Vincent Hennebert [Thu, 13 Dec 2007 17:21:24 +0000 (17:21 +0000)]
Reverted change accidentally introduced in the previous commit. A proper fix needs to be found for this one.

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

16 years agoImplemented the resolution of collapsing borders in the FO tree, for every situation...
Vincent Hennebert [Thu, 13 Dec 2007 16:10:32 +0000 (16:10 +0000)]
Implemented the resolution of collapsing borders in the FO tree, for every situation (normal, cell at the top of a page, cell broken), taking conditionality, headers and footers into account.

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

16 years agoRemoved calls to removeLegalBreaks since they aren't necessary (the whole content...
Vincent Hennebert [Thu, 13 Dec 2007 15:55:29 +0000 (15:55 +0000)]
Removed calls to removeLegalBreaks since they aren't necessary (the whole content is put in a single box anyway) and the method is buggy.

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

16 years agoMinor tweaks:
Andreas L. Delmelle [Thu, 13 Dec 2007 14:43:08 +0000 (14:43 +0000)]
Minor tweaks:
* only add text to a fo:wrapper if it is not a direct flow-descendant
* error if an fo:wrapper that is a direct flow-descendant contains inline-level children

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

16 years agoFixed @throws statements in javadoc
Vincent Hennebert [Thu, 13 Dec 2007 11:35:17 +0000 (11:35 +0000)]
Fixed @throws statements in javadoc

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

16 years agoUpdated status with SVG support for AFP.
Adrian Cumiskey [Wed, 12 Dec 2007 12:26:39 +0000 (12:26 +0000)]
Updated status with SVG support for AFP.

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

16 years ago* Added an SVG handler and Graphics2D implementation for AFP which injects AFP GOCA...
Adrian Cumiskey [Wed, 12 Dec 2007 12:24:10 +0000 (12:24 +0000)]
* Added an SVG handler and Graphics2D implementation for AFP which injects AFP GOCA structured fields into the AFPDataStream.
* Fixed many checkstyle problems.
* Updated xmlgraphics-commons-1.3svn.jar to include changes to TextHandler

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

16 years agoAdded documentation for font-in-jar-files
Maximilian Berger [Mon, 10 Dec 2007 13:35:33 +0000 (13:35 +0000)]
Added documentation for font-in-jar-files

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

16 years agoUpdated xmlgraphics from SVN
Maximilian Berger [Fri, 7 Dec 2007 15:36:53 +0000 (15:36 +0000)]
Updated xmlgraphics from SVN
Added autodetection of fonts in jar files (x-font and x-font-truetype)
Added files needed for testcase
Please note: Actual testcase is still missing!

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

16 years agoAvoid a NPE in toString().
Jeremias Maerki [Fri, 7 Dec 2007 09:20:28 +0000 (09:20 +0000)]
Avoid a NPE in toString().

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

16 years agoTemporary fix to the build
Adrian Cumiskey [Thu, 6 Dec 2007 11:57:14 +0000 (11:57 +0000)]
Temporary fix to the build

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:49:46 +0000 (17:49 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:48:56 +0000 (17:48 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:47:44 +0000 (17:47 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:45:20 +0000 (17:45 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:44:36 +0000 (17:44 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:43:46 +0000 (17:43 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:42:48 +0000 (17:42 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:42:13 +0000 (17:42 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:39:54 +0000 (17:39 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:37:40 +0000 (17:37 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes and cleanup
Adrian Cumiskey [Wed, 5 Dec 2007 17:36:12 +0000 (17:36 +0000)]
Checkstyle fixes and cleanup

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:35:31 +0000 (17:35 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:34:44 +0000 (17:34 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:32:29 +0000 (17:32 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:31:20 +0000 (17:31 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:30:04 +0000 (17:30 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:29:31 +0000 (17:29 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:28:48 +0000 (17:28 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:28:03 +0000 (17:28 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:27:06 +0000 (17:27 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:25:58 +0000 (17:25 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:25:07 +0000 (17:25 +0000)]
Checkstyle fixes

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

16 years agoCheckstyle fixes
Adrian Cumiskey [Wed, 5 Dec 2007 17:24:15 +0000 (17:24 +0000)]
Checkstyle fixes

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

16 years agoFixed checkstyle issues
Adrian Cumiskey [Wed, 5 Dec 2007 17:21:15 +0000 (17:21 +0000)]
Fixed checkstyle issues

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

16 years agoCorrected javadoc, fixed checkstyle issues, and now also correctly caters for negativ...
Adrian Cumiskey [Wed, 5 Dec 2007 17:19:43 +0000 (17:19 +0000)]
Corrected javadoc, fixed checkstyle issues, and now also correctly caters for negative number conversions

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

16 years agoImproved use of logging
Adrian Cumiskey [Wed, 5 Dec 2007 17:15:46 +0000 (17:15 +0000)]
Improved use of logging

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

16 years agoCorrected javadoc
Adrian Cumiskey [Wed, 5 Dec 2007 17:13:31 +0000 (17:13 +0000)]
Corrected javadoc

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

16 years agoCorrected javadoc
Adrian Cumiskey [Wed, 5 Dec 2007 17:12:54 +0000 (17:12 +0000)]
Corrected javadoc

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

16 years agoCorrected javadocs
Adrian Cumiskey [Wed, 5 Dec 2007 17:11:44 +0000 (17:11 +0000)]
Corrected javadocs

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

16 years agoTypo in property: svn:kewords -> svn:keywords
Vincent Hennebert [Wed, 5 Dec 2007 16:56:47 +0000 (16:56 +0000)]
Typo in property: svn:kewords -> svn:keywords

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

16 years agoOops.
Jeremias Maerki [Mon, 3 Dec 2007 13:32:04 +0000 (13:32 +0000)]
Oops.

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

16 years agoAdded a possibility to rerun the whole run a defined number of times to test for...
Jeremias Maerki [Mon, 3 Dec 2007 13:21:06 +0000 (13:21 +0000)]
Added a possibility to rerun the whole run a defined number of times to test for possible issues outside a single rendering run.

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

16 years agoLog RuntimeExceptions during rendering so that they are at least visible somewhere...
Jeremias Maerki [Mon, 3 Dec 2007 10:16:27 +0000 (10:16 +0000)]
Log RuntimeExceptions during rendering so that they are at least visible somewhere if someone doesn't set an ErrorListener on the XSLT processor (this could lead to exceptions being swallowed). This is a temporary measure until we have time to improve the exception handling in FOP.
The original problem that led to this change was: "The number of this PDFNumber must not be empty" while producing a PDF/A with customized filter entries in the PDF configuration. The exception was a follow-up exception after a PDFConformanceException that was swallowed by a default ErrorListener.

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

16 years agoCorrection and simplification of the PropertyCache: subclass WeakReference and remove...
Andreas L. Delmelle [Sat, 1 Dec 2007 21:11:53 +0000 (21:11 +0000)]
Correction and simplification of the PropertyCache: subclass WeakReference and remove internal threading

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

16 years agoBugzilla #37993:
Jeremias Maerki [Fri, 30 Nov 2007 09:04:54 +0000 (09:04 +0000)]
Bugzilla #37993:
Bugfix: allow multiple bookmarks to point at the same destination.

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

16 years agoAdded fixes-bug attributes for:
Vincent Hennebert [Thu, 29 Nov 2007 18:31:13 +0000 (18:31 +0000)]
Added fixes-bug attributes for:
- wrong element generation in table when glues are produced
- border-resolution on row-spanning cells

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

16 years agoBugzilla #40230:
Jeremias Maerki [Tue, 27 Nov 2007 08:36:23 +0000 (08:36 +0000)]
Bugzilla #40230:
Bugfix: no empty page is generated anymore if there's no content after a break-after.

Bugzilla #43917:
Bugfix for border-after painting and element list generation when a forced break is involved.

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

16 years agoFirst draft of a possible new intermediate format for Apache FOP.
Jeremias Maerki [Thu, 22 Nov 2007 16:13:05 +0000 (16:13 +0000)]
First draft of a possible new intermediate format for Apache FOP.
Details on: http://wiki.apache.org/xmlgraphics-fop/AreaTreeIntermediateXml/NewDesign

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

16 years agoBugfix: the last element generated by the merging algorithm may now be a glue
Vincent Hennebert [Wed, 21 Nov 2007 12:23:59 +0000 (12:23 +0000)]
Bugfix: the last element generated by the merging algorithm may now be a glue

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

16 years agoBugzilla #43803: table cells having no children are allowed in relaxed validation...
Vincent Hennebert [Tue, 20 Nov 2007 18:47:39 +0000 (18:47 +0000)]
Bugzilla #43803: table cells having no children are allowed in relaxed validation mode.

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

16 years agoAdded a news entry about Max Berger becoming a committer. Welcome Max!
Vincent Hennebert [Tue, 20 Nov 2007 17:08:46 +0000 (17:08 +0000)]
Added a news entry about Max Berger becoming a committer. Welcome Max!

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

16 years agobug fix: memory leak in PropertyCache. Fix provided by Jeremias. There are still...
Chris Bowditch [Tue, 20 Nov 2007 16:49:13 +0000 (16:49 +0000)]
bug fix: memory leak in PropertyCache. Fix provided by Jeremias. There are still some thread synchronization issues to be addressed in the PropertyCache. See the following thread for details: http://mail-archives.apache.org/mod_mbox/xmlgraphics-fop-dev/200711.mbox/%3cBAY117-DAV109E36CC066889386AB917FB870@phx.gbl%3e

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

16 years agoBugfix in tables: wrong element generation by the merging algorithm when glues must...
Vincent Hennebert [Tue, 20 Nov 2007 16:07:32 +0000 (16:07 +0000)]
Bugfix in tables: wrong element generation by the merging algorithm when glues must be produced to cope with conditional spaces. The corresponding length was added twice: one in the glue itself and one in the following box.

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

16 years agoBugfix: Bugfix for URI resolution: Make StreamSources without system identifier work...
Jeremias Maerki [Tue, 20 Nov 2007 15:56:33 +0000 (15:56 +0000)]
Bugfix: Bugfix for URI resolution: Make StreamSources without system identifier work again.
Bugfix: Close streams opened by test font resolution in font configuration (the font URIs will be resolved again later anyway).
Better error message when the loading of font metric files doesn't work due to missing information in the returned Source instances.

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

16 years agoBugzilla #43910:
Jeremias Maerki [Tue, 20 Nov 2007 10:20:29 +0000 (10:20 +0000)]
Bugzilla #43910:
Avoid a NullPointerException in AreaTreeHandler.endDocument().
Submitted by: David Delbecq <delbd.at.oma.be>

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

16 years agoBugzilla #43904:
Jeremias Maerki [Tue, 20 Nov 2007 07:14:33 +0000 (07:14 +0000)]
Bugzilla #43904:
Buffer the OutputStreams in our transcoders if the users forget.

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

16 years agoBugzilla #43766: breaks generated by the merging algorithm for table rows containing...
Vincent Hennebert [Mon, 19 Nov 2007 18:25:27 +0000 (18:25 +0000)]
Bugzilla #43766: breaks generated by the merging algorithm for table rows containing empty cells has always a penalty of 900

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

16 years agoAdded sample as suggested by Kumar Puppala.
Jeremias Maerki [Sun, 18 Nov 2007 17:17:24 +0000 (17:17 +0000)]
Added sample as suggested by Kumar Puppala.

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

16 years agoBugzilla #43605:
Jeremias Maerki [Sun, 18 Nov 2007 16:56:09 +0000 (16:56 +0000)]
Bugzilla #43605:
Added methods for page-number-citation and page-number-citation-last in FOEventHandler.java
Submitted by: V. Schappert <vschappert.at.bloomberg.net>

Patch modified by Jeremias:
Bugfix: FOEventHandler.startPageNumberCitation() was also called in the case of a page-number-citation-last. Introduced abstract base classes to avoid this.

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

16 years agoApacheCon US is over.
Jeremias Maerki [Sun, 18 Nov 2007 10:48:53 +0000 (10:48 +0000)]
ApacheCon US is over.
OSSSummit was cancelled/postponed.
Added example for total page count using XSL 1.1
Adjusted total page count example to new FOP API. (Thanks to Miroslav Gregan for the hint)

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

16 years agoThis should improve the ability of the FontLoader when resolving PFM files
Adrian Cumiskey [Fri, 16 Nov 2007 12:12:52 +0000 (12:12 +0000)]
This should improve the ability of the FontLoader when resolving PFM files
for Type 1 fonts on case sensitive Unix systems.

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

16 years agoBugzilla #43143:
Jeremias Maerki [Thu, 15 Nov 2007 13:28:58 +0000 (13:28 +0000)]
Bugzilla #43143:
Had to remove the Expert(Subset) Encoding detection as this caused problems with a barcode font that used dfCharset=2 but was not using ExpertSubset encoding. To detect Expert(Subset)Encoding, the AFM needs to be parsed. And since we don't support that encoding, yet, the fallback to WinAnsiEncoding should work well enough.

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

16 years agoRestored the setting of rowIndex on primary grid units (although testcases were alrea...
Vincent Hennebert [Wed, 14 Nov 2007 12:21:53 +0000 (12:21 +0000)]
Restored the setting of rowIndex on primary grid units (although testcases were already working...)

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

16 years agoRestored the setting of the parent table-row element on grid units
Vincent Hennebert [Wed, 14 Nov 2007 11:14:03 +0000 (11:14 +0000)]
Restored the setting of the parent table-row element on grid units

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

16 years agoReduced visibility of some methods and constructors from public to package-private...
Vincent Hennebert [Wed, 14 Nov 2007 10:41:52 +0000 (10:41 +0000)]
Reduced visibility of some methods and constructors from public to package-private, as a consequence of the move of *GridUnit to the fo.flow.table package

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

16 years agoMoved EffRow to the fo.flow.table package
Vincent Hennebert [Wed, 14 Nov 2007 10:18:45 +0000 (10:18 +0000)]
Moved EffRow to the fo.flow.table package

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

16 years agoCleaned up RowGroupLayoutManager and TableRowIterator
Vincent Hennebert [Tue, 13 Nov 2007 17:39:17 +0000 (17:39 +0000)]
Cleaned up RowGroupLayoutManager and TableRowIterator

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

16 years agoUse a singleton for a default BorderInfo of style none, instead of every time a new...
Vincent Hennebert [Tue, 13 Nov 2007 17:13:19 +0000 (17:13 +0000)]
Use a singleton for a default BorderInfo of style none, instead of every time a new instance

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

16 years agoChanged back visibility of fields from public to package-private, due to the move...
Vincent Hennebert [Tue, 13 Nov 2007 16:55:54 +0000 (16:55 +0000)]
Changed back visibility of fields from public to package-private, due to the move of *GridUnit in the fo.flow.table package

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

16 years agoMoved *GridUnit from layoutmgr/table to fo/flow/table
Vincent Hennebert [Tue, 13 Nov 2007 16:50:09 +0000 (16:50 +0000)]
Moved *GridUnit from layoutmgr/table to fo/flow/table

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

16 years agoMoved the creation of grid units to the FO tree building stage. Brought a few improve...
Vincent Hennebert [Tue, 13 Nov 2007 16:24:32 +0000 (16:24 +0000)]
Moved the creation of grid units to the FO tree building stage. Brought a few improvements along with the move:
- bugfix: border-resolution for border-end on row-spanning cells was wrong
- bugfix: in case of missing cells the border-end of the table was applied to an inner cell, instead of the cell in the last column (but missing cells aren't painted yet :-\)
- bugfix: in collapsing-border model, border-before and -after specified on table-column were applied to every cell of the column, instead of only the first and the last ones
- border resolution is now made progressively when possible, and no longer triggers the fetching of all the rows of the table
Added testcases for the border conflict resolution (between the various elements of a table and not only the cells)

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

16 years agoFix two javadoc warnings.
Jeremias Maerki [Tue, 13 Nov 2007 14:37:00 +0000 (14:37 +0000)]
Fix two javadoc warnings.

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

16 years agoMore informative overflow message (sometimes the overflow is just a few millipoints...
Jeremias Maerki [Tue, 13 Nov 2007 13:07:33 +0000 (13:07 +0000)]
More informative overflow message (sometimes the overflow is just a few millipoints and it's nice to know how many).

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

16 years agoLog element list length for convenience.
Jeremias Maerki [Tue, 13 Nov 2007 12:45:15 +0000 (12:45 +0000)]
Log element list length for convenience.

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

16 years agoFilter single quotes from the filenames as this will interfere with font-family parsing.
Jeremias Maerki [Tue, 13 Nov 2007 12:44:29 +0000 (12:44 +0000)]
Filter single quotes from the filenames as this will interfere with font-family parsing.
Fixed bug: InputStream opened by URL.openConnection() wasn't closed which leads to "too many open files" when you have lots of fonts on Java 1.4.

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

16 years agoBetter error messages in fontLookup().
Jeremias Maerki [Tue, 13 Nov 2007 12:42:35 +0000 (12:42 +0000)]
Better error messages in fontLookup().
Expose font triplets to the outside (used by a test tool I wrote).

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

16 years agoSome TTF fonts don't have a PostScript name, so just emulate it in this case to avoid...
Jeremias Maerki [Tue, 13 Nov 2007 12:41:24 +0000 (12:41 +0000)]
Some TTF fonts don't have a PostScript name, so just emulate it in this case to avoid problems with font lookup further down.

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

16 years agoImproved PFM loading:
Jeremias Maerki [Tue, 13 Nov 2007 12:40:38 +0000 (12:40 +0000)]
Improved PFM loading:
- Fixed bug with Flags (resulted in bad PDFs for certain fonts)
- Warn about possible charset problems.
- Fixed bug for "last char" (probably a copy/paste mistake)

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

16 years agoExpose a method so I can easily extract the renderer configuration from outside the...
Jeremias Maerki [Tue, 13 Nov 2007 12:35:31 +0000 (12:35 +0000)]
Expose a method so I can easily extract the renderer configuration from outside the rendering domain (for a test tool).

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