]> source.dussan.org Git - xmlgraphics-fop.git/log
xmlgraphics-fop.git
19 years agoMoved the FLAGGED_PENALTY constant to the KnuthPenalty class
Glen Mazza [Wed, 11 May 2005 07:08:49 +0000 (07:08 +0000)]
Moved the FLAGGED_PENALTY constant to the KnuthPenalty class
because it will be easier to understand this constant's meaning
within the framework of comments/notes in this class.

Removed unused setFObj() requirement from LayoutManager interface.

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

19 years agoRemoved addID() from AbstractLayoutManager in favor of actual
Glen Mazza [Wed, 11 May 2005 00:17:59 +0000 (00:17 +0000)]
Removed addID() from AbstractLayoutManager in favor of actual
method in PSLM.

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

19 years agoAdded getPSLM() to LM interface, removed six other methods.
Glen Mazza [Mon, 9 May 2005 22:15:20 +0000 (22:15 +0000)]
Added getPSLM() to LM interface, removed six other methods.

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

19 years agoresolveRefID() --> getFirstPVWithID() renaming.
Glen Mazza [Mon, 9 May 2005 03:32:10 +0000 (03:32 +0000)]
resolveRefID() --> getFirstPVWithID() renaming.

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

19 years agoImproved the comment for addUnresolvedArea().
Glen Mazza [Sat, 7 May 2005 14:35:53 +0000 (14:35 +0000)]
Improved the comment for addUnresolvedArea().

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

19 years agoMore simplifications to PSLM. (Hmmm...I wonder if there's a way to have
Glen Mazza [Sat, 7 May 2005 04:28:28 +0000 (04:28 +0000)]
More simplifications to PSLM.  (Hmmm...I wonder if there's a way to have
CVS just default this message...  ;-)

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

19 years agoMore clarifications to PSLM.
Glen Mazza [Thu, 5 May 2005 04:54:08 +0000 (04:54 +0000)]
More clarifications to PSLM.

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

19 years agoFixed a number of issues mainly related to border painting and row spanning.
Jeremias Maerki [Wed, 4 May 2005 15:10:19 +0000 (15:10 +0000)]
Fixed a number of issues mainly related to border painting and row spanning.

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

19 years agoFix for NPE
Jeremias Maerki [Wed, 4 May 2005 15:08:05 +0000 (15:08 +0000)]
Fix for NPE

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

19 years agoNext step: Basic border resolution and proper painting (even though it's following...
Jeremias Maerki [Wed, 4 May 2005 07:18:13 +0000 (07:18 +0000)]
Next step: Basic border resolution and proper painting (even though it's following a possibly misinterpreted model ATM)
Bugfixes in the collapsing border model resolution.
Note: The Knuth elements do not take borders into account, yet, so page breaking is off-target.

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

19 years agoFinn's refactoring of Knuth's breaking code, with small changes
Luca Furini [Mon, 2 May 2005 16:23:37 +0000 (16:23 +0000)]
Finn's refactoring of Knuth's breaking code, with small changes

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

19 years agoFix for left outer border painting.
Jeremias Maerki [Mon, 2 May 2005 15:56:46 +0000 (15:56 +0000)]
Fix for left outer border painting.
Fix for after/end outer border edge painting.
Style.

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

19 years ago-- Modified the PSLM constructor and mapping Maker to take an
Glen Mazza [Sat, 30 Apr 2005 22:57:08 +0000 (22:57 +0000)]
-- Modified the PSLM constructor and mapping Maker to take an
AreaTreeHandler object.  The Maker also returns a PSLM object to allow
for future detachment of PSLM from increasingly ill-fitting
AbstractLayoutManager and/or LayoutManager.

-- Removed areaTreeModel instance variable from PSLM hopefully
to increase code comprehension (better clarifies that the
ATM is owned by the ATH.)

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

19 years agoMore PSLM simplifications.
Glen Mazza [Sat, 30 Apr 2005 05:14:08 +0000 (05:14 +0000)]
More PSLM simplifications.

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

19 years agoSwitched from curPage to uglier but more accurate curPV in PSLM; ditto
Glen Mazza [Fri, 29 Apr 2005 00:06:21 +0000 (00:06 +0000)]
Switched from curPage to uglier but more accurate curPV in PSLM; ditto
in LM interface, removed addMarkersToPV() middleman.

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

19 years agoFix for NPE in Cell.java (getBorders() can return null).
Jeremias Maerki [Thu, 28 Apr 2005 13:44:01 +0000 (13:44 +0000)]
Fix for NPE in Cell.java (getBorders() can return null).
Added fetching of row groups as per definition in http://wiki.apache.org/xmlgraphics-fop/TableLayout/KnuthElementsForTables.

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

19 years agoUsing a more clear boolean instead of an int, as suggested by Glen and Andreas
Luca Furini [Wed, 27 Apr 2005 15:59:59 +0000 (15:59 +0000)]
Using a more clear boolean instead of an int, as suggested by Glen and Andreas

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

19 years agoPartial fix to break handling
Luca Furini [Tue, 26 Apr 2005 16:39:12 +0000 (16:39 +0000)]
Partial fix to break handling

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

19 years agoremoved duplicate addMarkerMap() method, renamed addMarkers()
Glen Mazza [Tue, 26 Apr 2005 04:24:33 +0000 (04:24 +0000)]
removed duplicate addMarkerMap() method, renamed addMarkers()
to addMarkersToPV().

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

19 years agoMinor simplifications.
Glen Mazza [Mon, 25 Apr 2005 02:54:24 +0000 (02:54 +0000)]
Minor simplifications.

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

19 years ago--Validation for fo:wrapper added.
Glen Mazza [Sun, 24 Apr 2005 23:54:34 +0000 (23:54 +0000)]
--Validation for fo:wrapper added.
--Made LayoutManagerMapping.initialize() protected to facilitate
subclassing of this class.
--For direct requests of particular LayoutManager overrides, switched
from FOPException to IllegalStateException when the mapping is
missing or duplicate.

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

19 years agoSetting default validation to "strict"; adding a command line -r option
Glen Mazza [Sat, 23 Apr 2005 02:45:28 +0000 (02:45 +0000)]
Setting default validation to "strict"; adding a command line -r option
to use relaxed validation.

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

19 years agoUsing the correct height, stored in the LineBreakPositions, when creating the sequenc...
Luca Furini [Wed, 20 Apr 2005 17:14:42 +0000 (17:14 +0000)]
Using the correct height, stored in the LineBreakPositions, when creating the sequence of elements.
Comments translated.

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

19 years agoFixes for test cases list1-3.
Jeremias Maerki [Mon, 18 Apr 2005 14:53:24 +0000 (14:53 +0000)]
Fixes for test cases list1-3.

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

19 years agoClass actually iterates over element lists not break possibilities.
Jeremias Maerki [Mon, 18 Apr 2005 11:46:43 +0000 (11:46 +0000)]
Class actually iterates over element lists not break possibilities.

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

19 years agoAdded convenience methods performing the cast between FObj and Block, FObj and BlockC...
Luca Furini [Thu, 14 Apr 2005 16:15:29 +0000 (16:15 +0000)]
Added convenience methods performing the cast between FObj and Block, FObj and BlockContainer

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

19 years ago1.) Moved RegionViewport & Reference creation code from PageViewport to Page(Reference).
Glen Mazza [Thu, 14 Apr 2005 00:17:06 +0000 (00:17 +0000)]
1.) Moved RegionViewport & Reference creation code from PageViewport to Page(Reference).
2.) Created new .getColumnWidth() in Span to facilitate its querying in layout code.
3.) Removed unneeded retrieveMarker() method in FLM and never-used addMarker method from
SCLM (validation prevents this from occurring)
4.) Removed duplicate flowBPD and flowIPD variables from PSLM (this information
is already available in the Area classes)
5.) Removed inaccurate setLayoutDimension() code from PSLM; added the
current code in FLM to SCLM in this regard

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

19 years agoCreating a combined list for label and body
Luca Furini [Wed, 13 Apr 2005 16:25:24 +0000 (16:25 +0000)]
Creating a combined list for label and body

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

19 years agoMore validation added for fo:retrieve-marker and fo:marker.
Glen Mazza [Wed, 13 Apr 2005 02:56:33 +0000 (02:56 +0000)]
More validation added for fo:retrieve-marker and fo:marker.

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

19 years agoThis solves a compilation problem in TableContentLayoutManager
Simon Pepping [Tue, 12 Apr 2005 18:56:55 +0000 (18:56 +0000)]
This solves a compilation problem in TableContentLayoutManager

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

19 years agoSetting layout dimensions in the FlowLM
Luca Furini [Tue, 12 Apr 2005 17:01:30 +0000 (17:01 +0000)]
Setting layout dimensions in the FlowLM

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

19 years agoSome javadocs
Jeremias Maerki [Sat, 9 Apr 2005 12:11:35 +0000 (12:11 +0000)]
Some javadocs

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

19 years agoInitial support for table headers and footers including omit-*-at-break, but without...
Jeremias Maerki [Sat, 9 Apr 2005 12:11:15 +0000 (12:11 +0000)]
Initial support for table headers and footers including omit-*-at-break, but without border-before|after handling.

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

19 years agoYesterday I forgot to commit this small change, sorry.
Luca Furini [Fri, 8 Apr 2005 09:53:27 +0000 (09:53 +0000)]
Yesterday I forgot to commit this small change, sorry.

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

19 years agoFirst working implementation for lists; at the moment, ListItemLM just uses the ...
Luca Furini [Thu, 7 Apr 2005 16:20:44 +0000 (16:20 +0000)]
First working implementation for lists; at the moment, ListItemLM just uses the "body" elements; coming soon: creation of elements combining the label list and the body list.

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

19 years agoMoved methods from BlockLM to BlockStackingLM, modified parameters; these methods...
Luca Furini [Thu, 7 Apr 2005 16:13:54 +0000 (16:13 +0000)]
Moved methods from BlockLM to BlockStackingLM, modified parameters; these methods will be used by other subclasses of BlockStackingLM.

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

19 years agoProper generation of grid units for spanned cells (both directions).
Jeremias Maerki [Thu, 7 Apr 2005 07:09:24 +0000 (07:09 +0000)]
Proper generation of grid units for spanned cells (both directions).
start|end border resolution.
Border painting adjusted to new grid units

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

19 years agoFix for logic error causing array index exceptions
Jeremias Maerki [Wed, 6 Apr 2005 13:08:34 +0000 (13:08 +0000)]
Fix for logic error causing array index exceptions

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

19 years agoRow backgrounds
Jeremias Maerki [Wed, 6 Apr 2005 12:32:57 +0000 (12:32 +0000)]
Row backgrounds

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

19 years agoFixing X-placement of cells when there's start-indent on the table.
Jeremias Maerki [Wed, 6 Apr 2005 09:26:58 +0000 (09:26 +0000)]
Fixing X-placement of cells when there's start-indent on the table.

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

19 years agoStupid mistake, cell widths were not right.
Jeremias Maerki [Wed, 6 Apr 2005 08:52:30 +0000 (08:52 +0000)]
Stupid mistake, cell widths were not right.

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

19 years agoFixed setting the BPD on the block area for the table (fixes table background and...
Jeremias Maerki [Wed, 6 Apr 2005 08:36:51 +0000 (08:36 +0000)]
Fixed setting the BPD on the block area for the table (fixes table background and cursor advancement in renderers).

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

19 years agoMaking display-align work again. May not be the optimal way to do this, but I didn...
Jeremias Maerki [Wed, 6 Apr 2005 07:52:28 +0000 (07:52 +0000)]
Making display-align work again. May not be the optimal way to do this, but I didn't want to run a Breaker just to do alignment like I did for block-container.

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

19 years agoBasic framework for table layout with Knuth elements as documented on the Wiki. The...
Jeremias Maerki [Tue, 5 Apr 2005 15:42:45 +0000 (15:42 +0000)]
Basic framework for table layout with Knuth elements as documented on the Wiki. The old code is mostly still there for reference.

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

19 years agoConsolidated blocklist logging
Jeremias Maerki [Tue, 5 Apr 2005 15:39:46 +0000 (15:39 +0000)]
Consolidated blocklist logging

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

19 years agonumber -> lineCount
Jeremias Maerki [Tue, 5 Apr 2005 15:38:58 +0000 (15:38 +0000)]
number -> lineCount
Translations

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

19 years agotoString() methods for debugging
Jeremias Maerki [Tue, 5 Apr 2005 15:37:56 +0000 (15:37 +0000)]
toString() methods for debugging

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

19 years agoMore simplifications.
Glen Mazza [Tue, 5 Apr 2005 02:26:53 +0000 (02:26 +0000)]
More simplifications.

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

19 years agoRemoved duplication of pageNumber & pageNumberString in PSLM;
Glen Mazza [Tue, 5 Apr 2005 00:24:33 +0000 (00:24 +0000)]
Removed duplication of pageNumber & pageNumberString in PSLM;
removed LM.getCurrPageString() in favor of already existing
curPage.getPageString(); switched from LM.getCurrentPageString() to
LM.getCurrentPageViewport()  (latter giving access to the former.)

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

19 years agoPulled out the AreaTreeHandler from the LayoutManager interface, only
Glen Mazza [Mon, 4 Apr 2005 23:10:30 +0000 (23:10 +0000)]
Pulled out the AreaTreeHandler from the LayoutManager interface, only
its LayoutManagerMaker (now included) was being called.

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

19 years agoMoved page viewport creation logic from PSLM to PageViewport.
Glen Mazza [Thu, 31 Mar 2005 04:32:54 +0000 (04:32 +0000)]
Moved page viewport creation logic from PSLM to PageViewport.

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

19 years agoRemoved the curSpan instance variable -- now obtainable via curPage.
Glen Mazza [Wed, 30 Mar 2005 00:06:30 +0000 (00:06 +0000)]
Removed the curSpan instance variable -- now obtainable via curPage.

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

19 years agoCreated an instance variable in PageViewport for the
Glen Mazza [Tue, 29 Mar 2005 00:34:54 +0000 (00:34 +0000)]
Created an instance variable in PageViewport for the
SimplePageMaster object; removed currentSimplePageMaster variable
in PSLM in favor of curPage.getSPM().

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

19 years agoMoved the logic for creating Spans to MainReference. Moved the overflow/column count
Glen Mazza [Mon, 28 Mar 2005 06:14:13 +0000 (06:14 +0000)]
Moved the logic for creating Spans to MainReference.  Moved the overflow/column count
check to fo:region-body (will need more work if we allow >1 colcounts w/scrolling again,
as I don't see the ability to alter Numerics.)

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

19 years agoMoved creation of normal flow areas to area.Span.
Glen Mazza [Sat, 26 Mar 2005 21:40:06 +0000 (21:40 +0000)]
Moved creation of normal flow areas to area.Span.

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

19 years agoFactored out phase 1 (knuth element generation) in LineLM into a separate method...
Jeremias Maerki [Wed, 23 Mar 2005 13:54:23 +0000 (13:54 +0000)]
Factored out phase 1 (knuth element generation) in LineLM into a separate method to make the code easier to understand.
Renamed *lineNumber to *lineCount (it confused me).
Missing file header for LineLayoutPossibilities.

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

19 years agoJavadocs and toString() methods.
Jeremias Maerki [Wed, 23 Mar 2005 13:51:37 +0000 (13:51 +0000)]
Javadocs and toString() methods.

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

19 years agoAdditional accessors.
Jeremias Maerki [Wed, 23 Mar 2005 13:50:16 +0000 (13:50 +0000)]
Additional accessors.

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

19 years agoMissing license header and javadocs.
Jeremias Maerki [Tue, 22 Mar 2005 14:35:06 +0000 (14:35 +0000)]
Missing license header and javadocs.

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

19 years agoFix for NPE with empty block-containers (normal-breaking3)
Jeremias Maerki [Mon, 21 Mar 2005 16:15:19 +0000 (16:15 +0000)]
Fix for NPE with empty block-containers (normal-breaking3)

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

19 years agoI don't see the reason for the distinction beween justified and other alignments.
Jeremias Maerki [Mon, 21 Mar 2005 15:39:55 +0000 (15:39 +0000)]
I don't see the reason for the distinction beween justified and other alignments.

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

19 years agoCheck within-column, too. Note: This is all very basic for now and needs to be improv...
Jeremias Maerki [Mon, 21 Mar 2005 15:37:42 +0000 (15:37 +0000)]
Check within-column, too. Note: This is all very basic for now and needs to be improved in time.

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

19 years agoFirst test case for keep-with-previous.
Jeremias Maerki [Mon, 21 Mar 2005 15:35:43 +0000 (15:35 +0000)]
First test case for keep-with-previous.
Added checks for the "within-column" part for all three test cases.

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

19 years agoFirst test case for keep-with-next.
Jeremias Maerki [Mon, 21 Mar 2005 13:22:07 +0000 (13:22 +0000)]
First test case for keep-with-next.

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

19 years agoAvoid unnecessary penalties at the beginning of the returnList. They may also badly...
Jeremias Maerki [Mon, 21 Mar 2005 13:21:32 +0000 (13:21 +0000)]
Avoid unnecessary penalties at the beginning of the returnList. They may also badly influence penalties for keeps. Normal penalties between blocks not in the same block are handled higher up.

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

19 years agoFirst test case for keep-together.
Jeremias Maerki [Mon, 21 Mar 2005 12:41:53 +0000 (12:41 +0000)]
First test case for keep-together.

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

19 years agoBugfix for keep-together: parent LMs were not taken into account when determining...
Jeremias Maerki [Mon, 21 Mar 2005 12:41:34 +0000 (12:41 +0000)]
Bugfix for keep-together: parent LMs were not taken into account when determining keep-together status.

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

19 years agoSemantic adjustments.
Glen Mazza [Sun, 20 Mar 2005 16:34:53 +0000 (16:34 +0000)]
Semantic adjustments.

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

19 years agoBasic multi-column tests, no sophisticated checks, yet.
Jeremias Maerki [Sun, 20 Mar 2005 12:48:16 +0000 (12:48 +0000)]
Basic multi-column tests, no sophisticated checks, yet.

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

19 years agoAdditional infos in the PDF on what happened in the background (if someone looks...
Jeremias Maerki [Sun, 20 Mar 2005 12:47:25 +0000 (12:47 +0000)]
Additional infos in the PDF on what happened in the background (if someone looks at the generated PDF).

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

19 years agoClean-up for accessing column-count and column-gap in area tree.
Jeremias Maerki [Sun, 20 Mar 2005 12:46:11 +0000 (12:46 +0000)]
Clean-up for accessing column-count and column-gap in area tree.
Renamed RegionOuter to SideRegion.
Start for multi-column layout (only plain multi-columns, no spans, no column balancing, yet).
More consequent use of BlockSequence instead of KnuthSequence in page breaking so the info where a sequence is to be placed (even/odd page...) is easily available.
Hard breaks now handled under control of the breaker instead of in getParentArea().

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

19 years agoInsert penalties for column breaks, too.
Jeremias Maerki [Fri, 18 Mar 2005 15:14:46 +0000 (15:14 +0000)]
Insert penalties for column breaks, too.

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

19 years agoResurrected outer region support.
Jeremias Maerki [Fri, 18 Mar 2005 13:23:08 +0000 (13:23 +0000)]
Resurrected outer region support.

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

19 years agoCode to handle "no content" conditions.
Jeremias Maerki [Fri, 18 Mar 2005 13:21:39 +0000 (13:21 +0000)]
Code to handle "no content" conditions.

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

19 years agoCode to handle "no content" conditions.
Jeremias Maerki [Fri, 18 Mar 2005 13:21:08 +0000 (13:21 +0000)]
Code to handle "no content" conditions.
Some attempts at translating comments to English.

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

19 years agoCommon base class for all outer regions (for easier access to the extent property).
Jeremias Maerki [Fri, 18 Mar 2005 13:19:50 +0000 (13:19 +0000)]
Common base class for all outer regions (for easier access to the extent property).

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

19 years agoAccessor for clip value.
Jeremias Maerki [Fri, 18 Mar 2005 13:18:49 +0000 (13:18 +0000)]
Accessor for clip value.

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

19 years agoTest case that tests all outer regions including precedence (only visual ATM, no...
Jeremias Maerki [Fri, 18 Mar 2005 13:17:07 +0000 (13:17 +0000)]
Test case that tests all outer regions including precedence (only visual ATM, no checks yet)

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

19 years agoExtended a bit to test overflow on an outer region (NYI).
Jeremias Maerki [Fri, 18 Mar 2005 13:16:00 +0000 (13:16 +0000)]
Extended a bit to test overflow on an outer region (NYI).

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

19 years agoInitial commit for the knuth-style page breaking code.
Jeremias Maerki [Fri, 18 Mar 2005 09:02:56 +0000 (09:02 +0000)]
Initial commit for the knuth-style page breaking code.
Based on work by Luca Furini.

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

19 years agoThis commit was manufactured by cvs2svn to create branch
(no author) [Fri, 18 Mar 2005 08:11:48 +0000 (08:11 +0000)]
This commit was manufactured by cvs2svn to create branch
'Temp_KnuthStylePageBreaking'.

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

19 years agoConvenience method for checking "auto" enum value on a property. Makes code more...
Jeremias Maerki [Fri, 18 Mar 2005 08:11:48 +0000 (08:11 +0000)]
Convenience method for checking "auto" enum value on a property. Makes code more readable.

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

19 years agoReenabling consistency check.
Jeremias Maerki [Fri, 18 Mar 2005 08:11:02 +0000 (08:11 +0000)]
Reenabling consistency check.
Had to rename "bChecked" to "consistent" because that first check in checkConsistency() somehow malfunctioned with the other name. Very weird.

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

19 years agoMore accessors on block-containers.
Jeremias Maerki [Fri, 18 Mar 2005 08:08:25 +0000 (08:08 +0000)]
More accessors on block-containers.
Javadocs touch-up

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

19 years agoSlight deviation from the template.
Jeremias Maerki [Fri, 18 Mar 2005 08:07:24 +0000 (08:07 +0000)]
Slight deviation from the template.

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

19 years agoHave to switch off widows and orphans so the results don't get affected by them.
Jeremias Maerki [Fri, 18 Mar 2005 07:47:53 +0000 (07:47 +0000)]
Have to switch off widows and orphans so the results don't get affected by them.

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

19 years agoMore text so that the block really breaks to a second line.
Jeremias Maerki [Thu, 17 Mar 2005 16:02:51 +0000 (16:02 +0000)]
More text so that the block really breaks to a second line.

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

19 years agoTest for text-indent following the issue on fop-users (without checks so far).
Jeremias Maerki [Thu, 17 Mar 2005 13:34:00 +0000 (13:34 +0000)]
Test for text-indent following the issue on fop-users (without checks so far).
My local code with the Knuth page breaking seems to handle the test case well.

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

19 years agoChanged from addChild(Area) to clearer addChildArea(Area).
Glen Mazza [Wed, 16 Mar 2005 23:18:43 +0000 (23:18 +0000)]
Changed from addChild(Area) to clearer addChildArea(Area).

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

19 years ago1.) Moved setting of idp value into Span constructor because the class is in an
Glen Mazza [Wed, 16 Mar 2005 02:38:12 +0000 (02:38 +0000)]
1.) Moved setting of idp value into Span constructor because the class is in an
invalid state without it.

2.) Creating first column/normal flow by default in Span, as this class
must have at least one column to be valid.

3.) More simplifications, clarifications in PSLM.

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

19 years agoUpdated FOP example graphic to include more content & image
Clay Leeds [Mon, 14 Mar 2005 16:04:37 +0000 (16:04 +0000)]
Updated FOP example graphic to include more content & image

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

19 years agoRemoved obsolete Checkstyle configuration files. Please use Checkstyle 3.5 from now on.
Jeremias Maerki [Mon, 14 Mar 2005 08:59:18 +0000 (08:59 +0000)]
Removed obsolete Checkstyle configuration files. Please use Checkstyle 3.5 from now on.

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

19 years agoFixed checkstyle warnings.
Jeremias Maerki [Mon, 14 Mar 2005 08:52:05 +0000 (08:52 +0000)]
Fixed checkstyle warnings.

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

19 years agocheckstyle.header updated (does not check copyright years anymore, because it shouldn...
Jeremias Maerki [Mon, 14 Mar 2005 08:51:26 +0000 (08:51 +0000)]
checkstyle.header updated (does not check copyright years anymore, because it shouldn't. pattern extended to include $Id$ and package)
Config file for Checkstyle 3.5 (build.xml uses that now)

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

19 years agoMore simplifications to PSLM.
Glen Mazza [Mon, 14 Mar 2005 01:34:26 +0000 (01:34 +0000)]
More simplifications to PSLM.

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

19 years agoRemoving illegal tab characters.
Jeremias Maerki [Sun, 13 Mar 2005 10:52:28 +0000 (10:52 +0000)]
Removing illegal tab characters.

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

19 years agoMore simplifications to PSLM.
Glen Mazza [Sun, 13 Mar 2005 07:31:51 +0000 (07:31 +0000)]
More simplifications to PSLM.

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

19 years agoMore simplifications to PSLM.
Glen Mazza [Sun, 13 Mar 2005 04:14:04 +0000 (04:14 +0000)]
More simplifications to PSLM.

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

19 years agoStray "x" removed.
Glen Mazza [Sat, 12 Mar 2005 16:53:21 +0000 (16:53 +0000)]
Stray "x" removed.

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

19 years agoLots of smaller updates:
Jeremias Maerki [Sat, 12 Mar 2005 16:39:37 +0000 (16:39 +0000)]
Lots of smaller updates:
- mailing list archive links
- XML -> XML Graphics
- Defoe -> Folio
etc.

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