Hi,

Am 14.05.2013 17:54, schrieb Sébastien Dailly:
Hello,

Is there a reason for PDColorSpace not to inherit from COSDictionary ?

Refering to pdfreference, section 3.7.2 (Resource Dictionnaries), a ColorSpace
is a dictionary, and this cause me trouble with the following resource :

127 0 obj
<<
/ColorSpace 289 0 R
/ExtGState 290 0 R
/Shading 291 0 R
/XObject <<
>>

with lead to the following ColorSpace :

289 0 obj
<<
/CS0 [/DeviceN [/Cyan /Magenta]
 /DeviceCMYK 97 0 R 98 0 R]
>>

(in PDF 1.4)

Pdfbox 1.7 convert it as PDDeviceN classes, and does not allow me to walk inside
the referenced object. Is there a way to process for convert into a dictionnary 
?
What exactly are you looking for which can't be accessed using the current
implementation of the PDDeviceN class? There should be getter/setter for all
values of the given dictionary.

(I'm waiting for the right to diffuse the pdf document)

Thanks,


BR
Andreas Lehmkühler

Reply via email to