1 // Copyright 2017 PDFium Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #include "xfa/fxfa/app/cxfa_textuserdata.h" 8 9 #include "xfa/fde/css/cfde_csscomputedstyle.h" 10 #include "xfa/fde/css/cfde_cssstyleselector.h" 11 #include "xfa/fde/css/fde_css.h" 12 #include "xfa/fxfa/app/cxfa_linkuserdata.h" 13 14 CXFA_TextUserData::CXFA_TextUserData( 15 const CFX_RetainPtr<CFDE_CSSComputedStyle>& pStyle) 16 : m_pStyle(pStyle) {} 17 18 CXFA_TextUserData::CXFA_TextUserData( 19 const CFX_RetainPtr<CFDE_CSSComputedStyle>& pStyle, 20 const CFX_RetainPtr<CXFA_LinkUserData>& pLinkData) 21 : m_pStyle(pStyle), m_pLinkData(pLinkData) {} 22 23 CXFA_TextUserData::~CXFA_TextUserData() {} 24