NotesSlidePart

Vue de l’ensemble

‘NotesSlidePart’ est une classe dans Aspose.Sliides FOSS pour C++.

Gérer une note en couverture de la partie XML (ppt/notesSlides/notiersSm.xml). fournit accès à des notes texte et gestion du contenu de place.

Cette classe fournit 14 méthodes pour travailler avec les objets NotesSlidePart dans des programmes C++. Les méthodologies disponibles comprennent: add_placeholder, build_notes_xml , compute_relative_target ‘create_empty’, find_note_master,, get_notiers_txbody has_locholder‘, 'name et part_name' , 'remove ; ‘rémove_placementholder’ et 2 méthode supplémentaires. Tous les membres publics sont accessibles à toute application C ++ après l’installation de la version Aspose.Sliides FOSS pour le package C+.

méthodes

SignatureDescription
part_name()std::stringGet the part name of this notes slide.
name()std::stringGet the slide name from .
set_name(value: std::string_view)Set the slide name on .
get_notes_txbody()pugi::xml_nodeGet the txBody element of the notes body placeholder.
has_placeholder(type: std::string_view)boolCheck if a placeholder of the given type exists.
remove_placeholder(type: std::string_view)Remove the placeholder shape of the given type.
add_placeholder(type: std::string_view)Add a minimal placeholder shape of the given type (if not already present).
set_placeholder_text(type: std::string_view, text: std::string_view)Set text content for a placeholder shape. Adds the placeholder if absent.
save()Save the notes slide XML back to the package.
create_empty(package: opc::OpcPackage, slide_part_name: std::string_view)NotesSlidePartCreate a new empty notes slide in the package for a given slide.
remove(package: opc::OpcPackage, part_name: std::string_view)Delete a notes slide and its associated files from the package.
compute_relative_target(from_part: std::string_view, to_part: std::string_view)std::stringCompute a relative path from one part to another.
find_notes_master(package: opc::OpcPackage)std::optional<std::string>Find the notes master part name in the package.
build_notes_xml()std::vector<uint8_t>Build a minimal notes slide XML document.

Voir aussi

  • Aspose.Slides - référence API d’entreprise
 Français