On 2/9/2015 14:59 PM, Thomas Harre wrote:
> Hi,
>
> Thanks, that does the trick.
>
> But what is the difference between the /V and /AS values?
> Or what do they even stand for?

A field is described using a field dictionary. The /V key is an entry in 
the field dictionary that gives you the value of the field. A field 
doesn't necessarily have a visual representation, but if it has, it can 
correspond with one or more widget annotations.

An annotation is described using an annotation dictionary. The /AS key 
is an entry in the annotation dictionary that selects the applicable 
appearance stream from an appearance sub-dictionary.

When a field corresponds with one and only one widget annotation, the 
field dictionary and the annotation dictionary are merged. Hence you 
have an overlap of keys that seemingly have the same meaning.

In this case, the /AS key refers to the visualization of the field, 
whereas the /V key refers to the actual value of the field. In your 
case, there's an inconsistency because the value of the field doesn't 
correspond with its representation.

By the way: I only just looked at your mail address and I see that it's 
the address of a customer.

Two questions:
1. Is there a reason why you prefer using the mailing list over the 
issue tracker for customers? In our last board meeting at iText, we 
decided that the mailing-list was dead and that we would discontinue it 
in favor of using StackOverflow. In your case, wouldn't it be better to 
use the support system that is available for customers?
2. Where did you find DemoCheckBoxRadio.pdf? It was created using iText 
2.0.1 and that version dates from March 2007. Your company has a license 
to use more recent versions of iText.

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
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