|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.poi.POIXMLDocumentPart
org.apache.poi.xslf.usermodel.XSLFSheet
public abstract class XSLFSheet
| Field Summary |
|---|
| Fields inherited from class org.apache.poi.POIXMLDocumentPart |
|---|
DEFAULT_XML_OPTIONS |
| Constructor Summary | |
|---|---|
XSLFSheet()
|
|
XSLFSheet(PackagePart part,
PackageRelationship rel)
|
|
| Method Summary | |
|---|---|
XSLFSheet |
appendContent(XSLFSheet src)
Append content to this sheet. |
void |
clear()
Removes all of the elements from this container (optional operation). |
XSLFAutoShape |
createAutoShape()
create a new shape with a predefined geometry and add it to this shape container |
XSLFConnectorShape |
createConnector()
create a connector |
XSLFFreeformShape |
createFreeform()
create a new shape with a custom geometry |
XSLFGroupShape |
createGroup()
create a group of shapes belonging to this container |
XSLFPictureShape |
createPicture(int pictureIndex)
create a picture belonging to this container |
XSLFTable |
createTable()
|
XSLFTextBox |
createTextBox()
create a text box |
void |
draw(java.awt.Graphics2D graphics)
Render this sheet into the supplied graphics object |
XSLFBackground |
getBackground()
|
XSLFCommonSlideData |
getCommonSlideData()
|
boolean |
getFollowMasterGraphics()
|
abstract XSLFSheet |
getMasterSheet()
|
XSLFTextShape |
getPlaceholder(int idx)
|
XSLFTextShape[] |
getPlaceholders()
|
XSLFShape[] |
getShapes()
Returns an array containing all of the shapes in this sheet |
XMLSlideShow |
getSlideShow()
|
abstract org.apache.xmlbeans.XmlObject |
getXmlObject()
|
XSLFSheet |
importContent(XSLFSheet src)
Set the contents of this sheet to be a copy of the source sheet. |
java.util.Iterator |
iterator()
Returns an iterator over the shapes in this sheet |
boolean |
removeShape(XSLFShape xShape)
Removes the specified shape from this sheet, if it is present (optional operation). |
| Methods inherited from class org.apache.poi.POIXMLDocumentPart |
|---|
addRelation, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelationById, getRelationId, getRelations, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public XSLFSheet()
public XSLFSheet(PackagePart part,
PackageRelationship rel)
| Method Detail |
|---|
public XMLSlideShow getSlideShow()
public abstract org.apache.xmlbeans.XmlObject getXmlObject()
public XSLFCommonSlideData getCommonSlideData()
public XSLFAutoShape createAutoShape()
XSLFShapeContainer
createAutoShape in interface XSLFShapeContainerpublic XSLFFreeformShape createFreeform()
XSLFShapeContainer
createFreeform in interface XSLFShapeContainerpublic XSLFTextBox createTextBox()
XSLFShapeContainer
createTextBox in interface XSLFShapeContainerpublic XSLFConnectorShape createConnector()
XSLFShapeContainer
createConnector in interface XSLFShapeContainerpublic XSLFGroupShape createGroup()
XSLFShapeContainer
createGroup in interface XSLFShapeContainerpublic XSLFPictureShape createPicture(int pictureIndex)
XSLFShapeContainer
createPicture in interface XSLFShapeContainerpublic XSLFTable createTable()
public XSLFShape[] getShapes()
getShapes in interface XSLFShapeContainerpublic java.util.Iterator iterator()
iterator in interface poi.support.Iterablepublic boolean removeShape(XSLFShape xShape)
removeShape in interface XSLFShapeContainerxShape - shape to be removed from this sheet, if present
java.lang.IllegalArgumentException - if the type of the specified shape
is incompatible with this sheet (optional)public void clear()
clear in interface XSLFShapeContainerpublic XSLFSheet importContent(XSLFSheet src)
src - the source sheet to copy data from
public XSLFSheet appendContent(XSLFSheet src)
src - the source sheet
this.public abstract XSLFSheet getMasterSheet()
public XSLFTextShape getPlaceholder(int idx)
idx - 0-based index of a placeholder in the sheet
public XSLFTextShape[] getPlaceholders()
public boolean getFollowMasterGraphics()
public XSLFBackground getBackground()
public void draw(java.awt.Graphics2D graphics)
graphics -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||