You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-users@xmlgraphics.apache.org by Sascha Iseli <is...@puzzle.ch> on 2005/12/12 16:28:20 UTC

nested tables

hello

i use the fop version 0.90alpha1 and tried to build nested tables like the
following snippets: it is no problem to generate a pdf-file, but when i
generate a rtf-file the micosoft word doesn't open the file and returned a
useless errormessage (the document name or path is not valid....)

is it in common way not possible to build nested tables for generated
rtf-files, or does someone know a workaround?

Many thanks
regards
sascha



<fo:table border-width="0.5mm" border-style="solid"  table-layout="fixed"
width="100%" border-collapse="separate">
      <fo:table-column column-width="50mm"/>
      <fo:table-column column-width="50mm"/>
      <fo:table-column column-width="50mm"/>
      <fo:table-body>
        <fo:table-row>
          <fo:table-cell ><fo:block>cell one</fo:block>
	  <fo:block>
	 <!-- nested table -->
	  <fo:table border-width="0.5mm" border-style="solid"
               table-layout="fixed" width="100%" border-collapse="separate">
	  	<fo:table-column column-width="22mm"/>
		<fo:table-column column-width="22mm"/>
		   <fo:table-body>
			<fo:table-row>
			  <fo:table-cell>
                             <fo:block>Text</fo:block></fo:table-cell>
				<fo:table-cell ><fo:block>more Text
                             </fo:block></fo:table-cell>
				</fo:table-row>
			</fo:table-body>
	    </fo:table>
	  </fo:block>
	  </fo:table-cell>
          <fo:table-cell ><fo:block>cell two</fo:block></fo:table-cell>
          <fo:table-cell ><fo:block>cell three</fo:block></fo:table-cell>
        </fo:table-row>
      </fo:table-body>
    </fo:table>



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


Re: nested tables

Posted by Jeremias Maerki <de...@jeremias-maerki.ch>.
Hi Sascha

No, I'm afraid that nested tables are currently not possible with RTF
output. At the moment, I know no work-around. Try to work with only one
table.

On 12.12.2005 16:28:20 Sascha Iseli wrote:
> hello
> 
> i use the fop version 0.90alpha1 and tried to build nested tables like the
> following snippets: it is no problem to generate a pdf-file, but when i
> generate a rtf-file the micosoft word doesn't open the file and returned a
> useless errormessage (the document name or path is not valid....)
> 
> is it in common way not possible to build nested tables for generated
> rtf-files, or does someone know a workaround?
> 
> Many thanks
> regards
> sascha
> 
> 
> 
> <fo:table border-width="0.5mm" border-style="solid"  table-layout="fixed"
> width="100%" border-collapse="separate">
>       <fo:table-column column-width="50mm"/>
>       <fo:table-column column-width="50mm"/>
>       <fo:table-column column-width="50mm"/>
>       <fo:table-body>
>         <fo:table-row>
>           <fo:table-cell ><fo:block>cell one</fo:block>
> 	  <fo:block>
> 	 <!-- nested table -->
> 	  <fo:table border-width="0.5mm" border-style="solid"
>                table-layout="fixed" width="100%" border-collapse="separate">
> 	  	<fo:table-column column-width="22mm"/>
> 		<fo:table-column column-width="22mm"/>
> 		   <fo:table-body>
> 			<fo:table-row>
> 			  <fo:table-cell>
>                              <fo:block>Text</fo:block></fo:table-cell>
> 				<fo:table-cell ><fo:block>more Text
>                              </fo:block></fo:table-cell>
> 				</fo:table-row>
> 			</fo:table-body>
> 	    </fo:table>
> 	  </fo:block>
> 	  </fo:table-cell>
>           <fo:table-cell ><fo:block>cell two</fo:block></fo:table-cell>
>           <fo:table-cell ><fo:block>cell three</fo:block></fo:table-cell>
>         </fo:table-row>
>       </fo:table-body>
>     </fo:table>


Jeremias Maerki


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