I tried to set absolute positioned fo:block-container inside table-cell. But the generated pdf does not contain the block-container contents. The block-container works fine outside the table. Does any one know how to make the absolute positioned block-container work inside a table-cell?
Attached is my test fo file. Thank you very much. Jay ---------------------------------------------------------- <?xml version="1.0" encoding="UTF-8"?> <fo:root xmlns:fo="http://www.w3.org/1999/XSL/Format" xmlns:html="http://www.w3.org/1999/xhtml" writing-mode="lr-tb" hyphenate="true" language="en" text-align="start"> <fo:layout-master-set> <fo:simple-page-master page-width="10.5in" page-height="15in" master-name="all-pages" margin-top="0.5in" margin-bottom="0.5in" margin-left="0.5in" margin-right="0.5in"> <fo:region-body margin-top="1.5in" margin-bottom="1.2in"/> <fo:region-before region-name="page-header" extent="1.5in" display-align="before"/> <fo:region-after region-name="page-footer" extent="2in" display-align="after"/> <fo:region-start extent="0.5in"/> <fo:region-end extent="0.5in"/> </fo:simple-page-master> </fo:layout-master-set> <fo:page-sequence master-reference="all-pages"> <fo:title>Report</fo:title> <fo:static-content flow-name="page-header"> <fo:block-container height="1.5cm" width="21cm" top="0cm" left="2cm" position="absolute"> <fo:block> test1 </fo:block> </fo:block-container> <fo:block-container height="1.0cm" width="5.5cm" top="1.3cm" left="2.8cm" position="absolute"> <fo:block text-align="start" font-family="sans-serif" background-color="red" font-size="10pt" font-weight="bold"> test2 </fo:block> </fo:block-container> </fo:static-content> <fo:static-content flow-name="page-footer"> </fo:static-content> <fo:flow flow-name="xsl-region-body"> <fo:block font-size="small" text-align="center"> <fo:table inline-progression-dimension="auto" table-layout="fixed" width="100%"> <fo:table-column column-width="10cm"/> <fo:table-column column-width="10cm"/> <fo:table-body start-indent="0pt" end-indent="0pt" text-indent="0pt" text-align="start"> <fo:table-row> <fo:table-cell start-indent="0pt" end-indent="0pt" text-indent="0pt" padding="2pt" width="10cm" height="3cm"> <fo:block-container height="1cm" width="3cm" top="1cm" left="2cm" position="absolute"> <fo:block text-align="start" font-family="sans-serif" background-color="red" font-size="10pt" font-weight="bold"> test3 </fo:block> </fo:block-container> </fo:table-cell> <fo:table-cell start-indent="0pt" end-indent="0pt" text-indent="0pt" padding="2pt"> <fo:block text-align="left" font-weight="bold"> test4 </fo:block> </fo:table-cell> </fo:table-row> </fo:table-body> </fo:table> </fo:block> </fo:flow> </fo:page-sequence> </fo:root> ________________________________________________ Get your own "800" number Voicemail, fax, email, and a lot more http://www.ureach.com/reg/tag --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
