diff options
Diffstat (limited to 'experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfBorderStyleDictionary_autogen.cpp')
-rw-r--r-- | experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfBorderStyleDictionary_autogen.cpp | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfBorderStyleDictionary_autogen.cpp b/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfBorderStyleDictionary_autogen.cpp new file mode 100644 index 0000000000..482287d234 --- /dev/null +++ b/experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfBorderStyleDictionary_autogen.cpp @@ -0,0 +1,29 @@ +#include "SkPdfBorderStyleDictionary_autogen.h" + +std::string SkPdfBorderStyleDictionary::Type() const { + std::string ret; + if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Type", "", &ret)) return ret; + // TODO(edisonn): warn about missing required field, assert for known good pdfs + return ""; +} + +double SkPdfBorderStyleDictionary::W() const { + double ret; + if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "W", "", &ret)) return ret; + // TODO(edisonn): warn about missing required field, assert for known good pdfs + return 0; +} + +std::string SkPdfBorderStyleDictionary::S() const { + std::string ret; + if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)) return ret; + // TODO(edisonn): warn about missing required field, assert for known good pdfs + return ""; +} + +SkPdfArray* SkPdfBorderStyleDictionary::D() const { + SkPdfArray* ret; + if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret; + // TODO(edisonn): warn about missing required field, assert for known good pdfs + return NULL; +} |