You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@pdfbox.apache.org by Abhishek Pawar <Ab...@lntinfotech.com> on 2013/10/28 08:15:18 UTC

Text Extract keeping format and layout intact as pdf

Team,
            How can I extract text from a pdf file / pdf page with its formatting and layout ?
This is important because if a pdf contains data in a tabular format ,  after text extraction using pdfbox the result becomes very messy.

Please Help !

Regards,
Abhishek Pawar.
L&T Infotech

________________________________
The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information in this e-mail and using or disseminating the information, and must notify the sender and delete it from their system. L&T Infotech will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code in this e-mail"

Re: Text Extract keeping format and layout intact as pdf

Posted by Tapani Vaulasto <ta...@gmail.com>.
u can try AsXML.java or PDFTextStream if they r for u.i have used them to
get tables from pdf.
AsXML.java gives a lot of lines.
PDFTextStream has been done from pdfbox.


2013/10/28 Abhishek Pawar <Ab...@lntinfotech.com>

> Team,
>             How can I extract text from a pdf file / pdf page with its
> formatting and layout ?
> This is important because if a pdf contains data in a tabular format ,
>  after text extraction using pdfbox the result becomes very messy.
>
> Please Help !
>
> Regards,
> Abhishek Pawar.
> L&T Infotech
>
> ________________________________
> The contents of this e-mail and any attachment(s) may contain confidential
> or privileged information for the intended recipient(s). Unintended
> recipients are prohibited from taking action on the basis of information in
> this e-mail and using or disseminating the information, and must notify the
> sender and delete it from their system. L&T Infotech will not accept
> responsibility or liability for the accuracy or completeness of, or the
> presence of any virus or disabling code in this e-mail"
>



-- 
Ystävällisin terveisin
Tapani Vaulasto
p. +35845 6791830