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

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

Issue 16975013: Deal with ca and CA transparency operators in pdf. add comments to generated classes. (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 "SkPdfEnums_autogen.h" 4 #include "SkPdfEnums_autogen.h"
5 #include "SkPdfArray_autogen.h" 5 #include "SkPdfArray_autogen.h"
6 #include "SkPdfDictionary_autogen.h" 6 #include "SkPdfDictionary_autogen.h"
7 7
8 // Standard list attribute
8 class SkPdfListAttributeDictionary : public SkPdfDictionary { 9 class SkPdfListAttributeDictionary : public SkPdfDictionary {
9 public: 10 public:
10 virtual SkPdfObjectType getType() const { return kListAttributeDictionary_SkPd fObjectType;} 11 virtual SkPdfObjectType getType() const { return kListAttributeDictionary_SkPd fObjectType;}
11 virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kListAtt ributeDictionary_SkPdfObjectType + 1);} 12 virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kListAtt ributeDictionary_SkPdfObjectType + 1);}
12 public: 13 public:
13 virtual SkPdfListAttributeDictionary* asListAttributeDictionary() {return this ;} 14 virtual SkPdfListAttributeDictionary* asListAttributeDictionary() {return this ;}
14 virtual const SkPdfListAttributeDictionary* asListAttributeDictionary() const {return this;} 15 virtual const SkPdfListAttributeDictionary* asListAttributeDictionary() const {return this;}
15 16
16 private: 17 private:
17 virtual SkPdfALinkAnnotationDictionary* asALinkAnnotationDictionary() {return NULL;} 18 virtual SkPdfALinkAnnotationDictionary* asALinkAnnotationDictionary() {return NULL;}
(...skipping 496 matching lines...) Expand 10 before | Expand all | Expand 10 after
514 515
515 public: 516 public:
516 private: 517 private:
517 public: 518 public:
518 SkPdfListAttributeDictionary(const PdfMemDocument* podofoDoc = NULL, const Pdf Object* podofoObj = NULL) : SkPdfDictionary(podofoDoc, podofoObj) {} 519 SkPdfListAttributeDictionary(const PdfMemDocument* podofoDoc = NULL, const Pdf Object* podofoObj = NULL) : SkPdfDictionary(podofoDoc, podofoObj) {}
519 520
520 virtual bool valid() const {return true;} 521 virtual bool valid() const {return true;}
521 522
522 SkPdfListAttributeDictionary& operator=(const SkPdfListAttributeDictionary& fr om) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; ret urn *this;} 523 SkPdfListAttributeDictionary& operator=(const SkPdfListAttributeDictionary& fr om) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; ret urn *this;}
523 524
525 /** (Optional) The numbering system used to generate the content of the Lbl (Lab el)
526 * elements in an autonumbered list, or the symbol used to identify each item i n an
527 * unnumbered list:
528 * None No autonumbering; Lbl elements (if present) contain ar bi-
529 * trary text not subject to any numbering scheme
530 * Disc Solid circular bullet
531 * Circle Open circular bullet
532 * Square Solid square bullet
533 * Decimal Decimal arabic numerals (1'9, 10'99, ...)
534 * UpperRoman Uppercase roman numerals (I, II, III, IV, ...)
535 * LowerRoman Lowercase roman numerals (i, ii, iii, iv, ...)
536 * UpperAlpha Uppercase letters (A, B, C, ...)
537 * LowerAlpha Lowercase letters (a, b, c, ...)
538 * Default value: None.
539 * Note: The alphabet used for UpperAlpha and LowerAlpha is determined by the p re-
540 * vailing Lang entry (see Section 9.8.1, "Natural Language Specification").
541 * Note: The set of possible values may be expanded as Unicode identifies addit ional
542 * numbering systems.
543 **/
544 bool has_ListNumbering() const {
545 return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ListN umbering", "", NULL));
546 }
547
524 std::string ListNumbering() const { 548 std::string ListNumbering() const {
525 std::string ret; 549 std::string ret;
526 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ListNumberi ng", "", &ret)) return ret; 550 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ListNumberi ng", "", &ret)) return ret;
527 // TODO(edisonn): warn about missing required field, assert for known good p dfs 551 // TODO(edisonn): warn about missing required field, assert for known good p dfs
528 return ""; 552 return "";
529 } 553 }
530 554
531 }; 555 };
532 556
533 #endif // __DEFINED__SkPdfListAttributeDictionary 557 #endif // __DEFINED__SkPdfListAttributeDictionary
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698