Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(35)

Side by Side Diff: experimental/PdfViewer/pdfparser/podofo/autogen/SkPdfBlockLevelStructureElementsDictionary_autogen.cpp

Issue 18404006: remove now all the files fro depot for PDF API since we generate them at build time (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #include "SkPdfBlockLevelStructureElementsDictionary_autogen.h"
2
3 double SkPdfBlockLevelStructureElementsDictionary::SpaceBefore() const {
4 double ret;
5 if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "SpaceBefore ", "", &ret)) return ret;
6 // TODO(edisonn): warn about missing required field, assert for known good pdf s
7 return 0;
8 }
9
10 double SkPdfBlockLevelStructureElementsDictionary::SpaceAfter() const {
11 double ret;
12 if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "SpaceAfter" , "", &ret)) return ret;
13 // TODO(edisonn): warn about missing required field, assert for known good pdf s
14 return 0;
15 }
16
17 double SkPdfBlockLevelStructureElementsDictionary::StartIndent() const {
18 double ret;
19 if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "StartIndent ", "", &ret)) return ret;
20 // TODO(edisonn): warn about missing required field, assert for known good pdf s
21 return 0;
22 }
23
24 double SkPdfBlockLevelStructureElementsDictionary::EndIndent() const {
25 double ret;
26 if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "EndIndent", "", &ret)) return ret;
27 // TODO(edisonn): warn about missing required field, assert for known good pdf s
28 return 0;
29 }
30
31 double SkPdfBlockLevelStructureElementsDictionary::TextIndent() const {
32 double ret;
33 if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TextIndent" , "", &ret)) return ret;
34 // TODO(edisonn): warn about missing required field, assert for known good pdf s
35 return 0;
36 }
37
38 std::string SkPdfBlockLevelStructureElementsDictionary::TextAlign() const {
39 std::string ret;
40 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "TextAlign", " ", &ret)) return ret;
41 // TODO(edisonn): warn about missing required field, assert for known good pdf s
42 return "";
43 }
44
45 SkRect* SkPdfBlockLevelStructureElementsDictionary::BBox() const {
46 SkRect* ret;
47 if (SkRectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BBox", "", &ret)) return ret;
48 // TODO(edisonn): warn about missing required field, assert for known good pdf s
49 return NULL;
50 }
51
52 double SkPdfBlockLevelStructureElementsDictionary::getWidthAsNumber() const {
53 double ret = 0;
54 if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Width", "", &ret)) return ret;
55 // TODO(edisonn): warn about missing required field, assert for known good pdf s
56 return 0;
57 }
58
59 std::string SkPdfBlockLevelStructureElementsDictionary::getWidthAsName() const {
60 std::string ret = "";
61 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Width", "", & ret)) return ret;
62 // TODO(edisonn): warn about missing required field, assert for known good pdf s
63 return "";
64 }
65
66 double SkPdfBlockLevelStructureElementsDictionary::getHeightAsNumber() const {
67 double ret = 0;
68 if (DoubleFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Height", "" , &ret)) return ret;
69 // TODO(edisonn): warn about missing required field, assert for known good pdf s
70 return 0;
71 }
72
73 std::string SkPdfBlockLevelStructureElementsDictionary::getHeightAsName() const {
74 std::string ret = "";
75 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Height", "", &ret)) return ret;
76 // TODO(edisonn): warn about missing required field, assert for known good pdf s
77 return "";
78 }
79
80 std::string SkPdfBlockLevelStructureElementsDictionary::BlockAlign() const {
81 std::string ret;
82 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BlockAlign", "", &ret)) return ret;
83 // TODO(edisonn): warn about missing required field, assert for known good pdf s
84 return "";
85 }
86
87 std::string SkPdfBlockLevelStructureElementsDictionary::InlineAlign() const {
88 std::string ret;
89 if (NameFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "InlineAlign", "", &ret)) return ret;
90 // TODO(edisonn): warn about missing required field, assert for known good pdf s
91 return "";
92 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698