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

Unified Diff: experimental/PdfViewer/SkPdfPageObjectActionsDictionary_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/SkPdfPageObjectActionsDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfPageObjectActionsDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfPageObjectActionsDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in a page object's additional-actions dictionary
class SkPdfPageObjectActionsDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kPageObjectActionsDictionary_SkPdfObjectType;}
@@ -521,6 +522,16 @@
SkPdfPageObjectActionsDictionary& operator=(const SkPdfPageObjectActionsDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Optional; PDF 1.2) An action to be performed when the page is opened (for example,
+ * when the user navigates to it from the next or previous page or via a link annotation or
+ * outline item). This action is independent of any that may be defined by the Open-
+ * Action entry in the document catalog (see Section 3.6.1, "Document Catalog"), and is
+ * executed after such an action. (See implementation note 72 in Appendix H.)
+**/
+ bool has_O() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "O", "", NULL));
+ }
+
SkPdfDictionary* O() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "O", "", &ret)) return ret;
@@ -528,6 +539,15 @@
return NULL;
}
+/** (Optional; PDF 1.2) An action to be performed when the page is closed (for example,
+ * when the user navigates to the next or previous page or follows a link annotation or an
+ * outline item). This action applies to the page being closed, and is executed before any
+ * other page is opened. (See implementation note 72 in Appendix H.)
+**/
+ bool has_C() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", NULL));
+ }
+
SkPdfDictionary* C() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", &ret)) return ret;
« no previous file with comments | « experimental/PdfViewer/SkPdfPageLabelDictionary_autogen.h ('k') | experimental/PdfViewer/SkPdfPageObjectDictionary_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698