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
This commit is contained in:
parent
45f746f521
commit
ff27844d15
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -528,11 +528,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Image", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Image", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream Image() const {
|
SkPdfStream* Image() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Image", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Image", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** (Optional) A flag indicating whether this alternate image is the default ver-
|
/** (Optional) A flag indicating whether this alternate image is the default ver-
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -626,11 +626,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "I", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "I", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream I() const {
|
SkPdfStream* I() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "I", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "I", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** (Optional; pushbutton fields only; must be an indirect reference) A form XObject
|
/** (Optional; pushbutton fields only; must be an indirect reference) A form XObject
|
||||||
@ -641,11 +641,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "RI", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "RI", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream RI() const {
|
SkPdfStream* RI() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "RI", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "RI", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** (Optional; pushbutton fields only; must be an indirect reference) A form XObject
|
/** (Optional; pushbutton fields only; must be an indirect reference) A form XObject
|
||||||
@ -656,11 +656,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "IX", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "IX", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream IX() const {
|
SkPdfStream* IX() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "IX", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "IX", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** (Optional; pushbutton fields only) An icon fit dictionary (see Table 8.73 on page
|
/** (Optional; pushbutton fields only) An icon fit dictionary (see Table 8.73 on page
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -534,11 +534,11 @@ public:
|
|||||||
return ret->podofo()->HasStream();
|
return ret->podofo()->HasStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream getNAsStream() const {
|
SkPdfStream* getNAsStream() const {
|
||||||
SkPdfStream ret = SkPdfStream();
|
SkPdfStream* ret = NULL;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "N", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "N", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isNADictionary() const {
|
bool isNADictionary() const {
|
||||||
@ -567,11 +567,11 @@ public:
|
|||||||
return ret->podofo()->HasStream();
|
return ret->podofo()->HasStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream getRAsStream() const {
|
SkPdfStream* getRAsStream() const {
|
||||||
SkPdfStream ret = SkPdfStream();
|
SkPdfStream* ret = NULL;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "R", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "R", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isRADictionary() const {
|
bool isRADictionary() const {
|
||||||
@ -600,11 +600,11 @@ public:
|
|||||||
return ret->podofo()->HasStream();
|
return ret->podofo()->HasStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream getDAsStream() const {
|
SkPdfStream* getDAsStream() const {
|
||||||
SkPdfStream ret = SkPdfStream();
|
SkPdfStream* ret = NULL;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "D", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isDADictionary() const {
|
bool isDADictionary() const {
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -170,20 +170,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -536,6 +536,9 @@ private:
|
|||||||
virtual SkPdfReference* asReference() {return NULL;}
|
virtual SkPdfReference* asReference() {return NULL;}
|
||||||
virtual const SkPdfReference* asReference() const {return NULL;}
|
virtual const SkPdfReference* asReference() const {return NULL;}
|
||||||
|
|
||||||
|
virtual SkPdfStream* asStream() {return NULL;}
|
||||||
|
virtual const SkPdfStream* asStream() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfString* asString() {return NULL;}
|
virtual SkPdfString* asString() {return NULL;}
|
||||||
virtual const SkPdfString* asString() const {return NULL;}
|
virtual const SkPdfString* asString() const {return NULL;}
|
||||||
|
|
||||||
@ -544,8 +547,7 @@ private:
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
const int size() const {return fPodofoObj->GetArray().GetSize();}
|
const int size() const {return fPodofoObj->GetArray().GetSize();}
|
||||||
const SkPdfObject operator[](int i) const {return SkPdfObject(fPodofoDoc, &fPodofoObj->GetArray()[i]);}
|
SkPdfObject* operator[](int i) const {return new SkPdfObject(fPodofoDoc, &fPodofoObj->GetArray()[i]);}
|
||||||
SkPdfObject operator[](int i) {return SkPdfObject(fPodofoDoc, &fPodofoObj->GetArray()[i]);}
|
|
||||||
private:
|
private:
|
||||||
public:
|
public:
|
||||||
SkPdfArray(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {}
|
SkPdfArray(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofoObj = NULL) : SkPdfObject(podofoDoc, podofoObj) {}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -170,20 +170,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -536,6 +536,9 @@ private:
|
|||||||
virtual SkPdfReference* asReference() {return NULL;}
|
virtual SkPdfReference* asReference() {return NULL;}
|
||||||
virtual const SkPdfReference* asReference() const {return NULL;}
|
virtual const SkPdfReference* asReference() const {return NULL;}
|
||||||
|
|
||||||
|
virtual SkPdfStream* asStream() {return NULL;}
|
||||||
|
virtual const SkPdfStream* asStream() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfString* asString() {return NULL;}
|
virtual SkPdfString* asString() {return NULL;}
|
||||||
virtual const SkPdfString* asString() const {return NULL;}
|
virtual const SkPdfString* asString() const {return NULL;}
|
||||||
|
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -582,11 +582,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDSet", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDSet", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream CIDSet() const {
|
SkPdfStream* CIDSet() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDSet", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDSet", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -15,20 +15,20 @@ public:
|
|||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return this;}
|
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {return this;}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
|
||||||
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
|
||||||
|
|
||||||
virtual SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
virtual SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
private:
|
private:
|
||||||
@ -194,11 +194,11 @@ public:
|
|||||||
return ret->podofo()->HasStream();
|
return ret->podofo()->HasStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream getCIDToGIDMapAsStream() const {
|
SkPdfStream* getCIDToGIDMapAsStream() const {
|
||||||
SkPdfStream ret = SkPdfStream();
|
SkPdfStream* ret = NULL;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDToGIDMap", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "CIDToGIDMap", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isCIDToGIDMapAName() const {
|
bool isCIDToGIDMapAName() const {
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -644,11 +644,11 @@ public:
|
|||||||
return ret->podofo()->HasStream();
|
return ret->podofo()->HasStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream getUseCMapAsStream() const {
|
SkPdfStream* getUseCMapAsStream() const {
|
||||||
SkPdfStream ret = SkPdfStream();
|
SkPdfStream* ret = NULL;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "UseCMap", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "UseCMap", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -817,11 +817,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream Metadata() const {
|
SkPdfStream* Metadata() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** (Optional; PDF 1.3) The document's structure tree root dictionary (see
|
/** (Optional; PDF 1.3) The document's structure tree root dictionary (see
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -528,11 +528,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream Metadata() const {
|
SkPdfStream* Metadata() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -35,6 +35,9 @@ private:
|
|||||||
virtual SkPdfReference* asReference() {return NULL;}
|
virtual SkPdfReference* asReference() {return NULL;}
|
||||||
virtual const SkPdfReference* asReference() const {return NULL;}
|
virtual const SkPdfReference* asReference() const {return NULL;}
|
||||||
|
|
||||||
|
virtual SkPdfStream* asStream() {return NULL;}
|
||||||
|
virtual const SkPdfStream* asStream() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfString* asString() {return NULL;}
|
virtual SkPdfString* asString() {return NULL;}
|
||||||
virtual const SkPdfString* asString() const {return NULL;}
|
virtual const SkPdfString* asString() const {return NULL;}
|
||||||
|
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -591,11 +591,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream Metadata() const {
|
SkPdfStream* Metadata() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -56,12 +56,13 @@ enum SkPdfObjectType {
|
|||||||
kFontDescriptorDictionary_SkPdfObjectType,
|
kFontDescriptorDictionary_SkPdfObjectType,
|
||||||
kFontDictionary_SkPdfObjectType,
|
kFontDictionary_SkPdfObjectType,
|
||||||
kCIDFontDictionary_SkPdfObjectType,
|
kCIDFontDictionary_SkPdfObjectType,
|
||||||
kTrueTypeFontDictionary_SkPdfObjectType,
|
|
||||||
kType0FontDictionary_SkPdfObjectType,
|
kType0FontDictionary_SkPdfObjectType,
|
||||||
|
kType3FontDictionary_SkPdfObjectType,
|
||||||
|
kType0FontDictionary__End_SkPdfObjectType,
|
||||||
kType1FontDictionary_SkPdfObjectType,
|
kType1FontDictionary_SkPdfObjectType,
|
||||||
kMultiMasterFontDictionary_SkPdfObjectType,
|
kMultiMasterFontDictionary_SkPdfObjectType,
|
||||||
|
kTrueTypeFontDictionary_SkPdfObjectType,
|
||||||
kType1FontDictionary__End_SkPdfObjectType,
|
kType1FontDictionary__End_SkPdfObjectType,
|
||||||
kType3FontDictionary_SkPdfObjectType,
|
|
||||||
kFontDictionary__End_SkPdfObjectType,
|
kFontDictionary__End_SkPdfObjectType,
|
||||||
kFormFieldActionsDictionary_SkPdfObjectType,
|
kFormFieldActionsDictionary_SkPdfObjectType,
|
||||||
kFreeTextAnnotationDictionary_SkPdfObjectType,
|
kFreeTextAnnotationDictionary_SkPdfObjectType,
|
||||||
@ -184,6 +185,7 @@ enum SkPdfObjectType {
|
|||||||
kName_SkPdfObjectType,
|
kName_SkPdfObjectType,
|
||||||
kNull_SkPdfObjectType,
|
kNull_SkPdfObjectType,
|
||||||
kReference_SkPdfObjectType,
|
kReference_SkPdfObjectType,
|
||||||
|
kStream_SkPdfObjectType,
|
||||||
kString_SkPdfObjectType,
|
kString_SkPdfObjectType,
|
||||||
kHexString_SkPdfObjectType,
|
kHexString_SkPdfObjectType,
|
||||||
kString__End_SkPdfObjectType,
|
kString__End_SkPdfObjectType,
|
||||||
@ -201,6 +203,7 @@ class SkPdfArray;
|
|||||||
class SkPdfString;
|
class SkPdfString;
|
||||||
class SkPdfHexString;
|
class SkPdfHexString;
|
||||||
class SkPdfDictionary;
|
class SkPdfDictionary;
|
||||||
|
class SkPdfStream;
|
||||||
class SkPdfXObjectDictionary;
|
class SkPdfXObjectDictionary;
|
||||||
class SkPdfFontDictionary;
|
class SkPdfFontDictionary;
|
||||||
class SkPdfTrueTypeFontDictionary;
|
class SkPdfTrueTypeFontDictionary;
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -657,11 +657,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Differences", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Differences", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream Differences() const {
|
SkPdfStream* Differences() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Differences", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Differences", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** (Optional; PDF 1.4) The name of a browser frame in which the un-
|
/** (Optional; PDF 1.4) The name of a browser frame in which the un-
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -162,20 +162,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -745,11 +745,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontFile", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontFile", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream FontFile() const {
|
SkPdfStream* FontFile() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontFile", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontFile", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** (Optional; PDF 1.1) A stream containing a TrueType font program (see Sec-
|
/** (Optional; PDF 1.1) A stream containing a TrueType font program (see Sec-
|
||||||
@ -759,11 +759,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontFile2", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontFile2", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream FontFile2() const {
|
SkPdfStream* FontFile2() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontFile2", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontFile2", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** (Optional; PDF 1.2) A stream containing a font program other than Type 1 or
|
/** (Optional; PDF 1.2) A stream containing a font program other than Type 1 or
|
||||||
@ -777,11 +777,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontFile3", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontFile3", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream FontFile3() const {
|
SkPdfStream* FontFile3() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontFile3", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "FontFile3", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** (Optional; meaningful only in Type 1 fonts; PDF 1.1) A string listing the char-
|
/** (Optional; meaningful only in Type 1 fonts; PDF 1.1) A string listing the char-
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionary() {return NULL;}
|
virtual SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionary() {return NULL;}
|
||||||
virtual const SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionary() const {return NULL;}
|
virtual const SkPdfFreeTextAnnotationDictionary* asFreeTextAnnotationDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -906,11 +906,11 @@ public:
|
|||||||
return ret->podofo()->HasStream();
|
return ret->podofo()->HasStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream getHTAsStream() const {
|
SkPdfStream* getHTAsStream() const {
|
||||||
SkPdfStream ret = SkPdfStream();
|
SkPdfStream* ret = NULL;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "HT", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "HT", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isHTAName() const {
|
bool isHTAName() const {
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -78,6 +78,7 @@
|
|||||||
#include "SkPdfFDFCatalogDictionary_autogen.h"
|
#include "SkPdfFDFCatalogDictionary_autogen.h"
|
||||||
#include "SkPdfALinkAnnotationDictionary_autogen.h"
|
#include "SkPdfALinkAnnotationDictionary_autogen.h"
|
||||||
#include "SkPdfAppearanceCharacteristicsDictionary_autogen.h"
|
#include "SkPdfAppearanceCharacteristicsDictionary_autogen.h"
|
||||||
|
#include "SkPdfStream_autogen.h"
|
||||||
#include "SkPdfTransitionDictionary_autogen.h"
|
#include "SkPdfTransitionDictionary_autogen.h"
|
||||||
#include "SkPdfApplicationDataDictionary_autogen.h"
|
#include "SkPdfApplicationDataDictionary_autogen.h"
|
||||||
#include "SkPdfFileAttachmentAnnotationDictionary_autogen.h"
|
#include "SkPdfFileAttachmentAnnotationDictionary_autogen.h"
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -602,11 +602,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream Metadata() const {
|
SkPdfStream* Metadata() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -187,11 +187,11 @@ public:
|
|||||||
return ret->podofo()->HasStream();
|
return ret->podofo()->HasStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream getMaskAsStream() const {
|
SkPdfStream* getMaskAsStream() const {
|
||||||
SkPdfStream ret = SkPdfStream();
|
SkPdfStream* ret = NULL;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Mask", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Mask", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool isMaskAArray() const {
|
bool isMaskAArray() const {
|
||||||
@ -222,11 +222,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "SMask", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "SMask", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream SMask() const {
|
SkPdfStream* SMask() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "SMask", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "SMask", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** (Optional) An array of numbers describing how to map image samples
|
/** (Optional) An array of numbers describing how to map image samples
|
||||||
@ -346,11 +346,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream Metadata() const {
|
SkPdfStream* Metadata() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Metadata", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -173,20 +173,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -533,6 +533,9 @@ private:
|
|||||||
virtual SkPdfReference* asReference() {return NULL;}
|
virtual SkPdfReference* asReference() {return NULL;}
|
||||||
virtual const SkPdfReference* asReference() const {return NULL;}
|
virtual const SkPdfReference* asReference() const {return NULL;}
|
||||||
|
|
||||||
|
virtual SkPdfStream* asStream() {return NULL;}
|
||||||
|
virtual const SkPdfStream* asStream() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfString* asString() {return NULL;}
|
virtual SkPdfString* asString() {return NULL;}
|
||||||
virtual const SkPdfString* asString() const {return NULL;}
|
virtual const SkPdfString* asString() const {return NULL;}
|
||||||
|
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -564,11 +564,11 @@ public:
|
|||||||
return ret->podofo()->HasStream();
|
return ret->podofo()->HasStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream getJSAsStream() const {
|
SkPdfStream* getJSAsStream() const {
|
||||||
SkPdfStream ret = SkPdfStream();
|
SkPdfStream* ret = NULL;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "JS", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "JS", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -548,11 +548,11 @@ public:
|
|||||||
return ret->podofo()->HasStream();
|
return ret->podofo()->HasStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream getBeforeAsStream() const {
|
SkPdfStream* getBeforeAsStream() const {
|
||||||
SkPdfStream ret = SkPdfStream();
|
SkPdfStream* ret = NULL;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Before", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Before", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// 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
|
/** (Optional) A string or stream containing a JavaScript script to be executed
|
||||||
@ -581,11 +581,11 @@ public:
|
|||||||
return ret->podofo()->HasStream();
|
return ret->podofo()->HasStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream getAfterAsStream() const {
|
SkPdfStream* getAfterAsStream() const {
|
||||||
SkPdfStream ret = SkPdfStream();
|
SkPdfStream* ret = NULL;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "After", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "After", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// 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
|
/** (Optional) An array defining additional JavaScript scripts to be added to
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -530,11 +530,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "JBIG2Globals", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "JBIG2Globals", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream JBIG2Globals() const {
|
SkPdfStream* JBIG2Globals() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "JBIG2Globals", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "JBIG2Globals", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -554,11 +554,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ResFork", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ResFork", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream ResFork() const {
|
SkPdfStream* ResFork() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ResFork", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "ResFork", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -563,11 +563,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Stm", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Stm", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream Stm() const {
|
SkPdfStream* Stm() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Stm", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Stm", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** (Optional; must be an indirect reference) The PDF object owning the stream
|
/** (Optional; must be an indirect reference) The PDF object owning the stream
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -595,11 +595,11 @@ public:
|
|||||||
return ret->podofo()->HasStream();
|
return ret->podofo()->HasStream();
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream getPosterAsStream() const {
|
SkPdfStream* getPosterAsStream() const {
|
||||||
SkPdfStream ret = SkPdfStream();
|
SkPdfStream* ret = NULL;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Poster", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Poster", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -14,6 +14,9 @@ public:
|
|||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return this;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return this;}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
public:
|
public:
|
||||||
private:
|
private:
|
||||||
public:
|
public:
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -173,20 +173,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -536,6 +536,9 @@ private:
|
|||||||
virtual SkPdfReference* asReference() {return NULL;}
|
virtual SkPdfReference* asReference() {return NULL;}
|
||||||
virtual const SkPdfReference* asReference() const {return NULL;}
|
virtual const SkPdfReference* asReference() const {return NULL;}
|
||||||
|
|
||||||
|
virtual SkPdfStream* asStream() {return NULL;}
|
||||||
|
virtual const SkPdfStream* asStream() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfString* asString() {return NULL;}
|
virtual SkPdfString* asString() {return NULL;}
|
||||||
virtual const SkPdfString* asString() const {return NULL;}
|
virtual const SkPdfString* asString() const {return NULL;}
|
||||||
|
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -173,20 +173,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -536,6 +536,9 @@ private:
|
|||||||
virtual SkPdfReference* asReference() {return NULL;}
|
virtual SkPdfReference* asReference() {return NULL;}
|
||||||
virtual const SkPdfReference* asReference() const {return NULL;}
|
virtual const SkPdfReference* asReference() const {return NULL;}
|
||||||
|
|
||||||
|
virtual SkPdfStream* asStream() {return NULL;}
|
||||||
|
virtual const SkPdfStream* asStream() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfString* asString() {return NULL;}
|
virtual SkPdfString* asString() {return NULL;}
|
||||||
virtual const SkPdfString* asString() const {return NULL;}
|
virtual const SkPdfString* asString() const {return NULL;}
|
||||||
|
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -171,20 +171,20 @@ public:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -537,6 +537,9 @@ public:
|
|||||||
virtual SkPdfReference* asReference() {return NULL;}
|
virtual SkPdfReference* asReference() {return NULL;}
|
||||||
virtual const SkPdfReference* asReference() const {return NULL;}
|
virtual const SkPdfReference* asReference() const {return NULL;}
|
||||||
|
|
||||||
|
virtual SkPdfStream* asStream() {return NULL;}
|
||||||
|
virtual const SkPdfStream* asStream() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfString* asString() {return NULL;}
|
virtual SkPdfString* asString() {return NULL;}
|
||||||
virtual const SkPdfString* asString() const {return NULL;}
|
virtual const SkPdfString* asString() const {return NULL;}
|
||||||
|
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -640,11 +640,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DestOutputProfile", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DestOutputProfile", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream DestOutputProfile() const {
|
SkPdfStream* DestOutputProfile() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DestOutputProfile", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "DestOutputProfile", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
@ -165,20 +165,20 @@ private:
|
|||||||
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
virtual SkPdfCIDFontDictionary* asCIDFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfCIDFontDictionary* asCIDFontDictionary() const {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 SkPdfType0FontDictionary* asType0FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType0FontDictionary* asType0FontDictionary() const {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 SkPdfType1FontDictionary* asType1FontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
virtual const SkPdfType1FontDictionary* asType1FontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
virtual SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
virtual const SkPdfMultiMasterFontDictionary* asMultiMasterFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfType3FontDictionary* asType3FontDictionary() {return NULL;}
|
virtual SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() {return NULL;}
|
||||||
virtual const SkPdfType3FontDictionary* asType3FontDictionary() const {return NULL;}
|
virtual const SkPdfTrueTypeFontDictionary* asTrueTypeFontDictionary() const {return NULL;}
|
||||||
|
|
||||||
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
virtual SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() {return NULL;}
|
||||||
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
virtual const SkPdfFormFieldActionsDictionary* asFormFieldActionsDictionary() const {return NULL;}
|
||||||
@ -558,11 +558,11 @@ public:
|
|||||||
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Level1", "", NULL));
|
return (ObjectFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Level1", "", NULL));
|
||||||
}
|
}
|
||||||
|
|
||||||
SkPdfStream Level1() const {
|
SkPdfStream* Level1() const {
|
||||||
SkPdfStream ret;
|
SkPdfStream* ret;
|
||||||
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Level1", "", &ret)) return ret;
|
if (StreamFromDictionary(fPodofoDoc, fPodofoObj->GetDictionary(), "Level1", "", &ret)) return ret;
|
||||||
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
// TODO(edisonn): warn about missing required field, assert for known good pdfs
|
||||||
return SkPdfStream();
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
};
|
};
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user