Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Side by Side Diff: experimental/PdfViewer/autogen/SkPdfListAttributeDictionary_autogen.h

Issue 17856004: refactoring for pdf viewer lib (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698