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 | คําอธิบาย |
|---|---|---|---|
tcPr | Element | อ่าน | กลับตัวประกอบลูก {@code <a:tcPr>} ของตัวรุกรองรับ { @ code < a: tc> }. |
offsetX | double | อ่าน | รับค่า offset x. |
offsetY | double | อ่าน | รับค่า offset y. |
firstRowIndex | int | อ่าน | รับดัชนีแถวแรก. |
firstColumnIndex | int | อ่าน | รับดัชนีคอลัมน์แรก. |
width | double | อ่าน | รับความกว้าง. |
height | double | อ่าน | รับความสูง. |
minimalHeight | double | อ่าน | รับความสูงขั้นต่ำ. |
marginLeft | double | อ่าน | รับค่าขอบซ้าย. |
marginRight | double | อ่าน | รับค่าขอบด้านขวา. |
marginTop | double | อ่าน | รับค่า margin ด้านบน. |
marginBottom | double | อ่าน | รับค่าขอบล่าง. |
textVerticalType | TextVerticalType | อ่าน | รับประเภทแนวตั้งของข้อความ. |
textAnchorType | TextAnchorType | อ่าน | รับประเภทจุดยึดข้อความ. |
anchorCenter | boolean | อ่าน | รับศูนย์ของจุดยึด. |
firstRow | IRow | อ่าน | รับแถวแรก. |
firstColumn | IColumn | อ่าน | รับคอลัมน์แรก. |
colSpan | int | อ่าน | รับค่า col span. |
rowSpan | int | อ่าน | รับค่า row span. |
textFrame | ITextFrame | อ่าน | รับกรอบข้อความ. |
table | ITable | อ่าน | รับตาราง. |
mergedCell | boolean | อ่าน | รับเซลล์ที่รวม. |
cellFormat | ICellFormat | อ่าน | รับรูปแบบเซลล์. |
slide | IBaseSlide | อ่าน | รับสไลด์. |
presentation | IPresentation | อ่าน | รับการนำเสนอ. |
tcElement | Element | อ่าน | กลับตัว XML ของ {@code <a:tc>} ที่อยู่เบื้องหลัง. |
asISlideComponent | ISlideComponent | อ่าน | รับคอมโพเนนต์ as i slide. |
asIPresentationComponent | IPresentationComponent | อ่าน | รับส่วนประกอบการนำเสนอ 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 |