Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
2.0.24
-
None
Description
Please consider making
org.apache.pdfbox.pdfparser.BaseParser.seqSource a protected member.
i.e.
protected final SequentialSource seqSource;
this will allow extending the PDFStreamParser class to make use of the seqSource.
In my particular case (only to show one of many possible use-cases), I do not want to skip comments in the PDF stream:
%comment in stream which may be useful to read
One cannot usefully override
protected void skipSpaces() throws IOException
without access to this member.
As the skipSpaces is already protected, it implies that one may find it useful to override it anyway (probably other reasons too, but is not really meaningful without access to seqSource).