| OLD | NEW |
| 1 #ifndef __DEFINED__SkPdfInlineLevelStructureElementsDictionary | 1 /* |
| 2 #define __DEFINED__SkPdfInlineLevelStructureElementsDictionary | 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 SkPdfInlineLevelStructureElementsDictionary_DEFINED |
| 9 #define SkPdfInlineLevelStructureElementsDictionary_DEFINED |
| 10 |
| 4 #include "SkPdfDictionary_autogen.h" | 11 #include "SkPdfDictionary_autogen.h" |
| 5 | 12 |
| 6 // Standard layout attributes specific to inline-level structure elements | 13 // Standard layout attributes specific to inline-level structure elements |
| 7 class SkPdfInlineLevelStructureElementsDictionary : public SkPdfDictionary { | 14 class SkPdfInlineLevelStructureElementsDictionary : public SkPdfDictionary { |
| 8 public: | 15 public: |
| 9 public: | 16 public: |
| 10 SkPdfInlineLevelStructureElementsDictionary* asInlineLevelStructureElementsDi
ctionary() {return this;} | 17 SkPdfInlineLevelStructureElementsDictionary* asInlineLevelStructureElementsDi
ctionary() {return this;} |
| 11 const SkPdfInlineLevelStructureElementsDictionary* asInlineLevelStructureElem
entsDictionary() const {return this;} | 18 const SkPdfInlineLevelStructureElementsDictionary* asInlineLevelStructureElem
entsDictionary() const {return this;} |
| 12 | 19 |
| 13 private: | 20 private: |
| (...skipping 497 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 511 | 518 |
| 512 public: | 519 public: |
| 513 bool valid() const {return true;} | 520 bool valid() const {return true;} |
| 514 bool isLineHeightANumber(SkPdfNativeDoc* doc); | 521 bool isLineHeightANumber(SkPdfNativeDoc* doc); |
| 515 double getLineHeightAsNumber(SkPdfNativeDoc* doc); | 522 double getLineHeightAsNumber(SkPdfNativeDoc* doc); |
| 516 bool isLineHeightAName(SkPdfNativeDoc* doc); | 523 bool isLineHeightAName(SkPdfNativeDoc* doc); |
| 517 SkString getLineHeightAsName(SkPdfNativeDoc* doc); | 524 SkString getLineHeightAsName(SkPdfNativeDoc* doc); |
| 518 bool has_LineHeight() const; | 525 bool has_LineHeight() const; |
| 519 }; | 526 }; |
| 520 | 527 |
| 521 #endif // __DEFINED__NATIVE_SkPdfInlineLevelStructureElementsDictionary | 528 #endif // SkPdfInlineLevelStructureElementsDictionary_DEFINED |
| OLD | NEW |