| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfListAttributeDictionary | 1 #ifndef __DEFINED__SkPdfListAttributeDictionary |
| 2 #define __DEFINED__SkPdfListAttributeDictionary | 2 #define __DEFINED__SkPdfListAttributeDictionary |
| 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 // Standard list attribute | 9 // Standard list attribute |
| 10 class SkPdfListAttributeDictionary : public SkPdfDictionary { | 10 class SkPdfListAttributeDictionary : public SkPdfDictionary { |
| (...skipping 530 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 541 * Default value: None. | 541 * Default value: None. |
| 542 * Note: The alphabet used for UpperAlpha and LowerAlpha is determined by the p
re- | 542 * Note: The alphabet used for UpperAlpha and LowerAlpha is determined by the p
re- |
| 543 * vailing Lang entry (see Section 9.8.1, "Natural Language Specification"). | 543 * vailing Lang entry (see Section 9.8.1, "Natural Language Specification"). |
| 544 * Note: The set of possible values may be expanded as Unicode identifies addit
ional | 544 * Note: The set of possible values may be expanded as Unicode identifies addit
ional |
| 545 * numbering systems. | 545 * numbering systems. |
| 546 **/ | 546 **/ |
| 547 bool has_ListNumbering() const { | 547 bool has_ListNumbering() const { |
| 548 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ListN
umbering", "", NULL)); | 548 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ListN
umbering", "", NULL)); |
| 549 } | 549 } |
| 550 | 550 |
| 551 std::string ListNumbering() const { | 551 std::string ListNumbering() const; |
| 552 std::string ret; | |
| 553 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ListNumberi
ng", "", &ret)) return ret; | |
| 554 // TODO(edisonn): warn about missing required field, assert for known good p
dfs | |
| 555 return ""; | |
| 556 } | |
| 557 | |
| 558 }; | 552 }; |
| 559 | 553 |
| 560 #endif // __DEFINED__SkPdfListAttributeDictionary | 554 #endif // __DEFINED__SkPdfListAttributeDictionary |
| OLD | NEW |