creating RTF with iText

View: New views
3 Messages — Rating Filter:   Alert me  

creating RTF with iText

by Meir Yanovich-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello all
im new to iText i need to create simple documents that contains numbering , bullets and simple texts
from browsing the web i saw i can create RTF ( im not sure about the numbering and bullets can it be done ? )
the question is can i use the same iText interface to create the same rft and pdf file so it will look the same ?
Thanks

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: creating RTF with iText

by Alexis Pigeon :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello Meir,

2009/10/26 Meir Yanovich <meiry242@...>
hello all
im new to iText i need to create simple documents that contains numbering , bullets and simple texts
from browsing the web i saw i can create RTF ( im not sure about the numbering and bullets can it be done ? )
the question is can i use the same iText interface to create the same rft and pdf file so it will look the same ?

The very same RTF file won't look the same depending on the RTF viewer one uses. Thus it's no use trying to generate an RTF and a PDF file that will look the same.
What you can do with iText is generate both file types that will have the same structure and content inside, but it is absolutely not guaranteed that both files will look the same, for example when you print them.
Needless to say that switching from PDF to RTF generation isn't like changing a flag when generating the document, the implementations are quite likely to be seperate ones, since the objects used are different.

HTH,
alexis

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/

Re: creating RTF with iText

by Meir Yanovich-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the response
do someone know how can i generate PDF that is as close as the RTF ?

On Mon, Oct 26, 2009 at 12:46 PM, Alexis Pigeon <pigeon.alexis@...> wrote:
Hello Meir,

2009/10/26 Meir Yanovich <meiry242@...>

hello all
im new to iText i need to create simple documents that contains numbering , bullets and simple texts
from browsing the web i saw i can create RTF ( im not sure about the numbering and bullets can it be done ? )
the question is can i use the same iText interface to create the same rft and pdf file so it will look the same ?

The very same RTF file won't look the same depending on the RTF viewer one uses. Thus it's no use trying to generate an RTF and a PDF file that will look the same.
What you can do with iText is generate both file types that will have the same structure and content inside, but it is absolutely not guaranteed that both files will look the same, for example when you print them.
Needless to say that switching from PDF to RTF generation isn't like changing a flag when generating the document, the implementations are quite likely to be seperate ones, since the objects used are different.

HTH,
alexis

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
iText-questions mailing list
iText-questions@...
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php
Check the site with examples before you ask questions: http://www.1t3xt.info/examples/
You can also search the keywords list: http://1t3xt.info/tutorials/keywords/