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
CXFA_TextProvider Class Reference

#include <cxfa_textprovider.h>

+ Inheritance diagram for CXFA_TextProvider:
+ Collaboration diagram for CXFA_TextProvider:

Public Types

enum class  Type : uint8_t { kText , kCaption , kRollover , kDown }
 

Public Member Functions

 ~CXFA_TextProvider ()
 
void Trace (cppgc::Visitor *visitor) const
 
CXFA_NodeGetTextNode (bool *bRichText)
 
CXFA_ParaGetParaIfExists ()
 
CXFA_FontGetFontIfExists ()
 
bool IsCheckButtonAndAutoWidth () const
 
absl::optional< WideStringGetEmbeddedObj (const WideString &wsAttr) const
 

Public Attributes

 CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED
 

Detailed Description

Definition at line 22 of file cxfa_textprovider.h.

Member Enumeration Documentation

◆ Type

enum class CXFA_TextProvider::Type : uint8_t
strong
Enumerator
kText 
kCaption 
kRollover 
kDown 

Definition at line 24 of file cxfa_textprovider.h.

Constructor & Destructor Documentation

◆ ~CXFA_TextProvider()

CXFA_TextProvider::~CXFA_TextProvider ( )
default

Member Function Documentation

◆ GetEmbeddedObj()

absl::optional< WideString > CXFA_TextProvider::GetEmbeddedObj ( const WideString & wsAttr) const

Definition at line 135 of file cxfa_textprovider.cpp.

References CXFA_Document::GetNodeByID(), CXFA_Node::GetValue(), CXFA_Document::GetXFAObject(), kDisplay, ToNode(), and XFA_HASHCODE_Form.

+ Here is the call graph for this function:

◆ GetFontIfExists()

CXFA_Font * CXFA_TextProvider::GetFontIfExists ( )

◆ GetParaIfExists()

CXFA_Para * CXFA_TextProvider::GetParaIfExists ( )

Definition at line 110 of file cxfa_textprovider.cpp.

Referenced by CXFA_TextParser::CreateRootStyle(), CXFA_TextParser::GetLineHeight(), and CXFA_TextParser::GetVAlign().

+ Here is the caller graph for this function:

◆ GetTextNode()

CXFA_Node * CXFA_TextProvider::GetTextNode ( bool * bRichText)

Definition at line 46 of file cxfa_textprovider.cpp.

References fxcrt::WideString::EqualsASCII(), CXFA_Object::GetElementType(), kCaption, kDown, kRollover, and kText.

+ Here is the call graph for this function:

◆ IsCheckButtonAndAutoWidth()

bool CXFA_TextProvider::IsCheckButtonAndAutoWidth ( ) const

Definition at line 129 of file cxfa_textprovider.cpp.

◆ Trace()

void CXFA_TextProvider::Trace ( cppgc::Visitor * visitor) const

Definition at line 42 of file cxfa_textprovider.cpp.

Member Data Documentation

◆ CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

CXFA_TextProvider::CONSTRUCT_VIA_MAKE_GARBAGE_COLLECTED

Definition at line 31 of file cxfa_textprovider.h.


The documentation for this class was generated from the following files: