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

Unified Diff: experimental/PdfViewer/SkPdfHideActionDictionary_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/SkPdfHideActionDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfHideActionDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfHideActionDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Additional entries specific to a hide action
class SkPdfHideActionDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kHideActionDictionary_SkPdfObjectType;}
@@ -521,6 +522,13 @@
SkPdfHideActionDictionary& operator=(const SkPdfHideActionDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required) The type of action that this dictionary describes; must be Hide for a hide
+ * action.
+**/
+ bool has_S() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", NULL));
+ }
+
std::string S() const {
std::string ret;
if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "S", "", &ret)) return ret;
@@ -528,6 +536,18 @@
return "";
}
+/** (Required) The annotation or annotations to be hidden or shown, specified in any
+ * of the following forms:
+ * * An indirect reference to an annotation dictionary
+ * * A string giving the fully qualified field name of an interactive form field whose
+ * associated widget annotation or annotations are to be affected (see "Field
+ * Names" on page 532)
+ * * An array of such dictionaries or strings
+**/
+ bool has_T() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "T", "", NULL));
+ }
+
bool isTADictionary() const {
SkPdfObject* ret = NULL;
if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "T", "", &ret)) return false;
@@ -567,6 +587,13 @@
return SkPdfArray();
}
+/** (Optional) A flag indicating whether to hide the annotation (true) or show it (false).
+ * Default value: true.
+**/
+ bool has_H() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "H", "", NULL));
+ }
+
bool H() const {
bool ret;
if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "H", "", &ret)) return ret;

Powered by Google App Engine
This is Rietveld 408576698