gmazza 2003/08/20 15:04:51
Modified:examples/fo/tables borders.fo
Log:
Examples 8-11 added to check:
1) implementation of border properties (border-color,
border-width, border-style, etc.) at the fo:table-row and fo:table-column level.
2) border property conflict resolutions as defined in CSS2 standard at
http://www.w3.org/TR/REC-CSS2/tables.html#border-conflict-resolution
Revision ChangesPath
1.3 +323 -12 xml-fop/examples/fo/tables/borders.fo
Index: borders.fo
===
RCS file: /home/cvs/xml-fop/examples/fo/tables/borders.fo,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- borders.fo29 Jan 2003 16:07:55 - 1.2
+++ borders.fo20 Aug 2003 22:04:51 - 1.3
@@ -183,8 +183,8 @@
/fo:table-body
/fo:table
- fo:block space-before.optimum=15pt space-after.optimum=15pt
- Table 1: row borders
+ fo:block space-before.optimum=30pt space-after.optimum=15pt
+ Table 2: row borders
/fo:block
fo:table border-collapse=separate
@@ -307,8 +307,8 @@
/fo:table-body
/fo:table
- fo:block space-before.optimum=15pt space-after.optimum=15pt
- Table 1: column borders
+ fo:block space-before.optimum=30pt space-after.optimum=15pt
+ Table 3: column borders
/fo:block
fo:table border-collapse=separate
@@ -374,8 +374,8 @@
/fo:table-body
/fo:table
- fo:block space-before.optimum=15pt space-after.optimum=15pt
- Table 1: column borders over page
+ fo:block space-before.optimum=30pt space-after.optimum=15pt
+ Table 4: column borders over page
/fo:block
fo:table border-collapse=separate
@@ -441,8 +441,8 @@
/fo:table-body
/fo:table
- fo:block space-before.optimum=15pt space-after.optimum=15pt
- Table 1: body borders
+ fo:block space-before.optimum=30pt space-after.optimum=15pt
+ Table 5: body borders
/fo:block
fo:table border-collapse=separate
@@ -625,8 +625,8 @@
/fo:table-body
/fo:table
- fo:block space-before.optimum=15pt space-after.optimum=15pt
- Table 1: table borders
+ fo:block space-before.optimum=30pt space-after.optimum=15pt
+ Table 6: table borders
/fo:block
fo:table border-left-color=green border-left-width=0.5pt
border-left-style=solid
@@ -810,8 +810,8 @@
/fo:table-body
/fo:table
- fo:block space-before.optimum=15pt space-after.optimum=15pt
- Table 1: combinations
+ fo:block space-before.optimum=30pt space-after.optimum=15pt
+ Table 7: combinations
/fo:block
fo:table border-left-color=green border-left-width=0.5pt
border-left-style=solid border-collapse=separate
@@ -1018,6 +1018,317 @@
/fo:table-body
/fo:table
+ fo:block space-before.optimum=30pt space-after.optimum=15pt
+ Table 8: This is a table with border properties (border-style,
+ border-width, border-color) defined at the fo:table-column and
+ fo:table-row level. Not all properties are currently
+ implemented--check the compliance page on the FOP website for current
+ implementation status.
+ /fo:block
+
+fo:table border-collapse=collapse table-layout=fixed
+fo:table-column column-width=3cm border-color=blue border-width=0.5pt
border-style=solid/
+fo:table-column column-width=3cm border-color=blue border-width=0.5pt
border-style=solid/
+fo:table-column column-width=3cm border-color=blue border-width=0.5pt
border-style=solid/
+
+fo:table-body
+ fo:table-row border-color=blue border-width=0.5pt border-style=solid
+ fo:table-cell
+ fo:block text-align=center
+ (1,1)
+ /fo:block
+ /fo:table-cell
+ fo:table-cell
+ fo:block text-align=center
+ (1,2)
+ /fo:block
+ /fo:table-cell
+ fo:table-cell
+ fo:block text-align=center
+ (1,3)
+ /fo:block
+ /fo:table-cell
+ /fo:table-row
+ fo:table-row border-color=blue border-width=0.5pt border-style=solid
+ fo:table-cell
+ fo:block text-align=center
+ (2,1)
+ /fo:block
+ /fo:table-cell
+ fo:table-cell
+ fo:block text-align=center
+ (2,2)
+ /fo:block
+ /fo:table-cell
+ fo:table-cell
+ fo:block text-align=center
+ (2,3)
+ /fo:block
+ /fo:table-cell
+ /fo:table-row
+ fo:table-row border-color=blue border-width=0.5pt border-style=solid
+ fo:table-cell
+ fo:block text-align=center
+