[okular] [Bug 468036] Form: NaN in form total (UK IHT 411)

Albert Astals Cid bugzilla_noreply at kde.org
Sun Apr 9 10:40:01 BST 2023


https://bugs.kde.org/show_bug.cgi?id=468036

Albert Astals Cid <aacid at kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/grap |https://invent.kde.org/grap
                   |hics/okular/commit/24a9d097 |hics/okular/commit/a747625c
                   |d7be00128d4d65903f5c013730b |79dbebb3e0fbf6cc44143f4f26b
                   |e1c2c                       |82371

--- Comment #6 from Albert Astals Cid <aacid at kde.org> ---
Git commit a747625c79dbebb3e0fbf6cc44143f4f26b82371 by Albert Astals Cid, on
behalf of Dr. David Alan Gilbert.
Committed on 09/04/2023 at 09:38.
Pushed by aacid into branch 'release/23.04'.

JS: Implement field.valueAsString

Adobe's docs say:
  For example, for a field with a value of “020”, value returns the integer 20,
   while valueAsString returns the string “020”.

Share most of the fieldGetValue code by splitting it out into a 'Core'
variant and then using it in both GetValue and GetValueAsString.
(cherry picked from commit 24a9d097d7be00128d4d65903f5c013730be1c2c)

M  +16   -4    core/script/kjs_field.cpp

https://invent.kde.org/graphics/okular/commit/a747625c79dbebb3e0fbf6cc44143f4f26b82371

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list