Include background colour in overflow row
Hello I have created a table using Fop-0.20.5rc3a. The table includes a column which has an overflow in it that continues to the row below. As the row continues so does the background colour which is set for that column. The same background colour is set for the other columns in that row but they do not continue to the next row when this overflow occurs. How can I get the background colour for the other columns to fill the next row when there is an overflow? eg. In the table below the description 'This is the Primary Key for Accommodation Types' overflows to the next row and fills that column's part of the row with its background colour. Can I fill the row below in the columns for 'Accommodation Type' and 'Description'? Accommodation_Types Column Properties Accommodation Type Description This is the Primary Key forAccommodation Types Thanks for any help. James XML: Dictionary Table Name=Accommodation_Types Column Name=AccommodationType DescriptionThis is the Primary Key for Accommodtion Types /Description /Column /Table /Dictionary XSL snip: xsl:attribute-set name=orderlist.table.detail.textcolumns xsl:attribute name=border-top-stylenone/xsl:attribute xsl:attribute name=border-bottom-stylenone/xsl:attribute xsl:attribute name=border-width/xsl:attribute xsl:attribute name=display-alignbefore/xsl:attribute xsl:attribute name=text-alignstart/xsl:attribute xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute /xsl:attribute-set xsl:attribute-set name=orderlist.table.detail.textcolumns3 xsl:attribute name=border-top-stylenone/xsl:attribute xsl:attribute name=border-bottom-stylenone/xsl:attribute xsl:attribute name=border-width /xsl:attribute xsl:attribute name=display-alignbefore/xsl:attribute xsl:attribute name=text-alignstart/xsl:attribute xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute /xsl:attribute-set xsl:attribute-set name=orderlist.table.detail.blocks xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute xsl:attribute name=font-size10pt/xsl:attribute xsl:attribute name=font-familysans-serif/xsl:attribute /xsl:attribute-set xsl:for-each select=Table fo:table table-layout=fixed fo:table-column column-width=180mm/ fo:table-body fo:table-row fo:table-cell fo:block space-before.optimum=5mm /fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell xsl:use-attribute-sets=orderlist.table.detail.textcolumns fo:block xsl:use-attribute-sets=orderlist.table.detail.blocks xsl:attribute name=background-color#ff/xsl:attribute xsl:attribute name=font-weightbold/xsl:attribute xsl:value-of select=@Name / /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table fo:table table-layout=fixed fo:table-column column-width=67mm / fo:table-column column-width=1mm / fo:table-column column-width=112mm / fo:table-body fo:table-row fo:table-cell xsl:use-attribute-sets=orderlist.table.detail.textcolumns fo:block font-weight=bold background-color=#cc text-align=start font-size=10pt fontfamily=sans-serif xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute Column/fo:block /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell xsl:use-attribute-sets=orderlist.table.detail.textcolumns fo:block font-weight=bold background-color=#cc text-align =start font-size=10pt font-family=sans-serif xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute Properties/fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table fo:table table-layout=fixed fo:table-column column-width=67mm/ fo:table-column column-width=1mm / fo:table-column column-width=34mm/ fo:table-column column-width=1mm/ fo:table-column column-width=77mm /
FW: send overflow to row below
Hello I'm using Fop-0.20.5rc3a to produce a table. The table is formatted fine apart from one column which has an overflow because of the page size. An overflow on this particular column is expected except that I would like the overflow to continue on the row below. Instead the table is formatted so that the content of the column starts one or two rows above that of the row where it should start. How can I change the xsl-fo to make the overflow go below the row the content should be formatted on and not above? eg. Currently the xml-fo is formats the table as: Accommodation_Types Column Properties This is the Primary Key for Accommodation Accommodation TypeDescription Types DataTypesmallint (2) Instead I would like: Accommodation_Types Column Properties Accommodation TypeDescription This is the Primary Key for Accommodation Types DataTypesmallint (2) Any help is much appreciated. Thanks James XML: Dictionary Table Name=Accommodation_Types Column Name=AccommodationType DescriptionThis is the Primary Key for Accommodtion Types/Description DataTypesmallint (2)/DataType /Column Column Name=Active DescriptionThis is to see if the Accommodation type is Active/Description DataTypebit (1)/DataType /Column Column Name=Description DescriptionDescription of Accommodation Type/Description DataTypechar (35)/DataType /Column /Table /Dictionary XSL snip: xsl:attribute-set name=orderlist.table.detail.textcolumns xsl:attribute name=border-top-stylenone/xsl:attribute xsl:attribute name=border-bottom-stylenone/xsl:attribute xsl:attribute name=border-width/xsl:attribute xsl:attribute name=display-alignafter/xsl:attribute xsl:attribute name=text-alignstart/xsl:attribute xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute /xsl:attribute-set xsl:attribute-set name=orderlist.table.detail.textcolumns3 xsl:attribute name=border-top-stylenone/xsl:attribute xsl:attribute name=border-bottom-stylenone/xsl:attribute xsl:attribute name=border-width /xsl:attribute xsl:attribute name=display-alignafter/xsl:attribute xsl:attribute name=text-alignstart/xsl:attribute xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute /xsl:attribute-set xsl:attribute-set name=orderlist.table.detail.blocks xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute xsl:attribute name=font-size10pt/xsl:attribute xsl:attribute name=font-familysans-serif/xsl:attribute /xsl:attribute-set xsl:for-each select=Table fo:table table-layout=fixed fo:table-column column-width=180mm/ fo:table-body fo:table-row fo:table-cell fo:block space-before.optimum=5mm /fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell xsl:use-attribute-sets=orderlist.table.detail.textcolumns fo:block xsl:use-attribute-sets=orderlist.table.detail.blocks xsl:attribute name=background-color#ff/xsl:attribute xsl:attribute name=font-weightbold/xsl:attribute xsl:value-of select=@Name / /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table fo:table table-layout=fixed fo:table-column column-width=67mm / fo:table-column column-width=1mm / fo:table-column column-width=112mm / fo:table-body fo:table-row fo:table-cell xsl:use-attribute-sets=orderlist.table.detail.textcolumns fo:block font-weight=bold background-color=#cc text-align=start font-size=10pt fontfamily=sans-serif xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute Column/fo:block /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell xsl:use-attribute-sets=orderlist.table.detail.textcolumns fo:block font-weight=bold background-color=#cc text-align =start font-size=10pt font-family=sans-serif xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute
send overflow to row below
Hello I'm using Fop-0.20.5rc3a to produce a table. The table is formatted fine apart from one column which has an overflow because of the page size. An overflow on this particular column is expected except that I would like the overflow to continue on the row below. Instead the table is formatted so that the content of the column starts one or two rows above that of the row where it should start. How can I change the xsl-fo to make the overflow go below the row the content should be formatted on and not above? I have included xml and xsl below and a .doc file showing how content is displayed the row above the row where it should start. Any help is much appreciated. Thanks James XML: Dictionary Table Name=Accommodation_Types Column Name=AccommodationType DescriptionThis is the Primary Key for Accommodtion Types/Description DataTypesmallint (2)/DataType /Column Column Name=Active DescriptionThis is to see if the Accommodation type is Active/Description DataTypebit (1)/DataType /Column Column Name=Description DescriptionDescription of Accommodation Type/Description DataTypechar (35)/DataType /Column /Table /Dictionary XSL snippet: xsl:attribute-set name=orderlist.table.detail.textcolumns xsl:attribute name=border-top-stylenone/xsl:attribute xsl:attribute name=border-bottom-stylenone/xsl:attribute xsl:attribute name=border-width/xsl:attribute xsl:attribute name=display-alignafter/xsl:attribute xsl:attribute name=text-alignstart/xsl:attribute xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute /xsl:attribute-set xsl:attribute-set name=orderlist.table.detail.textcolumns3 xsl:attribute name=border-top-stylenone/xsl:attribute xsl:attribute name=border-bottom-stylenone/xsl:attribute xsl:attribute name=border-width /xsl:attribute xsl:attribute name=display-alignafter/xsl:attribute xsl:attribute name=text-alignstart/xsl:attribute xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute /xsl:attribute-set xsl:attribute-set name=orderlist.table.detail.blocks xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute xsl:attribute name=font-size10pt/xsl:attribute xsl:attribute name=font-familysans-serif/xsl:attribute /xsl:attribute-set xsl:for-each select=Table fo:table table-layout=fixed fo:table-column column-width=180mm/ fo:table-body fo:table-row fo:table-cell fo:block space-before.optimum=5mm /fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell xsl:use-attribute-sets=orderlist.table.detail.textcolumns fo:block xsl:use-attribute-sets=orderlist.table.detail.blocks xsl:attribute name=background-color#ff/xsl:attribute xsl:attribute name=font-weightbold/xsl:attribute xsl:value-of select=@Name / /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table fo:table table-layout=fixed fo:table-column column-width=67mm / fo:table-column column-width=1mm / fo:table-column column-width=112mm / fo:table-body fo:table-row fo:table-cell xsl:use-attribute-sets=orderlist.table.detail.textcolumns fo:block font-weight=bold background-color=#cc text-align=start font-size=10pt fontfamily=sans-serif xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute Column/fo:block /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell xsl:use-attribute-sets=orderlist.table.detail.textcolumns fo:block font-weight=bold background-color=#cc text-align =start font-size=10pt font-family=sans-serif xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute Properties/fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table fo:table table-layout=fixed fo:table-column column-width=67mm/ fo:table-column column-width=1mm / fo:table-column column-width=34mm/ fo:table-column
format overflow rows on row below
Hello I'm using Fop-0.20.5rc3a to produce a table. The table is formatted fine apart from one column which has an overflow because of the page size. An overflow on this particular column is expected except that I would like the overflow to continue on the row below. Instead the table is formatted so that the content of the column starts one or two rows above that of the row where the headers are explaining what the content is. How can I change the xsl-fo to make the overflow go below the row the content should be formatted on and not above? I have included xsl below and a .doc file showing how a description is displayed the row above a description heading. Any help is much appreciated. Thanks James XSL snippet: xsl:attribute-set name=orderlist.table.detail.textcolumns xsl:attribute name=border-top-stylenone/xsl:attribute xsl:attribute name=border-bottom-stylenone/xsl:attribute xsl:attribute name=border-width/xsl:attribute xsl:attribute name=display-alignafter/xsl:attribute xsl:attribute name=text-alignstart/xsl:attribute xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute /xsl:attribute-set xsl:attribute-set name=orderlist.table.detail.textcolumns3 xsl:attribute name=border-top-stylenone/xsl:attribute xsl:attribute name=border-bottom-stylenone/xsl:attribute xsl:attribute name=border-width /xsl:attribute xsl:attribute name=display-alignafter/xsl:attribute xsl:attribute name=text-alignstart/xsl:attribute xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute /xsl:attribute-set xsl:attribute-set name=orderlist.table.detail.blocks xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute xsl:attribute name=font-size10pt/xsl:attribute xsl:attribute name=font-familysans-serif/xsl:attribute /xsl:attribute-set xsl:for-each select=Table fo:table table-layout=fixed fo:table-column column-width=180mm/ fo:table-body fo:table-row fo:table-cell fo:block space-before.optimum=5mm /fo:block /fo:table-cell /fo:table-row fo:table-row fo:table-cell xsl:use-attribute-sets=orderlist.table.detail.textcolumns fo:block xsl:use-attribute-sets=orderlist.table.detail.blocks xsl:attribute name=background-color#ff/xsl:attribute xsl:attribute name=font-weightbold/xsl:attribute xsl:value-of select=@Name / /fo:block /fo:table-cell /fo:table-row /fo:table-body /fo:table fo:table table-layout=fixed fo:table-column column-width=67mm / fo:table-column column-width=1mm / fo:table-column column-width=112mm / fo:table-body fo:table-row fo:table-cell xsl:use-attribute-sets=orderlist.table.detail.textcolumns fo:block font-weight=bold background-color=#cc text-align=start font-size=10pt fontfamily=sans-serif xsl:attribute name=padding-right0.5mm/xsl:attribute xsl:attribute name=padding-left.5mm/xsl:attribute xsl:attribute name=padding-bottom.5mm/xsl:attribute xsl:attribute name=padding-top.5mm/xsl:attribute Column/fo:block
table processing warning
Hello When processing xml using FOP 0.20.5rc3a the command keeps returning two warnings. These are: [WARNING] current implementation of tables requires a table-column for each column, indicating column-width [WARNING] Some static content could not fit in the area. A pdf document is returned ok, but obviously there are formatting errors. I am interested in what might be causing the first of these. There are several tables in the xsl-fo which I have shown below and I have made sure the number of table-columns and table-cells correspond and that each column has a column width specified but this warning continues. What is it referring to? Thanks for any help. James fo:table table-layout=fixed fo:table-column column-width=8mm / fo:table-column column-width=90mm / fo:table-column column-width=85mm / fo:table-column column-width=30mm / fo:table-column column-width=70mm / fo:table-body fo:table-row fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell /fo:table-row /fo:table-body /fo:table fo:table table-layout=fixed fo:table-column column-width=13mm / fo:table-column column-width=23mm / fo:table-column column-width=37mm / fo:table-column column-width=37mm / fo:table-column column-width=25mm / fo:table-column column-width=18mm / fo:table-column column-width=22mm / fo:table-column column-width=25mm / fo:table-column column-width=25mm / fo:table-column column-width=11mm / fo:table-column column-width=8mm / fo:table-column column-width=16mm / fo:table-column column-width=24mm / fo:table-body fo:table-row fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell fo:table-cell /fo:table-cell /fo:table-row /fo:table-body /fo:table fo:table table-layout=fixed fo:table-column column-width=3mm / fo:table-column column-width=23mm / fo:table-column column-width=37mm / fo:table-column column-width=37mm / fo:table-column column-width=25mm / fo:table-column column-width=18mm / fo:table-column column-width=22mm / fo:table-column column-width=25mm / fo:table-column column-width=25mm / fo:table-column column-width=11mm / fo:table-column column-width=8mm /