# extract « PDF file « Java I/O Q&A

### 1. Extracting the outline (or bookmarks) from PDF files using Java    stackoverflow.com

I'm using PDFBox to extract the outline (bookmarks) information from PDF files, that's even explained in the same site. However, I've had problems not extracting but generating the qualified urls ...

### 2. Extract columns of text from a pdf file using iText    stackoverflow.com

I need to extract text from pdf files using iText. The problem is: some pdf files contain 2 columns and when I extract text I get a text file where columns are ...

### 3. how to extract structured informaion from pdf file in java    stackoverflow.com

I need to extract table from pdf file , i know it is not stored in table format but i want to read student result from pdf in java , please ...

### 9. extracting text from pdf file    forums.oracle.com

PDDocument document = null; try { document = PDDocument.load( "C:\\thesis\\fileread sim.pdf" ); if( document.isEncrypted() ) { try { document.decrypt( "" ); } catch( InvalidPasswordException e ) { System.err.println( "Error: Document is encrypted with a password." ); System.exit( 1 ); } } PDFTextStripper stripper = new PDFTextStripper(); stripper.setSortByPosition( true ); stripper.setStartPage( startPage ); stripper.setEndPage( endPage ); System.out.println("Text: " + stripper.getText(document));