[iText-questions] how to get font color -- iTextSharp.text.pdf.parser

2010-08-22 Thread Richard Zeng
I have a project which requests to parse a pdf file and get all text
color, I am looking into class TextRenderInfo,

 


from there I can get font size and font name, but I am not able to get
font color, can someone please point me out where and how I can get
color info.

 

thanks.

 

Richard

 

 

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev ___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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: [iText-questions] how to get font color -- iTextSharp.text.pdf.parser

2010-08-22 Thread 1T3XT info
On 21/08/2010 18:57, Richard Zeng wrote:
 I have a project which requests to parse a pdf file and get all text
 color, I am looking into class TextRenderInfo,

 from there I can get font size and font name, but I am not able to get
 font color, can someone please point me out where and how I can get
 color info.

Getting the color of the font would involve keeping track of the 
graphics state: you have to look at all the q/Q operators to 
save/restore the state) and all the operators that change the fill color 
(rg, k, and many others: there are 11 different color spaces in PDF).

you won't always end up with a simple Gray value or a RGB/CMYK color. 
I'm curious to hear how you are going to define a shading in a C# class, 
a fill pattern,... You have a lot of programming work to do.

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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/


[iText-questions] iText 5.0.4 - iTextSharp 5.0.4

2010-08-22 Thread Bruno Lowagie
Hello all,

there has been a simultaneous release of iTextSharp and iText.
iTextSharp jumps from version 5.0.2 to version 5.0.4. The iText release 
was made to stay in sync with the iTextSharp version numbers.

iTextSharp users who want to know what was new in iText 5.0.3, see:
http://itextpdf.com/history.php?branch=history.50node=503
iText/iTextSharp 5.0.4 also includes the bugfixes listed here:
http://itextpdf.com/history.php?branch=history.50node=504

best regards,
Bruno

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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/


[iText-questions] The document has been changed since it was created and these rights are no longer valid

2010-08-22 Thread rajeev2012

I have checked the link and have implemented the suggested code, yet I get
the same ...the document has been changed since it was created and these
rights are no longer valid  

Anybody has any clue, how to resolve this issue 
-- 
View this message in context: 
http://itext-general.2136553.n4.nabble.com/iText-IKVM-C-stream-to-browser-issues-tp2167197p2334230.html
Sent from the iText - General mailing list archive at Nabble.com.

--
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
___
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.itextpdf.com/book/
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/