diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-03-21 11:31:25 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-03-21 15:55:35 +0000 |
commit | 5c529e6318d46121a5ea38d3edb42c8d9f580fe8 (patch) | |
tree | f11ae317bb4cdb94e69e9b1ae1a6db6342218b61 /xfa/fgas/layout/fgas_rtfbreak.h | |
parent | a766a958c5867a2a5562095ad03f72290db18b98 (diff) | |
download | pdfium-5c529e6318d46121a5ea38d3edb42c8d9f580fe8.tar.xz |
Combine more RTF and TXT Break code
This Cl conbines several more methods from RTFBreak and TXTBreak into
the common Break baseclass.
Change-Id: Ibe2236eb4fd30faab239e7c9c8b578164014eb39
Reviewed-on: https://pdfium-review.googlesource.com/3108
Reviewed-by: Nicolás Peña <npm@chromium.org>
Commit-Queue: dsinclair <dsinclair@chromium.org>
Diffstat (limited to 'xfa/fgas/layout/fgas_rtfbreak.h')
-rw-r--r-- | xfa/fgas/layout/fgas_rtfbreak.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xfa/fgas/layout/fgas_rtfbreak.h b/xfa/fgas/layout/fgas_rtfbreak.h index 865b17ffb3..7cbd250218 100644 --- a/xfa/fgas/layout/fgas_rtfbreak.h +++ b/xfa/fgas/layout/fgas_rtfbreak.h @@ -56,9 +56,6 @@ class CFX_RTFBreak : public CFX_Break { void AddPositionedTab(float fTabPos); CFX_BreakType EndBreak(CFX_BreakType dwStatus); - int32_t CountBreakPieces() const; - const CFX_BreakPiece* GetBreakPieceUnstable(int32_t index) const; - void ClearBreakPieces(); int32_t GetDisplayPos(const FX_RTFTEXTOBJ* pText, FXTEXT_CHARPOS* pCharPos, @@ -74,10 +71,6 @@ class CFX_RTFBreak : public CFX_Break { CFX_BreakType AppendChar_Control(CFX_Char* pCurChar); CFX_BreakType AppendChar_Arabic(CFX_Char* pCurChar); CFX_BreakType AppendChar_Others(CFX_Char* pCurChar); - void SetBreakStatus() override; - CFX_Char* GetLastChar(int32_t index) const; - bool HasRTFLine() const { return m_iReadyLineIndex >= 0; } - FX_CHARTYPE GetUnifiedCharType(FX_CHARTYPE chartype) const; int32_t GetLastPositionedTab() const; bool GetPositionedTab(int32_t* iTabPos) const; @@ -100,7 +93,6 @@ class CFX_RTFBreak : public CFX_Break { std::vector<int32_t> m_PositionedTabs; CFX_RTFLineAlignment m_iAlignment; CFX_RetainPtr<CFX_Retainable> m_pUserData; - uint32_t m_dwIdentity; }; #endif // XFA_FGAS_LAYOUT_FGAS_RTFBREAK_H_ |