diff options
Diffstat (limited to 'experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfStandardStructureDictionary_autogen.cpp')
-rw-r--r-- | experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfStandardStructureDictionary_autogen.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfStandardStructureDictionary_autogen.cpp b/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfStandardStructureDictionary_autogen.cpp new file mode 100644 index 0000000000..500748bf61 --- /dev/null +++ b/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfStandardStructureDictionary_autogen.cpp @@ -0,0 +1,15 @@ +#include "SkPdfStandardStructureDictionary_autogen.h" + +std::string SkPdfStandardStructureDictionary::Placement() const { + std::string ret; + if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Placement", "", &ret)) return ret; + // TODO(edisonn): warn about missing required field, assert for known good pdfs + return ""; +} + +std::string SkPdfStandardStructureDictionary::WritingMode() const { + std::string ret; + if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "WritingMode", "", &ret)) return ret; + // TODO(edisonn): warn about missing required field, assert for known good pdfs + return ""; +} |