Modifier | Constructor and Description |
---|---|
protected |
XSSFGraphicFrame(XSSFDrawing drawing,
org.openxmlformats.schemas.drawingml.x2006.spreadsheetDrawing.CTGraphicalObjectFrame ctGraphicFrame)
Construct a new XSSFGraphicFrame object.
|
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.
|
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.
|
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.
|
protected void |
setId(long id)
Sets the frame 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 framectGraphicFrame
- the XML bean that stores this frame content@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
public java.lang.String getShapeName()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.