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

Side by Side Diff: experimental/PdfViewer/autogen/SkPdfCcittfaxdecodeFilterDictionary_autogen.cpp

Issue 17856004: refactoring for pdf viewer lib (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 "SkPdfCcittfaxdecodeFilterDictionary_autogen.h"
2
3 long SkPdfCcittfaxdecodeFilterDictionary::K() const {
4 long ret;
5 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "K", "", &ret) ) return ret;
6 // TODO(edisonn): warn about missing required field, assert for known good pdf s
7 return 0;
8 }
9
10 bool SkPdfCcittfaxdecodeFilterDictionary::EndOfLine() const {
11 bool ret;
12 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "EndOfLine", " ", &ret)) return ret;
13 // TODO(edisonn): warn about missing required field, assert for known good pdf s
14 return false;
15 }
16
17 bool SkPdfCcittfaxdecodeFilterDictionary::EncodedByteAlign() const {
18 bool ret;
19 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "EncodedByteAl ign", "", &ret)) return ret;
20 // TODO(edisonn): warn about missing required field, assert for known good pdf s
21 return false;
22 }
23
24 long SkPdfCcittfaxdecodeFilterDictionary::Columns() const {
25 long ret;
26 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Columns", "", &ret)) return ret;
27 // TODO(edisonn): warn about missing required field, assert for known good pdf s
28 return 0;
29 }
30
31 long SkPdfCcittfaxdecodeFilterDictionary::Rows() const {
32 long ret;
33 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Rows", "", &r et)) return ret;
34 // TODO(edisonn): warn about missing required field, assert for known good pdf s
35 return 0;
36 }
37
38 bool SkPdfCcittfaxdecodeFilterDictionary::EndOfBlock() const {
39 bool ret;
40 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "EndOfBlock", "", &ret)) return ret;
41 // TODO(edisonn): warn about missing required field, assert for known good pdf s
42 return false;
43 }
44
45 bool SkPdfCcittfaxdecodeFilterDictionary::BlackIs1() const {
46 bool ret;
47 if (BoolFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "BlackIs1", "" , &ret)) return ret;
48 // TODO(edisonn): warn about missing required field, assert for known good pdf s
49 return false;
50 }
51
52 long SkPdfCcittfaxdecodeFilterDictionary::DamagedRowsBeforeError() const {
53 long ret;
54 if (LongFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DamagedRowsBe foreError", "", &ret)) return ret;
55 // TODO(edisonn): warn about missing required field, assert for known good pdf s
56 return 0;
57 }
58
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698