cchantep / dhek Goto Github PK
View Code? Open in Web Editor NEWPDF template design app./UI (or on the Discworld, supreme Djelibeybian god)
License: GNU General Public License v3.0
PDF template design app./UI (or on the Discworld, supreme Djelibeybian god)
License: GNU General Public License v3.0
Reduce % of part with area list/editor
Allow to create horizontal xor vertical lines (e.g. dragging in from rulers, like in Gimp/Photoshop).
Move gesture is not detected on small (let say 10pt x 10pt).
Display background color defined in PDF doc (not ugly gray).
Remove area, from area list
Align left border of components
Make top arrow go up to previous page (-1), and bottom arrow go forward.
Remove Update button from Area editor and update area on each change for each editor component (field name text input, type combobox, ...).
In drawn rect
For now, on exit save areas in a separate tmp.json file:
{ "resolution": ...,
"areas": [
{ "x": ..., "y": ..., "width": ..., "height": ..., "name": ..., "type": "text/checkbox" }
]
}
When clicking on a rect and selecting corresponding area in list, scroll in this list to be sure selection is visible.
To be tested
{"format":"dhek-1.0", "pages": [...]}
Right align labels (to stick to the left of their associated field)
Field properties:
Make sure that areas x,y saved are the most top-left coordinates for each one.
For now it takes selection origin, and width or height can be negative if gesture end if before x|y.
Wanted fix is:
Buttons -/+ for zoom control
Prevent from drawing area over another existing one (1 axis).
Events considered as name change:
Validations:
Error feedbacks (if not valid):
Success feedback:
Add selection update in control of move or resize.
No longer a separate View button, directly display PDF when file is selected from filechooser.
Possibly disable temporarily mouseover handling if related
Reject field name duplicate and display error dialog
Resize cursor when mouse on area border (when resize is detected), move cursor when mouse is inside.
Do not wait for to validate changes in those fields.
Allow user to draw rectangular annotation on page display, handle it as annotation with known coordinates, to be able to attach custom properties (field type, field name) to each annotation.
Move existing area
Move area of doc displayed in the scrollpane (scrollview) with mouse gesture: mousedown-mousemove-mouseup (usually hand cursor/tool in draw tools).
Thinner blue/red borders
If filename typed in save file chooser doesn't end with .json, add it before saving.
On click, if there is no x difference or no y difference, do not create area.
After having loaded a PDF document, be able to load (in place of the first one) another PDF.
Move it to File menu, item Open.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.