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

Unified Diff: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType1FormDictionary_autogen.h

Issue 22900010: pdfviewer: check in pdfapi classes (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 4 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 side-by-side diff with in-line comments
Download patch
Index: experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType1FormDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType1FormDictionary_autogen.h (revision 0)
+++ experimental/PdfViewer/pdfparser/native/pdfapi/SkPdfType1FormDictionary_autogen.h (revision 0)
@@ -0,0 +1,54 @@
+#ifndef __DEFINED__SkPdfType1FormDictionary
+#define __DEFINED__SkPdfType1FormDictionary
+
+#include "SkPdfXObjectDictionary_autogen.h"
+
+// Additional entries specific to a type 1 form dictionary
+class SkPdfType1FormDictionary : public SkPdfXObjectDictionary {
+public:
+public:
+ SkPdfType1FormDictionary* asType1FormDictionary() {return this;}
+ const SkPdfType1FormDictionary* asType1FormDictionary() const {return this;}
+
+private:
+ SkPdfImageDictionary* asImageDictionary() {return (SkPdfImageDictionary*)this;}
+ const SkPdfImageDictionary* asImageDictionary() const {return (const SkPdfImageDictionary*)this;}
+
+ SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() {return (SkPdfSoftMaskImageDictionary*)this;}
+ const SkPdfSoftMaskImageDictionary* asSoftMaskImageDictionary() const {return (const SkPdfSoftMaskImageDictionary*)this;}
+
+public:
+ bool valid() const {return true;}
+ SkString Type(SkPdfNativeDoc* doc);
+ bool has_Type() const;
+ SkString Subtype(SkPdfNativeDoc* doc);
+ bool has_Subtype() const;
+ int64_t FormType(SkPdfNativeDoc* doc);
+ bool has_FormType() const;
+ SkString Name(SkPdfNativeDoc* doc);
+ bool has_Name() const;
+ SkPdfDate LastModified(SkPdfNativeDoc* doc);
+ bool has_LastModified() const;
+ SkRect BBox(SkPdfNativeDoc* doc);
+ bool has_BBox() const;
+ SkMatrix Matrix(SkPdfNativeDoc* doc);
+ bool has_Matrix() const;
+ SkPdfResourceDictionary* Resources(SkPdfNativeDoc* doc);
+ bool has_Resources() const;
+ SkPdfTransparencyGroupDictionary* Group(SkPdfNativeDoc* doc);
+ bool has_Group() const;
+ SkPdfDictionary* Ref(SkPdfNativeDoc* doc);
+ bool has_Ref() const;
+ SkPdfStream* Metadata(SkPdfNativeDoc* doc);
+ bool has_Metadata() const;
+ SkPdfDictionary* PieceInfo(SkPdfNativeDoc* doc);
+ bool has_PieceInfo() const;
+ int64_t StructParent(SkPdfNativeDoc* doc);
+ bool has_StructParent() const;
+ int64_t StructParents(SkPdfNativeDoc* doc);
+ bool has_StructParents() const;
+ SkPdfDictionary* OPI(SkPdfNativeDoc* doc);
+ bool has_OPI() const;
+};
+
+#endif // __DEFINED__NATIVE_SkPdfType1FormDictionary

Powered by Google App Engine
This is Rietveld 408576698