Skip to content

Commit 3892bfc

Browse files
committed
remove start and end page for parsing PDF content
1 parent 5b19173 commit 3892bfc

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

app/src/main/java/com/asutosh/documentreader/DocumentReaderUtil.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,6 @@ class DocumentReaderUtil {
4949
val pdfStripper = PDFTextStripper()
5050
var document: PDDocument? = null
5151
document = PDDocument(cosDoc)
52-
pdfStripper.startPage = 0
53-
pdfStripper.endPage = 1
5452
return pdfStripper.getText(document)
5553
}
5654

0 commit comments

Comments
 (0)