You have all that is needed. Do as follow:

PdfArray sep = ...; // 11 0 obj
PdfArray lab = ...; // 12 0 obj
sep.getArrayList().add(2, lab);

Extend PdfSpotColor and return sep in getSpotObject().



> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On 
> Behalf Of color_prepress
> Sent: Thursday, December 02, 2004 5:45 AM
> To: [EMAIL PROTECTED]
> Subject: [iText-questions] still can't solve my problem!!!!! 
> pdfspotcolor problem
> 
> Here is part of my source PDF file.
> 
> 
> 
> /Resources << /ColorSpace << /CS0 11 0 R >> /ExtGState << 
> /GS0 7 0 R >> >>
> 
> 
> 
> 11 0 obj
> 
> [ /Separation /myOrange 12 0 R << /FunctionType 2 /Domain [ 0 
> 1 ] /C0 [ 100
> 0 0 ] /C1 [ 55 58 80 ]
> 
> /Range [ 0 100 -128 127 -128 127 ] /N 1 >> ]
> 
> endobj
> 
> 
> 
> 12 0 obj
> 
> [ /Lab << /WhitePoint [ 0.9642 1 0.82491 ] /BlackPoint [ 0 0 
> 0 ] /Range
> [ -128 127 -128 127 ] >> ]
> 
> endobj
> 
> 
> 
> above is source pdf which contain this spotcolor information (name as
> "myOrange") include LAB value.....and so on.
> 
> Now what I want to do is, I use pdfreader read this source 
> pdf and place it
> in contentbyte.
> 
> Then I need to show some text by using this spotcolor.(so 
> maybe I need to
> extract this whole information and become as PdfSpotColor 
> object or a whole
> PdfArray out then "link it" by using indirect reference to 
> "link" to this
> color Object so that my new text will show in this color.
> 
> I not able to use PdfSpotColor to do that. It can't capture 
> back the data
> from pdf source and contruct as new PdfSpotColor object.
> 
> using contentbyte available method will only show the text in 
> either CMYK
> value ......
> 
> so any suggestion? more detail will help me a lot
> 
> thanks.
> 
> How do I can do it by using itext?
> 
> 
> 
> 
> 
> -------------------------------------------------------
> SF email is sponsored by - The IT Product Guide
> Read honest & candid reviews on hundreds of IT Products from 
> real users.
> Discover which products truly live up to the hype. Start reading now. 
> http://productguide.itmanagersjournal.com/
> _______________________________________________
> iText-questions mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/itext-questions
> 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
iText-questions mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to