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

Unified Diff: experimental/PdfViewer/SkPdfAnnotationActionsDictionary_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/SkPdfAnnotationActionsDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfAnnotationActionsDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfAnnotationActionsDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in an annotation's additional-actions dictionary
class SkPdfAnnotationActionsDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kAnnotationActionsDictionary_SkPdfObjectType;}
@@ -521,6 +522,13 @@
SkPdfAnnotationActionsDictionary& operator=(const SkPdfAnnotationActionsDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Optional; PDF 1.2) An action to be performed when the cursor enters the annotation's
+ * active area.
+**/
+ bool has_E() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "E", "", NULL));
+ }
+
SkPdfDictionary* E() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "E", "", &ret)) return ret;
@@ -528,6 +536,13 @@
return NULL;
}
+/** (Optional; PDF 1.2) An action to be performed when the cursor exits the annotation's
+ * active area.
+**/
+ bool has_X() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "X", "", NULL));
+ }
+
SkPdfDictionary* X() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "X", "", &ret)) return ret;
@@ -535,6 +550,13 @@
return NULL;
}
+/** (Optional; PDF 1.2) An action to be performed when the mouse button is pressed
+ * inside the annotation's active area. (The name D stands for "down.")
+**/
+ bool has_D() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", NULL));
+ }
+
SkPdfDictionary* D() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret;
@@ -542,6 +564,15 @@
return NULL;
}
+/** (Optional; PDF 1.2) An action to be performed when the mouse button is released
+ * inside the annotation's active area. (The name U stands for "up.")
+ * Note: For backward compatibility, the A entry in an annotation dictionary, if present,
+ * takes precedence over this entry (see Table 8.10 on page 490).
+**/
+ bool has_U() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "U", "", NULL));
+ }
+
SkPdfDictionary* U() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "U", "", &ret)) return ret;
@@ -549,6 +580,13 @@
return NULL;
}
+/** (Optional; PDF 1.2; widget annotations only) An action to be performed when the
+ * annotation receives the input focus.
+**/
+ bool has_Fo() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Fo", "", NULL));
+ }
+
SkPdfDictionary* Fo() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Fo", "", &ret)) return ret;
@@ -556,6 +594,14 @@
return NULL;
}
+/** (Optional; PDF 1.2; widget annotations only) (Uppercase B, lowercase L) An action to
+ * be performed when the annotation loses the input focus. (The name Bl stands for
+ * "blurred.")
+**/
+ bool has_Bl() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Bl", "", NULL));
+ }
+
SkPdfDictionary* Bl() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Bl", "", &ret)) return ret;

Powered by Google App Engine
This is Rietveld 408576698