Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Side by Side Diff: xfa/src/fgas/src/layout/fx_textbreak.h

Issue 1722803002: Sort includes in xfa/. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #ifndef XFA_SRC_FGAS_SRC_LAYOUT_FX_TEXTBREAK_H_ 7 #ifndef XFA_SRC_FGAS_SRC_LAYOUT_FX_TEXTBREAK_H_
8 #define XFA_SRC_FGAS_SRC_LAYOUT_FX_TEXTBREAK_H_ 8 #define XFA_SRC_FGAS_SRC_LAYOUT_FX_TEXTBREAK_H_
9 9
10 #include "core/include/fxcrt/fx_memory.h" 10 #include "core/include/fxcrt/fx_memory.h"
11 #include "xfa/src/fgas/src/layout/fx_unicode.h"
11 12
12 class IFX_ArabicChar; 13 class IFX_ArabicChar;
13 class CFX_Txtbreak; 14 class CFX_Txtbreak;
14 15
15 class CFX_TxtLine { 16 class CFX_TxtLine {
16 public: 17 public:
17 CFX_TxtLine(int32_t iBlockSize) 18 CFX_TxtLine(int32_t iBlockSize)
18 : m_iStart(0), m_iWidth(0), m_iArabicChars(0) { 19 : m_iStart(0), m_iWidth(0), m_iArabicChars(0) {
19 m_pLineChars = new CFX_TxtCharArray; 20 m_pLineChars = new CFX_TxtCharArray;
20 m_pLinePieces = new CFX_TxtPieceArray(16); 21 m_pLinePieces = new CFX_TxtPieceArray(16);
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
163 int32_t GetBreakPos(CFX_TxtCharArray& ca, 164 int32_t GetBreakPos(CFX_TxtCharArray& ca,
164 int32_t& iEndPos, 165 int32_t& iEndPos,
165 FX_BOOL bAllChars = FALSE, 166 FX_BOOL bAllChars = FALSE,
166 FX_BOOL bOnlyBrk = FALSE); 167 FX_BOOL bOnlyBrk = FALSE);
167 void SplitTextLine(CFX_TxtLine* pCurLine, 168 void SplitTextLine(CFX_TxtLine* pCurLine,
168 CFX_TxtLine* pNextLine, 169 CFX_TxtLine* pNextLine,
169 FX_BOOL bAllChars = FALSE); 170 FX_BOOL bAllChars = FALSE);
170 }; 171 };
171 172
172 #endif // XFA_SRC_FGAS_SRC_LAYOUT_FX_TEXTBREAK_H_ 173 #endif // XFA_SRC_FGAS_SRC_LAYOUT_FX_TEXTBREAK_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698