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_textbreak.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_textbreak.h')
-rw-r--r-- | xfa/fgas/layout/fgas_textbreak.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/xfa/fgas/layout/fgas_textbreak.h b/xfa/fgas/layout/fgas_textbreak.h index 439a7ee15b..81aaf58219 100644 --- a/xfa/fgas/layout/fgas_textbreak.h +++ b/xfa/fgas/layout/fgas_textbreak.h @@ -64,9 +64,6 @@ class CFX_TxtBreak : public CFX_Break { void SetAlignment(int32_t iAlignment); void SetCombWidth(float fCombWidth); CFX_BreakType EndBreak(CFX_BreakType dwStatus); - int32_t CountBreakPieces() const; - const CFX_BreakPiece* GetBreakPiece(int32_t index) const; - void ClearBreakPieces(); int32_t GetDisplayPos(const FX_TXTRUN* pTxtRun, FXTEXT_CHARPOS* pCharPos, @@ -84,10 +81,6 @@ class CFX_TxtBreak : public CFX_Break { CFX_BreakType AppendChar_Arabic(CFX_Char* pCurChar); CFX_BreakType AppendChar_Others(CFX_Char* pCurChar); - void SetBreakStatus() override; - CFX_Char* GetLastChar(int32_t index, bool bOmitChar = true) const; - bool HasTxtLine() const { return m_iReadyLineIndex >= 0; } - FX_CHARTYPE GetUnifiedCharType(FX_CHARTYPE dwType) const; void ResetContextCharStyles(); bool EndBreak_SplitLine(CFX_BreakLine* pNextLine, bool bAllChars); void EndBreak_BidiLine(std::deque<FX_TPO>* tpos, CFX_BreakType dwStatus); |