Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hrg: Action45 add ability to create checkboxes #67

Open
wants to merge 28 commits into
base: main
Choose a base branch
from

Conversation

hgongloff
Copy link
Collaborator

List Any Relevant Actions or Tasks

Actions

Action 45

Tasks

Task 16.3

Description of Changes

I added the ability to create check boxes inside the pdf.

Relevant Artifacts

Before
Before

After
After

Other Comments

Like actions 43 and 44. I had to create a new folder inside of resources called manipulate_pdf to store both the original and updated pdf. For some reason I could only alter the names of the pdfs if they were not inside the resources folder. Because of this it is not possible to reopen the pdf in our canvas. This could be fixed by having the canvas also use the folder I created for its pdf but I realize this would cause a lot of merge conflicts and might not be an ideal fix.

@hgongloff hgongloff changed the title Hrg action45 Hrg action45 add ability to create checkboxes Apr 22, 2021
@hgongloff hgongloff changed the title Hrg action45 add ability to create checkboxes Hrg: Action45 add ability to create checkboxes Apr 22, 2021
Copy link
Owner

@DryCreations DryCreations left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm going to leave similar feedback as I did on #58 & #66

You are not displaying the changes on the pdf canvas, and you are directly modifying the pdf instead. This is not consistent with previous tools. We have been drawing the changes on the canvas, and adding them to an undo stack, and only modifying a pdf whenever we save a docuement.

You may want to look over how DrawRectangle is implemented, the execute method draws the representation of a rectangle on a canvas, and pdfExecute is later used to draw on a pdf when the document is saved.

Copy link
Collaborator

@bobobo77 bobobo77 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The formatting corrections look good. Love the inclusion of other tools.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants