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

Unified Diff: experimental/PdfViewer/SkPdfBoxColorInformationDictionary_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/SkPdfBoxColorInformationDictionary_autogen.h
===================================================================
--- experimental/PdfViewer/SkPdfBoxColorInformationDictionary_autogen.h (revision 9684)
+++ experimental/PdfViewer/SkPdfBoxColorInformationDictionary_autogen.h (working copy)
@@ -5,6 +5,7 @@
#include "SkPdfArray_autogen.h"
#include "SkPdfDictionary_autogen.h"
+// Entries in a box color information dictionary
class SkPdfBoxColorInformationDictionary : public SkPdfDictionary {
public:
virtual SkPdfObjectType getType() const { return kBoxColorInformationDictionary_SkPdfObjectType;}
@@ -521,6 +522,14 @@
SkPdfBoxColorInformationDictionary& operator=(const SkPdfBoxColorInformationDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
+/** (Optional) A box style dictionary (see Table 9.42) specifying the visual characteris-
+ * tics for displaying guidelines for the page's crop box. This entry is ignored if no crop
+ * box is defined in the page object.
+**/
+ bool has_CropBox() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CropBox", "", NULL));
+ }
+
SkPdfDictionary* CropBox() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CropBox", "", &ret)) return ret;
@@ -528,6 +537,14 @@
return NULL;
}
+/** (Optional) A box style dictionary (see Table 9.42) specifying the visual characteris-
+ * tics for displaying guidelines for the page's bleed box. This entry is ignored if no
+ * bleed box is defined in the page object.
+**/
+ bool has_BleedBox() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BleedBox", "", NULL));
+ }
+
SkPdfDictionary* BleedBox() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BleedBox", "", &ret)) return ret;
@@ -535,6 +552,14 @@
return NULL;
}
+/** (Optional) A box style dictionary (see Table 9.42) specifying the visual characteris-
+ * tics for displaying guidelines for the page's trim box. This entry is ignored if no trim
+ * box is defined in the page object.
+**/
+ bool has_TrimBox() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TrimBox", "", NULL));
+ }
+
SkPdfDictionary* TrimBox() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TrimBox", "", &ret)) return ret;
@@ -542,6 +567,14 @@
return NULL;
}
+/** (Optional) A box style dictionary (see Table 9.42) specifying the visual characteris-
+ * tics for displaying guidelines for the page's art box. This entry is ignored if no art
+ * box is defined in the page object.
+**/
+ bool has_ArtBox() const {
+ return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ArtBox", "", NULL));
+ }
+
SkPdfDictionary* ArtBox() const {
SkPdfDictionary* ret;
if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ArtBox", "", &ret)) return ret;
« no previous file with comments | « experimental/PdfViewer/SkPdfBorderStyleDictionary_autogen.h ('k') | experimental/PdfViewer/SkPdfBoxStyleDictionary_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698