formattingtagcontroller¶
The formattingtagform
provides an Tag Edit facility. The Base set are protected and included each time loaded.
Custom tags can be defined and saved. The Custom Tag arrays are saved in a pickle so QSettings works on them. Base Tags
cannot be changed.
-
class
openlp.core.ui.formattingtagcontroller.
FormattingTagController
[source]¶ Bases:
object
The
FormattingTagController
manages the non UI functions .-
end_tag_changed
(start_html, end_html)[source]¶ Validate the HTML tags when the end tag has been changed.
- start_html
- The start html tag.
- end_html
- The end html tag.
Save the new tags if they are valid.
-
start_html_to_end_html
(start_html)[source]¶ Return the end HTML for a given start HTML or None if invalid.
- start_html
- The start html tag.
-