pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Omid Rashidi <sh.omidrash...@gmail.com>
Subject White Spaces
Date Thu, 05 Sep 2013 06:15:07 GMT
Hi

I want to extract table data of PDF file with PDFBOX in JAVA .
but removed white spaces more one space when I extract text of PDF .


            PDDocument _pd=PDDocument.load("3.pdf");
            PDFTextStripper _txt=new PDFTextStripper();
            System.out.println(_txt.getText(_pd));

how to bridle to removing white spaces?

thanks,
rashidi

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message