Cell

ภาพรวม

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

แสดงถึงเซลล์ของโต๊ะ.

หมวดนี้ให้ 41 วิธีในการทํางานกับวัตถุเซลล์ในโปรแกรม Java. วิธีการที่ใช้ได้แก่: Cell, asIPresentationComponent, ensureTcPr, getAsIPresentationComponent, getAsISlideComponent, getCellFormat, getColSpan, getFirstColumn, getFirstColumnIndex, getFirstRow, getFirstRowIndex, getHeight,และ 27 วิธีเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: anchorCenter, asIPresentationComponent, asISlideComponent, cellFormat, colSpan, firstColumn,และอีก 22 คน.

คุณสมบัติ

ชื่อประเภทAccessคําอธิบาย
tcPrElementอ่านกลับตัวประกอบลูก {@code <a:tcPr>} ของตัวรุกรองรับ { @ code < a: tc> }.
offsetXdoubleอ่านรับค่า offset x.
offsetYdoubleอ่านรับค่า offset y.
firstRowIndexintอ่านรับดัชนีแถวแรก.
firstColumnIndexintอ่านรับดัชนีคอลัมน์แรก.
widthdoubleอ่านรับความกว้าง.
heightdoubleอ่านรับความสูง.
minimalHeightdoubleอ่านรับความสูงขั้นต่ำ.
marginLeftdoubleอ่านรับค่าขอบซ้าย.
marginRightdoubleอ่านรับค่าขอบด้านขวา.
marginTopdoubleอ่านรับค่า margin ด้านบน.
marginBottomdoubleอ่านรับค่าขอบล่าง.
textVerticalTypeTextVerticalTypeอ่านรับประเภทแนวตั้งของข้อความ.
textAnchorTypeTextAnchorTypeอ่านรับประเภทจุดยึดข้อความ.
anchorCenterbooleanอ่านรับศูนย์ของจุดยึด.
firstRowIRowอ่านรับแถวแรก.
firstColumnIColumnอ่านรับคอลัมน์แรก.
colSpanintอ่านรับค่า col span.
rowSpanintอ่านรับค่า row span.
textFrameITextFrameอ่านรับกรอบข้อความ.
tableITableอ่านรับตาราง.
mergedCellbooleanอ่านรับเซลล์ที่รวม​.
cellFormatICellFormatอ่านรับรูปแบบเซลล์.
slideIBaseSlideอ่านรับสไลด์.
presentationIPresentationอ่านรับการนำเสนอ.
tcElementElementอ่านกลับตัว XML ของ {@code <a:tc>} ที่อยู่เบื้องหลัง.
asISlideComponentISlideComponentอ่านรับคอมโพเนนต์ as i slide.
asIPresentationComponentIPresentationComponentอ่านรับส่วนประกอบการนำเสนอ as i.

วิธีการ

Signatureคําอธิบาย
Cell()สร้าง {@code Cell} ที่ว่างเปล่า โดยไม่มีองค์ประกอบรอง.
Cell(tcElement: Element, rowIndex: int, colIndex: int, saveCallback: Runnable, parentSlide: IBaseSlide, table: ITable)สร้างเซลล์ใหม่ที่รองรับด้วยองค์ประกอบ {@code <a:tc>} ที่ได้รับ.
Cell(tcElement: Element, saveCallback: Runnable)สร้างเซลล์ใหม่ที่รองรับด้วยองค์ประกอบ {@code <a:tc>} ที่ได้รับ.
initInternal(tcElement: Element, rowIndex: int, colIndex: int, saveCallback: Runnable, parentSlide: IBaseSlide, table: ITable)Cellเริ่มเซลล์นี้จากตัวอัตรา {@code <a:tc>} และกรอบตารางที่ให้.
getTcPr()Elementกลับตัวประกอบลูก {@code <a:tcPr>} ของตัวรุกรองรับ { @ code < a: tc> }.
ensureTcPr()Elementกลับตัวประกอบลูก {@code <a:tcPr>} โดยสร้างมันหากไม่มี.
getOffsetX()doubleกลับค่าสกัด x.
getOffsetY()doubleกลับค่าสกัด y.
getFirstRowIndex()intการคืนอินเด็กซ์แถวแรก.
getFirstColumnIndex()intการคืนอินเด็กซ์คอลัมน์แรก.
getWidth()doubleกลับความกว้าง.
getHeight()doubleกลับความสูง.
getMinimalHeight()doubleกลับความสูงขั้นต่ํา.
getMarginLeft()doubleกลับมามากซ้าย.
setMarginLeft(value: double)ตั้งค่าค่าขอบด้านซ้าย.
getMarginRight()doubleกลับมามากไปทางขวา.
setMarginRight(value: double)ตั้งค่าค่า margin right.
getMarginTop()doubleกลับมามากสุดของค่าเฉลี่ย.
setMarginTop(value: double)ตั้งค่าค่า margin top.
getMarginBottom()doubleกลับมามากสุด.
setMarginBottom(value: double)ตั้งค่าค่า margin bottom.
getTextVerticalType()TextVerticalTypeส่งกลับแบบเท็กสติก.
setTextVerticalType(value: TextVerticalType)ตั้งค่าค่าประเภทแนวตั้งของข้อความ.
getTextAnchorType()TextAnchorTypeส่งกลับชนิดข้อความ anchor.
setTextAnchorType(value: TextAnchorType)ตั้งค่าค่าประเภทจุดยึดข้อความ.
isAnchorCenter()booleanกลับ true หากตั้งตัวแคนกเซ็นเตอร์.
setAnchorCenter(value: boolean)ตั้งค่าค่ากลางของ anchor.
getFirstRow()IRowกลับแถวแรก.
getFirstColumn()IColumnกลับคอลัมน์แรก.
getColSpan()intกลับความกว้างของคอลล์.
getRowSpan()intกลับความกว้างของแถว.
getTextFrame()ITextFrameส่งฟรีกรอบข้อความ.
getTable()ITableยืนโต๊ะคืนมา.
isMergedCell()booleanกลับ true หากเซลล์รวมถูกตั้งไว้.
getCellFormat()ICellFormatการส่งกลับรูปแบบเซลล์.
getSlide()IBaseSlideกลับสไลด์.
getPresentation()IPresentationส่งผลการแสดงภาพกลับคืนมา.
getTcElement()Elementกลับตัว XML ของ {@code <a:tc>} ที่อยู่เบื้องหลัง.
getAsISlideComponent()ISlideComponentกลับส่วนประกอบ as i slide.
getAsIPresentationComponent()IPresentationComponentกลับองค์ประกอบการแสดงตัว as i.
asIPresentationComponent()IPresentationComponent

ดูเช่นกัน

 ภาษาไทย