Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
cfgas_textuserdata.cpp
Go to the documentation of this file.
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
14CFGAS_TextUserData::CFGAS_TextUserData(
15 const RetainPtr<CFX_CSSComputedStyle>& pStyle)
16 : m_pStyle(pStyle) {}
17
18CFGAS_TextUserData::CFGAS_TextUserData(
19 const RetainPtr<CFX_CSSComputedStyle>& pStyle,
20 const RetainPtr<CFGAS_LinkUserData>& pLinkData)
21 : m_pStyle(pStyle), m_pLinkData(pLinkData) {}
22
23CFGAS_TextUserData::~CFGAS_TextUserData() = default;
~CFGAS_TextUserData() override