Hello,

could anybody tell me how the ordering in a PdfDictionary works?

I would like to extend iTExt with new spatial spatial features wich are 
described in Adobe ISO 32000.

sample code:
PdfDictionary dicMeasure = new PdfDictionary(new PdfName("Measure"));
dicMeasure.put(PdfName.SUBTYPE, new PdfName("GEO"));
dicMeasure.put(new PdfName("GCS"),indRefGcs);
dicMeasure.put(new PdfName("GPTS"),gpts);
dicMeasure.put(new PdfName("LPTS"),lpts);

PdfIndirectObject indObjMeasure = writer.addToBody(dicMeasure);

appearance in pdf:
<</Type/Measure/GCS 2 0 R/LPTS[0.0 1.0 1.0
0.0]/Subtype/GEO/GPTS[41.0000000000 -87.0000000000 42.0000000000
-88.0000000000]>>

How important is the order in a dictionary? 

Thank you in advance!

Matthias



-- 
View this message in context: 
http://www.nabble.com/order-in-a-PdfDictionary-tp20660730p20660730.html
Sent from the iText - General mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
iText-questions mailing list
iText-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/itext-questions

Buy the iText book: http://www.1t3xt.com/docs/book.php

Reply via email to