Attached files - PDF 2.0 attributes

This commit is contained in:
Jakub Melka
2020-08-07 19:29:22 +02:00
parent 6814e2755e
commit 79cf21775c
4 changed files with 99 additions and 3 deletions

View File

@ -402,6 +402,16 @@ std::vector<PDFInteger> PDFDocumentDataLoaderDecorator::readIntegerArray(const P
return std::vector<PDFInteger>();
}
PDFObjectReference PDFDocumentDataLoaderDecorator::readReference(const PDFObject& object) const
{
if (object.isReference())
{
return object.getReference();
}
return PDFObjectReference();
}
PDFObjectReference PDFDocumentDataLoaderDecorator::readReferenceFromDictionary(const PDFDictionary* dictionary, const char* key) const
{
const PDFObject& object = dictionary->get(key);