Solved

Apache FOP XSL - FO

Posted on 2004-04-22
5
2,498 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…

738 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