| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfPagePieceDictionary | 1 #ifndef __DEFINED__SkPdfPagePieceDictionary |
| 2 #define __DEFINED__SkPdfPagePieceDictionary | 2 #define __DEFINED__SkPdfPagePieceDictionary |
| 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 a page-piece dictionary | 9 // Entries in a page-piece dictionary |
| 10 class SkPdfPagePieceDictionary : public SkPdfDictionary { | 10 class SkPdfPagePieceDictionary : public SkPdfDictionary { |
| (...skipping 514 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 525 | 525 |
| 526 SkPdfPagePieceDictionary& operator=(const SkPdfPagePieceDictionary& from) {thi
s->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *thi
s;} | 526 SkPdfPagePieceDictionary& operator=(const SkPdfPagePieceDictionary& from) {thi
s->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *thi
s;} |
| 527 | 527 |
| 528 /** ()An application data dictionary (see Table 9.7). | 528 /** ()An application data dictionary (see Table 9.7). |
| 529 **/ | 529 **/ |
| 530 /* | 530 /* |
| 531 bool has_[any_application_name_or_well_known_data_type]() const { | 531 bool has_[any_application_name_or_well_known_data_type]() const { |
| 532 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "[any_
application_name_or_well_known_data_type]", "", NULL)); | 532 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "[any_
application_name_or_well_known_data_type]", "", NULL)); |
| 533 } | 533 } |
| 534 | 534 |
| 535 SkPdfDictionary* [any_application_name_or_well_known_data_type]() const { | 535 SkPdfDictionary* [any_application_name_or_well_known_data_type]() const; |
| 536 SkPdfDictionary* ret; | |
| 537 if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "[any_
application_name_or_well_known_data_type]", "", &ret)) return ret; | |
| 538 // TODO(edisonn): warn about missing required field, assert for known good p
dfs | |
| 539 return NULL; | |
| 540 } | |
| 541 | |
| 542 */ | 536 */ |
| 543 }; | 537 }; |
| 544 | 538 |
| 545 #endif // __DEFINED__SkPdfPagePieceDictionary | 539 #endif // __DEFINED__SkPdfPagePieceDictionary |
| OLD | NEW |