Re: Truncating text
No. That's something that will be adressed in the redesign. I've investigated once what it would take to add it to the PDF renderer and it's a nice amount of work. It actually doesn't do well with the PDF-size optimizations in the PDF renderer. Some have reported on fop-user to work around the problem by manually limiting the number of characters in a cell. Not very nice but it can work. I've done this myself. The other possibility is to write code that takes character widths into account. This is not too difficult with the font classes from FOP. Search the archives for some ideas. > Oh god, > Then, what to do? Does FOP 0.20.4 has addressed this overflow > issue? Cheers, Jeremias Märki - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Truncating text
Oh god, Then, what to do? Does FOP 0.20.4 has addressed this overflow issue? Ramana.JV. -Original Message- From: Pretterhofer, Guenter (ext.) [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 3:16 PM To: [EMAIL PROTECTED] Subject: AW: Truncating text Hi, according to the spec you could do the truncation with overflow="hidden". But this is currently not implemented in FOP. Cheers, gP -Ursprüngliche Nachricht- Von: RamanaJV [mailto:[EMAIL PROTECTED]] Gesendet am: Montag, 8. Juli 2002 11:10 An: [EMAIL PROTECTED] Betreff: RE: Truncating text Thanks for the reply Pretterhofer, I will try to explain the problem in greater detail. The blocks I have are in the table cells and I don't want the text in the table cell block to occupy anything extra space than allocated. I have tried using this option, but the problem with wrap-option="no-wrap" is the text now will not wrap to the next line, but will occupy the next cell and the text in that cell becomes clumsy with the overlapping text. I actually don't want the text to occupy not more than what is allocated. Reason, I have asked for truncation... Ramana.JV. -Original Message- From: Pretterhofer, Guenter (ext.) [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 2:31 PM To: [EMAIL PROTECTED] Subject: AW: Truncating text Hi Ramana, you could try . hth gP -Ursprüngliche Nachricht- Von: RamanaJV [mailto:[EMAIL PROTECTED]] Gesendet am: Montag, 8. Juli 2002 10:40 An: [EMAIL PROTECTED] Betreff: Truncating text HI All, I don't want the text in the fo:block to be wrapped if the text length did not fit the allocated region. Instead, I want the text to be truncated. Is it possible through FOP? Eagerly awaiting for the reply Ramana.JV. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]
RE: Truncating text
Thanks for the reply Pretterhofer, I will try to explain the problem in greater detail. The blocks I have are in the table cells and I don't want the text in the table cell block to occupy anything extra space than allocated. I have tried using this option, but the problem with wrap-option="no-wrap" is the text now will not wrap to the next line, but will occupy the next cell and the text in that cell becomes clumsy with the overlapping text. I actually don't want the text to occupy not more than what is allocated. Reason, I have asked for truncation... Ramana.JV. -Original Message- From: Pretterhofer, Guenter (ext.) [mailto:[EMAIL PROTECTED]] Sent: Monday, July 08, 2002 2:31 PM To: [EMAIL PROTECTED] Subject: AW: Truncating text Hi Ramana, you could try . hth gP -Ursprüngliche Nachricht- Von: RamanaJV [mailto:[EMAIL PROTECTED]] Gesendet am: Montag, 8. Juli 2002 10:40 An: [EMAIL PROTECTED] Betreff: Truncating text HI All, I don't want the text in the fo:block to be wrapped if the text length did not fit the allocated region. Instead, I want the text to be truncated. Is it possible through FOP? Eagerly awaiting for the reply Ramana.JV. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, email: [EMAIL PROTECTED]