xmlgraphics-fop-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benjohn P. Villedo" <bvill...@chpii.com>
Subject Re: tables question
Date Mon, 15 Mar 2004 04:09:42 GMT
hi all,

Good Day!!!

thanks for giving me that bright idea i was able to achieve what i 
wanted... hmm... i shouldn't have looked at at block-container in the 
first place it made me all the more confused hehehe :-) here is what 
i did though....

using the existing xsl-fo "table" tag i omitted the <p></p> of the table 
cell in the xml file thus giving me this 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<table>
<tgroup cols="3">
<colspec colname="col1" colwidth="2in"/>
<colspec colname="col2" colwidth="2in"/>
<colspec colname="col3" colwidth="2in"/>
<tbody>
<row>
<entry colnum="1" valign="top"> </entry>
<entry colnum="2" valign="top"> </entry>
<entry colnum="3" valign="top"> </entry>
</row>
</tbody>
</tgroup>
</table>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


then inserted this table inside each column
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<block_table>
<tgroup cols="1">
<colspec colname="col1" colwidth="2in"/>
<tbody>
<row>
<entry colnum="1" valign="top"><p>test</p></entry>
</row>
</tbody>
</tgroup>
</block_table>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


which now looked like this
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<table>
<tgroup cols="3">
<colspec colname="col1" colwidth="2in"/>
<colspec colname="col2" colwidth="2in"/>
<colspec colname="col3" colwidth="2in"/>
<tbody>
<row>
<entry colnum="1" valign="top"> 

<block_table>
<tgroup cols="1">
<colspec colname="col1" colwidth="2in"/>
<tbody>
<row>
<entry colnum="1" valign="top"><p>test row 1</p></entry>
</row>
<row>
<entry colnum="1" valign="top"><p>test row 2</p></entry>
</row>
<row>
<entry colnum="1" valign="top"><p>test row 3</p></entry>
</row>
</tbody>
</tgroup>
</block_table>


</entry>
<entry colnum="2" valign="top"> 

<block_table>
<tgroup cols="1">
<colspec colname="col1" colwidth="2in"/>
<tbody>
<row>
<entry colnum="1" valign="top"><p>test 2</p></entry>
</row>
</tbody>
</tgroup>
</block_table>

</entry>
<entry colnum="3" valign="top"> 

<block_table>
<tgroup cols="1">
<colspec colname="col1" colwidth="2in"/>
<tbody>
<row>
<entry colnum="1" valign="top"><p>test 3</p></entry>
</row>
</tbody>
</tgroup>
</block_table>

</entry>
</row>
</tbody>
</tgroup>
</table>

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

this one worked :-) thanks once more for the patience in teaching 
me this technique... all the best!!!

pal,
benjohn



On 15 Mar 2004 at 4:04, J.Pietschmann wrote:

> Benjohn P. Villedo wrote:
> > i came across this property tag 
> > <fo:table absolute-position="absolute" left="1in" top="2in"> 
> > and tried to implement it however the tables still don't get 
> > horizontally aligned with each other
> 
> Absolut positioning isn't implemented for tables.
> Use another blind table and put your for tables in it.
> 
> J.Pietschmann
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
> For additional commands, e-mail: fop-user-help@xml.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: fop-user-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-user-help@xml.apache.org


Mime
View raw message