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

Unified Diff: experimental/PdfViewer/SkPdfMovieDictionary_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 side-by-side diff with in-line comments
Download patch
Index: experimental/PdfViewer/SkPdfMovieDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfMovieDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfMovieDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in a movie dictionary
class SkPdfMovieDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kMovieDictionary_SkPdfObjectType;}
@@ -521,6 +522,14 @@
SkPdfMovieDictionary& operator=(const SkPdfMovieDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required) A file specification identifying a self-describing movie file.
+ * Note: The format of a "self-describing movie file" is left unspecified, and there is
+ * no guarantee of portability.
+**/
+ bool has_F() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", NULL));
+ }
+
SkPdfFileSpec F() const {
SkPdfFileSpec ret;
if (FileSpecFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", &ret)) return ret;
@@ -528,6 +537,14 @@
return SkPdfFileSpec();
}
+/** (Optional) The width and height of the movie's bounding box, in pixels,
+ * specified as [width height]. This entry should be omitted for a movie consist-
+ * ing entirely of sound with no visible images.
+**/
+ bool has_Aspect() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Aspect", "", NULL));
+ }
+
SkPdfArray Aspect() const {
SkPdfArray ret;
if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Aspect", "", &ret)) return ret;
@@ -535,6 +552,13 @@
return SkPdfArray();
}
+/** (Optional) The number of degrees by which the movie is rotated clockwise
+ * relative to the page. The value must be a multiple of 90. Default value: 0.
+**/
+ bool has_Rotate() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Rotate", "", NULL));
+ }
+
long Rotate() const {
long ret;
if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Rotate", "", &ret)) return ret;
@@ -542,6 +566,16 @@
return 0;
}
+/** (Optional) A flag or stream specifying whether and how to display a poster
+ * image representing the movie. If this value is a stream, it contains an image
+ * XObject (see Section 4.8, "Images") to be displayed as the poster; if it is the
+ * boolean value true, the poster image should be retrieved from the movie file
+ * itself; if it is false, no poster should be displayed. Default value: false.
+**/
+ bool has_Poster() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Poster", "", NULL));
+ }
+
bool isPosterABoolean() const {
SkPdfObject* ret = NULL;
if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Poster", "", &ret)) return false;

Powered by Google App Engine
This is Rietveld 408576698