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

Import all pages from existing pdf file, Fix table border corners and Set current page method #310

Merged
merged 5 commits into from
Oct 19, 2024

Conversation

liasica
Copy link
Contributor

@liasica liasica commented Oct 17, 2024

  1. Add ImportPagesFromSource to import all pages from existing pdf file, source can be a file path, byte slice, or (*)io.ReadSeeker.
pdf.ImportPagesFromSource("./examples/outline_example/outline_demo.pdf", "/MediaBox")
  1. Fix the table border corners
image to image
  1. Add SetPage to let people can manually change the current page, convenient for quickly inserting content at a specified location
pdf.SetPage(2) // Select page
pdf.SetXY(350, 50)
pdf.Cell(&Rect{W: 20, H: 30}, "Hello World")

@liasica liasica changed the title Fix table border corners and Add set current page method Import all pages from existing pdf file, Fix table border corners and Set current page method Oct 17, 2024
@oneplus1000 oneplus1000 merged commit c9966b3 into signintech:master Oct 19, 2024
2 checks passed
@oneplus1000
Copy link
Collaborator

thank you

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.

2 participants