| 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;
|
|
|