diff options
author | 2012-03-21 19:59:04 +0000 | |
---|---|---|
committer | 2012-03-21 19:59:04 +0000 | |
commit | bd960c7f1915c73ceec1c1ee7cd23b48107cb0bd (patch) | |
tree | 4d64156fcda4716ed005756de5921d204ae3466f /include/pdf/SkPDFDocument.h | |
parent | 6970557055acaed619d7bb89451868e1570249b2 (diff) |
[PDF] Move most of the headers to be private.
Compute font stats in SkPDFDocument in order to make more of the headers private.
Previous review: https://codereview.appspot.com/5865048/
Review URL: https://codereview.appspot.com/5868049
git-svn-id: http://skia.googlecode.com/svn/trunk@3457 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'include/pdf/SkPDFDocument.h')
-rw-r--r-- | include/pdf/SkPDFDocument.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/include/pdf/SkPDFDocument.h b/include/pdf/SkPDFDocument.h index c1c6fb4c64..1a4a51fa43 100644 --- a/include/pdf/SkPDFDocument.h +++ b/include/pdf/SkPDFDocument.h @@ -10,15 +10,17 @@ #ifndef SkPDFDocument_DEFINED #define SkPDFDocument_DEFINED -#include "SkPDFTypes.h" +#include "SkAdvancedTypefaceMetrics.h" #include "SkRefCnt.h" #include "SkTDArray.h" #include "SkTScopedPtr.h" class SkPDFCatalog; class SkPDFDevice; +class SkPDFDict; class SkPDFPage; -class SkWSteam; +class SkPDFObject; +class SkWStream; /** \class SkPDFDocument @@ -62,9 +64,10 @@ public: */ SK_API bool appendPage(SkPDFDevice* pdfDevice); - /** Get the list of pages in this document. + /** Get the count of unique font types used in the document. */ - SK_API const SkTDArray<SkPDFPage*>& getPages(); + SK_API void getCountOfFontTypes( + int counts[SkAdvancedTypefaceMetrics::kNotEmbeddable_Font + 1]) const; private: SkTScopedPtr<SkPDFCatalog> fCatalog; |