public final class PPDrawing extends RecordAtom implements Iterable<EscherRecord>
[MS-PPT] - v20210216 refers to this as a DrawingContainer.
| Constructor and Description |
|---|
PPDrawing()
Creates a new, empty, PPDrawing (typically for use with a new Slide
or Notes)
|
| 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
|
EscherContainerRecord |
getDgContainer() |
EscherDgRecord |
getEscherDgRecord()
Return EscherDgRecord which keeps track of the number of shapes and shapeId in this drawing group
|
List<EscherRecord> |
getEscherRecords()
Get access to the underlying Escher Records
|
Map<String,Supplier<?>> |
getGenericProperties() |
StyleTextProp9Atom[] |
getNumberedListInfo() |
long |
getRecordType()
We are type 1036
|
EscherTextboxWrapper[] |
getTextboxWrappers()
Get access to the atoms inside Textboxes
|
Iterator<EscherRecord> |
iterator() |
Spliterator<EscherRecord> |
spliterator() |
void |
writeOut(OutputStream out)
Write the contents of the record back, so it can be written
to disk
Walks the escher layer to get the contents
|
getMaxRecordLength, isAnAtom, setMaxRecordLengthbuildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndianpublic PPDrawing()
public List<EscherRecord> getEscherRecords()
public Iterator<EscherRecord> iterator()
iterator in interface Iterable<EscherRecord>public Spliterator<EscherRecord> spliterator()
spliterator in interface Iterable<EscherRecord>public EscherTextboxWrapper[] getTextboxWrappers()
public long getRecordType()
getRecordType in class Recordpublic Record[] getChildRecords()
getChildRecords in class RecordAtompublic void writeOut(OutputStream out) throws IOException
writeOut in class RecordIOExceptionpublic void addTextboxWrapper(EscherTextboxWrapper txtbox)
PPDrawing.public EscherContainerRecord getDgContainer()
public EscherDgRecord getEscherDgRecord()
public StyleTextProp9Atom[] getNumberedListInfo()
public Map<String,Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecord