NotesSlidePart
Overview
NotesSlidePart is a class in Aspose.Slides for Python.
Manages a notes slide XML part (ppt/notesSlides/notesSlideN.xml).
Properties
| Name | Type | Access | Description |
|---|---|---|---|
part_name | str | Read | Holds the internal part name (path) of the notes slide within the package |
name | str | Read | Provides the friendly name of the notes slide part |
Methods
| Signature | Description |
|---|---|
__init__(package: OpcPackage, part_name: str) | Initialize a notes slide part from an existing part in the package. |
get_notes_txbody() → Optional[ET._Element] | Get the txBody element of the notes body placeholder. |
has_placeholder(ph_type: str) → bool | Check if a placeholder of the given type exists in the notes slide. |
remove_placeholder(ph_type: str) | Remove the placeholder shape of the given type. |
add_placeholder(ph_type: str) | Add a minimal placeholder shape of the given type (if not already present). |
set_placeholder_text(ph_type: str, text: str) | Set text content for a placeholder shape. |
save() | Save the notes slide XML back to the package. |
create_empty(package: OpcPackage, slide_part_name: str) → 'NotesSlidePart' | Create a new empty notes slide in the package for a given slide. |
delete(package: OpcPackage, part_name: str) | Delete a notes slide and its associated files from the package. |