<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/jive/rss" version="2.0">
  <channel>
    <title>Adobe Community: Message List - Appearance state (AS) vs. value (V) of Button Form Fields</title>
    <link>https://forums.adobe.com/community/design_development/pdf_language_and_specifications?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Thu, 31 Oct 2013 16:33:44 GMT</pubDate>
    <generator>Jive Engage 7.0.0.1  (http://jivesoftware.com/products/)</generator>
    <dc:date>2013-10-31T16:33:44Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>Re: Appearance state (AS) vs. value (V) of Button Form Fields</title>
      <link>https://forums.adobe.com/message/5803949?tstart=0#5803949</link>
      <description>&lt;!-- [DocumentBodyStart:f1e7ef42-0d10-4aec-a607-8087683e5757] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;Thanks for sharing your view and the 32K-2 comment.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:f1e7ef42-0d10-4aec-a607-8087683e5757] --&gt;&lt;img src='/beacon?t=1415903293762' /&gt;</description>
      <pubDate>Thu, 31 Oct 2013 16:33:44 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5803949?tstart=0#5803949</guid>
      <dc:date>2013-10-31T16:33:44Z</dc:date>
      <clearspace:dateToText>1 year 2 weeks ago</clearspace:dateToText>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Re: Appearance state (AS) vs. value (V) of Button Form Fields</title>
      <link>https://forums.adobe.com/message/5803824?tstart=0#5803824</link>
      <description>&lt;!-- [DocumentBodyStart:2a4ba7d3-b8c3-4fc6-aa01-9ff9bdfb118f] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;For PDF/A (all versions) there is no question that the AS key wins since you aren't to use the Values.&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;For standard PDF, I agree that it's ambiguous and I'll submit a comment to 32K to see about fixing that for 32K-2.&amp;nbsp; In the meantime, I would agree with your assessment that AS wins because it's required while V is not.&amp;nbsp; Also, for 32K-1 functionality the rule has been to codify Adobe Reader behavior unless there is a serious reason not to do so.&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:2a4ba7d3-b8c3-4fc6-aa01-9ff9bdfb118f] --&gt;</description>
      <pubDate>Thu, 31 Oct 2013 16:10:44 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5803824?tstart=0#5803824</guid>
      <dc:date>2013-10-31T16:10:44Z</dc:date>
      <clearspace:dateToText>1 year 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>1</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
    <item>
      <title>Appearance state (AS) vs. value (V) of Button Form Fields</title>
      <link>https://forums.adobe.com/message/5803788?tstart=0#5803788</link>
      <description>&lt;!-- [DocumentBodyStart:36ce09bb-8315-4065-a733-26f2fe0f81f3] --&gt;&lt;div class="jive-rendered-content"&gt;&lt;p&gt;It all started with a PDF where the state of the checkboxes was visually different from our viewer to the acrobat reader.&lt;/p&gt;&lt;p&gt;After some investigation the problem was a different state of the /V and the /AS attributes:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;...&lt;/p&gt;&lt;p&gt;/FT/Btn&lt;/p&gt;&lt;p&gt;/Subtype/Widget&lt;/p&gt;&lt;p&gt;/T(Checkbox1)&lt;/p&gt;&lt;p&gt;/V (0)&lt;/p&gt;&lt;p&gt;/AP &amp;lt;&amp;lt;/N &amp;lt;&amp;lt;/Off 20 0 R /0 21 0 R&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/p&gt;&lt;p&gt;/AS/Off&lt;/p&gt;&lt;p&gt;...&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;So the value states that the checkbox is checked and the appearance state says it is not checked.&lt;/p&gt;&lt;p&gt;I looked up the PDF spec it says:&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;V=value&lt;/p&gt;&lt;p&gt;&lt;em&gt;(page 440) The V entry in the field dictionary (see Table 220) holds a name object representing the check box&amp;#8217;s appearance state, &lt;strong&gt;which shall be used to select the appropriate appearance from the appearance dictionary&lt;/strong&gt;.&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;AS=appearance state&lt;/p&gt;&lt;p&gt;&lt;em&gt;(page 383) (Required if the appearance dictionary AP contains one or more subdictionaries; PDF 1.2) The annotation&amp;#8217;s appearance state, &lt;strong&gt;which selects the applicable appearance stream from an appearance subdictionary&lt;/strong&gt; (see Section 12.5.5, &amp;#8220;Appearance Streams&amp;rdquo;).&lt;/em&gt;&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;Our viewer analyzed the content (/V) and the adobe reader obviously considered the appearance state (/AS).&lt;/p&gt;&lt;p&gt;&lt;strong&gt;If both are set and are different which one 'wins'?&lt;/strong&gt;&lt;/p&gt;&lt;p&gt;From my perspective it is in violation of the spec that both are different. However&lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;1.) since /V is optional and /AS is required one can argue that /AS has a slight "advantage" so to speak&lt;/p&gt;&lt;p&gt;2.) Also PDF/A-1 states that: "&lt;em&gt;Every form field shall have an appearance dictionary associated with the field's data. A conforming reader shall render the field according to the appearance dictionary without regard to the form data.&lt;/em&gt;" Which would also indicate in case of doubt look at the AS. &lt;/p&gt;&lt;p style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;It would be nice if anyone can share his thoughts about it...&lt;/p&gt;&lt;/div&gt;&lt;!-- [DocumentBodyEnd:36ce09bb-8315-4065-a733-26f2fe0f81f3] --&gt;</description>
      <pubDate>Thu, 31 Oct 2013 15:58:43 GMT</pubDate>
      <author>forums_noreply@adobe.com</author>
      <guid>https://forums.adobe.com/message/5803788?tstart=0#5803788</guid>
      <dc:date>2013-10-31T15:58:43Z</dc:date>
      <clearspace:dateToText>1 year 2 weeks ago</clearspace:dateToText>
      <clearspace:replyCount>2</clearspace:replyCount>
      <clearspace:objectType>0</clearspace:objectType>
    </item>
  </channel>
</rss>

