diff options
Diffstat (limited to 'core/fpdfdoc/csection.h')
-rw-r--r-- | core/fpdfdoc/csection.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/fpdfdoc/csection.h b/core/fpdfdoc/csection.h index d8974cb020..f6a9f3baa2 100644 --- a/core/fpdfdoc/csection.h +++ b/core/fpdfdoc/csection.h @@ -21,7 +21,8 @@ struct CPVT_WordPlace; class CSection { public: explicit CSection(CPDF_VariableText* pVT); - virtual ~CSection(); + ~CSection(); + void ResetAll(); void ResetLineArray(); void ResetWordArray(); @@ -32,7 +33,7 @@ class CSection { void ClearWords(const CPVT_WordRange& PlaceRange); void ClearWord(const CPVT_WordPlace& place); CPVT_FloatRect Rearrange(); - CPVT_Size GetSectionSize(FX_FLOAT fFontSize); + CFX_PointF GetSectionSize(FX_FLOAT fFontSize); CPVT_WordPlace GetBeginWordPlace() const; CPVT_WordPlace GetEndWordPlace() const; CPVT_WordPlace GetPrevWordPlace(const CPVT_WordPlace& place) const; @@ -47,7 +48,7 @@ class CSection { CPVT_WordPlace SecPlace; CPVT_SectionInfo m_SecInfo; CLines m_LineArray; - CPVT_ArrayTemplate<CPVT_WordInfo*> m_WordArray; + CFX_ArrayTemplate<CPVT_WordInfo*> m_WordArray; private: friend class CTypeset; |