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

Side by Side Diff: xfa/src/fee/fde_txtedtparag.cpp

Issue 1778633003: Collapse xfa/src/fee directories (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Created 4 years, 9 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
« no previous file with comments | « xfa/src/fee/fde_txtedtparag.h ('k') | xfa/src/fee/fx_wordbreak/fx_wordbreak.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "xfa/src/fee/src/fee/fde_txtedtparag.h" 7 #include "xfa/src/fee/fde_txtedtparag.h"
8 8
9 #include "xfa/src/fee/include/fx_wordbreak.h" 9 #include "xfa/src/fee/fde_txtedtbuf.h"
10 #include "xfa/src/fee/include/ifde_txtedtbuf.h" 10 #include "xfa/src/fee/fde_txtedtengine.h"
11 #include "xfa/src/fee/include/ifde_txtedtengine.h" 11 #include "xfa/src/fee/fx_wordbreak/fx_wordbreak.h"
12 #include "xfa/src/fee/src/fee/fde_txtedtbuf.h" 12 #include "xfa/src/fee/ifde_txtedtbuf.h"
13 #include "xfa/src/fee/src/fee/fde_txtedtengine.h" 13 #include "xfa/src/fee/ifde_txtedtengine.h"
14 #include "xfa/src/fgas/include/fx_tbk.h" 14 #include "xfa/src/fgas/include/fx_tbk.h"
15 15
16 CFDE_TxtEdtParag::CFDE_TxtEdtParag(CFDE_TxtEdtEngine* pEngine) 16 CFDE_TxtEdtParag::CFDE_TxtEdtParag(CFDE_TxtEdtEngine* pEngine)
17 : m_nCharStart(0), 17 : m_nCharStart(0),
18 m_nCharCount(0), 18 m_nCharCount(0),
19 m_nLineCount(0), 19 m_nLineCount(0),
20 m_lpData(NULL), 20 m_lpData(NULL),
21 m_pEngine(pEngine) { 21 m_pEngine(pEngine) {
22 FXSYS_assert(m_pEngine); 22 FXSYS_assert(m_pEngine);
23 } 23 }
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
141 int32_t* pLineBaseArr = (int32_t*)m_lpData; 141 int32_t* pLineBaseArr = (int32_t*)m_lpData;
142 FXSYS_assert(nLineIndex < m_nLineCount); 142 FXSYS_assert(nLineIndex < m_nLineCount);
143 nStart = m_nCharStart; 143 nStart = m_nCharStart;
144 pLineBaseArr++; 144 pLineBaseArr++;
145 for (int32_t i = 0; i < nLineIndex; i++) { 145 for (int32_t i = 0; i < nLineIndex; i++) {
146 nStart += *pLineBaseArr; 146 nStart += *pLineBaseArr;
147 pLineBaseArr++; 147 pLineBaseArr++;
148 } 148 }
149 nCount = *pLineBaseArr; 149 nCount = *pLineBaseArr;
150 } 150 }
OLDNEW
« no previous file with comments | « xfa/src/fee/fde_txtedtparag.h ('k') | xfa/src/fee/fx_wordbreak/fx_wordbreak.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698