You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The purpose of react-pdf-workflows is to support creating applications involving PDF workflows like electronic contract signing. A given PDF is rendered into a canvas. Actions elements like buttons can be added for the user to interact with. The action elements will be rendered in the canvas on top of the PDF. The source PDF will not be changed but just augmented.
The component should work well in a redux setup, so it should have the least possible local state.
Example of a two-page document which is in a state where some action elements are all pinned (neither movable nor resizable), some are movable and one of the <SignHere> is shown to the user to be signed:
The action elements <SignHere> etc. are rendered SVG fragments converted to canvas using CanVG (https://github.com/canvg/canvg).
Can DnD/Resize be done with events potentially going through
SVG generation (DOM should not change in most cases, so no rendering here),
SVG-to-Canvas rendering
coordinate system transformation: Event pixel coordinates has to be translated to PDF-relative coordinates and back (for example 20cm <-> 400px, depending on PDF viewport size) ?
Overview
The purpose of react-pdf-workflows is to support creating applications involving PDF workflows like electronic contract signing. A given PDF is rendered into a canvas. Actions elements like buttons can be added for the user to interact with. The action elements will be rendered in the canvas on top of the PDF. The source PDF will not be changed but just augmented.
The component should work well in a redux setup, so it should have the least possible local state.
Example of a two-page document which is in a state where some action elements are all pinned (neither movable nor resizable), some are movable and one of the
<SignHere>
is shown to the user to be signed:Issues/Ideas:
<SignHere>
etc. are rendered SVG fragments converted to canvas using CanVG (https://github.com/canvg/canvg).onDocumentLoadSuccess
(seee https://github.com/wojtekmaj/react-pdf/blob/master/sample/webpack/Sample.jsx)Links:
The text was updated successfully, but these errors were encountered: