>Do you recommend that I define new types for all
>actions in poppler, e.g. ActionURI for URI actions?
I understood Gian the same way.
Yesterday, I started to work on this.
Here is my progress:
-Create a class for each ActionType with access to all corresponding fields (except type): Done
-Add a method called "to_typed_action" to PopplerAction,
which returns the Action as ActionGotoDest, ActionUri whatever, depending on PopplerAction.type: Done
This function can be used from within Python.
To have easier access to the typed actions, I will override the getter of LinkMapping action attribute of as you suggested, so that it returns the typed action directly and do the same for IndexIter.get_action.
This will be finished this weekend, I hope.
I'm looking forward to see this lack of function closed, soon.
Hello Martin!
>Do you recommend that I define new types for all
>actions in poppler, e.g. ActionURI for URI actions?
I understood Gian the same way.
Yesterday, I started to work on this.
Here is my progress:
-Create a class for each ActionType with access to all corresponding fields (except type): Done
-Add a method called "to_typed_action" to PopplerAction,
which returns the Action as ActionGotoDest, ActionUri whatever, depending on PopplerAction.type: Done
This function can be used from within Python.
To have easier access to the typed actions, I will override the getter of LinkMapping action attribute of as you suggested, so that it returns the typed action directly and do the same for IndexIter. get_action.
This will be finished this weekend, I hope.
I'm looking forward to see this lack of function closed, soon.
Bye Daniel