Paragraph

Overview

Paragraph เป็นคลาสใน Aspose.Slides FOSS สําหรับ Java. ทายาทจาก: IParagraph, ISlideComponent, IPresentationComponent.

เป็นข้อความในบทความ.

หมวดนี้ให้วิธีการ 12 สําหรับทํางานกับวัตถุ Paragraph ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: Paragraph, asIPresentationComponent, asISlideComponent, getParagraphFormat, getPortions, getPresentation, getSlide, getText, initInternal, setSlide, setText. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: paragraphFormat, portions, presentation, slide, text.

Properties

NameTypeAccessDescription
portionsIPortionCollectionReadได้รับส่วนของอาหาร.
paragraphFormatIParagraphFormatReadได้รูปแบบของข้อความ.
textStringReadได้ข้อความมาแล้ว.
slideIBaseSlideReadได้รับสไลด์.
presentationIPresentationReadได้รับการนําเสนอ.

Methods

SignatureDescription
Paragraph()สร้าง Paragraph ฟุ้งใหม่ โดยมีองค์ประกอบ {@code <a:p>} ที่แยกออกไป.
Paragraph(pElement: Element, saveCallback: Runnable)สร้าง Paragraph ที่รองรับด้วยตัวปัจจัย XML.
initInternal(pElement: Element, txbodyElement: Element, slidePart: Object, parentSlide: IBaseSlide)Paragraphเริ่มข้อนี้จากองค์ประกอบ OOXML ที่มีอยู่.
getPortions()IPortionCollectionกลับส่วนของคืนมา.
getParagraphFormat()IParagraphFormatการส่งกลับรูปแบบของข้อความ.
getText()Stringส่งข้อความกลับ.
setText(value: String)กําหนดค่าข้อความ.
asISlideComponent()ISlideComponentการโยนข้อตกลงไปยัง ISlideComponent ช่องทางสัมผัส
asIPresentationComponent()IPresentationComponentการโยนข้อตกลงไปยัง IPresentationComponent ช่องทางสัมผัส
getSlide()IBaseSlideกลับสไลด์.
setSlide(slide: IBaseSlide)กําหนดสไลด์แม่สําหรับข้อนี้.
getPresentation()IPresentationส่งผลการแสดงภาพกลับคืนมา.

See Also

 ภาษาไทย