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

Multiple page PDF generation & Attaching PDF #421

Open
GustavoOS opened this issue Feb 8, 2024 · 0 comments
Open

Multiple page PDF generation & Attaching PDF #421

GustavoOS opened this issue Feb 8, 2024 · 0 comments

Comments

@GustavoOS
Copy link

Is your feature request related to a problem? Please describe.

  • Sometimes a page isn't enough for all the text you need to print in a file, and handling text disposition may become tricky for a long text (it is common that some writings have a two column style text) that needs multiple pages.
  • Sometimes I need to embbed other PDF files like in a attachment style (in an article, for instance, an author may add a PDF as attachment, which would have a "Attachment (n)" page before the actual attachment)

Describe the solution you'd like

Use PdfMe with a multiple page template having a PDF attachment.

Describe alternatives you've considered

As Pdfme does not offer this feature, the only way I can think of is a little complicated:

  1. Create a layout for each page
  2. Create logic to limit the amount of text in each page
  3. Generate a pdf for each page
  4. Use an external tool to merge all PDFs

Step 2 is the most concerning part because text can be splitted in a wrong manner in a multiple page PDF.

Additional context

No response

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

No branches or pull requests

1 participant