pdfbox-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From CDB <cbu...@burkeitconsulting.com>
Subject processing sub stream token messages with new 1.6 lib
Date Mon, 28 May 2012 14:06:21 GMT
I just swapped out my old Pdfbox lib 0.7.3 for the new 1.6.0 lib.

I only using one feature (extract text) but now I get many debug messages
littering my logs and my extract text doesn't appear to work anymore.
Thanks in advance for any assistance

The code snippet

            PDFTextStripper pdfTextStripper = new PDFTextStripper();

            doc = PDDocument.load( stream );

            return pdfTextStripper.getText( doc );


The log message (thousands)

2012-05-28 09:39:58,418 [Consumer-4] DEBUG
org.apache.pdfbox.util.PDFStreamEngine - processing substream token:
PDFOperator{Tf}
2012-05-28 09:39:58,418 [Consumer-4] DEBUG
org.apache.pdfbox.util.PDFStreamEngine - processing substream token:
COSArray{[COSString{Us}, COSInt{-8}, COSString{er}, COSInt{-5}, COSString{
}, COSInt{-6}, COSString{Ma}, COSInt{-8}, COSString{nual}, COSInt{-27456},
COSString{BCM}, COSInt{-11}, COSString{10}, COSInt{-8}, COSString{00},
COSInt{-8}, COSString{-BT}, COSInt{-13}, COSString{W}]}
2012-05-28 09:39:58,418 [Consumer-4] DEBUG
org.apache.pdfbox.util.PDFStreamEngine - processing substream token:
PDFOperator{TJ}
2012-05-28 09:39:58,418 [Consumer-4] DEBUG
org.apache.pdfbox.util.PDFStreamEngine - processing substream token:
COSInt{0}
2012-05-28 09:39:58,418 [Consumer-4] DEBUG
org.apache.pdfbox.util.PDFStreamEngine - processing substream token:
PDFOperator{Tc}
2012-05-28 09:39:58,418 [Consumer-4] DEBUG
org.apache.pdfbox.util.PDFStreamEngine - processing substream token:
PDFOperator{ET}
2012-05-28 09:39:58,418 [Consumer-4] DEBUG
org.apache.pdfbox.util.PDFStreamEngine - processing substream token:
PDFOperator{Q}

Thanks

Charles



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