Mixin Dc Creator
Mixin class for
Classes:
| Name | Description |
|---|---|
DcCreatorMixin |
Creator of the document, “dc:creator”. |
DcCreatorMixin
Creator of the document, “dc:creator”.
Methods:
| Name | Description |
|---|---|
get_creator |
Get the name of the document creator. |
set_creator |
Set the name of the document creator. |
Attributes:
| Name | Type | Description |
|---|---|---|
creator |
str | None
|
Get or set the |
Source code in odfdo/mixin_dc_creator.py
27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 | |
creator
property
writable
creator: str | None
Get or set the
The
The
get_creator
get_creator() -> str | None
Get the name of the document creator.
This corresponds to the dc:creator element.
Returns:
| Type | Description |
|---|---|
str | None
|
The creator’s name, or |
Source code in odfdo/mixin_dc_creator.py
30 31 32 33 34 35 36 37 38 39 40 41 | |
set_creator
set_creator(creator: str) -> None
Set the name of the document creator.
This updates the dc:creator element.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
creator
|
str
|
The name of the creator to set. |
required |
Source code in odfdo/mixin_dc_creator.py
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | |