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

Unified Diff: experimental/PdfViewer/SkPdfURIDictionary_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/SkPdfURIDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfURIDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfURIDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entry in a URI dictionary
class SkPdfURIDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kURIDictionary_SkPdfObjectType;}
@@ -521,6 +522,17 @@
SkPdfURIDictionary& operator=(const SkPdfURIDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Optional) The base URI to be used in resolving relative URI references. URI actions
+ * within the document may specify URIs in partial form, to be interpreted relative to
+ * this base address. If no base URI is specified, such partial URIs will be interpreted rel-
+ * ative to the location of the document itself. The use of this entry is parallel to that of
+ * the body element <BASE>, as described in section 2.7.2 of Internet RFC 1866, Hyper-
+ * text Markup Language 2.0 Proposed Standard (see the Bibliography).
+**/
+ bool has_Base() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Base", "", NULL));
+ }
+
std::string Base() const {
std::string ret;
if (StringFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Base", "", &ret)) return ret;
« no previous file with comments | « experimental/PdfViewer/SkPdfURIActionDictionary_autogen.h ('k') | experimental/PdfViewer/SkPdfURLAliasDictionary_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698