| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfComponentsWithMetadataDictionary | 1 /* |
| 2 #define __DEFINED__SkPdfComponentsWithMetadataDictionary | 2 * Copyright 2013 Google Inc. |
| 3 | 3 |
| 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. |
| 6 */ |
| 7 |
| 8 #ifndef SkPdfComponentsWithMetadataDictionary_DEFINED |
| 9 #define SkPdfComponentsWithMetadataDictionary_DEFINED |
| 10 |
| 4 #include "SkPdfDictionary_autogen.h" | 11 #include "SkPdfDictionary_autogen.h" |
| 5 | 12 |
| 6 // Additional entry for components having metadata | 13 // Additional entry for components having metadata |
| 7 class SkPdfComponentsWithMetadataDictionary : public SkPdfDictionary { | 14 class SkPdfComponentsWithMetadataDictionary : public SkPdfDictionary { |
| 8 public: | 15 public: |
| 9 public: | 16 public: |
| 10 SkPdfComponentsWithMetadataDictionary* asComponentsWithMetadataDictionary() {
return this;} | 17 SkPdfComponentsWithMetadataDictionary* asComponentsWithMetadataDictionary() {
return this;} |
| 11 const SkPdfComponentsWithMetadataDictionary* asComponentsWithMetadataDictiona
ry() const {return this;} | 18 const SkPdfComponentsWithMetadataDictionary* asComponentsWithMetadataDictiona
ry() const {return this;} |
| 12 | 19 |
| 13 private: | 20 private: |
| (...skipping 494 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 508 | 515 |
| 509 SkPdfType1FormDictionary* asType1FormDictionary() {return (SkPdfType1FormDict
ionary*)this;} | 516 SkPdfType1FormDictionary* asType1FormDictionary() {return (SkPdfType1FormDict
ionary*)this;} |
| 510 const SkPdfType1FormDictionary* asType1FormDictionary() const {return (const
SkPdfType1FormDictionary*)this;} | 517 const SkPdfType1FormDictionary* asType1FormDictionary() const {return (const
SkPdfType1FormDictionary*)this;} |
| 511 | 518 |
| 512 public: | 519 public: |
| 513 bool valid() const {return true;} | 520 bool valid() const {return true;} |
| 514 SkPdfStream* Metadata(SkPdfNativeDoc* doc); | 521 SkPdfStream* Metadata(SkPdfNativeDoc* doc); |
| 515 bool has_Metadata() const; | 522 bool has_Metadata() const; |
| 516 }; | 523 }; |
| 517 | 524 |
| 518 #endif // __DEFINED__NATIVE_SkPdfComponentsWithMetadataDictionary | 525 #endif // SkPdfComponentsWithMetadataDictionary_DEFINED |
| OLD | NEW |