Hello fopit, 

I'm not sure I understand what you want. Let me rephrase and tell me, if I'm 
correct:

* You have an XML file and a XSL file and generate PDFs.
* You want to generate a PDF, where only the first few lines of a text are 
displayed
* You want to use the same XML file and the same XSL file

If that is correct, you can reuse your XML file, but need a slightly different 
transformation in which the text is shortend. That's not correct xsl code, but 
in place of <fo:block>$variable_holding_long_text</fo:block> you would need a 
<fo:block>substring($variable_holding_long_text, 1, 
$variable_holding_number_of_characters_to_display</fo:block>

Regards,
 
Georg Datterl
 
------ Kontakt ------
 
Georg Datterl
 
Geneon media solutions gmbh
Gutenstetter Straße 8a
90449 Nürnberg
 
HRB Nürnberg: 17193
Geschäftsführer: Yong-Harry Steiert 

Tel.: 0911/36 78 88 - 26
Fax: 0911/36 78 88 - 20
 
www.geneon.de
 
Weitere Mitglieder der Willmy MediaGroup:
 
IRS Integrated Realization Services GmbH:    www.irs-nbg.de 
Willmy PrintMedia GmbH:                            www.willmy.de
Willmy Consult & Content GmbH:                 www.willmycc.de 
-----Ursprüngliche Nachricht-----
Von: fopit [mailto:[email protected]] 
Gesendet: Mittwoch, 30. September 2009 16:03
An: [email protected]
Betreff: Text rendering with FOP


Hello there

First of all, as english is not my natural tongue, i beg you to excuse faults 
or nonsense that would eventually come.

I'm using FOP to create PDF from XML. Nothing particular, and it works great.
But I also want to use it - and the same XSL-FO - to create a text from the 
XML, a simple viewer of the PDF for final users, and there, problems begin :
it's like having a very size-limited buffer, only the beginning of my text is 
render.

I read here and there that fop wasn't the best thing to do text-rendering, but, 
really, I just want a viewer, nothing complicate or fancy.

So, I wonder, why do fop render me only the beginning of my text, and is there 
anything to do to change that?

Thanks
--
View this message in context: 
http://www.nabble.com/Text-rendering-with-FOP-tp25681687p25681687.html
Sent from the FOP - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to