aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/PdfViewer/SkPdfFDFNamedPageReferenceDictionary_autogen.h
diff options
context:
space:
mode:
authorGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-19 17:42:17 +0000
committerGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-19 17:42:17 +0000
commitafe5e9e417b41c3f5a074d590ce23e3de3fd4dbd (patch)
treea543f65fd4d49109dbf4e6c2cdf4195e68bb6f34 /experimental/PdfViewer/SkPdfFDFNamedPageReferenceDictionary_autogen.h
parent628de5f1f496d96b6f58d3139319be0f42e41269 (diff)
Deal with ca and CA transparency operators in pdf. add comments to generated classes.
Review URL: https://codereview.chromium.org/16975013 git-svn-id: http://skia.googlecode.com/svn/trunk@9685 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/PdfViewer/SkPdfFDFNamedPageReferenceDictionary_autogen.h')
-rw-r--r--experimental/PdfViewer/SkPdfFDFNamedPageReferenceDictionary_autogen.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/experimental/PdfViewer/SkPdfFDFNamedPageReferenceDictionary_autogen.h b/experimental/PdfViewer/SkPdfFDFNamedPageReferenceDictionary_autogen.h
index b4ba87d718..dab7a307e0 100644
--- a/experimental/PdfViewer/SkPdfFDFNamedPageReferenceDictionary_autogen.h
+++ b/experimental/PdfViewer/SkPdfFDFNamedPageReferenceDictionary_autogen.h
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in an FDF named page reference dictionary
class SkPdfFDFNamedPageReferenceDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kFDFNamedPageReferenceDictionary_SkPdfObjectType;}
@@ -521,6 +522,12 @@ public:
SkPdfFDFNamedPageReferenceDictionary& operator=(const SkPdfFDFNamedPageReferenceDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required) The name of the referenced page.
+**/
+ bool has_Name() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Name", "", NULL));
+ }
+
std::string Name() const {
std::string ret;
if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Name", "", &ret)) return ret;
@@ -528,6 +535,13 @@ public:
return "";
}
+/** (Optional) The file containing the named page. If this key is absent, it is
+ * assumed that the page resides in the associated PDF 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;