Paragraph set methods 2006-07-24 - By Alin Popa
Back Hi guys,
Not for long time ago, I had some problems with Paragraph class. I'm generating a very big RTF document (few hundred pages) and of course with a lot of paragraphs (instances of Paragraph class).
In the constructor of Paragraph class, I'm passing few parameters (the text of the paragraph and the font of it, using RtfFont() ).
Since I'm trying to do that, I have A very big number of paragraph instances and beside of that I'm using some recursive methods in which I'm creating Paragraph instances.
My question is: there is a way to set the text and the font of a paragraph by using some set methods ? Because I didn't find something like that.
The only workaround that I can make is to enlarge the memory of the JVM -Xmx512m, but this is not to elegant.
Please help me with some answers.
Thanks in advance.
-- Best Regards,
Alin
Hi guys,<br><br>Not for long time ago, I had some problems with Paragraph class .<br>I'm generating a very big RTF document (few hundred pages) and <br>of course with a lot of paragraphs (instances of Paragraph class).<br><br> In the constructor of Paragraph class, I'm passing few parameters (the text of the paragraph and the font of it, using RtfFont() ).<br><br>Since I'm trying to do that, I have A very big number of paragraph instances and beside of that I'm using some recursive methods in which I'm creating Paragraph instances. <br><br>My question is: there is a way to set the text and the font of a paragraph by using some set methods ? Because I didn't find something like that .<br><br>The only workaround that I can make is to enlarge the memory of the JVM -Xmx512m, but this is not to elegant. <br><br>Please help me with some answers.<br><br>Thanks in advance.<br><br clear="all"><br>-- <br>Best Regards,<br><br>Alin<br>
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV __ ____ ____ ____ ____ ____ ____ ____ ____ ____ iText-questions mailing list iText-questions@(protected) https://lists.sourceforge.net/lists/listinfo/itext-questions
|
|