OLD | NEW |
(Empty) | |
| 1 #ifndef __DEFINED__SkPdfType1FormDictionary |
| 2 #define __DEFINED__SkPdfType1FormDictionary |
| 3 |
| 4 #include "SkPdfXObjectDictionary_autogen.h" |
| 5 |
| 6 // Additional entries specific to a type 1 form dictionary |
| 7 class SkPdfType1FormDictionary : public SkPdfXObjectDictionary { |
| 8 public: |
| 9 public: |
| 10 SkPdfType1FormDictionary* asType1FormDictionary() {return this;} |
| 11 const SkPdfType1FormDictionary* asType1FormDictionary() const {return this;} |
| 12 |
| 13 private: |
| 14 SkPdfImageDictionary* asImageDictionary() {return (SkPdfImageDictionary*)this
;} |
| 15 const SkPdfImageDictionary* asImageDictionary() const {return (const SkPdfIma
geDictionary*)this;} |
| 16 |
| 17 SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() {return (SkPdfSoftM
askImageDictionary*)this;} |
| 18 const SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() const {return
(const SkPdfSoftMaskImageDictionary*)this;} |
| 19 |
| 20 public: |
| 21 bool valid() const {return true;} |
| 22 SkString Type(SkPdfNativeDoc* doc); |
| 23 bool has_Type() const; |
| 24 SkString Subtype(SkPdfNativeDoc* doc); |
| 25 bool has_Subtype() const; |
| 26 int64_t FormType(SkPdfNativeDoc* doc); |
| 27 bool has_FormType() const; |
| 28 SkString Name(SkPdfNativeDoc* doc); |
| 29 bool has_Name() const; |
| 30 SkPdfDate LastModified(SkPdfNativeDoc* doc); |
| 31 bool has_LastModified() const; |
| 32 SkRect BBox(SkPdfNativeDoc* doc); |
| 33 bool has_BBox() const; |
| 34 SkMatrix Matrix(SkPdfNativeDoc* doc); |
| 35 bool has_Matrix() const; |
| 36 SkPdfResourceDictionary* Resources(SkPdfNativeDoc* doc); |
| 37 bool has_Resources() const; |
| 38 SkPdfTransparencyGroupDictionary* Group(SkPdfNativeDoc* doc); |
| 39 bool has_Group() const; |
| 40 SkPdfDictionary* Ref(SkPdfNativeDoc* doc); |
| 41 bool has_Ref() const; |
| 42 SkPdfStream* Metadata(SkPdfNativeDoc* doc); |
| 43 bool has_Metadata() const; |
| 44 SkPdfDictionary* PieceInfo(SkPdfNativeDoc* doc); |
| 45 bool has_PieceInfo() const; |
| 46 int64_t StructParent(SkPdfNativeDoc* doc); |
| 47 bool has_StructParent() const; |
| 48 int64_t StructParents(SkPdfNativeDoc* doc); |
| 49 bool has_StructParents() const; |
| 50 SkPdfDictionary* OPI(SkPdfNativeDoc* doc); |
| 51 bool has_OPI() const; |
| 52 }; |
| 53 |
| 54 #endif // __DEFINED__NATIVE_SkPdfType1FormDictionary |
OLD | NEW |