aboutsummaryrefslogtreecommitdiff
path: root/xfa/fgas/layout/cfx_breakline.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fgas/layout/cfx_breakline.h')
-rw-r--r--xfa/fgas/layout/cfx_breakline.h38
1 files changed, 0 insertions, 38 deletions
diff --git a/xfa/fgas/layout/cfx_breakline.h b/xfa/fgas/layout/cfx_breakline.h
deleted file mode 100644
index c432b35ce..000000000
--- a/xfa/fgas/layout/cfx_breakline.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2017 PDFium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
-
-#ifndef XFA_FGAS_LAYOUT_CFX_BREAKLINE_H_
-#define XFA_FGAS_LAYOUT_CFX_BREAKLINE_H_
-
-#include <vector>
-
-#include "xfa/fgas/layout/cfx_breakpiece.h"
-#include "xfa/fgas/layout/cfx_char.h"
-
-class CFX_BreakLine {
- public:
- CFX_BreakLine();
- ~CFX_BreakLine();
-
- CFX_Char* GetChar(int32_t index);
- int32_t GetLineEnd() const;
-
- void Clear();
-
- void IncrementArabicCharCount();
- void DecrementArabicCharCount();
- bool HasArabicChar() const { return m_iArabicChars > 0; }
-
- std::vector<CFX_Char> m_LineChars;
- std::vector<CFX_BreakPiece> m_LinePieces;
- int32_t m_iStart = 0;
- int32_t m_iWidth = 0;
-
- private:
- int32_t m_iArabicChars = 0;
-};
-
-#endif // XFA_FGAS_LAYOUT_CFX_BREAKLINE_H_