MCPcopy Create free account
hub / github.com/docling-project/docling-parse / qpdf_stream_decoder

Method qpdf_stream_decoder

src/parse/qpdf/stream_decoder.h:41–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39 };
40
41 qpdf_stream_decoder::qpdf_stream_decoder(std::vector<qpdf_stream_instruction>& stream_):
42 QPDFObjectHandle::ParserCallbacks(),
43 stream(stream_),
44
45 value_pattern_0(R"(^(\d\.\d+)(\-\d+)$)"),
46 value_pattern_1(R"(^((\-)?\d+\.\d*)(\-)(\d*)$)"), // need to deal with numbers that have random `-` in the middle
47 value_pattern_2(R"(^(\-)+((\-)\d+(\.)?(\d*))(\-)?(\d*)$)") // need to deal with numbers that have multiple `-` as start
48 {}
49
50 qpdf_stream_decoder::~qpdf_stream_decoder()
51 {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected