|
pdfmm 0.9.20
|
#include <PdfCanvasInputDevice.h>
Public Member Functions | |
| bool | TryGetChar (char &ch) override |
| size_t | Tell () override |
| int | Look () override |
| size_t | Read (char *buffer, size_t size) override |
| bool | Eof () const override |
| bool | IsSeekable () const override |
Public Member Functions inherited from mm::PdfInputDevice | |
| PdfInputDevice (const std::string_view &filename) | |
| PdfInputDevice (const char *buffer, size_t len) | |
| PdfInputDevice (std::istream &stream) | |
| virtual | ~PdfInputDevice () |
| virtual void | Close () |
| virtual size_t | Tell () |
| int | GetChar () |
| virtual bool | TryGetChar (char &ch) |
| virtual int | Look () |
| void | Seek (std::streamoff off, std::ios_base::seekdir dir=std::ios_base::beg) |
| virtual size_t | Read (char *buffer, size_t size) |
| virtual bool | Eof () const |
| virtual bool | IsSeekable () const |
There are Pdfs spanning delimiters or begin/end tags into contents streams. Let's create a device correctly spanning I/O reads into these
|
inlineoverridevirtual |
Reimplemented from mm::PdfInputDevice.
|
inlineoverridevirtual |
Reimplemented from mm::PdfInputDevice.
|
overridevirtual |
Peek at next char in stream. /returns the next char in the stream
Reimplemented from mm::PdfInputDevice.
|
overridevirtual |
Read a certain number of bytes from the input device.
| buffer | store bytes in this buffer. The buffer has to be large enough. |
| size | number of bytes to read. |
Reimplemented from mm::PdfInputDevice.
|
overridevirtual |
Get the current position in file. /returns the current position in the file
Reimplemented from mm::PdfInputDevice.
|
overridevirtual |
Get next char from stream.
Reimplemented from mm::PdfInputDevice.