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

Unified Diff: experimental/PdfViewer/SkPdfWindowsLaunchActionDictionary_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/SkPdfWindowsLaunchActionDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfWindowsLaunchActionDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfWindowsLaunchActionDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in a Windows launch parameter dictionary
class SkPdfWindowsLaunchActionDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kWindowsLaunchActionDictionary_SkPdfObjectType;}
@@ -521,6 +522,16 @@
SkPdfWindowsLaunchActionDictionary& operator=(const SkPdfWindowsLaunchActionDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required) The file name of the application to be launched or the document
+ * to be opened or printed, in standard Windows pathname format. If the name
+ * string includes a backslash character (\), the backslash must itself be preceded
+ * by a backslash.
+ * Note: This value must be a simple string; it is not a file specification.
+**/
+ bool has_F() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", NULL));
+ }
+
std::string F() const {
std::string ret;
if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "F", "", &ret)) return ret;
@@ -528,6 +539,12 @@
return "";
}
+/** (Optional) A string specifying the default directory in standard DOS syntax.
+**/
+ bool has_D() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", NULL));
+ }
+
std::string D() const {
std::string ret;
if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret;
@@ -535,6 +552,16 @@
return "";
}
+/** (Optional) A string specifying the operation to perform:
+ * open Open a document.
+ * print Print a document.
+ * If the F entry designates an application instead of a document, this entry is ig-
+ * nored and the application is launched. Default value: open.
+**/
+ bool has_O() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "O", "", NULL));
+ }
+
std::string O() const {
std::string ret;
if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "O", "", &ret)) return ret;
@@ -542,6 +569,13 @@
return "";
}
+/** (Optional) A parameter string to be passed to the application designated by
+ * the F entry. This entry should be omitted if F designates a document.
+**/
+ bool has_P() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "P", "", NULL));
+ }
+
std::string P() const {
std::string ret;
if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "P", "", &ret)) return ret;
« no previous file with comments | « experimental/PdfViewer/SkPdfWidgetAnnotationDictionary_autogen.h ('k') | experimental/PdfViewer/generate_code.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698