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

Unified Diff: experimental/PdfViewer/SkPdfThreadActionDictionary_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/SkPdfThreadActionDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfThreadActionDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfThreadActionDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Additional entries specific to a thread action
class SkPdfThreadActionDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kThreadActionDictionary_SkPdfObjectType;}
@@ -521,6 +522,13 @@
SkPdfThreadActionDictionary& operator=(const SkPdfThreadActionDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required) The type of action that this dictionary describes; must be Thread
+ * for a thread 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,13 @@
return "";
}
+/** (Optional) The file containing the desired thread. If this entry is absent, the
+ * thread is in the current file.
+**/
+ 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;
@@ -535,6 +550,21 @@
return SkPdfFileSpec();
}
+/** (Required) The desired destination thread, specified in one of the following
+ * forms:
+ * * An indirect reference to a thread dictionary (see Section 8.3.2, "Articles").
+ * In this case, the thread must be in the current file.
+ * * The index of the thread within the Threads array of its document's catalog
+ * (see Section 3.6.1, "Document Catalog"). The first thread in the array has
+ * index 0.
+ * * The title of the thread, as specified in its thread information dictionary (see
+ * Table 8.7 on page 484). If two or more threads have the same title, the one
+ * appearing first in the document catalog's Threads array will be used.
+**/
+ bool has_D() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", NULL));
+ }
+
bool isDADictionary() const {
SkPdfObject* ret = NULL;
if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return false;
@@ -574,6 +604,17 @@
return "";
}
+/** (Optional) The desired bead in the destination thread, specified in one of the
+ * following forms:
+ * * An indirect reference to a bead dictionary (see Section 8.3.2, "Articles"). In
+ * this case, the thread must be in the current file.
+ * * The index of the bead within its thread. The first bead in a thread has
+ * index 0.
+**/
+ bool has_B() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "B", "", NULL));
+ }
+
bool isBADictionary() const {
SkPdfObject* ret = NULL;
if (!ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "B", "", &ret)) return false;
« no previous file with comments | « experimental/PdfViewer/SkPdfTextFieldDictionary_autogen.h ('k') | experimental/PdfViewer/SkPdfThreadDictionary_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698