Paragraph

Overview

Paragraph là một lớp trong Aspose.Slides FOSS cho Java. Dòng thừa kế từ: IParagraph, ISlideComponent, IPresentationComponent.

  • Tạo một đoạn văn.

Khóa học này cung cấp 12 phương pháp để làm việc với các đối tượng của đoạn trong các chương trình Java. Các phương pháp có sẵn bao gồm: Paragraph, asIPresentationComponent, asISlideComponent, getParagraphFormat, getPortions, getPresentation, getSlide, getText, initInternal, setSlide, setText. Tất cả các thành viên công cộng đều có thể truy cập bất kỳ ứng dụng Java nào sau khi cài đặt Aspose.Slides FOSS cho gói Java. Tài sản : paragraphFormat, portions, presentation, slide, text.

Properties

NameTypeAccessDescription
portionsIPortionCollectionReadNhận các phần.
paragraphFormatIParagraphFormatReadNhận định dạng đoạn.
textStringReadNhận được văn bản.
slideIBaseSlideReadGửi slide.
presentationIPresentationReadNhận được trình bày.

Methods

SignatureDescription
Paragraph()Tạo một đoạn trống mới với một yếu tố {@code <a:p>} bị tách ra.
Paragraph(pElement: Element, saveCallback: Runnable)Tạo một đoạn được hỗ trợ bởi một yếu tố XML hiện có.
initInternal(pElement: Element, txbodyElement: Element, slidePart: Object, parentSlide: IBaseSlide)ParagraphBắt đầu đoạn này từ các yếu tố OOXML hiện có.
getPortions()IPortionCollectionQuay lại các phần.
getParagraphFormat()IParagraphFormatTrả lại định dạng đoạn.
getText()StringTrả lại văn bản.
setText(value: String)Đặt giá trị văn bản.
asISlideComponent()ISlideComponentChèn đoạn này vào một giao diện ISlideComponent
asIPresentationComponent()IPresentationComponentChèn đoạn này vào một giao diện IPresentationComponent
getSlide()IBaseSlideTrở lại slide.
setSlide(slide: IBaseSlide)Đặt slide cha mẹ cho đoạn này.
getPresentation()IPresentationTrở lại bản trình bày.

See Also

 Tiếng Việt