ooodev.format.writer.style package
Subpackages
- ooodev.format.writer.style.bullet_list package
- ooodev.format.writer.style.char package
- ooodev.format.writer.style.frame package
- ooodev.format.writer.style.lst package
- ooodev.format.writer.style.page package
- ooodev.format.writer.style.para package
- Subpackages
- Submodules
- Module contents
ParaPara.__init__()Para.on_property_setting()Para.addresseePara.complimentary_closePara.defaultPara.endnotePara.footerPara.footer_leftPara.footer_rightPara.footnotePara.frame_contentsPara.h1Para.h10Para.h2Para.h3Para.h4Para.h5Para.h6Para.h7Para.h8Para.h9Para.headerPara.header_footerPara.header_leftPara.header_rightPara.headingPara.horizontal_linePara.idxPara.idx_1Para.idx_2Para.idx_3Para.idx_bib1Para.idx_c1Para.idx_c10Para.idx_c2Para.idx_c3Para.idx_c4Para.idx_c5Para.idx_c6Para.idx_c7Para.idx_c8Para.idx_c9Para.idx_obj1Para.idx_separatorPara.idx_tbl1Para.idx_user1Para.idx_user10Para.idx_user2Para.idx_user3Para.idx_user4Para.idx_user5Para.idx_user6Para.idx_user7Para.idx_user8Para.idx_user9Para.list_contentsPara.list_headingPara.pre_textPara.prop_format_kindPara.quotationsPara.salutationPara.senderPara.signaturePara.tbl_contentsPara.tbl_headingPara.txt_bodyPara.txt_body_indentPara.txt_first_line_indentPara.txt_hanging_indentPara.txt_list_indentPara.txt_marginalia
Submodules
Module contents
- class ooodev.format.writer.style.BulletList(name='')[source]
Bases:
StyleNameStyle List. Manages List styles for Writer.
Any properties starting with
prop_set or get current instance values.All methods starting with
fmt_can be used to chain together Border Table properties.See also
New in version 0.9.0.
- __init__(name='')[source]
Constructor
- Parameters:
name (Any) – Style Name.
- Raises:
ValueError – If Name is
Noneor empty string.- Return type:
None
See also
- property list_01: BulletList
Gets List style 01 (Bullet •)
- Return type:
- property list_02: BulletList
Gets List style 01 (Dash –)
- Return type:
- property list_03: BulletList
Gets List style 03 (🗹 [checkbox like])
- Return type:
- property list_04: BulletList
Gets List style 0 (triangle like)
- Return type:
- property list_05: BulletList
Gets List style 05 (Bullet ꭗ)
- Return type:
- property none: BulletList
Gets Style that is set to no list style
- Return type:
- property num_123: BulletList
Gets List style Numbering
123- Return type:
- property num_ABC: BulletList
Gets List style Numbering
ABC(upper case)- Return type:
- property num_IVX: BulletList
Gets List style Numbering
IVX(upper case)- Return type:
- property num_abc: BulletList
Gets List style Numbering
abc(lower case)- Return type:
- property num_ivx: BulletList
Gets List style Numbering
ivx(lower case)- Return type:
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type:
- property prop_name: str
Gets/Sets Character style name
- Return type:
str
- class ooodev.format.writer.style.Char(name='')[source]
Bases:
StyleNameCharacters Style.
Any properties starting with
prop_set or get current instance values.All methods starting with
fmt_can be used to chain together Border Table properties.See also
New in version 0.9.0.
- __init__(name='')[source]
Constructor
- Parameters:
name (StyleCharKind, str, optional) – Style Name. Defaults to “Standard”.
- Return type:
None
See also
- on_property_setting(source, event_args)[source]
Triggers for each property that is set
- Parameters:
event_args (KeyValueCancelArgs) – Event Args
source (Any) –
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type:
- class ooodev.format.writer.style.FamilyNamesKind(value)[source]
Bases:
EnumStyle Look ups for Write Families Styles
- CELL_STYLES = 'CellStyles'
- CHARACTER_STYLES = 'CharacterStyles'
- FRAME_STYLES = 'FrameStyles'
- NUMBERING_STYLES = 'NumberingStyles'
- PAGE_STYLES = 'PageStyles'
- PARAGRAPH_STYLES = 'ParagraphStyles'
- TABLE_STYLES = 'TableStyles'
- class ooodev.format.writer.style.Frame(name='')[source]
Bases:
StyleNameFrame Style.
Any properties starting with
prop_set or get current instance values.All methods starting with
fmt_can be used to chain together Border Table properties.See also
New in version 0.9.0.
- __init__(name='')[source]
Constructor
- Parameters:
name (StyleFrameKind, str, optional) – Style Name. Defaults to “Frame”.
- Return type:
None
See also
- on_property_setting(source, event_args)[source]
Triggers for each property that is set
- Parameters:
event_args (KeyValueCancelArgs) – Event Args
source (Any) –
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type:
- class ooodev.format.writer.style.Page(name='')[source]
Bases:
StyleNamePage Style.
See also
New in version 0.9.0.
- __init__(name='')[source]
Constructor
- Parameters:
name (StyleParaKind, str, optional) – Specifies the Page Style that instance applies to.
- Return type:
None
See also
- copy()[source]
- copy(**kwargs)
- copy(**kwargs)
Gets a copy of instance as a new instance
- Return type:
- classmethod from_obj(obj)[source]
- classmethod from_obj(obj, **kwargs)
- classmethod from_obj(obj, **kwargs)
Gets instance from object
- Parameters:
obj (Any) – UNO object.
- Raises:
NotSupportedError – If
objis not supported.- Returns:
Pageinstance that representsobjstyle.- Return type:
- on_property_setting(source, event_args)[source]
Triggers for each property that is set
- Parameters:
event_args (KeyValueCancelArgs) – Event Args
source (Any) –
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type:
- class ooodev.format.writer.style.Para(name='')[source]
Bases:
StyleNameStyle Paragraph. Manages Paragraph styles for Writer.
Any properties starting with
prop_set or get current instance values.All methods starting with
fmt_can be used to chain together Border Table properties.See also
New in version 0.9.0.
- __init__(name='')[source]
Constructor
- Parameters:
name (StyleCharKind, str, optional) – Style Name. Defaults to “Standard”.
- Return type:
None
See also
- on_property_setting(source, event_args)[source]
Triggers for each property that is set
- Parameters:
event_args (KeyValueCancelArgs) – Event Args
source (Any) –
Style Footer
- Return type:
Style Footer Left
- Return type:
Style Footer Right
- Return type:
Style Header Footer
- Return type:
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type: