Jeremias Maerki
08fb5bab03
No longer fail when no table-columns are defined. The table creates a "default column" which is used to handle any defaults and inheritance.
The columns list is populated with at least the default column.
The first row is not yet inspected for determining column widths as described in fixed table layout. (see comment in code)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198407 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
62b003446f
Test cases for fixed table layout.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198406 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
9629f8fe9b
Corrected my interpretation of border-separation.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198405 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
8f10085a6f
force fixed table-layout. Without the width auto layout becomes active.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198404 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
8d532b99b6
Fix for handling of horizontal border-separation. My first interpretation was wrong.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198403 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
04f756340c
Accessor for table-layout property.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198402 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
f2101b7fa8
Test case for border and padding influencing table-cells. Similar to table-cell5 except with horizontal border-spacing and table border and padding.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198401 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
c0bdeffdfe
Test case for border and padding influencing table-cells.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198400 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
1fa0713ce0
Forgot to take padding into account.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198399 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
a237291cdd
Test case for column-number con table-cell and gaps in a row.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198398 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
68c9b73a81
Fix for ArrayOutOfBoundsException in resetPosition().
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198397 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
f64b3f5563
Support for column-number on table-cell.
RowLM now also handles gaps (=empty cells) properly.
Positioning of cells inside the row changed. More responsibility into getNextBreakPoss stage because it is a lot easier to implement and there's less redundancy.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198396 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
692ba9ae38
Method for checking if there's a column-number
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198395 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
2458865802
Initial support for column spanning. Still WIP.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198394 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
6ef1677fb7
Correct cell-borders when border-collapse="separate" and initial support for horizontal border-separation.
This is WIP, just a save-point while I'm investigating other issues surrounding tables.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198393 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
c03c698bbd
Test case for grouping of table-cells into table-rows.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198392 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
a5e511a608
Support for table-cells as direct children of table-body|header|footer.
The table-cells are grouped into table-rows using starts-row and ends-row properties during FO tree building so the layout managers don't have to handle both cases. This will hopefully keep the code simpler.
Additional accessors on some FO objects.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198391 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
37374bcb69
moving retrieve-marker replacement into separate method to make preLoadList easier to read and understand.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198390 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
83371d2d60
Support for border-spacing shorthand.
Accessor for border-separation on table.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198389 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
d7060e85f1
More table test cases.
table-cell3a currently fails because of a table-row handling problem.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198388 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
36a0409306
Temporary fix for markers (using isBogus() check)
ipd/height and display-align support for table rows and cells.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198387 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
7cd913f036
Fix for adding absolutely positioned block without children.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198386 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
3d67d750ea
use hasBackground() as a fail-fast.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198385 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
c170f76658
Additional accessors and style.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198384 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
d6f3fb4902
Method for determining if there's a background at all.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198383 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
049708f75c
Checks for marker test cases. markers5b disabled because of a bug with table handling that I will fix shortly.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198382 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
365625169d
PR:
Obtained from:
Submitted by:
Reviewed by:
Rolled the PageNumberGenerator from PSLM back into PageSequence (slightly simpler, also this functionality is useful for non-layout render types), renamed PageViewport.getPageNumber() to .getPageNumberString() to emphasize what it is actually returning.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198381 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
53e0eb6fda
PR:
Obtained from:
Submitted by:
Reviewed by:
Minor variable renaming in PSLM, removed pageCount variable from ATH.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198380 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Glen Mazza
0595a4565b
PR:
Obtained from:
Submitted by:
Reviewed by:
Switch to Root's page number counter.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198379 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
e9849885b0
Test for block-progression-dimension and height on table-cell.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198378 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
90667f711b
Can reenable some tests for table-columns after the last improvement.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198377 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
e68c91ec57
Better table-column build-up. Columns can now be in non-consecutive order (using column-number) and number-columns-repeated is now respected. Missing columns (gaps) are logged as an error but no further handling ATM.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198376 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
7cdc09c095
Checks and an addtional method to determine whether a column-number is set.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198375 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
5f1a10cf2f
Regression test for label-end() function when there are margins on the page-master and the list-block is a direct child of a flow.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198374 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
06ad501615
Bugfix for list labels that were not properly placed when the list-block is a child of a flow and there are margins on the page-master.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198373 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
20c39d9367
Notify the AreaTreeHandler about new pages being added.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198372 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
2af04b9624
Add a facility for the PageSequenceLayoutManager to notify about a new page being added so the rendering statistics work again.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198371 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
a9d6dc7025
Derived from markers4 these two test cases exercise BlockLayoutManager.addMarkers() where currently some markers are added to the wrong page.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198370 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
c69ca93e7c
The checks were wrong because of the leading linefeed. Also, the space-before is not suitable in this case ATM for a space before that block. Using a bc with fixed height instead.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198369 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
69d42ce263
Bugfix for whitespace handling that surfaced after my last fix for linefeed handling when markers are involved. Nodes preceeding a marker that don't create an area were removed from the childNodes list but the firstInlineChild was not cleared creating additional unwanted empty lines in the output.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198368 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
cabefa5972
Can enable some test cases again.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198367 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
12e189afcf
Bugfix for blocks with forced linefeeds that break over the page boundary.
Submitted by: Luca Furini <lfurini.at.cs.unibo.it>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198366 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
ccbaa31a9f
Don't ignore linefeeds when building Knuth elements.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198365 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
919269d147
Bugfix for omitted empty lines caused by forced linefeeds.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198364 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
8497eb1798
Test case showing a problem with empty lines generated by forced linefeeds.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198363 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
68e04ccfdf
normal-breaking2 simplified and now showing a different problem that might hint at the problem in normal-breaking2.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198362 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
1468dbd2b4
Bug #33321
Fix for invalid regular expressions. Patch committed with modifications.
Submitted by: James Shaw <hertzsprrrung.at.btopenworld.com>
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198361 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
e0dc1cc5e4
Regression test for ArrayOutOfBoundsException in LineLayoutManager.addAreas() (to be fixed).
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198360 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
6413a65e97
Name of parameter was wrong.
Some style updates while at it.
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198359 13f79535-47bb-0310-9956-ffa450edef68
19 years ago
Jeremias Maerki
75699047fe
Adding an example with "no-repeat"
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@198358 13f79535-47bb-0310-9956-ffa450edef68
19 years ago