Index: experimental/PdfViewer/pdf_auto_gen.h |
=================================================================== |
--- experimental/PdfViewer/pdf_auto_gen.h (revision 9646) |
+++ experimental/PdfViewer/pdf_auto_gen.h (working copy) |
@@ -2007,6 +2007,7 @@ |
virtual const SkPdfString* asString() const {return NULL;} |
public: |
+ bool value() const {return fPodofoObj->GetBool();} |
private: |
public: |
SkPdfBoolean(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {} |
@@ -2556,6 +2557,7 @@ |
virtual const SkPdfString* asString() const {return NULL;} |
public: |
+ long value() const {return fPodofoObj->GetNumber();} |
private: |
public: |
SkPdfInteger(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {} |
@@ -3105,6 +3107,7 @@ |
virtual const SkPdfString* asString() const {return NULL;} |
public: |
+ double value() const {return fPodofoObj->GetReal();} |
private: |
public: |
SkPdfNumber(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {} |
@@ -3654,6 +3657,7 @@ |
virtual const SkPdfString* asString() const {return NULL;} |
public: |
+ const std::string& value() const {return fPodofoObj->GetName().GetName();} |
private: |
public: |
SkPdfName(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {} |
@@ -4752,6 +4756,9 @@ |
virtual const SkPdfString* asString() const {return NULL;} |
public: |
+ const int size() const {return fPodofoObj->GetArray().GetSize();} |
+ const SkPdfObject operator[](int i) const {return SkPdfObject(fPodofoDoc, &fPodofoObj->GetArray()[i]);} |
+ SkPdfObject operator[](int i) {return SkPdfObject(fPodofoDoc, &fPodofoObj->GetArray()[i]);} |
private: |
public: |
SkPdfArray(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {} |
@@ -5301,6 +5308,7 @@ |
virtual const SkPdfReference* asReference() const {return NULL;} |
public: |
+ const std::string& value() const {return fPodofoObj->GetString().GetStringUtf8();} |
private: |
public: |
SkPdfString(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {} |
@@ -5850,6 +5858,7 @@ |
virtual const SkPdfString* asString() const {return NULL;} |
public: |
+ const std::string& value() const {return fPodofoObj->GetString().GetStringUtf8();} |
private: |
public: |
SkPdfHexString(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {} |