Solved

Apache FOP XSL - FO

Posted on 2004-04-22
5
2,455 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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Convert Oracle data into XML document 2 73
cookies analysis tools 2 106
Xslt: how to use use for each to loop through four iterations only 4 34
asp Google Map 2 55
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Browsers only know CSS so your awesome SASS code needs to be translated into normal CSS. Here I'll try to explain what you should aim for in order to take full advantage of SASS.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

685 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