from LOGS.Entities.LabNotebookEntryContent.EntryContentItem import EntryContentItem
from LOGS.Entities.LabNotebookEntryContent.IEntryContentWithAttribute import (
IEntryContentWithAttribute,
)
from LOGS.Entities.LabNotebookEntryContent.TextMarkAtributes import (
TextMarkAttributeDefault,
TextMarkAttributeLink,
TextMarkAttributeTextColor,
TextMarkAttributeTextHighlight,
)
[docs]
class TextMarkBold(EntryContentItem, IEntryContentWithAttribute):
_type = "bold"
_attrType = TextMarkAttributeDefault
[docs]
class TextMarkItalic(EntryContentItem, IEntryContentWithAttribute):
_type = "italic"
_attrType = TextMarkAttributeDefault
[docs]
class TextMarkUnderline(EntryContentItem, IEntryContentWithAttribute):
_type = "underline"
_attrType = TextMarkAttributeDefault
[docs]
class TextMarkStrike(EntryContentItem, IEntryContentWithAttribute):
_type = "strike"
_attrType = TextMarkAttributeDefault
[docs]
class TextMarkSup(EntryContentItem, IEntryContentWithAttribute):
_type = "sup"
_attrType = TextMarkAttributeDefault
[docs]
class TextMarkSub(EntryContentItem, IEntryContentWithAttribute):
_type = "sub"
_attrType = TextMarkAttributeDefault
[docs]
class TextMarkCode(EntryContentItem, IEntryContentWithAttribute):
_type = "code"
_attrType = TextMarkAttributeDefault
[docs]
class TextMarkTextColor(
EntryContentItem, IEntryContentWithAttribute[TextMarkAttributeTextColor]
):
_type = "textColor"
_attrType = TextMarkAttributeTextColor
[docs]
class TextMarkTextHighlight(
EntryContentItem, IEntryContentWithAttribute[TextMarkAttributeTextHighlight]
):
_type = "textHighlight"
_attrType = TextMarkAttributeTextHighlight
[docs]
class TextMarkLink(EntryContentItem, IEntryContentWithAttribute[TextMarkAttributeLink]):
_type = "link"
_attrType = TextMarkAttributeLink
[docs]
class TextMarkContentPlaceholder(
EntryContentItem, IEntryContentWithAttribute[TextMarkAttributeLink]
):
_type = "contentPlaceholder"
_attrType = TextMarkAttributeLink