]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
19 years agoBugzilla #35534
Jeremias Maerki [Mon, 25 Jul 2005 16:06:24 +0000 (16:06 +0000)]
Bugzilla #35534
space-* production for list-item.
Fixed the testcase to provide more accurate testing. The .optimum way currently doesn't work, as the page breaker seems to always use the .minimum value (which is 0pt) and the addAreas stage currently doesn't take this into account.

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

19 years agoMade Service a stand-alone class so it can be reused.
Jeremias Maerki [Mon, 25 Jul 2005 15:54:20 +0000 (15:54 +0000)]
Made Service a stand-alone class so it can be reused.
Made XMLHandler discoverable through the Service class.
Moved XMLHandler collection into new XMLHandlerRegistry class.
Adjusted the Renderers and XMLHandler to the above changes.

This should make it easier to write certain FOP extensions. The changes were triggered by my work on the FOP extension for Barcode4J for the FOP Trunk.

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

19 years agoBugzilla #35534
Jeremias Maerki [Mon, 25 Jul 2005 15:41:23 +0000 (15:41 +0000)]
Bugzilla #35534
space-* production for list-item and list-block.

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

19 years agoBugzilla #35534
Jeremias Maerki [Mon, 25 Jul 2005 15:27:36 +0000 (15:27 +0000)]
Bugzilla #35534
space-* production for list-item.

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

19 years agoBuzilla #35787
Jeremias Maerki [Tue, 19 Jul 2005 13:53:05 +0000 (13:53 +0000)]
Buzilla #35787
When checking for content overflow, don't include border and padding.
Clearer warning message in case of height constraint violation on table-rows.

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

19 years agoDynamic classpath setup in case not all required dependencies are available in the...
Jeremias Maerki [Mon, 18 Jul 2005 16:41:18 +0000 (16:41 +0000)]
Dynamic classpath setup in case not all required dependencies are available in the given classpath.
Useful when starting FOP using "java -jar fop.jar". This is actually a replacement for the manifest "Class-Path" entry and even picks up additional JARs it finds.

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

19 years agoRenamed Item to Cell to TableCellLayoutManager.
Jeremias Maerki [Mon, 18 Jul 2005 15:46:44 +0000 (15:46 +0000)]
Renamed Item to Cell to TableCellLayoutManager.
Renamed Caption to TableCaptionLayoutManager.
Adjusted SVN properties.

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

19 years agoRenamed Item to ListItemContentLayoutManager.
Jeremias Maerki [Mon, 18 Jul 2005 15:39:47 +0000 (15:39 +0000)]
Renamed Item to ListItemContentLayoutManager.
Adjusted SVN properties.

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

19 years agoMoved inline-level LMs and support classes to "inline" subpackage.
Jeremias Maerki [Mon, 18 Jul 2005 15:03:47 +0000 (15:03 +0000)]
Moved inline-level LMs and support classes to "inline" subpackage.

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

19 years agoJavadocs only
Jeremias Maerki [Mon, 18 Jul 2005 14:46:29 +0000 (14:46 +0000)]
Javadocs only

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

19 years agoNo more warnings about unexpected FOText inside markers.
Jeremias Maerki [Mon, 18 Jul 2005 10:51:00 +0000 (10:51 +0000)]
No more warnings about unexpected FOText inside markers.

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

19 years agoShortcut work-around for i-f-o in static-content. I still need to estimate the implic...
Jeremias Maerki [Mon, 18 Jul 2005 10:14:49 +0000 (10:14 +0000)]
Shortcut work-around for i-f-o in static-content. I still need to estimate the implications concerning memory consumption.

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

19 years agoFix for allowing empty table-cells (for relaxed validation).
Jeremias Maerki [Fri, 15 Jul 2005 20:52:47 +0000 (20:52 +0000)]
Fix for allowing empty table-cells (for relaxed validation).
Row heights were not always set, especially when there was no content to make the effective rows grow in height.

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

19 years agoWrapperLayoutManagerMaker was used by RetrieveMarker. This caused a ClassCastExceptio...
Jeremias Maerki [Fri, 15 Jul 2005 20:50:33 +0000 (20:50 +0000)]
WrapperLayoutManagerMaker was used by RetrieveMarker. This caused a ClassCastException with my recent fix.

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

19 years agoBugzilla #35749:
Jeremias Maerki [Fri, 15 Jul 2005 17:52:39 +0000 (17:52 +0000)]
Bugzilla #35749:
IDs on fo:wrapper didn't register on the pages because fo:wrapper didn't have an LM that does that job for it.
The new LM for wrapper creates a dummy area so addId() can be triggered. No area is actually sent to the area tree. The WrapperLM is simply inserted before its children.

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

19 years agoClarify where this K3 barcode font is coming from.
Jeremias Maerki [Thu, 14 Jul 2005 08:28:55 +0000 (08:28 +0000)]
Clarify where this K3 barcode font is coming from.

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

19 years agoBugfix: Proper handling of page break between normally broken parts and the parts...
Jeremias Maerki [Mon, 11 Jul 2005 07:20:42 +0000 (07:20 +0000)]
Bugfix: Proper handling of page break between normally broken parts and the parts that need to be balanced. (multi-column layout, fixes multi-column2a)

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

19 years agoBugfix: Corrected the calculation of the full length of the section to be broken...
Jeremias Maerki [Mon, 11 Jul 2005 07:19:01 +0000 (07:19 +0000)]
Bugfix: Corrected the calculation of the full length of the section to be broken. Could lead to strange results.
Own private logger for easier debugging.

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

19 years agoRegression test for special case of multi-column2.xml.
Jeremias Maerki [Mon, 11 Jul 2005 07:10:55 +0000 (07:10 +0000)]
Regression test for special case of multi-column2.xml.

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

19 years agoDefault break class should be EN_COLUMN or else there will be problems in multi-colum...
Jeremias Maerki [Fri, 8 Jul 2005 13:22:45 +0000 (13:22 +0000)]
Default break class should be EN_COLUMN or else there will be problems in multi-column documents.

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

19 years agoColumn balancing seems to work now.
Jeremias Maerki [Fri, 8 Jul 2005 12:51:59 +0000 (12:51 +0000)]
Column balancing seems to work now.

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

19 years agoColumn balancing seems to work now.
Jeremias Maerki [Fri, 8 Jul 2005 12:50:49 +0000 (12:50 +0000)]
Column balancing seems to work now.
I had to modify BreakingAlgorithm to add best records for parts which are too short.
Furthermore, it took an additional computed value to tweak the balancing. It effectively makes shorter trailing parts preferred.

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

19 years agoFixed some mistakes in the checks.
Jeremias Maerki [Fri, 8 Jul 2005 12:28:56 +0000 (12:28 +0000)]
Fixed some mistakes in the checks.

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

19 years agoCorrects a small mistake when repositioning the cursor in multi-column layout (see...
Jeremias Maerki [Fri, 8 Jul 2005 08:47:22 +0000 (08:47 +0000)]
Corrects a small mistake when repositioning the cursor in multi-column layout (see multi-column2.xml)

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

19 years agoThe test case is not much use with explicit column-widths.
Jeremias Maerki [Fri, 8 Jul 2005 08:35:09 +0000 (08:35 +0000)]
The test case is not much use with explicit column-widths.

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

19 years agoTest case for Bugzilla issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=35656
Jeremias Maerki [Fri, 8 Jul 2005 07:50:06 +0000 (07:50 +0000)]
Test case for Bugzilla issue: http://issues.apache.org/bugzilla/show_bug.cgi?id=35656
(specifying column widths through the first table row as described in CSS2)

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

19 years agoRemove illegal or non-standard stuff.
Jeremias Maerki [Thu, 30 Jun 2005 13:07:42 +0000 (13:07 +0000)]
Remove illegal or non-standard stuff.

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

19 years agoBugzilla #35561
Jeremias Maerki [Thu, 30 Jun 2005 11:55:46 +0000 (11:55 +0000)]
Bugzilla #35561
Print quality improvement especially for printing. The implementations don't create a bitmap image anymore, but draw directly.
Submitted by: Richard Wheeldon <richardw@geoquip-rnd.demon.co.uk>

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

19 years agoIt's Apache FOP, not just FOP.
Jeremias Maerki [Thu, 30 Jun 2005 07:58:50 +0000 (07:58 +0000)]
It's Apache FOP, not just FOP.

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

19 years agoFix placement of links in PDFs.
Jeremias Maerki [Thu, 30 Jun 2005 07:56:25 +0000 (07:56 +0000)]
Fix placement of links in PDFs.

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

19 years agolog statement should be debug().
Jeremias Maerki [Thu, 30 Jun 2005 06:35:37 +0000 (06:35 +0000)]
log statement should be debug().

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

19 years agoFixed checks or FO of footnotes2 and page-number3 to compensate for the fixed page...
Jeremias Maerki [Wed, 29 Jun 2005 21:01:45 +0000 (21:01 +0000)]
Fixed checks or FO of footnotes2 and page-number3 to compensate for the fixed page-number and page-number-citation LMs.
Extended checks on linelayout2.xml and enabled it.

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

19 years agoFix vertical placement of page-number and page-number-citation.
Jeremias Maerki [Wed, 29 Jun 2005 20:59:27 +0000 (20:59 +0000)]
Fix vertical placement of page-number and page-number-citation.

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

19 years agoObserve line layout element lists, too.
Jeremias Maerki [Wed, 29 Jun 2005 20:55:14 +0000 (20:55 +0000)]
Observe line layout element lists, too.

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

19 years agotoString() method.
Jeremias Maerki [Wed, 29 Jun 2005 20:54:19 +0000 (20:54 +0000)]
toString() method.

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

19 years agovpos on character, too.
Jeremias Maerki [Wed, 29 Jun 2005 20:53:45 +0000 (20:53 +0000)]
vpos on character, too.

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

19 years agoFound the problem with the widely spaced lines: page-number and page-number-citation...
Jeremias Maerki [Wed, 29 Jun 2005 19:55:39 +0000 (19:55 +0000)]
Found the problem with the widely spaced lines: page-number and page-number-citation are too big.

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

19 years agoMore extensive multi-column layout testing.
Jeremias Maerki [Wed, 29 Jun 2005 13:20:16 +0000 (13:20 +0000)]
More extensive multi-column layout testing.

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

19 years agoBugfix: Multiple spans now painted in the right places.
Jeremias Maerki [Wed, 29 Jun 2005 13:18:27 +0000 (13:18 +0000)]
Bugfix: Multiple spans now painted in the right places.

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

19 years agoBugfix: IPD for footnote region now correct in multi-column layout.
Jeremias Maerki [Wed, 29 Jun 2005 13:15:43 +0000 (13:15 +0000)]
Bugfix: IPD for footnote region now correct in multi-column layout.
Next step at multi-column layout:
- A multi-column section that needs column balancing is normally rendered until the next-to-last page. The rest of the element are re-broken by a special balancing page breaker.
- Multiple spans supported in area tree and through break handling.
- There are still problems with footnotes and column balancing.
- Main layout loop changed to render an element list right after it's broken. The block lists are not collected anymore and then rendered.
Bugfix: PageViewportProvider had a one-off (when accessing through "relative to current element list")

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

19 years agoMy first laughable attempt at a page breaker for balancing columns. Doesn't work...
Jeremias Maerki [Wed, 29 Jun 2005 13:14:55 +0000 (13:14 +0000)]
My first laughable attempt at a page breaker for balancing columns. Doesn't work if the element list fits into the first available area and doesn't balance exactly like I would like it to when the balancing actually gets active.
But it's better than nothing to start with.

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

19 years agoSpan change detection and infastructure for signalling it.
Jeremias Maerki [Wed, 29 Jun 2005 12:59:31 +0000 (12:59 +0000)]
Span change detection and infastructure for signalling it.

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

19 years agoEnable starting the break process at an arbitrary position inside an element list.
Jeremias Maerki [Wed, 29 Jun 2005 12:57:51 +0000 (12:57 +0000)]
Enable starting the break process at an arbitrary position inside an element list.

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

19 years agonotifyFlowsFinished() indirectly used by multi-column layout to determine the restart...
Jeremias Maerki [Wed, 29 Jun 2005 12:41:31 +0000 (12:41 +0000)]
notifyFlowsFinished() indirectly used by multi-column layout to determine the restart point after span changes.
getRemainingBPD() is used by the page breaking process in multi-column layout (multiple spans).

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

19 years agoAccumulate the BPD extent used by the normal flow's children.
Jeremias Maerki [Wed, 29 Jun 2005 12:38:12 +0000 (12:38 +0000)]
Accumulate the BPD extent used by the normal flow's children.

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

19 years agoTests bug #35534
Jeremias Maerki [Wed, 29 Jun 2005 07:27:54 +0000 (07:27 +0000)]
Tests bug #35534

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

19 years agoFix for strange side-effects when the link is in the section title.
Jeremias Maerki [Mon, 27 Jun 2005 21:17:21 +0000 (21:17 +0000)]
Fix for strange side-effects when the link is in the section title.

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

19 years agoFix ViewCVS URLs.
Jeremias Maerki [Mon, 27 Jun 2005 21:04:01 +0000 (21:04 +0000)]
Fix ViewCVS URLs.

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

19 years agoIt should be Apache FOP, not just FOP.
Jeremias Maerki [Mon, 27 Jun 2005 20:49:52 +0000 (20:49 +0000)]
It should be Apache FOP, not just FOP.

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

19 years agoThis is a work-around for the missing TOC on the FAQ page.
Jeremias Maerki [Mon, 27 Jun 2005 18:00:17 +0000 (18:00 +0000)]
This is a work-around for the missing TOC on the FAQ page.
The FAQ stylesheet generates exactly one top-level section ("Questions") and multiple nested sections. Therefore, setting the min-sections value to "3" disables the TOC for the FAQ page. It would be great if one could override this value on a single page to force the TOC to appear.

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

19 years agoRevert revsision 201627.
Jeremias Maerki [Sun, 26 Jun 2005 16:47:55 +0000 (16:47 +0000)]
Revert revsision 201627.

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

19 years agoUpdated links to use SVN repository instead of CVS one.
Glen Mazza [Sun, 26 Jun 2005 15:28:10 +0000 (15:28 +0000)]
Updated links to use SVN repository instead of CVS one.

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

19 years agoSwitch to .equals() instead of == for String compares of namespaces. Thanks to Nils...
Glen Mazza [Sun, 26 Jun 2005 15:13:38 +0000 (15:13 +0000)]
Switch to .equals() instead of == for String compares of namespaces.  Thanks to Nils Meier for the suggestion.

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

19 years agoCheck the proper use of the span attribute.
Jeremias Maerki [Fri, 24 Jun 2005 15:08:08 +0000 (15:08 +0000)]
Check the proper use of the span attribute.

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

19 years agoForgot to delete the directory.
Jeremias Maerki [Fri, 24 Jun 2005 09:36:16 +0000 (09:36 +0000)]
Forgot to delete the directory.

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

19 years agoCVS -> SVN.
Jeremias Maerki [Fri, 24 Jun 2005 09:32:20 +0000 (09:32 +0000)]
CVS -> SVN.
Recreated Clay's changes (hopefully all of them).
Removed alt.design stuff.

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

19 years agoFirst SVN commit. Trivial formatting change.
Glen Mazza [Fri, 24 Jun 2005 04:13:43 +0000 (04:13 +0000)]
First SVN commit.  Trivial formatting change.

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

19 years agoFirst SVN commit.
Jeremias Maerki [Thu, 23 Jun 2005 20:26:38 +0000 (20:26 +0000)]
First SVN commit.
Correct mailing list info.

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

19 years agoUpdate.
Jeremias Maerki [Thu, 23 Jun 2005 15:02:59 +0000 (15:02 +0000)]
Update.

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

19 years agoFirst parts on a page which don't fit are moved to the next page. A counter avoids...
Jeremias Maerki [Thu, 23 Jun 2005 15:01:14 +0000 (15:01 +0000)]
First parts on a page which don't fit are moved to the next page. A counter avoids endless loops.
Fixes normal-breaking5.xml.

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

19 years agoIt makes no sense to keep this.
Jeremias Maerki [Thu, 23 Jun 2005 12:02:18 +0000 (12:02 +0000)]
It makes no sense to keep this.

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

19 years agoTests for breaks on tables.
Jeremias Maerki [Wed, 22 Jun 2005 15:01:17 +0000 (15:01 +0000)]
Tests for breaks on tables.

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

19 years agobreaks supported on tables, table-row and table-cell content now. Cheap approach...
Jeremias Maerki [Wed, 22 Jun 2005 14:59:54 +0000 (14:59 +0000)]
breaks supported on tables, table-row and table-cell content now. Cheap approach for now. TableContentLM is not yet restartable, but the Breaker handles that pretty well.
Improved page break handling to support the different break classes even if no new block sequence is started.

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

19 years agotrace getLineWidth().
Jeremias Maerki [Wed, 22 Jun 2005 14:57:13 +0000 (14:57 +0000)]
trace getLineWidth().

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

19 years agoSupport late setting of break class.
Jeremias Maerki [Wed, 22 Jun 2005 14:56:23 +0000 (14:56 +0000)]
Support late setting of break class.
Slightly improved toString().
Javadocs.

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

19 years agostatics to the top so they are easily found.
Jeremias Maerki [Wed, 22 Jun 2005 14:55:33 +0000 (14:55 +0000)]
statics to the top so they are easily found.
Different logger name used now.

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

19 years agoAccessors for break-* on table-row.
Jeremias Maerki [Wed, 22 Jun 2005 14:51:39 +0000 (14:51 +0000)]
Accessors for break-* on table-row.

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

19 years agoBugfix for misplaced block-containers.
Jeremias Maerki [Wed, 22 Jun 2005 14:50:20 +0000 (14:50 +0000)]
Bugfix for misplaced block-containers.

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

19 years agoChecks were developed when breaks on tables were NYI, so I have to remove this to...
Jeremias Maerki [Wed, 22 Jun 2005 14:43:39 +0000 (14:43 +0000)]
Checks were developed when breaks on tables were NYI, so I have to remove this to make it work again when breaks are available on tables.

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

19 years agoAnother one of my feeble moments. wrapper1 doesn't fail. The LM setup is different...
Jeremias Maerki [Tue, 21 Jun 2005 16:09:31 +0000 (16:09 +0000)]
Another one of my feeble moments. wrapper1 doesn't fail. The LM setup is different from the one for fo:inline.

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

19 years agoIn page breaking, content that doesn't fit, should move to the next page even if...
Jeremias Maerki [Tue, 21 Jun 2005 13:10:36 +0000 (13:10 +0000)]
In page breaking, content that doesn't fit, should move to the next page even if that means creating empty pages.

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

19 years agoTest cases showing ClassCastExceptions with fo:blocks inside fo:inline and fo:wrapper...
Jeremias Maerki [Tue, 21 Jun 2005 12:04:12 +0000 (12:04 +0000)]
Test cases showing ClassCastExceptions with fo:blocks inside fo:inline and fo:wrapper because InlineLayoutManager currently doesn't expect block-level nodes.

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

19 years agoFixes NPEs when a table is using collapsing border model in conjunction with empty...
Jeremias Maerki [Mon, 20 Jun 2005 13:24:21 +0000 (13:24 +0000)]
Fixes NPEs when a table is using collapsing border model in conjunction with empty cells.

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

19 years agoWarning about collapsing border model.
Jeremias Maerki [Mon, 20 Jun 2005 13:22:50 +0000 (13:22 +0000)]
Warning about collapsing border model.

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

19 years agoBugzilla: #35358
Jeremias Maerki [Mon, 20 Jun 2005 09:02:42 +0000 (09:02 +0000)]
Bugzilla: #35358
Fixed the following:
Dialog appearing when panel embedded in custom apps.
NullPointerExceptions when embedding PreviewPanel.
PreviewPanel docs inaccurate.
Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk>

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

19 years agoBugzilla: #35358
Jeremias Maerki [Mon, 20 Jun 2005 08:46:26 +0000 (08:46 +0000)]
Bugzilla: #35358
Fix for French translation.
Submitted by: Renaud Richardet <renaud.richardet.at.gmail.com>

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

19 years agoMake this work for case-sensitive users
Simon Pepping [Fri, 17 Jun 2005 20:58:23 +0000 (20:58 +0000)]
Make this work for case-sensitive users

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

19 years agoItalian translation of the viewer labels
Luca Furini [Thu, 16 Jun 2005 16:09:20 +0000 (16:09 +0000)]
Italian translation of the viewer labels

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

19 years agoAdded getPageViewportProvider().
Jeremias Maerki [Thu, 16 Jun 2005 07:29:06 +0000 (07:29 +0000)]
Added getPageViewportProvider().
Code styling and javadocs.

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

19 years agoBugzilla: #35358
Jeremias Maerki [Wed, 15 Jun 2005 12:24:01 +0000 (12:24 +0000)]
Bugzilla: #35358
Improvements on Viewer application:
- Separated out the preview panels and control logic from the buttons and dialog to make it easier to use elsewhere.
- Added a continuous scrolling mode similar to that used by acrobat reader. Also added continuous facing mode.
- Added fit-width and fit-to-page zoom options.
Submitted by: Richard Wheeldon <richardw.at.geoquip-rnd.demon.co.uk>

Updated german and french translations by myself.

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

19 years agoDerived from normal-breaking4 but only showing and checking the changing BPD aspect.
Jeremias Maerki [Wed, 15 Jun 2005 09:09:20 +0000 (09:09 +0000)]
Derived from normal-breaking4 but only showing and checking the changing BPD aspect.

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

19 years agoPage breaking process now respects changing available BPD (not IPD) over multiple...
Jeremias Maerki [Wed, 15 Jun 2005 09:08:35 +0000 (09:08 +0000)]
Page breaking process now respects changing available BPD (not IPD) over multiple pages.
PageSequenceMaster allows backtracking.
PageViewports are delivered through a PageViewportProvider class which caches PVs and handles cases where the breaking algorithm allocates PVs that turn out to be unused later (because of hard breaks which may cause blank pages, for example).

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

19 years agoThis works now.
Luca Furini [Tue, 14 Jun 2005 16:16:44 +0000 (16:16 +0000)]
This works now.

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

19 years agoThe bpd of lines with no real content must collapse to 0
Luca Furini [Tue, 14 Jun 2005 16:12:08 +0000 (16:12 +0000)]
The bpd of lines with no real content must collapse to 0

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

19 years agoSwitched to null for PageBreaker.getTopLevelLM().
Glen Mazza [Tue, 14 Jun 2005 02:54:09 +0000 (02:54 +0000)]
Switched to null for PageBreaker.getTopLevelLM().
Not being used by the page-breaking process.

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

19 years agoUnused import removed.
Glen Mazza [Fri, 10 Jun 2005 22:19:23 +0000 (22:19 +0000)]
Unused import removed.

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

19 years agogeneratesInlineAreas() methods removed.
Glen Mazza [Fri, 10 Jun 2005 22:17:38 +0000 (22:17 +0000)]
generatesInlineAreas() methods removed.

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

19 years agoAdded a clarifying comment
Simon Pepping [Fri, 10 Jun 2005 19:44:46 +0000 (19:44 +0000)]
Added a clarifying comment

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

19 years agoIcon Tweaking
Jeremias Maerki [Fri, 10 Jun 2005 15:20:22 +0000 (15:20 +0000)]
Icon Tweaking

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

19 years agoCreate LinkedList only if it's needed.
Jeremias Maerki [Fri, 10 Jun 2005 11:34:21 +0000 (11:34 +0000)]
Create LinkedList only if it's needed.

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

19 years agoApparently unused getWordSpaceIPD() removed.
Glen Mazza [Fri, 10 Jun 2005 04:04:49 +0000 (04:04 +0000)]
Apparently unused getWordSpaceIPD() removed.

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

19 years agoRemoved unused functions. Team, I switched from generatesInlineAreas() calls
Glen Mazza [Fri, 10 Jun 2005 03:56:49 +0000 (03:56 +0000)]
Removed unused functions.  Team, I switched from generatesInlineAreas() calls
to "instanceof InlineLevelLayoutManager", because AFAICT there is a 1-to-1 mapping
between the two.  If no one has problems with this, I will be removing
the generatesInlineAreas() implementations next.

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

19 years agoRemoved functionality for collecting words reverted. Instead made sure capitalize...
Jeremias Maerki [Thu, 9 Jun 2005 21:11:06 +0000 (21:11 +0000)]
Removed functionality for collecting words reverted. Instead made sure capitalize only converts to upper case and not the other way around.

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

19 years agoExpectations changed again. Hopefully right this time. capitalize only changes lower...
Jeremias Maerki [Thu, 9 Jun 2005 21:10:02 +0000 (21:10 +0000)]
Expectations changed again. Hopefully right this time. capitalize only changes lower case to upper case, but not the other way around.

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

19 years agoAdditional fixes for checks that don't work anymore because the pageSequence elements...
Jeremias Maerki [Thu, 9 Jun 2005 14:20:45 +0000 (14:20 +0000)]
Additional fixes for checks that don't work anymore because the pageSequence elements are now generated correctly.

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

19 years agoCommand-line switch for setting the resolution.
Jeremias Maerki [Thu, 9 Jun 2005 13:15:59 +0000 (13:15 +0000)]
Command-line switch for setting the resolution.

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

19 years agoSafer creation of the new target File instance. outputDir can be null with relative...
Jeremias Maerki [Thu, 9 Jun 2005 13:15:06 +0000 (13:15 +0000)]
Safer creation of the new target File instance. outputDir can be null with relative paths.

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

19 years agoAvoid NPEs when no filename is set on the UserAgent. Only the first page is rendered...
Jeremias Maerki [Thu, 9 Jun 2005 12:50:14 +0000 (12:50 +0000)]
Avoid NPEs when no filename is set on the UserAgent. Only the first page is rendered in this case.
The resolution is written to the PNG file.

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

19 years agoDefault compression set to packbits which is widely supported. Uncompressed TIFFs...
Jeremias Maerki [Thu, 9 Jun 2005 12:49:05 +0000 (12:49 +0000)]
Default compression set to packbits which is widely supported. Uncompressed TIFFs are huge.
Enable encoding of color bitmaps (ideas stolen from Batik's TIFFTranscoder)
Commented the code that converts the color bitmap into a black and white image. The FAX compression types are not supported by the Batik TIFF codec so I disabled this. Later we will probably need a config switch to enable B/W images.
Resolution is written to the TIFF file.

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

19 years agoGeneral anti-aliasing hint added.
Jeremias Maerki [Thu, 9 Jun 2005 12:45:53 +0000 (12:45 +0000)]
General anti-aliasing hint added.
Bitmaps generated by the Java2D renderer take the resolution on the user agent into account.

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