| Index: experimental/PdfViewer/autogen/SkPdfStructureElementDictionary_autogen.cpp
|
| ===================================================================
|
| --- experimental/PdfViewer/autogen/SkPdfStructureElementDictionary_autogen.cpp (revision 9812)
|
| +++ experimental/PdfViewer/autogen/SkPdfStructureElementDictionary_autogen.cpp (working copy)
|
| @@ -1,99 +0,0 @@
|
| -#include "SkPdfStructureElementDictionary_autogen.h"
|
| -
|
| -std::string SkPdfStructureElementDictionary::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 "";
|
| -}
|
| -
|
| -std::string SkPdfStructureElementDictionary::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 "";
|
| -}
|
| -
|
| -SkPdfDictionary* SkPdfStructureElementDictionary::P() const {
|
| - SkPdfDictionary* ret;
|
| - if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "P", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return NULL;
|
| -}
|
| -
|
| -std::string SkPdfStructureElementDictionary::ID() const {
|
| - std::string ret;
|
| - if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ID", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return "";
|
| -}
|
| -
|
| -SkPdfDictionary* SkPdfStructureElementDictionary::Pg() const {
|
| - SkPdfDictionary* ret;
|
| - if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Pg", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return NULL;
|
| -}
|
| -
|
| -SkPdfObject* SkPdfStructureElementDictionary::K() const {
|
| - SkPdfObject* ret;
|
| - if (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "K", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return NULL;
|
| -}
|
| -
|
| -SkPdfObject* SkPdfStructureElementDictionary::A() const {
|
| - SkPdfObject* ret;
|
| - if (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "A", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return NULL;
|
| -}
|
| -
|
| -std::string SkPdfStructureElementDictionary::getCAsName() const {
|
| - std::string ret = "";
|
| - if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return "";
|
| -}
|
| -
|
| -SkPdfArray* SkPdfStructureElementDictionary::getCAsArray() const {
|
| - SkPdfArray* ret = NULL;
|
| - if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return NULL;
|
| -}
|
| -
|
| -long SkPdfStructureElementDictionary::R() const {
|
| - long ret;
|
| - if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "R", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return 0;
|
| -}
|
| -
|
| -std::string SkPdfStructureElementDictionary::T() const {
|
| - std::string ret;
|
| - if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "T", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return "";
|
| -}
|
| -
|
| -std::string SkPdfStructureElementDictionary::Lang() const {
|
| - std::string ret;
|
| - if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Lang", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return "";
|
| -}
|
| -
|
| -std::string SkPdfStructureElementDictionary::Alt() const {
|
| - std::string ret;
|
| - if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Alt", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return "";
|
| -}
|
| -
|
| -std::string SkPdfStructureElementDictionary::ActualText() const {
|
| - std::string ret;
|
| - if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ActualText", "", &ret)) return ret;
|
| - // TODO(edisonn): warn about missing required field, assert for known good pdfs
|
| - return "";
|
| -}
|
|
|