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

Unified Diff: experimental/PdfViewer/SkPdfNameTreeNodeDictionary_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/SkPdfNameTreeNodeDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfNameTreeNodeDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfNameTreeNodeDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in a name tree node dictionary
class SkPdfNameTreeNodeDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kNameTreeNodeDictionary_SkPdfObjectType;}
@@ -521,6 +522,14 @@
SkPdfNameTreeNodeDictionary& operator=(const SkPdfNameTreeNodeDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Root and intermediate nodes only; required in intermediate nodes; present in the root node
+ * if and only if Names is not present) An array of indirect references to the immediate chil-
+ * dren of this node. The children may be intermediate or leaf nodes.
+**/
+ bool has_Kids() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Kids", "", NULL));
+ }
+
SkPdfArray Kids() const {
SkPdfArray ret;
if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Kids", "", &ret)) return ret;
@@ -528,6 +537,16 @@
return SkPdfArray();
}
+/** (Root and leaf nodes only; required in leaf nodes; present in the root node if and only if Kids
+ * is not present) An array of the form
+ * [key1 value1 key2 value2 ... keyn valuen ]
+ * where each keyi is a string and the corresponding valuei is an indirect reference to the
+ * object associated with that key. The keys are sorted in lexical order, as described below.
+**/
+ bool has_Names() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Names", "", NULL));
+ }
+
SkPdfArray Names() const {
SkPdfArray ret;
if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Names", "", &ret)) return ret;
@@ -535,6 +554,14 @@
return SkPdfArray();
}
+/** (Intermediate and leaf nodes only; required) An array of two strings, specifying the (lexi-
+ * cally) least and greatest keys included in the Names array of a leaf node or in the Names
+ * arrays of any leaf nodes that are descendants of an intermediate node.
+**/
+ bool has_Limits() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Limits", "", NULL));
+ }
+
SkPdfArray Limits() const {
SkPdfArray ret;
if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Limits", "", &ret)) return ret;
« no previous file with comments | « experimental/PdfViewer/SkPdfNameDictionary_autogen.h ('k') | experimental/PdfViewer/SkPdfNamedActionsDictionary_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698