| OLD | NEW |
| 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/fx_ext.h" | 11 #include "core/fxcrt/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" | |
| 21 #include "xfa/fxfa/include/xfa_ffdoc.h" | |
| 22 #include "xfa/fxfa/include/xfa_fontmgr.h" | |
| 23 #include "xfa/fxfa/parser/cxfa_measurement.h" | 20 #include "xfa/fxfa/parser/cxfa_measurement.h" |
| 21 #include "xfa/fxfa/xfa_ffapp.h" |
| 22 #include "xfa/fxfa/xfa_ffdoc.h" |
| 23 #include "xfa/fxfa/xfa_fontmgr.h" |
| 24 | 24 |
| 25 CXFA_CSSTagProvider::CXFA_CSSTagProvider() | 25 CXFA_CSSTagProvider::CXFA_CSSTagProvider() |
| 26 : m_bTagAvailable(FALSE), m_bContent(FALSE) {} | 26 : m_bTagAvailable(FALSE), m_bContent(FALSE) {} |
| 27 | 27 |
| 28 CXFA_CSSTagProvider::~CXFA_CSSTagProvider() {} | 28 CXFA_CSSTagProvider::~CXFA_CSSTagProvider() {} |
| 29 | 29 |
| 30 XFA_TextPiece::XFA_TextPiece() | 30 XFA_TextPiece::XFA_TextPiece() |
| 31 : pszText(nullptr), pFont(nullptr), pLinkData(nullptr) {} | 31 : pszText(nullptr), pFont(nullptr), pLinkData(nullptr) {} |
| 32 | 32 |
| 33 XFA_TextPiece::~XFA_TextPiece() { | 33 XFA_TextPiece::~XFA_TextPiece() { |
| (...skipping 2061 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2095 m_tabstops.RemoveAll(); | 2095 m_tabstops.RemoveAll(); |
| 2096 m_iTabCount = 0; | 2096 m_iTabCount = 0; |
| 2097 } | 2097 } |
| 2098 | 2098 |
| 2099 void CXFA_TextTabstopsContext::Reset() { | 2099 void CXFA_TextTabstopsContext::Reset() { |
| 2100 m_iTabIndex = -1; | 2100 m_iTabIndex = -1; |
| 2101 m_bTabstops = FALSE; | 2101 m_bTabstops = FALSE; |
| 2102 m_fTabWidth = 0; | 2102 m_fTabWidth = 0; |
| 2103 m_fLeft = 0; | 2103 m_fLeft = 0; |
| 2104 } | 2104 } |
| OLD | NEW |