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 #ifndef XFA_FXFA_CXFA_TEXTPIECE_H_ 8 #define XFA_FXFA_CXFA_TEXTPIECE_H_ 9 10 #include "core/fxcrt/retain_ptr.h" 11 #include "core/fxge/fx_dib.h" 12 #include "xfa/fgas/layout/cfx_textpiece.h" 13 #include "xfa/fxfa/fxfa_basic.h" 14 15 class CFX_LinkUserData; 16 17 class CXFA_TextPiece : public CFX_TextPiece { 18 public: 19 CXFA_TextPiece(); 20 ~CXFA_TextPiece(); 21 22 int32_t iUnderline; 23 int32_t iLineThrough; 24 XFA_AttributeValue iPeriod; 25 FX_ARGB dwColor; 26 RetainPtr<CFX_LinkUserData> pLinkData; 27 }; 28 29 #endif // XFA_FXFA_CXFA_TEXTPIECE_H_ 30