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
Field properties:
Resize cursor when mouse on area border (when resize is detected), move cursor when mouse is inside.
Thinner blue/red borders
After having loaded a PDF document, be able to load (in place of the first one) another PDF.
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.
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:
Events considered as name change:
Validations:
Error feedbacks (if not valid):
Success feedback:
If filename typed in save file chooser doesn't end with .json, add it before saving.
Move existing area
No longer a separate View button, directly display PDF when file is selected from filechooser.
{"format":"dhek-1.0", "pages": [...]}
For now, on exit save areas in a separate tmp.json file:
{ "resolution": ...,
"areas": [
{ "x": ..., "y": ..., "width": ..., "height": ..., "name": ..., "type": "text/checkbox" }
]
}
Align left border of components
Move area of doc displayed in the scrollpane (scrollview) with mouse gesture: mousedown-mousemove-mouseup (usually hand cursor/tool in draw tools).
Reduce % of part with area list/editor
On click, if there is no x difference or no y difference, do not create area.
Possibly disable temporarily mouseover handling if related
Remove area, from area list
In drawn rect
Buttons -/+ for zoom control
Move it to File menu, item Open.
When clicking on a rect and selecting corresponding area in list, scroll in this list to be sure selection is visible.
Do not wait for to validate changes in those fields.
Right align labels (to stick to the left of their associated field)
Remove Update button from Area editor and update area on each change for each editor component (field name text input, type combobox, ...).
Display background color defined in PDF doc (not ugly gray).
Make top arrow go up to previous page (-1), and bottom arrow go forward.
Reject field name duplicate and display error dialog
Prevent from drawing area over another existing one (1 axis).
Add selection update in control of move or resize.
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).
To be tested
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.