Hi Ted,

thank you for that,
now it's working.

Regards
Robert

----- Original Message ----- From: "Ted Chien" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 14, 2010 7:38 PM
Subject: Re: Ectracting text with format informations


Correct me if I'm wrong, but I think you can do it by extending this class:

org.apache.pdfbox.util.PDFStreamEngine

Maybe you can refer to org.apache.pdfbox.util.PDFTextStripper as a sample.

As to "Extract by Bookmark", you can still refer to the code in PDFTextStripper and check the ExtractText.java sample, if I remember correctly.

Regards,
Ted Chien


於 2010/9/15 上午1:13, Robert Angermayr 提到:
Hi,

is there anybody who can help me in extracting text with simple format informations. Simple means, i'd like to extract the information test is bold or italic and eventually the size. I found this question by searching the list, but i didn't found an example or a howto.

Thanks
Robert Angermayr


----- Original Message ----- From: "arun segar" <[email protected]>
To: <[email protected]>
Sent: Tuesday, September 14, 2010 3:29 PM
Subject: using bookmark to extract text in pdf


Hi,

Is anybody can help me in extracting text by using bookmark in the pdf
file(as command line utility).

Thanks,
Arun Segar




Reply via email to