aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/PdfViewer/SkPdfAttributeObjectDictionary_autogen.h
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/PdfViewer/SkPdfAttributeObjectDictionary_autogen.h')
-rw-r--r--experimental/PdfViewer/SkPdfAttributeObjectDictionary_autogen.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/experimental/PdfViewer/SkPdfAttributeObjectDictionary_autogen.h b/experimental/PdfViewer/SkPdfAttributeObjectDictionary_autogen.h
index 5433c3cf96..eff5f27398 100644
--- a/experimental/PdfViewer/SkPdfAttributeObjectDictionary_autogen.h
+++ b/experimental/PdfViewer/SkPdfAttributeObjectDictionary_autogen.h
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entry common to all attribute objects
class SkPdfAttributeObjectDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kAttributeObjectDictionary_SkPdfObjectType;}
@@ -521,6 +522,13 @@ public:
SkPdfAttributeObjectDictionary& operator=(const SkPdfAttributeObjectDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required) The name of the application or plug-in extension owning the attribute data.
+ * The name must conform to the guidelines described in Appendix E.
+**/
+ bool has_O() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "O", "", NULL));
+ }
+
std::string O() const {
std::string ret;
if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "O", "", &ret)) return ret;