Solved

Apache FOP XSL - FO

Posted on 2004-04-22
5
2,361 Views
Last Modified: 2013-11-18
Hi,

I am using Apache FOP to obtain a PDF from XML and XSL-FO.

I have trouble in reducing the cell height for tables. I specified <table-row height="2mm"> in the table for the row.
But the cells in the row are not affected.


Thank you,
Sudheer.
0
Comment
Question by:siru2803
  • 3
  • 2
5 Comments
 
LVL 15

Expert Comment

by:dualsoul
ID: 10892565
please post complete (or part of) your resulting XSL:FO file.
0
 

Author Comment

by:siru2803
ID: 10894210
I am pasting the code of my Table:


<fo:table border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="10.3pt" margin-right="15.5pt" space-before="35.3pt" table-layout="auto">
                                    <fo:table-column column-width="258.75pt"/>
                                    <fo:table-column column-width="111.55pt"/>
                                    <fo:table-column column-width="85.75pt"/>
                                    <fo:table-body>
                                          <fo:table-row height="2mm">
                                                <!--<xsl:attribute name="keep-with-next">auto</xsl:attribute>
                                                <xsl:attribute name="keep-with-previous">auto</xsl:attribute>
                                                <xsl:attribute name="keep-together">always</xsl:attribute>-->
                                                <fo:table-cell border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" number-rows-spanned="2">
                                                      <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="0.0pt" space-before="0.0pt">
                                                            <xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>
                                                            <fo:block font-size="12.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="9.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false"><xsl:value-of select="/root/utilityName"/>
</fo:inline>
<fo:inline color="#000000" font-family="Times New Roman" font-size="9.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false"><xsl:value-of select="/root/utilityAddr1"/>
</fo:inline>
<fo:inline color="#000000" font-family="Times New Roman" font-size="9.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false"><xsl:value-of select="/root/utilityAddr2"/></fo:inline>

                                                            </fo:block>
                                                      </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell  background-color="#cccccc" border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                                      <!--<fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="-0.5pt" space-before="0.0pt">-->
                                                            <!--xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>-->
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">DATE</fo:inline>
                                                            <!--</fo:block>-->
                                                      </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell background-color="#cccccc" border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                                      <!--<fo:block  border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="-0.5pt" margin-right="0.0pt" space-before="0.0pt">-->
                                                            <!--<xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>-->
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">INVOICE #</fo:inline>
                                                            <!--</fo:block>-->
                                                      </fo:block>
                                                </fo:table-cell>
                                          </fo:table-row>
                                          <fo:table-row height="2mm">
                                                <!--<xsl:attribute name="keep-with-next">auto</xsl:attribute>
                                                <xsl:attribute name="keep-with-previous">auto</xsl:attribute>
                                                <xsl:attribute name="keep-together">always</xsl:attribute>-->
                                                <fo:table-cell border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                                      <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="0.0pt" space-before="0.0pt">
                                                            <!--<xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>-->
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">
                                                                        <xsl:value-of select="/root/date"/>
                                                                  </fo:inline>
                                                            </fo:block>
                                                      </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                                      <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 1.0pt" margin-left="-0.5pt" margin-right="0.0pt" space-before="0.0pt">
                                                            <xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">
                                                                        <xsl:value-of select="/root/invoice"/>
                                                                  </fo:inline>
                                                            </fo:block>
                                                      </fo:block>
                                                </fo:table-cell>
                                          </fo:table-row>
                                    </fo:table-body>
                              </fo:table>
0
 
LVL 15

Expert Comment

by:dualsoul
ID: 10896665
ok, i see now.

This is because you have 3 lines in row on the left side, and 1 line on the right:

...............................................................................
Root/Utility/Name
/root/utilityAddr1               /root/date
/root/utilityAddr2               /root/invoice
................................................................................

and summury left 3 lines more than 2mm.

as i understand you want to reduce right box height?
So, you can split your one row to 3 rows and accurately place lines in them, so
1left and 1right lines will be in one row.
2nd and 3rd occupies it's owns row and there are only 1 cell per them.

you can use <fo:table-cell starts-row=''" ends-row="">  - to set if cell should start or end the row.

0
 

Author Comment

by:siru2803
ID: 10964179
Thanks for your help. But I am not successful in reducing the row -heights in the following simple table as well.
I am pasting the code for the table.            

                  <fo:table border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt" margin-left="7.3pt" margin-right="8.55pt" space-before="10.0pt" table-layout="auto">
                                    <fo:table-column column-width="93.2pt" border="0.5pt solid black"/>
                                    <fo:table-column column-width="93.2pt" border="0.5pt solid black"/>
                                    <fo:table-column column-width="93.2pt" border="0.5pt solid black"/>
                                    <fo:table-column column-width="93.2pt" border="0.5pt solid black"/>
                                    <fo:table-column column-width="93.2pt" border="0.5pt solid black"/>
                                    <fo:table-body>
                                          <fo:table-row height="2mm">
                                                <xsl:attribute name="keep-with-next">auto</xsl:attribute>
                                                <xsl:attribute name="keep-with-previous">auto</xsl:attribute>
                                                <xsl:attribute name="keep-together">always</xsl:attribute>
                                                <fo:table-cell  background-color="#cccccc" border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                                      <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="0.0pt" space-before="0.0pt">
                                                            <xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">PO NBR</fo:inline>
                                                            </fo:block>
                                                      </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell  background-color="#cccccc" border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                                      <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="-0.5pt" margin-right="-0.5pt" space-before="0.0pt">
                                                            <xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">SHIP DATE</fo:inline>
                                                            </fo:block>
                                                      </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell background-color="#cccccc" border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                                      <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="-0.5pt" space-before="0.0pt">
                                                            <xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">SHIP VIA</fo:inline>
                                                            </fo:block>
                                                      </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell background-color="#cccccc" border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                                      <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="0.0pt" space-before="0.0pt">
                                                            <xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">FOB</fo:inline>
                                                            </fo:block>
                                                      </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell background-color="#cccccc" border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                                      <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="-0.5pt" margin-right="0.0pt" space-before="0.0pt">
                                                            <xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">DUE DATE</fo:inline>
                                                            </fo:block>
                                                      </fo:block>
                                                </fo:table-cell>
                                          </fo:table-row>
                                          <fo:table-row height="2mm">
                                                <xsl:attribute name="keep-with-next">auto</xsl:attribute>
                                                <xsl:attribute name="keep-with-previous">auto</xsl:attribute>
                                                <xsl:attribute name="keep-together">always</xsl:attribute>
                                                <fo:table-cell border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt">
                                                      <fo:block-container height="4pt" width="1.5cm">

                                                      <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="-0.5pt" space-before="0.0pt">
                                                            <xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>
                                                            
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">
                                                                        <xsl:value-of select="/root/poNbr"/>
                                                                  </fo:inline>
                                                            </fo:block>                              
                                                            
                                                      </fo:block>
                                                      </fo:block-container>
                                                </fo:table-cell>
                                                <fo:table-cell border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt">
                                                      <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="-0.5pt" space-before="0.0pt">
                                                            <xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">
                                                                        <xsl:value-of select="/root/shipDate"/>
                                                                  </fo:inline>
                                                            </fo:block>
                                                      </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt">
                                                      <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="0.0pt" space-before="0.0pt">
                                                            <xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">
                                                                        <xsl:value-of select="/root/shipVia"/>
                                                                  </fo:inline>
                                                            </fo:block>
                                                      </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt">
                                                      <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="-0.5pt" margin-right="-0.5pt" space-before="0.0pt">
                                                            <xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">
                                                                        <xsl:value-of select="/root/fob"/>
                                                                  </fo:inline>
                                                            </fo:block>
                                                      </fo:block>
                                                </fo:table-cell>
                                                <fo:table-cell border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt">
                                                      <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="0.0pt" space-before="0.0pt">
                                                            <xsl:attribute name="padding">2.0pt 2.0pt 0.0pt 2.0pt</xsl:attribute>
                                                            <fo:block font-size="10.0pt" text-align="left">
                                                                  <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">
                                                                        <xsl:value-of select="/root/dueDate"/>
                                                                  </fo:inline>
                                                            </fo:block>
                                                      </fo:block>
                                                </fo:table-cell>
                                          </fo:table-row>
                                    </fo:table-body>
                              </fo:table>
                              
0
 
LVL 15

Accepted Solution

by:
dualsoul earned 500 total points
ID: 10981182
ok, i checked it. You have some problems with <fo:inline> settings in the table body section (it seems all right with the header section, but i was unable to find differences...)
so i've removed <fo:inline> sections in the body, and the heigth of <fo:table-row> now plays the role.

 I don't know why you want <fo:inline> section, you can easily set up all parameters in <fo:block> you've already have. By the way you have nested <fo:block> elemetns. it's superfluos, you can reduce your stylesheet size, by convert them to one <fo:block>.


Try this: (note i removed all <xsl:....> tags, due to testing purpose):
................................................................
<?xml version="1.0" encoding="UTF-8"?>
<fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format">
      <fo:layout-master-set>
            <fo:simple-page-master master-name="">
                  <fo:region-body/>
            </fo:simple-page-master>
      </fo:layout-master-set>
      <fo:page-sequence master-reference="">
            <fo:flow flow-name="">
                  <fo:table border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt" margin-left="7.3pt" margin-right="8.55pt" space-before="10.0pt" table-layout="auto">
                        <fo:table-column column-width="93.2pt" border="0.5pt solid black"/>
                        <fo:table-column column-width="93.2pt" border="0.5pt solid black"/>
                        <fo:table-column column-width="93.2pt" border="0.5pt solid black"/>
                        <fo:table-column column-width="93.2pt" border="0.5pt solid black"/>
                        <fo:table-column column-width="93.2pt" border="0.5pt solid black"/>
                        <fo:table-body>
                              <fo:table-row height="2mm" keep-with-next="auto" keep-with-previous="auto" keep-together="always">
                                    <fo:table-cell background-color="#cccccc" border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                          <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="0.0pt" space-before="0.0pt" padding="2.0pt 2.0pt 0.0pt 2.0pt">
                                                <fo:block font-size="10.0pt" text-align="left">
                                                      <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">PO NBR</fo:inline>
                                                </fo:block>
                                          </fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell background-color="#cccccc" border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                          <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="-0.5pt" margin-right="-0.5pt" space-before="0.0pt" padding="2.0pt 2.0pt 0.0pt 2.0pt">
                                                <fo:block font-size="10.0pt" text-align="left">
                                                      <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">SHIP DATE</fo:inline>
                                                </fo:block>
                                          </fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell background-color="#cccccc" border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                          <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="-0.5pt" space-before="0.0pt" padding="2.0pt 2.0pt 0.0pt 2.0pt">
                                                <fo:block font-size="10.0pt" text-align="left">
                                                      <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">SHIP VIA</fo:inline>
                                                </fo:block>
                                          </fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell background-color="#cccccc" border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                          <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="0.0pt" space-before="0.0pt" padding="2.0pt 2.0pt 0.0pt 2.0pt">
                                                <fo:block font-size="10.0pt" text-align="left">
                                                      <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">FOB</fo:inline>
                                                </fo:block>
                                          </fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell background-color="#cccccc" border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="1.0pt 1.0pt 1.0pt 1.0pt">
                                          <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="-0.5pt" margin-right="0.0pt" space-before="0.0pt" padding="2.0pt 2.0pt 0.0pt 2.0pt">
                                                <fo:block font-size="10.0pt" text-align="left">
                                                      <fo:inline color="#000000" font-family="Times New Roman" font-size="10.0pt" font-style="normal" font-weight="normal" text-decoration=" no-line-through no-underline" white-space-collapse="false">DUE DATE</fo:inline>
                                                </fo:block>
                                          </fo:block>
                                    </fo:table-cell>
                              </fo:table-row>
                              <fo:table-row height="2mm" keep-with-next="auto" keep-together="always" keep-with-previous="auto">
                                    <fo:table-cell border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt">
                                          <fo:block-container height="4pt" width="1.5cm">
                                                <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="-0.5pt" space-before="0.0pt" padding="2.0pt 2.0pt 0.0pt 2.0pt">
                                                      <fo:block font-size="10.0pt" text-align="left">
                                                            /root/poNbr
                                                  </fo:block>
                                                </fo:block>
                                          </fo:block-container>
                                    </fo:table-cell>
                                    <fo:table-cell border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt">
                                          <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="-0.5pt" space-before="0.0pt" padding="2.0pt 2.0pt 0.0pt 2.0pt">
                                                <fo:block font-size="10.0pt" text-align="left">
                                                            /root/shipDate
                                                  </fo:block>
                                          </fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt">
                                          <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="0.0pt" space-before="0.0pt" padding="2.0pt 2.0pt 0.0pt 2.0pt">
                                                <fo:block font-size="10.0pt" text-align="left">
                                                            /root/shipVia
                                                  </fo:block>
                                          </fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt">
                                          <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="-0.5pt" margin-right="-0.5pt" space-before="0.0pt" padding="2.0pt 2.0pt 0.0pt 2.0pt">
                                                <fo:block font-size="10.0pt" text-align="left">
                                                            /root/fob
                                                  </fo:block>
                                          </fo:block>
                                    </fo:table-cell>
                                    <fo:table-cell border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt">
                                          <fo:block border-color="#000000 #000000 #000000 #000000" border-style="solid solid solid solid" border-width="0.0pt 0.0pt 0.0pt 0.0pt" margin-left="0.0pt" margin-right="0.0pt" space-before="0.0pt" padding="2.0pt 2.0pt 0.0pt 2.0pt">
                                                <fo:block font-size="10.0pt" text-align="left">
                                                            /root/dueDate
                                                  </fo:block>
                                          </fo:block>
                                    </fo:table-cell>
                              </fo:table-row>
                        </fo:table-body>
                  </fo:table>
            </fo:flow>
      </fo:page-sequence>
</fo:root>
................................................................
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
The viewer will learn how to count occurrences of each item in an array.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now