Universal Pathfinder character sheet export plugin
Hello everyone!
Since I'm a software developer, I figured that working on an xml in - pdf out plugin should be easy, and I set myself to the task. The project is at a point where I'd like to share my progress with you guys, so here's the status: Edit:
What works: Multi page character sheet support NEW!! Load and work with images instead of pdf files NEW!! Display existing form fields (text and checkbox) Add, delete, resize, move form fields Dynamic font size in text fields Save as pdf with editable form fields What partially works: Assign value to field ( incomplete menu, only a couple options do something) What will be added: Save form fields position, size, and character sheet attribute as a template Pdf fields recognition (with naming convention) to allow autofill Unrecognized fields hint (different color highlight) Options to bind unrecognized fields to character sheet attributes How it looks like: https://i.ibb.co/MCKYSNB/Cattura.png GitHub project page: You can look at the source code here |
So, if I understand correctly, you're planning to read the XML document that is embedded inside the portfolio file (i.e., a ZIP file), or perhaps using the File -> Save Custom Output... menu option and choosing XML, and produce a PDF with editable form fields as the output? Using XML:FO, I presume?
That's pretty ambitious, but I'd love to see something like that working. The current approach of using the Ancient One's character sheet (which uses JavaScript to parse the XML data) is quite usable and I like how it executes within the browser and thus doesn't require any other pieces, but the necessary information regarding containers and what are inside them is missing from the XML. Which makes inventory management a PITN. But anything that encourages people to file bug reports on how the XML output of HL doesn't include necessary information is a win in my book, because we're more likely to see it corrected... In any case, thanks for your effort! |
Will the final sheet be in English or multiple languages?
|
Quote:
Quote:
Quote:
|
Heya all, quick status update from your friendly neighborhood Jedi:
I've made one major change in how you assign values to the fields: I've switched from a context menu to a side panel with an option tree. This way you don't have to navigate many levels every time you want to assign a deeply nested property, say weapons->melee->dagger->attack type->ranged Also, the side panel is collapsible via the handy push-pin button on the upper right. I also made a bunch of improvements to the code, but that's nerdy under-the-hood stuff that's not relevant for you folks :P As always, the source code is available ahere I intend to release something that you all can try, but no ETA for now ;) https://i.ibb.co/4gn3mNt/Cattura.png |
Happy you're progressing. Nice work!
|
I can help if you need a german translation of the sheet
|
Any plans to support Spheres of Power/Spheres of Might (once the latter is released coming year) as well?
|
Quote:
|
Quote:
Quote:
|
All times are GMT -8. The time now is 07:20 AM. |
Powered by vBulletin® - Copyright ©2000 - 2024, vBulletin Solutions, Inc.
wolflair.com copyright ©1998-2016 Lone Wolf Development, Inc. View our Privacy Policy here.