TextFrame

Přehled

TextFrame je třída v Aspose.Slides FOSS pro C++.

Zobrazuje TextFrame obsahující odstavce textu.

Vlastnosti

NameTypeAccessDescription
TextFrameTextFrameReadGets the text frame.

Metody

SignatureDescription
TextFrame() → TextFrameCreates a new empty TextFrame instance
TextFrame()
paragraphs() → IParagraphCollectionReturns the list of all paragraphs in a frame. Read-only.
paragraphs() → IParagraphCollectionReturns the list of all paragraphs in a frame. Read-only.
text() → std::stringReturns the plain text for a TextFrame (paragraphs joined by newlines).
set_text(value: std::string)Sets the plain text, splitting on line breaks into separate paragraphs.
text_frame_format() → ITextFrameFormatReturns the formatting object for this TextFrame. Read-only.
text_frame_format() → ITextFrameFormatReturns the formatting object for this TextFrame. Read-only.
parent_shape() → IShapeReturns the parent shape, or nullptr. Read-only.
parent_shape() → IShapeReturns the parent shape, or nullptr. Read-only.
parent_cell() → ICellReturns the parent cell, or nullptr. Read-only.
parent_cell() → ICellReturns the parent cell, or nullptr. Read-only.
as_i_slide_component() → ISlideComponentReturns this as ISlideComponent. Read-only.
as_i_slide_component() → ISlideComponentReturns this as ISlideComponent. Read-only.
slide() → IBaseSlide
slide() → IBaseSlide
as_i_presentation_component() → IPresentationComponent
as_i_presentation_component() → IPresentationComponent
presentation() → IPresentation
presentation() → IPresentation
set_slide(slide: IBaseSlide)Sets the parent slide for this text frame.
set_parent_shape(shape: IShape)Sets the parent shape for this text frame.
set_parent_cell(cell: ICell)Sets the parent cell for this text frame.
init_internal(txbody_element: pugi::xml_node, slide_part: Internal::pptx::SlidePart, parent_slide: IBaseSlide)Initializes internal XML-backed state for this text frame.
 Čeština