Index: experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfCIDFontDictionary_autogen.cpp |
=================================================================== |
--- experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfCIDFontDictionary_autogen.cpp (revision 9879) |
+++ experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfCIDFontDictionary_autogen.cpp (working copy) |
@@ -1,78 +0,0 @@ |
-#include "SkPdfCIDFontDictionary_autogen.h" |
- |
-std::string SkPdfCIDFontDictionary::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 SkPdfCIDFontDictionary::Subtype() const { |
- std::string ret; |
- if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Subtype", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return ""; |
-} |
- |
-std::string SkPdfCIDFontDictionary::BaseFont() const { |
- std::string ret; |
- if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BaseFont", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return ""; |
-} |
- |
-SkPdfDictionary* SkPdfCIDFontDictionary::CIDSystemInfo() const { |
- SkPdfDictionary* ret; |
- if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDSystemInfo", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
-} |
- |
-SkPdfFontDescriptorDictionary* SkPdfCIDFontDictionary::FontDescriptor() const { |
- SkPdfFontDescriptorDictionary* ret; |
- if (FontDescriptorDictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontDescriptor", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
-} |
- |
-long SkPdfCIDFontDictionary::DW() const { |
- long ret; |
- if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DW", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return 0; |
-} |
- |
-SkPdfArray* SkPdfCIDFontDictionary::W() const { |
- SkPdfArray* ret; |
- if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "W", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
-} |
- |
-SkPdfArray* SkPdfCIDFontDictionary::DW2() const { |
- SkPdfArray* ret; |
- if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DW2", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
-} |
- |
-SkPdfArray* SkPdfCIDFontDictionary::W2() const { |
- SkPdfArray* ret; |
- if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "W2", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
-} |
- |
-SkPdfStream* SkPdfCIDFontDictionary::getCIDToGIDMapAsStream() const { |
- SkPdfStream* ret = NULL; |
- if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDToGIDMap", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return NULL; |
-} |
- |
-std::string SkPdfCIDFontDictionary::getCIDToGIDMapAsName() const { |
- std::string ret = ""; |
- if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDToGIDMap", "", &ret)) return ret; |
- // TODO(edisonn): warn about missing required field, assert for known good pdfs |
- return ""; |
-} |