Paragraph

Overview

Paragraph is a class in Aspose.Slides FOSS for C++.

Represents a text paragraph within a text frame.

This class declares 21 methods for Paragraph objects in C++ programs. Available methods include: Paragraph, as_i_presentation_component, as_i_slide_component, init_internal, p_element, paragraph_format, portions, presentation, set_slide, set_text, slide, slide_part, and 2 additional methods. Public members are accessible to any C++ application after installing the Aspose.Slides FOSS for C++ package. Accessor methods: Paragraph.

Accessor Methods

NameTypeAccessDescription
ParagraphParagraphReadGets the paragraph.

Methods

SignatureDescription
Paragraph() → ParagraphProvides access to the paragraph instance itself
Paragraph()
text() → std::stringReturns the text content of the paragraph.
set_text(value: std::string)Sets the text content of the paragraph.
paragraph_format() → ParagraphFormatReturns the paragraph format.
paragraph_format() → ParagraphFormatCalls paragraph_format on this Paragraph instance.
portions() → PortionCollectionReturns the collection of text portions.
portions() → PortionCollectionCalls portions on this Paragraph instance.
as_i_slide_component() → ISlideComponentReturns this as ISlideComponent.
as_i_slide_component() → ISlideComponentCalls as_i_slide_component on this Paragraph instance.
slide() → IBaseSlideCalls slide on this Paragraph instance.
slide() → IBaseSlide
as_i_presentation_component() → IPresentationComponentCalls as_i_presentation_component on this Paragraph instance.
as_i_presentation_component() → IPresentationComponent
presentation() → IPresentationCalls presentation on this Paragraph instance.
presentation() → IPresentation
init_internal(p_element: pugi::xml_node, txbody_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide)Initialize this paragraph from XML elements within a slide part.
p_element() → pugi::xml_nodeReturns the backing XML element, if any.
txbody_element() → pugi::xml_nodeReturns the backing XML element, if any.
slide_part() → Internal::pptx::SlidePartReturns the owning SlidePart, or nullptr.
set_slide(slide: IBaseSlide)Sets the parent slide for this paragraph.

See Also

 English