diff options
author | Lei Zhang <thestig@chromium.org> | 2018-05-07 21:00:46 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-05-07 21:00:46 +0000 |
commit | 91a2af0cec1bd8bf325feb13536251e5b497f03c (patch) | |
tree | 3422f814a31d80fbf7d202d688e1ae60152f2eff /core/fpdftext/cpdf_textpage.h | |
parent | 0c290e89dc29c7019033bff14c9e49ebc0caa9bd (diff) | |
download | pdfium-91a2af0cec1bd8bf325feb13536251e5b497f03c.tar.xz |
Move some CPDF_TextPage methods into an anonymous namespace.
Change-Id: I959d687d7d46fa61e1fe097b0b876ad02d2b123c
Reviewed-on: https://pdfium-review.googlesource.com/32153
Commit-Queue: Lei Zhang <thestig@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdftext/cpdf_textpage.h')
-rw-r--r-- | core/fpdftext/cpdf_textpage.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/core/fpdftext/cpdf_textpage.h b/core/fpdftext/cpdf_textpage.h index eb3950f145..43a03123ca 100644 --- a/core/fpdftext/cpdf_textpage.h +++ b/core/fpdftext/cpdf_textpage.h @@ -108,9 +108,6 @@ class CPDF_TextPage { int CountRects(int start, int nCount); bool GetRect(int rectIndex, CFX_FloatRect* pRect) const; - static bool IsRectIntersect(const CFX_FloatRect& rect1, - const CFX_FloatRect& rect2); - private: enum class TextOrientation { Unknown, @@ -143,7 +140,6 @@ class CPDF_TextPage { const CPDF_PageObjectList* pObjList, CPDF_PageObjectList::const_iterator ObjPos); bool IsSameTextObject(CPDF_TextObject* pTextObj1, CPDF_TextObject* pTextObj2); - uint32_t GetCharWidth(uint32_t charCode, CPDF_Font* pFont) const; void CloseTempLine(); FPDFText_MarkedContent PreMarkedContent(PDFTEXT_Obj pObj); void ProcessMarkedContent(PDFTEXT_Obj pObj); @@ -155,11 +151,7 @@ class CPDF_TextPage { const CPDF_TextObject* pTextObj) const; TextOrientation FindTextlineFlowOrientation() const; void AppendGeneratedCharacter(wchar_t unicode, const CFX_Matrix& formMatrix); - void SwapTempTextBuf(int32_t iCharListStartAppend, int32_t iBufStartAppend); - bool IsRightToLeft(const CPDF_TextObject* pTextObj, - const CPDF_Font* pFont, - size_t nItems) const; UnownedPtr<const CPDF_Page> const m_pPage; std::vector<uint16_t> m_CharIndex; |