Back to bricks list
Introduction
Getting Started
Developer guide
Release
Architecture
CLI
Technical documentations
Version

RichTextParagraphText

Class to manipulate the rich text paragraph text (including variables)

Attributes
text: str
Functions
__INIT__

Initialize self. See help(type(self)) for accurate signature.

text : str
GET_ELEMENTS_AFTER_AS_STR
target_element : BeautifulSoup
Return type : str
GET_ELEMENTS_BEFORE_AS_STR
target_element : BeautifulSoup
Return type : str
REPLACE_PARAMETER_WITH_BLOCK

Replace the variable in the rich text content text

variable_name : str
the name of the variable to replace
Return type : ReplaceWithBlockResultDTO
REPLACE_PARAMETER_WITH_TEXT

Replace the variable in the rich text content text

parameter_name : str
value : str
the value to replace the variable
replace_block : bool - False
if True, the variable block will be remove and only the value will be displayed
Return type : str