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

Unified Diff: experimental/PdfViewer/SkPdfURLAliasDictionary_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/SkPdfURLAliasDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfURLAliasDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfURLAliasDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in a URL alias dictionary
class SkPdfURLAliasDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kURLAliasDictionary_SkPdfObjectType;}
@@ -521,6 +522,12 @@
SkPdfURLAliasDictionary& operator=(const SkPdfURLAliasDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Required) The destination URL to which all of the chains specified by the C entry lead.
+**/
+ bool has_U() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "U", "", NULL));
+ }
+
std::string U() const {
std::string ret;
if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "U", "", &ret)) return ret;
@@ -528,6 +535,13 @@
return "";
}
+/** (Optional) An array of one or more arrays of strings, each representing a chain of URLs
+ * leading to the common destination specified by U.
+**/
+ bool has_C() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", NULL));
+ }
+
SkPdfArray C() const {
SkPdfArray ret;
if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "C", "", &ret)) return ret;
« no previous file with comments | « experimental/PdfViewer/SkPdfURIDictionary_autogen.h ('k') | experimental/PdfViewer/SkPdfVariableTextFieldDictionary_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698