org.apache.poi.xssf.streaming
Class SXSSFDrawing
java.lang.Object
org.apache.poi.xssf.streaming.SXSSFDrawing
- All Implemented Interfaces:
- java.lang.Iterable<XSSFShape>, Drawing<XSSFShape>, ShapeContainer<XSSFShape>
public class SXSSFDrawing
- extends java.lang.Object
- implements Drawing<XSSFShape>
Streaming version of Drawing.
Delegates most tasks to the non-streaming XSSF code.
TODO: Potentially, Comment and Chart need a similar streaming wrapper like Picture.
Method Summary |
ClientAnchor |
createAnchor(int dx1,
int dy1,
int dx2,
int dy2,
int col1,
int row1,
int col2,
int row2)
|
Comment |
createCellComment(ClientAnchor anchor)
|
Chart |
createChart(ClientAnchor anchor)
|
ObjectData |
createObjectData(ClientAnchor anchor,
int storageId,
int pictureIndex)
|
SXSSFPicture |
createPicture(ClientAnchor anchor,
int pictureIndex)
|
java.util.Iterator<XSSFShape> |
iterator()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SXSSFDrawing
public SXSSFDrawing(SXSSFWorkbook workbook,
XSSFDrawing drawing)
createPicture
public SXSSFPicture createPicture(ClientAnchor anchor,
int pictureIndex)
- Specified by:
createPicture
in interface Drawing<XSSFShape>
createCellComment
public Comment createCellComment(ClientAnchor anchor)
- Specified by:
createCellComment
in interface Drawing<XSSFShape>
createChart
public Chart createChart(ClientAnchor anchor)
- Specified by:
createChart
in interface Drawing<XSSFShape>
createAnchor
public ClientAnchor createAnchor(int dx1,
int dy1,
int dx2,
int dy2,
int col1,
int row1,
int col2,
int row2)
- Specified by:
createAnchor
in interface Drawing<XSSFShape>
createObjectData
public ObjectData createObjectData(ClientAnchor anchor,
int storageId,
int pictureIndex)
- Specified by:
createObjectData
in interface Drawing<XSSFShape>
iterator
public java.util.Iterator<XSSFShape> iterator()
- Specified by:
iterator
in interface java.lang.Iterable<XSSFShape>