org.apache.poi.hslf.record
public final class PPDrawing extends RecordAtom
Modifier | Constructor and Description |
---|---|
|
PPDrawing()
Creates a new, empty, PPDrawing (typically for use with a new Slide
or Notes)
|
protected |
PPDrawing(byte[] source,
int start,
int len)
Sets everything up, groks the escher etc
|
Modifier and Type | Method and Description |
---|---|
void |
addTextboxWrapper(EscherTextboxWrapper txtbox)
Add a new EscherTextboxWrapper to this
PPDrawing . |
Record[] |
getChildRecords()
We're pretending to be an atom, so return null
|
EscherDgRecord |
getEscherDgRecord()
Return EscherDgRecord which keeps track of the number of shapes and shapeId in this drawing group
|
EscherRecord[] |
getEscherRecords()
Get access to the underlying Escher Records
|
long |
getRecordType()
We are type 1036
|
EscherTextboxWrapper[] |
getTextboxWrappers()
Get access to the atoms inside Textboxes
|
void |
writeOut(java.io.OutputStream out)
Write the contents of the record back, so it can be written
to disk
Walks the escher layer to get the contents
|
isAnAtom
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian
protected PPDrawing(byte[] source, int start, int len)
public PPDrawing()
public EscherRecord[] getEscherRecords()
public EscherTextboxWrapper[] getTextboxWrappers()
public long getRecordType()
getRecordType
in class Record
public Record[] getChildRecords()
getChildRecords
in class RecordAtom
public void writeOut(java.io.OutputStream out) throws java.io.IOException
public void addTextboxWrapper(EscherTextboxWrapper txtbox)
PPDrawing
.public EscherDgRecord getEscherDgRecord()
Copyright 2014 The Apache Software Foundation or its licensors, as applicable.