Hi all,

I'm using iText 5.5.9 since it seems to have the most information online on
how to use, but I'm trying to figure out the best way to change text without
losing the text's formatting. Its for a pretty basic puzzle project where
every letter is the opposite (a is z, b is y, etc). I'm able to extract the
text from the pdf as a string then create a new string with the opposite
letters, but since its a string, i lose which letters are bolded,
underlined, etc. Right now my program is creating a new pdf where it writes
the string, but is there anyway to simply edit the text content on a pdf
without losing everything else (bold text, underlined text, pictures even)? 
Also, its all the same to me if the program creates a new pdf with the data
or changes the preexisting pdf

Thanks for any help, its much appreciated



--
View this message in context: 
http://itext.2136553.n4.nabble.com/Best-way-to-alter-text-without-losing-formatting-tp4661051.html
Sent from the iText mailing list archive at Nabble.com.

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity 
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

iText(R) is a registered trademark of 1T3XT BVBA.
Many questions posted to this list can (and will) be answered with a reference 
to the iText book: http://www.itextpdf.com/book/
Please check the keywords list before you ask for examples: 
http://itextpdf.com/themes/keywords.php

Reply via email to