Re: Table and the Data are missing in PDF

2007-05-18 Thread pangqiu

I have found problem. 

In FOP 0.93, fo:table-and-caption is not supported. just remove this part.
the table will  display in PDF.

Thanks


pangqiu wrote:
 
 I have same problem could not show table in pdf, but it could be show in
 RTF. very strange. 
 
 Here is my FO file part
 
 fo:table-and-caption display-align=centerfo:table
 border-collapse=separate border-spacing=0px border=1px
 table-layout=fixed width=100% border-style=outset
 role=html:tablefo:table-body start-indent=0pt end-indent=0pt
 text-indent=0pt last-line-end-indent=0pt text-align=start
 text-align-last=relativefo:table-row role=html:tr
   fo:table-cell border=1px padding=0px border-style=inset
 role=html:td
 display-align=beforefo:block /fo:block/fo:table-cell
   fo:table-cell border=1px padding=0px border-style=inset
 role=html:td
 display-align=beforefo:blockafdasfasfdsadf/fo:block/fo:table-cell
   fo:table-cell border=1px padding=0px border-style=inset
 role=html:td
 display-align=beforefo:block /fo:block/fo:table-cell
   fo:table-cell border=1px padding=0px border-style=inset
 role=html:td
 display-align=beforefo:block /fo:block/fo:table-cell
   fo:table-cell border=1px padding=0px border-style=inset
 role=html:td
 display-align=beforefo:block /fo:block/fo:table-cell
   /fo:table-rowfo:table-row role=html:tr
   fo:table-cell border=1px padding=0px border-style=inset
 role=html:td
 display-align=beforefo:block /fo:block/fo:table-cell
   fo:table-cell border=1px padding=0px border-style=inset
 role=html:td
 display-align=beforefo:block /fo:block/fo:table-cell
   fo:table-cell border=1px padding=0px border-style=inset
 role=html:td display-align=beforefo:blockafafo:inline
 font-weight=bolder role=html:strongfo:inline font-weight=bolder
 font-style=italic
 role=html:emsfsaf/fo:inline/fo:inline/fo:block/fo:table-cell
   fo:table-cell border=1px padding=0px border-style=inset
 role=html:td
 display-align=beforefo:block /fo:block/fo:table-cell
   fo:table-cell border=1px padding=0px border-style=inset
 role=html:td
 display-align=beforefo:block /fo:block/fo:table-cell
   /fo:table-row/fo:table-body/fo:table/fo:table-and-caption
 

-- 
View this message in context: 
http://www.nabble.com/Table-and-the-Data-are-missing-in-PDF-tf3763433.html#a10680314
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Table and the Data are missing in PDF

2007-05-17 Thread pangqiu

I have same problem could not show table in pdf, but it could be show in RTF.
very strange. 

Here is my FO file part

fo:table-and-caption display-align=centerfo:table
border-collapse=separate border-spacing=0px border=1px
table-layout=fixed width=100% border-style=outset
role=html:tablefo:table-body start-indent=0pt end-indent=0pt
text-indent=0pt last-line-end-indent=0pt text-align=start
text-align-last=relativefo:table-row role=html:tr
fo:table-cell border=1px padding=0px border-style=inset
role=html:td display-align=beforefo:block /fo:block/fo:table-cell
fo:table-cell border=1px padding=0px border-style=inset
role=html:td
display-align=beforefo:blockafdasfasfdsadf/fo:block/fo:table-cell
fo:table-cell border=1px padding=0px border-style=inset
role=html:td display-align=beforefo:block /fo:block/fo:table-cell
fo:table-cell border=1px padding=0px border-style=inset
role=html:td display-align=beforefo:block /fo:block/fo:table-cell
fo:table-cell border=1px padding=0px border-style=inset
role=html:td display-align=beforefo:block /fo:block/fo:table-cell
/fo:table-rowfo:table-row role=html:tr
fo:table-cell border=1px padding=0px border-style=inset
role=html:td display-align=beforefo:block /fo:block/fo:table-cell
fo:table-cell border=1px padding=0px border-style=inset
role=html:td display-align=beforefo:block /fo:block/fo:table-cell
fo:table-cell border=1px padding=0px border-style=inset
role=html:td display-align=beforefo:blockafafo:inline
font-weight=bolder role=html:strongfo:inline font-weight=bolder
font-style=italic
role=html:emsfsaf/fo:inline/fo:inline/fo:block/fo:table-cell
fo:table-cell border=1px padding=0px border-style=inset
role=html:td display-align=beforefo:block /fo:block/fo:table-cell
fo:table-cell border=1px padding=0px border-style=inset
role=html:td display-align=beforefo:block /fo:block/fo:table-cell
/fo:table-row/fo:table-body/fo:table/fo:table-and-caption
-- 
View this message in context: 
http://www.nabble.com/Table-and-the-Data-are-missing-in-PDF-tf3763433.html#a10676579
Sent from the FOP - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Table and the Data are missing in PDF

2007-05-16 Thread Jeremias Maerki
Senthil, can't you please just post the generated FO file. It would make
it easier to help. I don't want to spend a lot of time finding the right
libraries and making your code work. Thanks.

On 16.05.2007 11:10:48 Senthil Kumar Balasubramanian wrote:
 Hi,
 
  
 
 I am in the processing of converting HTML page to PDF using Tidy + FOP
 frameworks. 
 
  
 
 There is a problem when converting a HTML table into a PDF. The table
 and the data are not displaying in the PDF.
 
  
 
 Can anyone aware of it. Please let me know.
 
  
 
 I have attached my Java Code, XSL StyleSheet and the HTML for your
 reference.
 
  
 
 Thanks and Regards,
 
 Senthil
 
  
 
  
 
 Best Regards,
 
 Senthilkumar .B
 
 Xtn: 6616



Jeremias Maerki


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]