dav_tools.messages.formatted_text ================================= .. py:module:: dav_tools.messages.formatted_text .. autoapi-nested-parse:: Utilities for handling text formatting. Classes ------- .. autoapisummary:: dav_tools.messages.formatted_text.FormattedText Module Contents --------------- .. py:class:: FormattedText(text, *options) Represents text with optional formatting options applied. :param text: The text content to be formatted. :param options: Optional formatting options to be applied to the text. .. py:method:: get_format() Constructs the formatting string based on the provided options. :returns: A string representing the combined formatting options. .. py:method:: reset_format() :staticmethod: Provides the reset formatting string to clear any applied styles. :returns: A string representing the reset formatting option.