Cell
Overview
Cell là một lớp trong Aspose.Slides FOSS cho Java. Dòng thừa kế từ: ICell, ISlideComponent, IPresentationComponent.
Nó đại diện cho một tế bào của một bàn.
Khóa học này cung cấp 41 phương pháp để làm việc với các đối tượng Cell trong các chương trình Java. Các phương pháp có sẵn bao gồm: Cell, asIPresentationComponent, ensureTcPr, getAsIPresentationComponent, getAsISlideComponent, getCellFormat, getColSpan, getFirstColumn, getFirstColumnIndex, getFirstRow, getFirstRowIndex, getHeight,27 phương pháp bổ sung. 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 : anchorCenter, asIPresentationComponent, asISlideComponent, cellFormat, colSpan, firstColumn,Và 22 nhiều hơn nữa.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
tcPr | Element | Read | Trả lại {@code <a:tcPr>} yếu tố trẻ em của yếu đuối hỗ trợ {_code }. |
offsetX | double | Read | Nhận được x offset. |
offsetY | double | Read | Nhận được sự trả lại y. |
firstRowIndex | int | Read | Nhận được chỉ số hàng đầu. |
firstColumnIndex | int | Read | Nhận chỉ số cột đầu tiên. |
width | double | Read | Nhận được chiều rộng. |
height | double | Read | nhận được độ cao. |
minimalHeight | double | Read | Nhận được độ cao tối thiểu. |
marginLeft | double | Read | Cứ lấy margin left. |
marginRight | double | Read | Đặt margin đúng. |
marginTop | double | Read | Đặt margin top. |
marginBottom | double | Read | Tới mức margin dưới. |
textVerticalType | TextVerticalType | Read | Nhận được kiểu văn bản dọc. |
textAnchorType | TextAnchorType | Read | Nhận kiểu chữ anchor. |
anchorCenter | boolean | Read | Tìm trung tâm anchor. |
firstRow | IRow | Read | Nhận được dòng đầu tiên. |
firstColumn | IColumn | Read | Gửi đầu tiên cột. |
colSpan | int | Read | Gửi Col Span. |
rowSpan | int | Read | Gặp gỡ dòng Span. |
textFrame | ITextFrame | Read | Gửi lại frame text. |
table | ITable | Read | Gọi bàn. |
mergedCell | boolean | Read | Nhận được tế bào kết hợp. |
cellFormat | ICellFormat | Read | Nhận định dạng cell. |
slide | IBaseSlide | Read | Gửi slide. |
presentation | IPresentation | Read | Nhận được trình bày. |
tcElement | Element | Read | Trở lại {@code <a:tc>} yếu tố XML dưới đây. |
asISlideComponent | ISlideComponent | Read | Gets the as i slide thành phần. |
asIPresentationComponent | IPresentationComponent | Read | Nhận được như I trình bày thành phần. |
Methods
| Signature | Description |
|---|---|
Cell() | Tạo một {@code Cell} trống không có yếu tố hỗ trợ. |
Cell(tcElement: Element, rowIndex: int, colIndex: int, saveCallback: Runnable, parentSlide: IBaseSlide, table: ITable) | Tạo một Cell mới được hỗ trợ bởi {@code <a:tc>}. |
Cell(tcElement: Element, saveCallback: Runnable) | Tạo một Cell mới được hỗ trợ bởi {@code <a:tc>}. |
initInternal(tcElement: Element, rowIndex: int, colIndex: int, saveCallback: Runnable, parentSlide: IBaseSlide, table: ITable) → Cell | Bắt đầu ô này từ {@code <a:tc>} yếu tố và bối cảnh bảng. |
getTcPr() → Element | Trả lại {@code <a:tcPr>} yếu tố trẻ em của yếu đuối hỗ trợ {_code }. |
ensureTcPr() → Element | Trở lại {@code <a:tcPr>} yếu tố trẻ em, tạo ra nó nếu không có. |
getOffsetX() → double | Trả lại x. |
getOffsetY() → double | trả lại giá y. |
getFirstRowIndex() → int | Lại trả lại chỉ số hàng đầu. |
getFirstColumnIndex() → int | Trở lại chỉ số cột đầu tiên. |
getWidth() → double | Trở lại chiều rộng. |
getHeight() → double | Trở về chiều cao. |
getMinimalHeight() → double | Trở lại chiều cao tối thiểu. |
getMarginLeft() → double | Trở lại margin trái. |
setMarginLeft(value: double) | Đặt giá trị bên trái của margin. |
getMarginRight() → double | Trở lại đường biên bên phải. |
setMarginRight(value: double) | Đặt giá trị đúng của margin. |
getMarginTop() → double | Trở lại đầu margin. |
setMarginTop(value: double) | Đặt giá trị tối đa của margin. |
getMarginBottom() → double | Trở lại phần dưới của margin. |
setMarginBottom(value: double) | Đặt giá trị cuối cùng của margin. |
getTextVerticalType() → TextVerticalType | Trở lại kiểu văn bản dọc. |
setTextVerticalType(value: TextVerticalType) | Thiết lập giá trị kiểu văn bản theo chiều dọc. |
getTextAnchorType() → TextAnchorType | Trở lại kiểu anchor văn bản. |
setTextAnchorType(value: TextAnchorType) | Đặt giá trị kiểu anchor văn bản. |
isAnchorCenter() → boolean | Trở lại đúng nếu trung tâm anchor được thiết lập. |
setAnchorCenter(value: boolean) | Đặt giá trị trung tâm anchor. |
getFirstRow() → IRow | Trở lại dòng đầu tiên. |
getFirstColumn() → IColumn | Trở lại cột đầu tiên. |
getColSpan() → int | Trở lại Col span. |
getRowSpan() → int | Trở lại dòng Spane. |
getTextFrame() → ITextFrame | Trở lại khung văn bản. |
getTable() → ITable | Quay lại bàn. |
isMergedCell() → boolean | Trở lại đúng nếu các tế bào kết hợp được thiết lập. |
getCellFormat() → ICellFormat | Trở lại định dạng ô. |
getSlide() → IBaseSlide | Trở lại slide. |
getPresentation() → IPresentation | Trở lại bản trình bày. |
getTcElement() → Element | Trở lại {@code <a:tc>} yếu tố XML dưới đây. |
getAsISlideComponent() → ISlideComponent | Trở lại như I slide thành phần. |
getAsIPresentationComponent() → IPresentationComponent | Trở lại thành phần I Presentation. |
asIPresentationComponent() → IPresentationComponent |