|
|
| FArticyRichTextDecorator (URichTextBlock *InOwner, UArticyRichTextDecorator *InDecorator) |
| virtual bool | Supports (const FTextRunParseResults &RunParseResult, const FString &Text) const override |
|
| virtual TSharedPtr< SWidget > | CreateDecoratorWidget (const FTextRunInfo &RunInfo, const FTextBlockStyle &TextStyle) const override |
◆ CreateDecoratorWidget()
| virtual TSharedPtr< SWidget > FArticyRichTextDecorator::CreateDecoratorWidget |
( |
const FTextRunInfo & | RunInfo, |
|
|
const FTextBlockStyle & | TextStyle ) const |
|
inlineoverrideprotectedvirtual |
Creates a widget for text decoration based on the run info.
- Parameters
-
| RunInfo | Information about the text run. |
| TextStyle | The style applied to the text. |
- Returns
- A shared pointer to the created widget, or nullptr if no widget was created.
◆ Supports()
| virtual bool FArticyRichTextDecorator::Supports |
( |
const FTextRunParseResults & | RunParseResult, |
|
|
const FString & | Text ) const |
|
inlineoverridevirtual |
Determines if this decorator supports the given text run based on its metadata.
- Parameters
-
| RunParseResult | The parsed results of the text run. |
| Text | The text of the run. |
- Returns
- True if the decorator supports the run (i.e., has a color or link attribute), otherwise false.
The documentation for this class was generated from the following file:
- Source/ArticyRuntime/Private/ArticyRichTextDecorator.cpp