Jeremias Maerki
8ada5c8257
An empty table-body is illegal but we'll allow it to make things easier for stylesheet writers.
Empty table-body elements are removed from their parent so they can't cause any nasty effects in the LMs.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198457 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
ce6b0bd2e4
Avoid IndexOutOfBoundsException when empty list is passed in.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198456 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
982cb1e1b2
Should run my own tests.... :-(
Bugfix for NPE on empty cells.
Skip adding helper areas for border painting when there are no borders to paint.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198455 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
6f9fe4eb34
First test cases for collapsing borders (disabled for now).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198454 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
8dd8bb7ab9
Individual grid unit block areas for painting the resolved borders.
Bugfix in Row for searching the adjacent cell at end edge.
Setting the borders that are already resolved on the right grid units.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198453 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
d10c6fc94e
Removing obsolete STATUS file from our distribution. This information is already available on our website.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198452 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
87e1e83cf8
Updated the README file to this century. Also, testing my first commit
using Eclipse.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198451 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
1cf6596be0
First real step towards collapsing table borders.
border-collapse="collapse" rules implemented but not fully tested, yet.
Collapsing of borders works only for start and end borders, yet, and there only for non-spanned cells.
CellLM is now prepared to get the full list of grid unit it occupies (necessary for collapsed border painting).
Row.CellInfo extracted and renamed to GridUnit.
WIP...
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198450 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
1b778a89cb
Test cases illustrating Glen's page-number fix. There's still a problem because of the bogus areas, though.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198449 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Simon Pepping
99066be627
Test case markers5a now works correctly. Added four testcases.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198448 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Simon Pepping
6412f011d3
Corrected the logic of adding markers. LayoutManagers are responsible
for correctly setting is-first and is-last on the BreakPoss and from
there in the arguments of the addMarkers method. Implemented this for
BlockLM. Also made a small change in the retrieval of markers from
preceding pages.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198447 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
c45f96da2f
Commented stray System.out. Should be replaced by Commons Logging calls or removed in time.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198446 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
dbc3df6d2d
Restored JDK 1.5 compatibility.
Bug: http://issues.apache.org/bugzilla/show_bug.cgi?id=33645
Submitted by: Oskar Berggren <d99beo.at.dtek.chalmers.se>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198445 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
52c4347745
PR:
Obtained from:
Submitted by:
Reviewed by:
Page numbering bug fixed.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198444 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
c205123aad
PR:
Obtained from:
Submitted by:
Reviewed by:
More cleanup in PageSequence (also removed local LayoutMasterSet variable to emphasize Root's ownership of this object in the FO Tree hierarchy.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198443 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
8c33e69420
Disable advanced marker tests as long as they don't work properly.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198442 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
2c79ce22ae
setting border-collapse="separate" to make it pass again, now that I started with border collapsing.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198441 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
f44cc4954e
border-style "hidden" also forces border-width to 0.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198440 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
d4c62ec3a7
region-after may not have borders. Used an absolutely positioned block-container instead.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198439 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
ae6fa5c60a
Added missing license header.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198438 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
17c5078f3f
updated page-master tests.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198437 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
0e77a21e89
Fix for bad page-master and region margin calculations. All margin calculations now use margin-* attributes directly, ignoring start|end-indent and space-*.
Better check for borders and padding on regions.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198436 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
79d8a9d4e8
PR:
Obtained from:
Submitted by:
Reviewed by:
Removed unneeded variable.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198435 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
7ff677faf4
PR:
Obtained from:
Submitted by:
Reviewed by:
Cleanup of page number handling throughout application. Removed old code
from PageSequence.java.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198434 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
7674b9cdff
Adjusting to changes in BorderProps.toString()
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198433 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
7d80d3db61
First step towards collapsing table borders:
- Mode on BorderProps controls painting behaviour.
- Extended toString() on BorderProps
- Painting the borders already works for all three modes (separate, collapsing-inner and collapsing-outer)
- ATM only inner borders are painted.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198432 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
4d22fe218d
Code clean-up only.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198431 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
64679953e0
Set border traits for fo:table only if border-collapse="separate".
Some clean-up.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198430 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
f8539053bb
Clean-up:
table2 split into table2 (margins and spaces only) and table-border-separate1.
table-cell5 renamed to table-border-separate2.
table-cell5a renamed to table-border-separate2a.
table-cell7 renamed to table-border-separate3
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198429 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
da94c4f54f
Some cleanup -- moved getSimplePageMasterToUse() to PageSequence (logic
is useful with other implementations of PSLM.)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198428 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
42cc3d4164
Simpler and more robust XPath statements.
Suggested by: Simon Pepping
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198427 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
7f98992033
Extend the user agent to pipe title, author and keywords through to the PDF. A title on the user agent will override any title info gathered from fo:title elements.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198426 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
50151d55ff
PR:
Obtained from:
Submitted by:
Reviewed by:
Removed flush() override from PSLM, consolidated StorePagesModel & AreaTreeModel, removed unused LineTrait.java.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198425 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
e0395a78ac
Implemented the rest of the border styles. Now uses clipping while painting the borders to paint nicer edges. Some of this code should later be extracted into utility classes so other renderers can use the same code.
Dotted-style could use some tweaking (dots are clipped at the edges).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198424 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
66e55a15f2
Test for all border-styles.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198423 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
0de75c7c71
empty-cells implemented.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198422 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
274e37e0b6
Test case for empty-cells attribute.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198421 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
1cbd3fb0a1
Test case for column spanning.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198420 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
78ef27e991
Test cases for table-omit-*-at-break. The one for footer is disabled because it's not implemented, yet.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198419 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
47e43d9be9
Implemented table-omit-header-at-break. The same for footers comes later when page breaking is revisited.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198418 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
8aec6b9ed0
Test cases for table headers/footers.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198417 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
2b6273e76d
Table headers/footers need to be recalculated for each page (for dynamic elements like page-numbers and changing page-masters together with auto layout). Therefore a new LM is created for each page.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198416 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
586fbcfa7e
PR:
Obtained from:
Submitted by:
Reviewed by:
Some simplification to StorePagesModel, removal of not very informative comment in PSLM.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198415 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
1b4f4bca2e
Rearranged the process a bit to better show the different phases. Helped me to better understand what's going on there.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198414 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
855e36d206
Some LMs don't need the childLM List. So create only when necessary.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198413 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
e3370491c2
Adding an additional block at the end to see if a new block would behave differently.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198412 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
6f0bc238d4
Test case which indirectly tests the resetPosition() methods on various LMs. Currently, the lines are not rearranged after a page break when a different page-master gets active.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198411 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
c862ac12a6
Remove dependency of pdf package to the FOP user agent.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198410 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
beb7d42b96
Updates to team page. Added Luca (Layout) and Simon (Layout, XSL FO Tree, and Properties) to skill sets at bottom--please raise objections soon if you are uncomfortable with being listed. Gave myself my first "X" (XSL FO Tree), and added more for Jeremias and Finn. Team, please adjust as you feel appropriate.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198409 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
7053162c88
Better XPath statements for certain parser/XSLT combinations.
Suggested by: Simon Pepping
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198408 13f79535-47bb-0310-9956-ffa450edef68
19 years ago