Howard, thanks for your interest in work with us.  Let me provide you with a
list of RTFdocumentimport enhancements that we would be interested in
getting this evening.  Can you let me know the cost for added the feature
and the best method for payment, etc.?  Are you located in the US?  I could
send you a cashier's check or international wire as needed.

Tri

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Howard
Shank
Sent: Sunday, April 13, 2008 5:15 PM
To: Post all your questions about iText here
Subject: Re: [iText-questions] importRtfDocument Feature Questions

Hi Tri,

I have not been able to test all various combinations of imports. So some
may work and some may not. If you can provide a sample file you are
attempting to import I can test it and see if it's a problem or if the
import feature needs enhanced to support import you are doing at that point
in the document.

Regards,
Howard Shank

----- Original Message ----
From: Tri Phan <[EMAIL PROTECTED]>
To: [email protected]
Sent: Saturday, April 12, 2008 2:34:10 PM
Subject: [iText-questions] importRtfDocument Feature Questions


Hello, I noticed from an RTF import that the page number was missing for the
page imported.  All other page numbers in the documented imported into is
displayed correctly.

Also, is it possible to perform an RTF import into a Section?  Currently, we
have to add the chapter to the document so the imported RTF will be rendered
in the proper order.  Adding a chapter creates a section break thus not
allowing us to add the import content directly after the text of the current
section.

Here is a piece of code for the import:

.......

// insert text in section before import

String temp = theComments.substring(0,impstart);
titlemsg = new Phrase(temp + "", new Font(Font.TIMES_ROMAN, 12,
Font.NORMAL)); section1.add(titlemsg);

// insert the imported RTF file here
if (theDoc.length() > 0)
{
document.add(chap1);                    
chap1.clear();
writer2.importRtfDocument(new FileInputStream(UPLOADUSERIMAGESDIR + "\\" +
theDoc));
}            

// continue with other text in section after import temp =
theComments.substring(impend+6,theComments.length());
titlemsg = new Phrase(temp + "\n", new Font(Font.TIMES_ROMAN, 12,
Font.NORMAL)); document.add(titlemsg); continue; ........

Any work around for this? Any help is appreciated.  Thanks.

Tri



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss
this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
ne
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com 


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javao
ne
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Do you like iText?
Buy the iText book: http://www.1t3xt.com/docs/book.php
Or leave a tip: https://tipit.to/itexttipjar

Reply via email to