1 // Copyright 2017 The PDFium Authors 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/fgas/layout/cfgas_textuserdata.h" 8 9 #include "core/fxcrt/css/cfx_css.h" 10 #include "core/fxcrt/css/cfx_csscomputedstyle.h" 11 #include "core/fxcrt/css/cfx_cssstyleselector.h" 12 #include "xfa/fgas/layout/cfgas_linkuserdata.h" 13 CFGAS_TextUserData(const RetainPtr<CFX_CSSComputedStyle> & pStyle)14CFGAS_TextUserData::CFGAS_TextUserData( 15 const RetainPtr<CFX_CSSComputedStyle>& pStyle) 16 : m_pStyle(pStyle) {} 17 CFGAS_TextUserData(const RetainPtr<CFX_CSSComputedStyle> & pStyle,const RetainPtr<CFGAS_LinkUserData> & pLinkData)18CFGAS_TextUserData::CFGAS_TextUserData( 19 const RetainPtr<CFX_CSSComputedStyle>& pStyle, 20 const RetainPtr<CFGAS_LinkUserData>& pLinkData) 21 : m_pStyle(pStyle), m_pLinkData(pLinkData) {} 22 23 CFGAS_TextUserData::~CFGAS_TextUserData() = default; 24