Stirling-PDF icon indicating copy to clipboard operation
Stirling-PDF copied to clipboard

added a pagingSeal feature to the stamp function

Open hxlcw opened this issue 1 year ago • 6 comments

Description

I added a pagingSeal feature to the stamp function, allowing for seals to ride across page boundaries.

Main Changes:

  1. stamp.html
  • I modified the way form elements are shown and hidden, as the addition of the pagingSeal feature increased the number of stamp types to three, making the management of form elements more complex.
  • When the type is pagingSeal, here is the page look for: image
  1. StampController
  • I added two fields for the pagingSeal feature:pagingPosition and firstPageRate.
  • When the stampType is pagingSeal , the method will proceed to addPagingSeal , which is the new method specifically created for the pagingSeal feature.

Output Example:
image


Please feel free to reach out with any questions, concerns, or feedback you may have. I am fully committed to addressing any issues that may arise and ensuring that my contribution aligns seamlessly with the goals and standards of this project.

Thank you again for considering my pull request, and for all the work you do to make this project shine.

Checklist:

  • [x] I have read the Contribution Guidelines
  • [x] I have performed a self-review of my own code
  • [x] I have commented my code, particularly in hard-to-understand areas
  • [x] My changes generate no new warnings

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)

hxlcw avatar Jul 29 '24 02:07 hxlcw