Table

ภาพรวม

Table เป็นคลาสใน Aspose.Slides FOSS สําหรับ Java. ทายาทจาก: GeometryShape, ITable.

แสดงรูปโต๊ะบนสไลด์.

หมวดนี้ให้ 74 วิธีในการทํางานกับวัตถุตารางในโปรแกรม Java. วิธีการที่ใช้ได้แก่: GeometryShape, Table, asIBulkTextFormattable, asIGraphicalObject, asIPresentationComponent, getAdjustments, getAlternativeText, getAlternativeTextTitle, getAsISlideComponent, getCNvPr, getColumns, getConnectionSiteCount,และ 61 วิธีการเพิ่มเติม. สมาชิกสาธารณะทุกคนสามารถเข้าถึงการใช้งาน Java ใดก็ได้หลังจากติดตั้งแพ็คเกจ FOSS for Java. คุณสมบัติ: adjustments, alternativeText, alternativeTextTitle, asISlideComponent, cNvPr, columns,และอีก 37 คน.

คุณสมบัติ

ชื่อประเภทAccessคําอธิบาย
rowsIRowCollectionอ่านรับแถว.
columnsIColumnCollectionอ่านรับคอลัมน์.
tableFormatITableFormatอ่านรับรูปแบบตาราง.
stylePresetTableStylePresetอ่านรับค่าการตั้งล่วงหน้าของสไตล์.
rightToLeftbooleanอ่านรับค่าจากขวาไปซ้าย.
firstRowbooleanอ่านรับแถวแรก.
firstColbooleanอ่านรับคอลัมน์แรก.
lastRowbooleanอ่านรับแถวสุดท้าย.
lastColbooleanอ่านรับคอลัมน์สุดท้าย.
horizontalBandingbooleanอ่านรับค่าการแบ่งแถบแนวนอน.
verticalBandingbooleanอ่านรับค่าการแบ่งแถบแนวตั้ง.
graphicalObjectLockIGraphicalObjectLockอ่านรับล็อกของวัตถุกราฟิก.
xdoubleอ่านรับค่า x.
ydoubleอ่านรับค่า y.
widthdoubleอ่านรับความกว้าง.
heightdoubleอ่านรับความสูง.
rotationdoubleอ่านรับการหมุน.
shapeStyleIShapeStyleอ่านรับสไตล์ของรูปทรง.
shapeTypeShapeTypeอ่านรับประเภทของรูปทรง.
fillFormatIFillFormatอ่านรับรูปแบบการเติม.
adjustmentsIAdjustValueCollectionอ่านรับการปรับค่า.
cNvPrElementอ่านรับค่า c nv pr.
textHolderbooleanอ่านรับตัวเก็บข้อความ.
placeholderIPlaceholderอ่านรับค่า placeholder.
customDataICustomDataอ่านรับข้อมูลที่กำหนดเอง.
rawFrameIShapeFrameอ่านรับเฟรมดิบ.
frameIShapeFrameอ่านรับเฟรม.
lineFormatILineFormatอ่านรับรูปแบบบรรทัด.
threeDFormatIThreeDFormatอ่านรับรูปแบบ 3 มิติ.
effectFormatIEffectFormatอ่านรับรูปแบบเอฟเฟกต์.
hiddenbooleanอ่านรับค่า hidden.
zOrderPositionintอ่านรับตำแหน่ง z order.
connectionSiteCountintอ่านรับจำนวนไซต์การเชื่อมต่อ.
alternativeTextStringอ่านรับข้อความแทน.
alternativeTextTitleStringอ่านรับชื่อข้อความทางเลือก.
nameStringอ่านรับชื่อ.
decorativebooleanอ่านรับค่า decorative.
uniqueIdintอ่านรับค่า id ที่ไม่ซ้ำกัน.
officeInteropShapeIdintอ่านรับค่า ID ของ shape office interop.
groupedbooleanอ่านรับค่าที่จัดกลุ่ม.
asISlideComponentISlideComponentอ่านรับคอมโพเนนต์ as i slide.
slideIBaseSlideอ่านรับสไลด์.
presentationIPresentationอ่านรับการนำเสนอ.

วิธีการ

Signatureคําอธิบาย
Table()สร้างตารางว่าง.
Table(xmlElement: Element, saveCallback: Runnable)สร้างตารางที่รองรับด้วยตัว XML ที่ได้รับ (a {@code <p:graphicFrame>}).
initInternal(xmlElement: Element, saveCallback: Runnable, parentSlide: IBaseSlide)การเริ่มต้นสองขั้นสําหรับรูปแบบตารางนี้.
getRows()IRowCollectionกลับแถว.
getColumns()IColumnCollectionกลับคอลัมน์.
getTableFormat()ITableFormatส่งรูปแบบตารางกลับ.
getStylePreset()TableStylePresetการกําหนดสไตล์กลับ.
setStylePreset(value: TableStylePreset)ตั้งค่าค่าพรีเซ็ตสไตล์.
isRightToLeft()booleanกลับ true หากตั้งขวาไปซ้าย.
setRightToLeft(value: boolean)ตั้งค่าค่าจากขวาไปซ้าย.
isFirstRow()booleanกลับ true หากแถวแรกถูกตั้งไว้.
setFirstRow(value: boolean)ตั้งค่าค่าของแถวแรก.
isFirstCol()booleanกลับ true หากการตั้ง col ครั้งแรก.
setFirstCol(value: boolean)ตั้งค่าค่า col แรก.
isLastRow()booleanกลับ true หากแถวสุดท้ายถูกตั้งค่า.
setLastRow(value: boolean)ตั้งค่าค่าของแถวสุดท้าย.
isLastCol()booleanกลับ true หากการตั้ง col สุดท้าย.
setLastCol(value: boolean)ตั้งค่าค่า col สุดท้าย.
isHorizontalBanding()booleanกลับ true หากตั้งแบนเดอร์แนวขอบ.
setHorizontalBanding(value: boolean)ตั้งค่าค่าการแบ่งแถบแนวนอน.
isVerticalBanding()booleanกลับ true หากตั้งการติดตามทางแนวตั้ง.
setVerticalBanding(value: boolean)ตั้งค่าค่าการแบ่งแถบแนวตั้ง.
mergeCells(cell1: ICell, cell2: ICell, allowSplitting: boolean)ICellผสมเซลล์ 2 เซลส์ โดยให้การแบ่งเป็นทางเลือก และส่งคืนเซิลที่เกิดผล
asIGraphicalObject()IGraphicalObjectแจ้งตารางให้ IGraphicalObject
asIBulkTextFormattable()IBulkTextFormattableแจ้งตารางให้ IBulkTextFormattable
getGraphicalObjectLock()IGraphicalObjectLockส่งกลับการล็อควัตถุภาพกราฟิกส์.
setTextFormat(source: Object)ตั้งค่าค่ารูปแบบข้อความ.
GeometryShape(xmlElement: Element, saveCallback: Runnable)สร้าง GeometryShape ที่รองรับโดยตัว XML ที่ได้รับ.
setParentShapes(shapes: Iterable<IShape>)กําหนดการรวบรวมรูปแบบพี่น้องที่ใช้ในการค้นหาเชื่อมต่อ.
getX()doubleกลับ x.
setX(x: double)ตั้งค่าค่า x.
getY()doubleกลับ y.
setY(y: double)ตั้งค่าค่า y.
getWidth()doubleกลับความกว้าง.
setWidth(width: double)กำหนดค่าความกว้าง.
getHeight()doubleกลับความสูง.
setHeight(height: double)ตั้งค่าค่าความสูง.
getRotation()doubleกลับการหมุน.
setRotation(rotation: double)กำหนดค่าการหมุน.
getShapeStyle()IShapeStyleสภาพของรูปแบบกลับคืนมา.
getShapeType()ShapeTypeการคืนรูปแบบของตัวเลข.
setShapeType(value: ShapeType)ตั้งค่าค่าประเภทรูปทรง.
getFillFormat()IFillFormatส่งรูปแบบการเติมกลับ.
getAdjustments()IAdjustValueCollectionการปรับกลับ.
getCNvPr()Elementกลับ c nv pr.
isTextHolder()booleanกลับ true หากการถือข้อความถูกตั้งค่า.
getPlaceholder()IPlaceholderกลับตัวเก็บตําแหน่ง.
getCustomData()ICustomDataส่งข้อมูลที่กําหนดเองกลับ.
getRawFrame()IShapeFrameกลับฟรีมาร์คสด.
setRawFrame(value: IShapeFrame)ตั้งค่าค่ากรอบดิบ.
getFrame()IShapeFrameกลับรูปภาพมาได้.
setFrame(value: IShapeFrame)กำหนดค่าเฟรม.
getLineFormat()ILineFormatส่งรูปแบบเส้นกลับ.
getThreeDFormat()IThreeDFormatการคืนรูปแบบ 3d.
getEffectFormat()IEffectFormatส่งรูปแบบผลการใช้งานกลับ.
isHidden()booleanกลับ true หากการซ่อนถูกตั้งไว้.
setHidden(value: boolean)ตั้งค่าค่าที่ซ่อนอยู่.
getZOrderPosition()intกลับตําแหน่ง z ระดับ.
getConnectionSiteCount()intส่งกลับจํานวนสถานที่เชื่อมต่อ.
getAlternativeText()Stringการคืนข้อความทางเลือก.
setAlternativeText(value: String)ตั้งค่าค่าข้อความแทน.
getAlternativeTextTitle()Stringการคืนชื่อข้อความทางเลือก.
setAlternativeTextTitle(value: String)ตั้งค่าค่าชื่อเรื่องข้อความแทน.
getName()Stringส่งชื่อกลับมา.
setName(value: String)ตั้งค่าค่า name.
isDecorative()booleanกลับ true หากการตกแต่งถูกตั้งไว้.
setDecorative(value: boolean)ตั้งค่าค่าตกแต่ง.
getUniqueId()intกลับ ID เอกลักษณ์.
getOfficeInteropShapeId()intส่งกลับตัวเลขรูปแบบของออฟิศที่เข้าถึง.
isGrouped()booleanกลับ true หากการจัดกลุ่มถูกตั้งไว้.
getAsISlideComponent()ISlideComponentกลับส่วนประกอบ as i slide.
getSlide()IBaseSlideกลับสไลด์.
getPresentation()IPresentationส่งผลการแสดงภาพกลับคืนมา.
asIPresentationComponent()IPresentationComponent

ดูเช่นกัน

 ภาษาไทย