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

Side by Side Diff: experimental/PdfViewer/SkPdfHexString_autogen.h

Issue 17748002: Basic support for Type3 Fonts in Pdf + various refactorings (Closed) Base URL: http://skia.googlecode.com/svn/trunk/
Patch Set: Created 7 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 #ifndef __DEFINED__SkPdfHexString
2 #define __DEFINED__SkPdfHexString
3
4 #include "SkPdfEnums_autogen.h"
5 #include "SkPdfArray_autogen.h"
6 #include "SkPdfString_autogen.h"
7
8 class SkPdfHexString : public SkPdfString {
9 public:
10 virtual SkPdfObjectType getType() const { return kHexString_SkPdfObjectType;}
11 virtual SkPdfObjectType getTypeEnd() const { return (SkPdfObjectType)(kHexStri ng_SkPdfObjectType + 1);}
12 public:
13 virtual SkPdfHexString* asHexString() {return this;}
14 virtual const SkPdfHexString* asHexString() const {return this;}
15
16 private:
17 public:
18 const std::string& value() const {return fPodofoObj->GetString().GetStringUtf8 ();}
19 private:
20 public:
21 SkPdfHexString(const PdfMemDocument* podofoDoc = NULL, const PdfObject* podofo Obj = NULL) : SkPdfString(podofoDoc, podofoObj) {}
22
23 virtual bool valid() const {return true;}
24
25 SkPdfHexString& operator=(const SkPdfHexString& from) {this->fPodofoDoc = from .fPodofoDoc; this->fPodofoObj = from.fPodofoObj; return *this;}
26
27 };
28
29 #endif // __DEFINED__SkPdfHexString
OLDNEW
« no previous file with comments | « experimental/PdfViewer/SkPdfHeaders_autogen.h ('k') | experimental/PdfViewer/SkPdfHideActionDictionary_autogen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698