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

NameTypeAccessDescription
tcPrElementReadTrả lại {@code <a:tcPr>} yếu tố trẻ em của yếu đuối hỗ trợ {_code }.
offsetXdoubleReadNhận được x offset.
offsetYdoubleReadNhận được sự trả lại y.
firstRowIndexintReadNhận được chỉ số hàng đầu.
firstColumnIndexintReadNhận chỉ số cột đầu tiên.
widthdoubleReadNhận được chiều rộng.
heightdoubleReadnhận được độ cao.
minimalHeightdoubleReadNhận được độ cao tối thiểu.
marginLeftdoubleReadCứ lấy margin left.
marginRightdoubleReadĐặt margin đúng.
marginTopdoubleReadĐặt margin top.
marginBottomdoubleReadTới mức margin dưới.
textVerticalTypeTextVerticalTypeReadNhận được kiểu văn bản dọc.
textAnchorTypeTextAnchorTypeReadNhận kiểu chữ anchor.
anchorCenterbooleanReadTìm trung tâm anchor.
firstRowIRowReadNhận được dòng đầu tiên.
firstColumnIColumnReadGửi đầu tiên cột.
colSpanintReadGửi Col Span.
rowSpanintReadGặp gỡ dòng Span.
textFrameITextFrameReadGửi lại frame text.
tableITableReadGọi bàn.
mergedCellbooleanReadNhận được tế bào kết hợp.
cellFormatICellFormatReadNhận định dạng cell.
slideIBaseSlideReadGửi slide.
presentationIPresentationReadNhận được trình bày.
tcElementElementReadTrở lại {@code <a:tc>} yếu tố XML dưới đây.
asISlideComponentISlideComponentReadGets the as i slide thành phần.
asIPresentationComponentIPresentationComponentReadNhận được như I trình bày thành phần.

Methods

SignatureDescription
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)CellBắt đầu ô này từ {@code <a:tc>} yếu tố và bối cảnh bảng.
getTcPr()ElementTrả lại {@code <a:tcPr>} yếu tố trẻ em của yếu đuối hỗ trợ {_code }.
ensureTcPr()ElementTrở lại {@code <a:tcPr>} yếu tố trẻ em, tạo ra nó nếu không có.
getOffsetX()doubleTrả lại x.
getOffsetY()doubletrả lại giá y.
getFirstRowIndex()intLại trả lại chỉ số hàng đầu.
getFirstColumnIndex()intTrở lại chỉ số cột đầu tiên.
getWidth()doubleTrở lại chiều rộng.
getHeight()doubleTrở về chiều cao.
getMinimalHeight()doubleTrở lại chiều cao tối thiểu.
getMarginLeft()doubleTrở lại margin trái.
setMarginLeft(value: double)Đặt giá trị bên trái của margin.
getMarginRight()doubleTrở lại đường biên bên phải.
setMarginRight(value: double)Đặt giá trị đúng của margin.
getMarginTop()doubleTrở lại đầu margin.
setMarginTop(value: double)Đặt giá trị tối đa của margin.
getMarginBottom()doubleTrở lại phần dưới của margin.
setMarginBottom(value: double)Đặt giá trị cuối cùng của margin.
getTextVerticalType()TextVerticalTypeTrở 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()TextAnchorTypeTrở lại kiểu anchor văn bản.
setTextAnchorType(value: TextAnchorType)Đặt giá trị kiểu anchor văn bản.
isAnchorCenter()booleanTrở 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()IRowTrở lại dòng đầu tiên.
getFirstColumn()IColumnTrở lại cột đầu tiên.
getColSpan()intTrở lại Col span.
getRowSpan()intTrở lại dòng Spane.
getTextFrame()ITextFrameTrở lại khung văn bản.
getTable()ITableQuay lại bàn.
isMergedCell()booleanTrở lại đúng nếu các tế bào kết hợp được thiết lập.
getCellFormat()ICellFormatTrở lại định dạng ô.
getSlide()IBaseSlideTrở lại slide.
getPresentation()IPresentationTrở lại bản trình bày.
getTcElement()ElementTrở lại {@code <a:tc>} yếu tố XML dưới đây.
getAsISlideComponent()ISlideComponentTrở lại như I slide thành phần.
getAsIPresentationComponent()IPresentationComponentTrở lại thành phần I Presentation.
asIPresentationComponent()IPresentationComponent

See Also

 Tiếng Việt