Index: experimental/PdfViewer/SkPdfImportDataActionDictionary_autogen.h |
=================================================================== |
--- experimental/PdfViewer/SkPdfImportDataActionDictionary_autogen.h (revision 9684) |
+++ experimental/PdfViewer/SkPdfImportDataActionDictionary_autogen.h (working copy) |
@@ -5,6 +5,7 @@ |
#include "SkPdfArray_autogen.h" |
#include "SkPdfDictionary_autogen.h" |
+// Additional entries specific to an import-data action |
class SkPdfImportDataActionDictionary : public SkPdfDictionary { |
public: |
virtual SkPdfObjectType getType() const { return kImportDataActionDictionary_SkPdfObjectType;} |
@@ -521,6 +522,13 @@ |
SkPdfImportDataActionDictionary& operator=(const SkPdfImportDataActionDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;} |
+/** (Required) The type of action that this dictionary describes; must be ImportData |
+ * for an import-data 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 ""; |
} |
+/** (Required) The FDF file from which to import the data. (See implementation |
+ * notes 87 and 88 in Appendix H.) |
+**/ |
+ 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; |