[ 
https://issues.apache.org/jira/browse/PDFBOX-5478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17568058#comment-17568058
 ] 

Maruan Sahyoun commented on PDFBOX-5478:
----------------------------------------

For the new content you'd like to add use

[https://pdfbox.apache.org/docs/2.0.8/javadocs/org/apache/pdfbox/pdmodel/PDPageContentStream.html#PDPageContentStream(org.apache.pdfbox.pdmodel.PDDocument,%20org.apache.pdfbox.pdmodel.PDPage,%20org.apache.pdfbox.pdmodel.PDPageContentStream.AppendMode,%20boolean,%20boolean)]

And you don't have to add the page again. You can reuse the existing page as 
you'd like to add content to the already existing page.

Hope that helps.

 

BTW. this question is better asked on the users mailing list  
[https://pdfbox.apache.org/mailinglists.html]  as this is a bug tracker.

 

> Can't write text to the last page
> ---------------------------------
>
>                 Key: PDFBOX-5478
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-5478
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.26
>         Environment: Windows10
>            Reporter: Dylan Yau
>            Priority: Minor
>         Attachments: code.png
>
>
> Can't write a text to the last page :( This text is should be below the 
> table, but this code can't do it, which method can i use to write the text 
> dynamically? thx!



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to