OLD | NEW |
1 #ifndef __DEFINED__SkPdfNameDictionary | 1 #ifndef __DEFINED__SkPdfNameDictionary |
2 #define __DEFINED__SkPdfNameDictionary | 2 #define __DEFINED__SkPdfNameDictionary |
3 | 3 |
4 #include "SkPdfUtils.h" | 4 #include "SkPdfUtils.h" |
5 #include "SkPdfEnums_autogen.h" | 5 #include "SkPdfEnums_autogen.h" |
6 #include "SkPdfArray_autogen.h" | 6 #include "SkPdfArray_autogen.h" |
7 #include "SkPdfDictionary_autogen.h" | 7 #include "SkPdfDictionary_autogen.h" |
8 | 8 |
9 // Entries in the name dictionary | 9 // Entries in the name dictionary |
10 class SkPdfNameDictionary : public SkPdfDictionary { | 10 class SkPdfNameDictionary : public SkPdfDictionary { |
(...skipping 678 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
689 bool isEmbeddedFilesATree() const { | 689 bool isEmbeddedFilesATree() const { |
690 SkPdfObject* ret = NULL; | 690 SkPdfObject* ret = NULL; |
691 if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Embedded
Files", "", &ret)) return false; | 691 if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Embedded
Files", "", &ret)) return false; |
692 return ret->podofo()->GetDataType() == ePdfDataType_Reference; | 692 return ret->podofo()->GetDataType() == ePdfDataType_Reference; |
693 } | 693 } |
694 | 694 |
695 SkPdfTree* getEmbeddedFilesAsTree() const; | 695 SkPdfTree* getEmbeddedFilesAsTree() const; |
696 }; | 696 }; |
697 | 697 |
698 #endif // __DEFINED__SkPdfNameDictionary | 698 #endif // __DEFINED__SkPdfNameDictionary |
OLD | NEW |