what is the equivalent of pre tag in FO?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Raja_Reddy
Posted On:   Friday, October 15, 2004 02:11 AM

My requirement is, I get a string from a business class method call. String rpt = getContentById(rptID) This String contains an entire report (preformatted). I need to generate PDF out of this String. So, I created a .fo file and am embedding the String in the file. I have written a How do I retain the format of the embedded String (in *.fo file) while it is generated to pdf? I have used, font-family="sans-serif" wrap-option="wrap" white-space-treatment="preserve" line-height="15pt" space-after.optimum="3pt" text-align="justify"> *   More>>

My requirement is,

I get a string from a business class method call.

String rpt = getContentById(rptID)

This String contains an entire report (preformatted).

I need to generate PDF out of this String.

So, I created a .fo file and am embedding the String in the file.

I have written a

How do I retain the format of the embedded String (in *.fo file) while it is generated to pdf?


I have used,


font-family="sans-serif"
wrap-option="wrap"
white-space-treatment="preserve"
line-height="15pt"
space-after.optimum="3pt"
text-align="justify">
**String**


But, it is not working...

some of you please help me in this regard at the earliest as it is an urgent requirement for me.

   <<Less
About | Sitemap | Contact