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
Para
Para.__init__()
Para.on_property_setting()
Para.addressee
Para.complimentary_close
Para.default
Para.endnote
Para.footer
Para.footer_left
Para.footer_right
Para.footnote
Para.frame_contents
Para.h1
Para.h10
Para.h2
Para.h3
Para.h4
Para.h5
Para.h6
Para.h7
Para.h8
Para.h9
Para.header
Para.header_footer
Para.header_left
Para.header_right
Para.heading
Para.horizontal_line
Para.idx
Para.idx_1
Para.idx_2
Para.idx_3
Para.idx_bib1
Para.idx_c1
Para.idx_c10
Para.idx_c2
Para.idx_c3
Para.idx_c4
Para.idx_c5
Para.idx_c6
Para.idx_c7
Para.idx_c8
Para.idx_c9
Para.idx_obj1
Para.idx_separator
Para.idx_tbl1
Para.idx_user1
Para.idx_user10
Para.idx_user2
Para.idx_user3
Para.idx_user4
Para.idx_user5
Para.idx_user6
Para.idx_user7
Para.idx_user8
Para.idx_user9
Para.list_contents
Para.list_heading
Para.pre_text
Para.prop_format_kind
Para.quotations
Para.salutation
Para.sender
Para.signature
Para.tbl_contents
Para.tbl_heading
Para.txt_body
Para.txt_body_indent
Para.txt_first_line_indent
Para.txt_hanging_indent
Para.txt_list_indent
Para.txt_marginalia
Submodules
Module contents
- class ooodev.format.writer.style.BulletList(name='')[source]
Bases:
StyleName
Style 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
None
or 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:
StyleName
Characters 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) –
Style Caption characters
- Return type:
- property prop_format_kind: FormatKind
Gets the kind of style
- Return type:
- class ooodev.format.writer.style.FamilyNamesKind(value)[source]
Bases:
Enum
Style 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:
StyleName
Frame 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:
StyleName
Page 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
obj
is not supported.- Returns:
Page
instance that representsobj
style.- 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:
StyleName
Style 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: