farling42 / fvtt-pdf-pager

PDF Pager for Foundry
MIT License
6 stars 4 forks source link

Provide configuration window for users to specify the PDF to Document mapping #28

Closed farling42 closed 1 year ago

farling42 commented 1 year ago

Currently the PDF <-> Document mapping is done via a JS Object which needs to be pasted into a single text line in the module settings.

We should provide a configuration window which will list all of the PDF fields, and offer a text field for the user to specify the path to the location of the data field which should be mapped to that PDF field.

We still need to support the old-style object since it supports adding get/set functions for more complicated fields.

farling42 commented 1 year ago

This might be best by presenting the PDF and allowing editing of the fields to specify the name of the Document field as the value of the field. Possibly a context menu in each field to also allow adding a get and set function.

farling42 commented 1 year ago

The "Inspect Data" window from PDFoundry has been incorporated into the PDF Actor Sheet in 0.24.0