Modifier | Constructor and Description |
---|---|
protected |
XSSFGraphicFrame(XSSFDrawing drawing, org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGraphicalObjectFrame ctGraphicFrame)
Construct a new XSSFGraphicFrame object.
(构造一个新的 XSSFGraphicFrame 对象。)
|
Modifier and Type | Method and Description |
---|---|
XSSFClientAnchor |
getAnchor()
Returns the frame anchor.
(返回帧锚。)
|
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGraphicalObjectFrame |
getCTGraphicalObjectFrame() |
long |
getId()
Gets the frame id.
(获取帧 ID。)
|
java.lang.String |
getName()
Returns the frame name.
(返回框架名称。)
|
java.lang.String |
getShapeName() |
protected org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties |
getShapeProperties()
Returns xml bean with shape properties.
(返回具有形状属性的 xml bean。)
|
protected static org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGraphicalObjectFrame |
prototype()
Initialize default structure of a new graphic frame
(初始化新图形框架的默认结构)
|
protected void |
setAnchor(XSSFClientAnchor anchor)
Attaches frame to an anchor.
(将框架附加到锚点。)
|
protected void |
setChart(XSSFChart chart, java.lang.String relId)
Assign a DrawingML chart to the graphic frame.
(将 DrawingML 图表分配给图形框架。)
|
protected void |
setId(long id)
Sets the frame id.
(设置帧 ID。)
|
void |
setMacro(java.lang.String macro)
Sets the frame macro.
(设置帧宏。)
|
void |
setName(java.lang.String name)
Sets the frame name.
(设置框架名称。)
|
getDrawing, getParent, isNoFill, setFillColor, setLineStyle, setLineStyleColor, setLineWidth, setNoFill
protected XSSFGraphicFrame(XSSFDrawing drawing, org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGraphicalObjectFrame ctGraphicFrame)
drawing
- the XSSFDrawing that owns this frame
(drawing - 拥有此框架的 XSSFDrawing)
ctGraphicFrame
- the XML bean that stores this frame content
(ctGraphicFrame - 存储此框架内容的 XML bean)
@Internal public org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGraphicalObjectFrame getCTGraphicalObjectFrame()
protected static org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGraphicalObjectFrame prototype()
public void setMacro(java.lang.String macro)
public void setName(java.lang.String name)
public java.lang.String getName()
protected void setAnchor(XSSFClientAnchor anchor)
public XSSFClientAnchor getAnchor()
protected void setChart(XSSFChart chart, java.lang.String relId)
public long getId()
protected void setId(long id)
protected org.openxmlformats.schemas.drawingml.x2006.main.CTShapeProperties getShapeProperties()
XSSFShape
getShapeProperties
in class
XSSFShape
(XSSFShape 类中的 getShapeProperties)
public java.lang.String getShapeName()
Copyright 2021 The Apache Software Foundation or its licensors, as applicable.