]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
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

19 years agoPublish the default resolution to the outside.
Jeremias Maerki [Thu, 9 Jun 2005 12:44:24 +0000 (12:44 +0000)]
Publish the default resolution to the outside.

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

19 years agoI don't know what change actually did this during the last few days but it seems...
Jeremias Maerki [Thu, 9 Jun 2005 09:56:24 +0000 (09:56 +0000)]
I don't know what change actually did this during the last few days but it seems that the pageSequence starts now come in the right order to the Area Tree Renderer so I have to change the checks now. I didn't bother to track down the oddity back then.

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

19 years agoBugzilla: #33760
Jeremias Maerki [Thu, 9 Jun 2005 08:49:27 +0000 (08:49 +0000)]
Bugzilla: #33760
Resurrected Java2D/AWT Renderer (including bitmap output to PNG and TIFF using the Batik codecs and print capability).
Submitted by: Renaud Richardet <renaud.richardet.at.gmail.com>

Changes on the original patch:
- PageViewport: isResolved() caused a NPE which I fixed.

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

19 years agoImprovement for FOText instance creation. The text is consolidated into single FOText...
Jeremias Maerki [Thu, 9 Jun 2005 06:45:49 +0000 (06:45 +0000)]
Improvement for FOText instance creation. The text is consolidated into single FOText nodes instead of multiple ones due to multiple SAX characters() calls. This fixes some of the layout engine tests that failed in certain environments.
Submitted by: "Hock Szabolcs" <Hock.Szabolcs.at.t-online.co.hu>

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

19 years agoMore cleanup/simplifications.
Glen Mazza [Thu, 9 Jun 2005 02:39:55 +0000 (02:39 +0000)]
More cleanup/simplifications.

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

19 years agoMultiple getWordChar() methods placed together.
Glen Mazza [Wed, 8 Jun 2005 22:24:34 +0000 (22:24 +0000)]
Multiple getWordChar() methods placed together.

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

19 years agoLayoutManager.canBreakBefore() removed.
Glen Mazza [Wed, 8 Jun 2005 22:06:32 +0000 (22:06 +0000)]
LayoutManager.canBreakBefore() removed.

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

19 years agoRemoved comment; relaxed validation done on an fo-by-fo basis.
Glen Mazza [Wed, 8 Jun 2005 22:03:13 +0000 (22:03 +0000)]
Removed comment; relaxed validation done on an fo-by-fo basis.

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

19 years agoRemoved LM.initialize() -- switched to internal initialization of all LM's.
Glen Mazza [Tue, 7 Jun 2005 20:43:43 +0000 (20:43 +0000)]
Removed LM.initialize() -- switched to internal initialization of all LM's.
Did initialization from constructor, as that appeared sufficient for all of them.
Should for any LM, initialization not be available until the parentLM set,
then we just need to do this process within a setParent() override.

Also removed calls to superclass initialization, because as yet no initialization
was occurring in those superclasses.

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

19 years agoMinor PSLM simplifications.
Glen Mazza [Mon, 6 Jun 2005 05:46:00 +0000 (05:46 +0000)]
Minor PSLM simplifications.

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

19 years agoRemainder of pslm.gKNE() consolidated into pb.gKNE().
Glen Mazza [Sun, 5 Jun 2005 07:11:22 +0000 (07:11 +0000)]
Remainder of pslm.gKNE() consolidated into pb.gKNE().

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

19 years agoTwo stray isBogus()es removed, AFAICT unnecessary childLC initialization
Glen Mazza [Sat, 4 Jun 2005 04:47:31 +0000 (04:47 +0000)]
Two stray isBogus()es removed, AFAICT unnecessary childLC initialization
removed from PSLM.

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

19 years agoadded css2xslfo entry; removed extra html2fo entry
Clay Leeds [Fri, 3 Jun 2005 16:59:04 +0000 (16:59 +0000)]
added css2xslfo entry; removed extra html2fo entry

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

19 years agoupdated FOP Doc FAQ to match what's on LIVE site
Clay Leeds [Fri, 3 Jun 2005 16:58:38 +0000 (16:58 +0000)]
updated FOP Doc FAQ to match what's on LIVE site

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

19 years agoConstructor for FLM now takes parent as parameter,
Glen Mazza [Wed, 1 Jun 2005 22:41:17 +0000 (22:41 +0000)]
Constructor for FLM now takes parent as parameter,
also setting of Reference Area dimensions moved to
FLM.

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

19 years agoCorrected the test for the empty last block. The XPath statement was wrong.
Jeremias Maerki [Wed, 1 Jun 2005 07:59:02 +0000 (07:59 +0000)]
Corrected the test for the empty last block. The XPath statement was wrong.

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

19 years agoSimplifications to PSLM.gKNE().
Glen Mazza [Wed, 1 Jun 2005 04:22:18 +0000 (04:22 +0000)]
Simplifications to PSLM.gKNE().

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

19 years agoHandling page dependent footnote separator
Luca Furini [Tue, 31 May 2005 16:19:29 +0000 (16:19 +0000)]
Handling page dependent footnote separator

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

19 years agoWorks...
Jeremias Maerki [Tue, 31 May 2005 12:53:56 +0000 (12:53 +0000)]
Works...

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

19 years agoBasic element list tests for certain constellations on tables.
Jeremias Maerki [Tue, 31 May 2005 12:48:45 +0000 (12:48 +0000)]
Basic element list tests for certain constellations on tables.

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

19 years agoAdjustments after bugfixes in table layout. I didn't recognize the wrong page breaks.
Jeremias Maerki [Tue, 31 May 2005 12:48:17 +0000 (12:48 +0000)]
Adjustments after bugfixes in table layout. I didn't recognize the wrong page breaks.
Additional constellations for markers (and tables in general) checked.

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

19 years agoBugfix: getMaxRemainingHeight() was not very accurate and resulted in wrong element...
Jeremias Maerki [Tue, 31 May 2005 12:46:14 +0000 (12:46 +0000)]
Bugfix: getMaxRemainingHeight() was not very accurate and resulted in wrong element lists. Mostly problems with calculations when row spans are involved.
Bugfix: rows that are dynamically created by a row span are now correctly handled.
Bugfix: Proper reset of variables for empty grid units during the stepping process.

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

19 years agoremoved info RE:marc being down
Clay Leeds [Mon, 30 May 2005 22:05:53 +0000 (22:05 +0000)]
removed info RE:marc being down

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

19 years agoattempted to make FAQ more non-rude; added Doc Mgt FAQ (still haven't fixed TOC gener...
Clay Leeds [Mon, 30 May 2005 22:04:09 +0000 (22:04 +0000)]
attempted to make FAQ more non-rude; added Doc Mgt FAQ (still haven't fixed TOC generation issue)

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

19 years agoTestfiles for footnotes
Luca Furini [Mon, 30 May 2005 15:59:42 +0000 (15:59 +0000)]
Testfiles for footnotes

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

19 years agoHandling of very long footnotes
Luca Furini [Mon, 30 May 2005 15:56:42 +0000 (15:56 +0000)]
Handling of very long footnotes

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

19 years agoNew member variable "index" on Position (used for first/last checks).
Jeremias Maerki [Mon, 30 May 2005 09:11:10 +0000 (09:11 +0000)]
New member variable "index" on Position (used for first/last checks).
Position numbering implemented in BlockStackingLayoutManager (see member variables: lastGeneratedPosition and smallestPosNumberChecked)
Use notifyPos to give a Position an index (Don't reuse Position instances that get an index!)
Flags on TableContentPosition indicating first and last status (see TableStepper).
New way of determining first/last area implemented on all currently implemented block-level FOs.
Removed obsolete isBogus() method from LayoutManager.
Removed duplicate wrapPositionElements() method in FlowLayoutManager.
Some javadocs here and there.

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

19 years agoMore test cases for markers.
Jeremias Maerki [Mon, 30 May 2005 09:01:32 +0000 (09:01 +0000)]
More test cases for markers.

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

19 years agoBugfix: LAST_IN_BODY wasn't set on the GridUnits of a row that wasn't the last in...
Jeremias Maerki [Mon, 30 May 2005 08:38:50 +0000 (08:38 +0000)]
Bugfix: LAST_IN_BODY wasn't set on the GridUnits of a row that wasn't the last in a table, i.e. when there are multiple bodies.

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

19 years agoObsolete code removed and text-transform behaviour changed based on input from Victor...
Jeremias Maerki [Fri, 27 May 2005 19:05:53 +0000 (19:05 +0000)]
Obsolete code removed and text-transform behaviour changed based on input from Victor Mote: http://marc.theaimsgroup.com/?t=111718934800001&r=1&w=2

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

19 years agoExpected results changed based on Victor Mote's input.
Jeremias Maerki [Fri, 27 May 2005 19:04:42 +0000 (19:04 +0000)]
Expected results changed based on Victor Mote's input.

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

19 years agoTwo test cases for text-transform. Works fine! Wow.
Jeremias Maerki [Fri, 27 May 2005 14:21:33 +0000 (14:21 +0000)]
Two test cases for text-transform. Works fine! Wow.

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

19 years agoMissing FOs that can receive markers.
Jeremias Maerki [Fri, 27 May 2005 08:38:26 +0000 (08:38 +0000)]
Missing FOs that can receive markers.

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

19 years agoCleanup
Jeremias Maerki [Fri, 27 May 2005 08:37:33 +0000 (08:37 +0000)]
Cleanup

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

19 years agoSkip markers (they are validated properly earlier).
Jeremias Maerki [Thu, 26 May 2005 17:13:25 +0000 (17:13 +0000)]
Skip markers (they are validated properly earlier).

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

19 years agoOnly the checks were wrong.
Jeremias Maerki [Thu, 26 May 2005 07:19:13 +0000 (07:19 +0000)]
Only the checks were wrong.

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

19 years agoHmm, test case works, only the checks are wrong.
Jeremias Maerki [Thu, 26 May 2005 07:18:28 +0000 (07:18 +0000)]
Hmm, test case works, only the checks are wrong.

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

19 years agoSupport for multiple pages in PDFDocumentGraphics2D. Same approach as for AbstractPSD...
Jeremias Maerki [Wed, 25 May 2005 19:19:46 +0000 (19:19 +0000)]
Support for multiple pages in PDFDocumentGraphics2D. Same approach as for AbstractPSDocumentGraphics2D.
Call to nextPage() closes current page, the first subsequent painting operation prepares a new page.

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

19 years agoA glue at the beginning of the element list can't be a legal break point. Fixes an...
Jeremias Maerki [Wed, 25 May 2005 19:16:00 +0000 (19:16 +0000)]
A glue at the beginning of the element list can't be a legal break point. Fixes an ArrayIndexOutOfBounds when there's a space-before at the beginning of the list.

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

19 years agoCommented the Class-Path Manifest entry which causes trouble at runtime (ClassNotFoun...
Jeremias Maerki [Tue, 24 May 2005 19:45:02 +0000 (19:45 +0000)]
Commented the Class-Path Manifest entry which causes trouble at runtime (ClassNotFoundErrors).
Additional infos echoed during build.

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

19 years agoMade sure all currently non-passing test cases are in the list.
Jeremias Maerki [Tue, 24 May 2005 19:43:55 +0000 (19:43 +0000)]
Made sure all currently non-passing test cases are in the list.

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

19 years agokeep-with-next|previous on lists.
Jeremias Maerki [Tue, 24 May 2005 13:42:30 +0000 (13:42 +0000)]
keep-with-next|previous on lists.

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

19 years agoUpdate for toString()
Jeremias Maerki [Tue, 24 May 2005 13:41:39 +0000 (13:41 +0000)]
Update for toString()

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

19 years agoTest cases for keep-with-next|previous on lists.
Jeremias Maerki [Tue, 24 May 2005 13:40:42 +0000 (13:40 +0000)]
Test cases for keep-with-next|previous on lists.
Same problems as with tables. Still not sure how to handle this.

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

19 years agoModify keep-with-next and keep-with-previous handling to support "level-hopping"...
Jeremias Maerki [Tue, 24 May 2005 09:41:32 +0000 (09:41 +0000)]
Modify keep-with-next and keep-with-previous handling to support "level-hopping" (see keep-with-next1a and keep-with-previous1a)
Full keep handling for tables (there's a remaning problem with keep-with-previous)
keep-together support for lists.

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

19 years agoMore keep accessors where needed.
Jeremias Maerki [Tue, 24 May 2005 09:38:02 +0000 (09:38 +0000)]
More keep accessors where needed.
Common abstract base class for ListItemLabel and ListItemBody to make code in the LM more readable.

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

19 years agoNeed the ability to modify P after creation of the instance.
Jeremias Maerki [Tue, 24 May 2005 09:36:52 +0000 (09:36 +0000)]
Need the ability to modify P after creation of the instance.

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

19 years agoTwo new flags for handling keeps.
Jeremias Maerki [Tue, 24 May 2005 09:36:19 +0000 (09:36 +0000)]
Two new flags for handling keeps.

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

19 years agokeep-with tests on tables. *-previous 2 and 3 are tricky.
Jeremias Maerki [Tue, 24 May 2005 09:34:34 +0000 (09:34 +0000)]
keep-with tests on tables. *-previous 2 and 3 are tricky.

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

19 years agoTest case for keep-together on lists.
Jeremias Maerki [Tue, 24 May 2005 09:31:52 +0000 (09:31 +0000)]
Test case for keep-together on lists.

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

19 years agoSimilar problem as for keep-with-next also for keep-with-previous.
Jeremias Maerki [Tue, 24 May 2005 06:38:09 +0000 (06:38 +0000)]
Similar problem as for keep-with-next also for keep-with-previous.

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

19 years agoSpecial keep-with-next case fails currently. Lower-level FOs don't affect penalties...
Jeremias Maerki [Mon, 23 May 2005 17:25:10 +0000 (17:25 +0000)]
Special keep-with-next case fails currently. Lower-level FOs don't affect penalties correctly.

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

19 years agotable-hf4 works BTW.
Jeremias Maerki [Mon, 23 May 2005 13:54:51 +0000 (13:54 +0000)]
table-hf4 works BTW.

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

19 years agoTest case for keep-together on table.
Jeremias Maerki [Mon, 23 May 2005 13:53:27 +0000 (13:53 +0000)]
Test case for keep-together on table.

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

19 years agoCheck element lists from the table-cells before the breaker's element list.
Jeremias Maerki [Mon, 23 May 2005 13:53:10 +0000 (13:53 +0000)]
Check element lists from the table-cells before the breaker's element list.

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

19 years agoInitial keep-together support on table.
Jeremias Maerki [Mon, 23 May 2005 13:52:26 +0000 (13:52 +0000)]
Initial keep-together support on table.

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

19 years agoChecks keep-together on table-row.
Jeremias Maerki [Mon, 23 May 2005 13:08:05 +0000 (13:08 +0000)]
Checks keep-together on table-row.

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

19 years agoElement list logging facility resurrected as an ElementListObserver (see LoggingEleme...
Jeremias Maerki [Mon, 23 May 2005 13:07:35 +0000 (13:07 +0000)]
Element list logging facility resurrected as an ElementListObserver (see LoggingElementListObserver).
DebugHelper registers that logging facility. Add a call to your own test apps to log element lists.
Added an additional check implementation for the layout engine checker which allows checking of Knuth element lists using the ElementListObserver. (Usage example: See keep-together2.xml)

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

19 years agoFirst step towards keep-together on tables (should work on table-rows now).
Jeremias Maerki [Mon, 23 May 2005 13:02:41 +0000 (13:02 +0000)]
First step towards keep-together on tables (should work on table-rows now).
Logging of element lists removed from AbstractBreaker.
Instead creates ElementListObserver which receives notifications on newly created element lists so they can be logged, checked or whatever. Please see the next commit under the "test" directory.

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

19 years agoCode cleanup and some javadocs.
Jeremias Maerki [Mon, 23 May 2005 08:40:36 +0000 (08:40 +0000)]
Code cleanup and some javadocs.

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

19 years agoAdditional ppm indicator especially interesting for those of us doing high-volume...
Jeremias Maerki [Mon, 23 May 2005 07:53:05 +0000 (07:53 +0000)]
Additional ppm indicator especially interesting for those of us doing high-volume printing.

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

19 years agoFixes for a few minor problems in certain special cases.
Jeremias Maerki [Mon, 23 May 2005 07:43:05 +0000 (07:43 +0000)]
Fixes for a few minor problems in certain special cases.

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

19 years agoRemoved reference to my company.
Glen Mazza [Sun, 22 May 2005 17:21:21 +0000 (17:21 +0000)]
Removed reference to my company.

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

19 years agoOutput vertical position of text area in area tree XML.
Jeremias Maerki [Fri, 20 May 2005 06:47:44 +0000 (06:47 +0000)]
Output vertical position of text area in area tree XML.

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

19 years agoUsing vertical-align="top" instead of "super". (thanks Luca)
Jeremias Maerki [Fri, 20 May 2005 06:38:21 +0000 (06:38 +0000)]
Using vertical-align="top" instead of "super". (thanks Luca)

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

19 years agoCorrection to footnotes handling: break a footnote body only if its citation is in...
Luca Furini [Thu, 19 May 2005 16:41:29 +0000 (16:41 +0000)]
Correction to footnotes handling: break a footnote body only if its citation is in the last content line.

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