-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
fixed wrong filename generation through stamp tool #757 #794
fixed wrong filename generation through stamp tool #757 #794
Conversation
Please complete the checklist as well, thanks! |
@sbplat I have reviewed and completed the checklist |
ahh some conflicts now sorry could you resolve |
@Frooodle did some changes but its broke. |
No problem, let me fix :) |
@@ -88,6 +88,45 @@ public ResponseEntity<byte[]> addStamp(@ModelAttribute AddStampRequest request) | |||
// Load the input PDF | |||
PDDocument document = Loader.loadPDF(pdfFile.getBytes()); | |||
|
|||
for (PDPage page : document.getPages()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Duplicated code due to code merge I think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replaced by l132
Thanks @Frooodle |
Closes #757
Checklist:
Contributor License Agreement
By submitting this pull request, I acknowledge and agree that my contributions will be included in Stirling-PDF and that they can be relicensed in the future under the MPL 2.0 (Mozilla Public License Version 2.0) license.
(This does not change the general open-source nature of Stirling-PDF, simply moving from one license to another license)