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

Side by Side Diff: xfa/fxfa/app/xfa_textlayout.cpp

Issue 2165993002: Move xfa_basic_imp to cxfa_widetextread. (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@master
Patch Set: Review feedback Created 4 years, 5 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/fxfa/app/xfa_ffwidgethandler.cpp ('k') | xfa/fxfa/include/fxfa_basic.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/fxfa/app/xfa_textlayout.h" 7 #include "xfa/fxfa/app/xfa_textlayout.h"
8 8
9 #include <algorithm> 9 #include <algorithm>
10 10
11 #include "core/fxcrt/include/fx_ext.h" 11 #include "core/fxcrt/include/fx_ext.h"
12 #include "xfa/fde/cfde_path.h" 12 #include "xfa/fde/cfde_path.h"
13 #include "xfa/fde/css/fde_csscache.h" 13 #include "xfa/fde/css/fde_csscache.h"
14 #include "xfa/fde/css/fde_cssstyleselector.h" 14 #include "xfa/fde/css/fde_cssstyleselector.h"
15 #include "xfa/fde/fde_gedevice.h" 15 #include "xfa/fde/fde_gedevice.h"
16 #include "xfa/fde/fde_object.h" 16 #include "xfa/fde/fde_object.h"
17 #include "xfa/fde/xml/fde_xml_imp.h" 17 #include "xfa/fde/xml/fde_xml_imp.h"
18 #include "xfa/fgas/crt/fgas_codepage.h" 18 #include "xfa/fgas/crt/fgas_codepage.h"
19 #include "xfa/fxfa/app/xfa_ffwidgetacc.h" 19 #include "xfa/fxfa/app/xfa_ffwidgetacc.h"
20 #include "xfa/fxfa/include/xfa_ffapp.h" 20 #include "xfa/fxfa/include/xfa_ffapp.h"
21 #include "xfa/fxfa/include/xfa_ffdoc.h" 21 #include "xfa/fxfa/include/xfa_ffdoc.h"
22 #include "xfa/fxfa/include/xfa_fontmgr.h" 22 #include "xfa/fxfa/include/xfa_fontmgr.h"
23 #include "xfa/fxfa/parser/cxfa_measurement.h"
23 24
24 CXFA_CSSTagProvider::CXFA_CSSTagProvider() 25 CXFA_CSSTagProvider::CXFA_CSSTagProvider()
25 : m_bTagAvailable(FALSE), m_bContent(FALSE) {} 26 : m_bTagAvailable(FALSE), m_bContent(FALSE) {}
26 27
27 CXFA_CSSTagProvider::~CXFA_CSSTagProvider() {} 28 CXFA_CSSTagProvider::~CXFA_CSSTagProvider() {}
28 29
29 XFA_TextPiece::XFA_TextPiece() 30 XFA_TextPiece::XFA_TextPiece()
30 : pszText(nullptr), pFont(nullptr), pLinkData(nullptr) {} 31 : pszText(nullptr), pFont(nullptr), pLinkData(nullptr) {}
31 32
32 XFA_TextPiece::~XFA_TextPiece() { 33 XFA_TextPiece::~XFA_TextPiece() {
(...skipping 2049 matching lines...) Expand 10 before | Expand all | Expand 10 after
2082 m_tabstops.RemoveAll(); 2083 m_tabstops.RemoveAll();
2083 m_iTabCount = 0; 2084 m_iTabCount = 0;
2084 } 2085 }
2085 2086
2086 void CXFA_TextTabstopsContext::Reset() { 2087 void CXFA_TextTabstopsContext::Reset() {
2087 m_iTabIndex = -1; 2088 m_iTabIndex = -1;
2088 m_bTabstops = FALSE; 2089 m_bTabstops = FALSE;
2089 m_fTabWidth = 0; 2090 m_fTabWidth = 0;
2090 m_fLeft = 0; 2091 m_fLeft = 0;
2091 } 2092 }
OLDNEW
« no previous file with comments | « xfa/fxfa/app/xfa_ffwidgethandler.cpp ('k') | xfa/fxfa/include/fxfa_basic.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698