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

Tilman Hausherr commented on PDFBOX-4816:
-----------------------------------------

This is confusing and apparently two things. What is an "xobject text stream"? 
A PDFormXObject? PDFs are not really meant for update and it will likely be a 
pain. You can access everything low-level by calling getCOSObject().

Re structure tree element there I can't help - have a look at the PDF 
specification. There are a few answers on stackoverflow, but these were about 
creating IIRC.

 

> Xobject text content updation
> -----------------------------
>
>                 Key: PDFBOX-4816
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-4816
>             Project: PDFBox
>          Issue Type: Wish
>          Components: Text extraction
>            Reporter: Saravanan
>            Priority: Major
>
> I need to add some text inside a xobject text stream using PDFBox 
> programmatically , we don't see set methods for xobject can someone help us 
> to find a method using which we can update the existing xobject content 
> stream?
> Finally after adding this text in the content stream, we need to add the same 
> element in PDF structure tree element, some guidance on how we could add 
> xobject elements to structure tree will be helpful.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to