Solved

Apache FOP XSL - FO

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

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

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…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
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)

744 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

11 Experts available now in Live!

Get 1:1 Help Now