Bug 77601 - Support additional actions for form fields.
Summary: Support additional actions for form fields.
Status: RESOLVED MOVED
Alias: None
Product: poppler
Classification: Unclassified
Component: glib frontend (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: poppler-bugs
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-04-18 04:11 UTC by Elliott Sales de Andrade
Modified: 2018-08-21 11:11 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch 1. (1.72 KB, text/plain)
2014-04-18 04:11 UTC, Elliott Sales de Andrade
Details
Patch 2. (6.13 KB, patch)
2014-04-18 04:11 UTC, Elliott Sales de Andrade
Details | Splinter Review
Make available additional actions of widget annotations (13.65 KB, patch)
2015-06-15 14:37 UTC, Marek Kasik
Details | Splinter Review

Description Elliott Sales de Andrade 2014-04-18 04:11:00 UTC
Created attachment 97553 [details]
Patch 1.

As mentioned in my email earlier (http://lists.freedesktop.org/archives/poppler/2013-December/010731.html), here are a couple of patches to allow access to the additional actions that may be added to form fields. I'm not tied to any enum names or anything, so feel free to suggest any changes.
Comment 1 Elliott Sales de Andrade 2014-04-18 04:11:27 UTC
Created attachment 97554 [details] [review]
Patch 2.
Comment 2 Marek Kasik 2015-06-15 14:37:47 UTC
Created attachment 116514 [details] [review]
Make available additional actions of widget annotations

This patch adds poppler_form_field_get_annot_additional_action() which returns the action that shall be performed when an additional action is triggered on annotation related to given field.

This is needed for https://bugs.freedesktop.org/show_bug.cgi?id=90982.

Btw, wouldn' it be better to use PopplerFormAdditionalActionType in the previous patch instead of PopplerAdditionalActionType to differentiate between different additional actions?
Comment 3 Marek Kasik 2015-06-15 14:55:13 UTC
(In reply to Marek Kasik from comment #2)
> Created attachment 116514 [details] [review] [review]
> Make available additional actions of widget annotations
> 
> This patch adds poppler_form_field_get_annot_additional_action() which
> returns the action that shall be performed when an additional action is
> triggered on annotation related to given field.
> 
> This is needed for https://bugs.freedesktop.org/show_bug.cgi?id=90982.
> 
> Btw, wouldn' it be better to use PopplerFormAdditionalActionType in the
> previous patch instead of PopplerAdditionalActionType to differentiate
> between different additional actions?

I'm not sure about one thing here:

Maybe the additional actions of an annotation should be returned by a poppler_annot_widget/screen_get_additional_action(). But since there is no PopplerAnnotWidget I used this form. E.g. evince handles the widget annotation in form widgets.
Comment 4 GitLab Migration User 2018-08-21 11:11:21 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/poppler/poppler/issues/560.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.