| Index: experimental/PdfViewer/SkPdfPrinterMarkAnnotationDictionary_autogen.h
|
| ===================================================================
|
| --- experimental/PdfViewer/SkPdfPrinterMarkAnnotationDictionary_autogen.h (revision 9684)
|
| +++ experimental/PdfViewer/SkPdfPrinterMarkAnnotationDictionary_autogen.h (working copy)
|
| @@ -5,6 +5,7 @@
|
| #include "SkPdfArray_autogen.h"
|
| #include "SkPdfDictionary_autogen.h"
|
|
|
| +// Additional entries specific to a printer's mark annotation
|
| class SkPdfPrinterMarkAnnotationDictionary : public SkPdfDictionary {
|
| public:
|
| virtual SkPdfObjectType getType() const { return kPrinterMarkAnnotationDictionary_SkPdfObjectType;}
|
| @@ -521,6 +522,13 @@
|
|
|
| SkPdfPrinterMarkAnnotationDictionary& operator=(const SkPdfPrinterMarkAnnotationDictionary& from) {this->fPodofoDoc = from.fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
|
|
|
| +/** (Required) The type of annotation that this dictionary describes; must be Printer-
|
| + * Mark for a printer's mark annotation.
|
| +**/
|
| + bool has_Subtype() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Subtype", "", NULL));
|
| + }
|
| +
|
| std::string Subtype() const {
|
| std::string ret;
|
| if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Subtype", "", &ret)) return ret;
|
| @@ -528,6 +536,13 @@
|
| return "";
|
| }
|
|
|
| +/** (Optional) An arbitrary name identifying the type of printer's mark, such as Color-
|
| + * Bar or RegistrationTarget.
|
| +**/
|
| + bool has_MN() const {
|
| + return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "MN", "", NULL));
|
| + }
|
| +
|
| std::string MN() const {
|
| std::string ret;
|
| if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "MN", "", &ret)) return ret;
|
|
|