aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/PdfViewer/SkPdfJavascriptDictionary_autogen.h
diff options
context:
space:
mode:
authorGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-21 21:03:15 +0000
committerGravatar edisonn@google.com <edisonn@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-06-21 21:03:15 +0000
commitff27844d15da7e691d1b4c0adc57af64e108d9fa (patch)
tree6299514a92fa38315aa4b90a5f9de82b4ee6bb88 /experimental/PdfViewer/SkPdfJavascriptDictionary_autogen.h
parent45f746f521d6925d22a304921f6e17196f4f8157 (diff)
load font manually, for now Type0
Review URL: https://codereview.chromium.org/17294008 git-svn-id: http://skia.googlecode.com/svn/trunk@9734 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'experimental/PdfViewer/SkPdfJavascriptDictionary_autogen.h')
-rw-r--r--experimental/PdfViewer/SkPdfJavascriptDictionary_autogen.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/experimental/PdfViewer/SkPdfJavascriptDictionary_autogen.h b/experimental/PdfViewer/SkPdfJavascriptDictionary_autogen.h
index f033bf6f5a..2e4892dfa1 100644
--- a/experimental/PdfViewer/SkPdfJavascriptDictionary_autogen.h
+++ b/experimental/PdfViewer/SkPdfJavascriptDictionary_autogen.h
@@ -165,20 +165,20 @@ private:
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return NULL;}
- virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
- virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
-
virtual SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {return NULL;}
+ virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
+ virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
+
virtual SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
- virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
- virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
+ virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
+ virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
@@ -548,11 +548,11 @@ public:
return ret->podofo()->HasStream();
}
- SkPdfStream getBeforeAsStream() const {
- SkPdfStream ret = SkPdfStream();
+ SkPdfStream* getBeforeAsStream() const {
+ SkPdfStream* ret = NULL;
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Before", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
- return SkPdfStream();
+ return NULL;
}
/** (Optional) A string or stream containing a JavaScript script to be executed
@@ -581,11 +581,11 @@ public:
return ret->podofo()->HasStream();
}
- SkPdfStream getAfterAsStream() const {
- SkPdfStream ret = SkPdfStream();
+ SkPdfStream* getAfterAsStream() const {
+ SkPdfStream* ret = NULL;
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "After", "", &ret)) return ret;
// TODO(edisonn): warn about missing required field, assert for known good pdfs
- return SkPdfStream();
+ return NULL;
}
/** (Optional) An array defining additional JavaScript scripts to be added to