| Index: experimental/PdfViewer/SkPdfResourceDictionary_autogen.h
|
| ===================================================================
|
| --- experimental/PdfViewer/SkPdfResourceDictionary_autogen.h (revision 9684)
|
| +++ experimental/PdfViewer/SkPdfResourceDictionary_autogen.h (working copy)
|
| @@ -5,6 +5,7 @@
|
| #include "SkPdfArray_autogen.h"
|
| #include "SkPdfDictionary_autogen.h"
|
|
|
| +// Entries in a resource dictionary
|
| class SkPdfResourceDictionary : public SkPdfDictionary {
|
| public:
|
| virtual SkPdfObjectType getType() const { return kResourceDictionary_SkPdfObjectType;}
|
| @@ -521,6 +522,13 @@
|
|
|
| SkPdfResourceDictionary& operator=(const SkPdfResourceDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
|
|
|
| +/** (Optional) A dictionary mapping resource names to graphics state parameter
|
| + * dictionaries (see Section 4.3.4, "Graphics State Parameter Dictionaries").
|
| +**/
|
| + bool has_ExtGState() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ExtGState", "", NULL));
|
| + }
|
| +
|
| SkPdfDictionary* ExtGState() const {
|
| SkPdfDictionary* ret;
|
| if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ExtGState", "", &ret)) return ret;
|
| @@ -528,6 +536,14 @@
|
| return NULL;
|
| }
|
|
|
| +/** (Optional) A dictionary mapping each resource name to either the name of a
|
| + * device-dependent color space or an array describing a color space (see Sec-
|
| + * tion 4.5, "Color Spaces").
|
| +**/
|
| + bool has_ColorSpace() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ColorSpace", "", NULL));
|
| + }
|
| +
|
| SkPdfDictionary* ColorSpace() const {
|
| SkPdfDictionary* ret;
|
| if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ColorSpace", "", &ret)) return ret;
|
| @@ -535,6 +551,13 @@
|
| return NULL;
|
| }
|
|
|
| +/** (Optional) A dictionary mapping resource names to pattern objects (see Sec-
|
| + * tion 4.6, "Patterns").
|
| +**/
|
| + bool has_Pattern() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Pattern", "", NULL));
|
| + }
|
| +
|
| SkPdfDictionary* Pattern() const {
|
| SkPdfDictionary* ret;
|
| if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Pattern", "", &ret)) return ret;
|
| @@ -542,6 +565,13 @@
|
| return NULL;
|
| }
|
|
|
| +/** (Optional; PDF 1.3) A dictionary mapping resource names to shading dic-
|
| + * tionaries (see "Shading Dictionaries" on page 233).
|
| +**/
|
| + bool has_Shading() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Shading", "", NULL));
|
| + }
|
| +
|
| SkPdfDictionary* Shading() const {
|
| SkPdfDictionary* ret;
|
| if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Shading", "", &ret)) return ret;
|
| @@ -549,6 +579,13 @@
|
| return NULL;
|
| }
|
|
|
| +/** (Optional) A dictionary mapping resource names to external objects (see Sec-
|
| + * tion 4.7, "External Objects").
|
| +**/
|
| + bool has_XObject() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "XObject", "", NULL));
|
| + }
|
| +
|
| SkPdfDictionary* XObject() const {
|
| SkPdfDictionary* ret;
|
| if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "XObject", "", &ret)) return ret;
|
| @@ -556,6 +593,13 @@
|
| return NULL;
|
| }
|
|
|
| +/** (Optional) A dictionary mapping resource names to font dictionaries (see
|
| + * Chapter 5).
|
| +**/
|
| + bool has_Font() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Font", "", NULL));
|
| + }
|
| +
|
| SkPdfDictionary* Font() const {
|
| SkPdfDictionary* ret;
|
| if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Font", "", &ret)) return ret;
|
| @@ -563,6 +607,13 @@
|
| return NULL;
|
| }
|
|
|
| +/** (Optional) An array of predefined procedure set names (see Section 9.1,
|
| + * "Procedure Sets").
|
| +**/
|
| + bool has_ProcSet() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ProcSet", "", NULL));
|
| + }
|
| +
|
| SkPdfArray ProcSet() const {
|
| SkPdfArray ret;
|
| if (ArrayFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ProcSet", "", &ret)) return ret;
|
| @@ -570,6 +621,13 @@
|
| return SkPdfArray();
|
| }
|
|
|
| +/** (Optional; PDF 1.2) A dictionary mapping resource names to property list
|
| + * dictionaries for marked content (see Section 9.5.1, "Property Lists").
|
| +**/
|
| + bool has_Properties() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Properties", "", NULL));
|
| + }
|
| +
|
| SkPdfDictionary* Properties() const {
|
| SkPdfDictionary* ret;
|
| if (DictionaryFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Properties", "", &ret)) return ret;
|
|
|