Vincent Hennebert
6f92d94a50
Patch for the implementation of the improved float-placement algorithm
Changes:
- merge in changes up to revision 432403 of the trunk
- extract LineBreakingAlgorithm and LineBreakPosition from LineLayoutManager and
put them in the breaking subpackage (was in preparation for the side-floats
implementation)
New features:
- minimum accepted fill ratio for pages: underfull pages which have at least
this fill ratio are considered to be feasible breaks
- float-only pages; this may be parameterized
- big floats may now be split on several pages
- shrink- and stretchability of out-of-line object are now taken into account
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_Floats@474218 13f79535-47bb-0310-9956-ffa450edef68
17 years ago
Jeremias Maerki
f5abed20f9
Changed license headers and updated NOTICE file according to: http://www.apache.org/legal/src-headers.html
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@426576 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Andreas L. Delmelle
18339cc434
Bugfix: components of border-separation weren't set when using shorthand-mode, leading to an NPE being thrown (Bugzilla 39712)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@412714 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jeremias Maerki
6e9e6775bd
Bugzilla #38946:
First step for improved color handling. FOP's own ColorType was replaced with java.awt.Color throughout the codebase.
Submitted by: Max Berger <max.at.berger.name>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@399185 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Manuel Mall
ed8109d21b
Fixed various white space (non)removal issues during line building. white-space-treatment is now supported properly especially for the "preserve" case.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@392488 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jeremias Maerki
97a13831e8
Changed the way that text-align-last is calculated. Hopefully, this is it, now. Should fix a bug reported last week on fop-users.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@386379 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jeremias Maerki
17f7dbd53d
Fixed bug in handling of text-align-last. Value "relative" was not the default and the resolved property was wrong when it was inherited.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@381618 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Andreas L. Delmelle
fe93aa1050
Testcase for the background-position shorthand.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377763 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Andreas L. Delmelle
045fc2577c
Slight correction: single quoted font-family names not properly handled
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377242 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Andreas L. Delmelle
c3ec6a4b5a
Added implementation for the font shorthand property (+ some checkstyle cleanup)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377222 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jeremias Maerki
ebbf1fb43b
Bugzilla #38618:
cleanup of rgb() and implementation of system-color()
Submitted by: Max Berger <max.at.berger.name>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@377045 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Andreas L. Delmelle
36540e2591
Forgot to commit the failing testcase...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373925 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Andreas L. Delmelle
50782f6e6b
Implementation for from-table-column(). See: bugzilla 38282
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@373922 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Simon Pepping
35057a6f4b
Allow some xsl-function calls with omitted args, patch contributed by
Gerhard Oettl, bug 38098.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@368462 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jeremias Maerki
10f3613e87
Bugfix: TableCell did not properly report that it generates reference-areas which could lead to wrong inherited values for start-indent and end-indent.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@365689 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Andreas L. Delmelle
575539d616
Added support for the white-space shorthand
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359945 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Andreas L. Delmelle
54d297afea
Tweak page-break-* shorthands; keeps now working properly
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359939 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Andreas L. Delmelle
b4473242b4
1) Added support for the page-break-* shorthands
2) Minor tweak: added validity check for reference-orientation
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@359890 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jeremias Maerki
973d676bae
Alternative set of rules for text indent calculation (start-indent and end-indent) which tries to mimic many commercial FO implementation that have chosen to break the specification in this aspect. I think I have found the behaviour for most cases. But I'm operating in reverse-engineering mode here and not all FO implementations behave in the same way!
This is an optional feature that has to be explicitely enabled through the user agent. Otherwise, FOP will behave like before.
In the FO tree tests a processing instruction is used to enable the feature/bug ;-) in the user agent so I can test both cases.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@354763 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jeremias Maerki
f9932f4c13
font-family list still not fully supported but a comma-separated list is now properly tokenized. FOP will now go through all fonts in the list to find one that is available, but it doesn't do so per character, yet.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@351734 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jeremias Maerki
91c26122bb
Negative widths on inline-progression-dimension and block-progression-dimension should be treated as 0pt but they are currently not.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@349743 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jeremias Maerki
79d4c53b71
Test to check FO tree building when no namespace prefix is used.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@332007 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Jeremias Maerki
829cd8e675
Merged work on Temp_SpaceResolution branch into trunk (-r 320826:327988).
Source: http://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_SpaceResolution/
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@328010 13f79535-47bb-0310-9956-ffa450edef68
18 years ago
Andreas L. Delmelle
e83ae89e75
Added check for both page-height and page-width set to indefinite; use fallback (auto) for the appropriate one
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291351 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Andreas L. Delmelle
78a328cba5
Added custom Maker for page-height and page-width; use fallback values in case value is auto
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@291338 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Andreas L. Delmelle
1654c995b2
Added fallback for specified negative or zero for column-number
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290736 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Andreas L. Delmelle
6eff247a82
Update for initial-values of column-number + some pending style-violation corrections
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@290540 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Andreas L. Delmelle
0183284de2
Update of FOTree testcases for column-number property
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289867 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Andreas L. Delmelle
fff779f84e
Update of FOTree testcases for column-number property
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289866 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Andreas L. Delmelle
051501e745
Simple testcase for initial value of column-number -- tables without explicit rows
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@289195 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Andreas L. Delmelle
a6ebb5e334
Simple testcase for initial value of column-number -- tables with explicit rows
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@280968 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
7f2ced4414
Initial commit for a FO tree testing facility.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@264709 13f79535-47bb-0310-9956-ffa450edef68
19 years ago