public final class PPDrawing extends RecordAtom implements java.lang.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
|
java.util.List<EscherRecord> |
getEscherRecords()
Get access to the underlying Escher Records
|
java.util.Map<java.lang.String,java.util.function.Supplier<?>> |
getGenericProperties() |
StyleTextProp9Atom[] |
getNumberedListInfo() |
long |
getRecordType()
We are type 1036
|
EscherTextboxWrapper[] |
getTextboxWrappers()
Get access to the atoms inside Textboxes
|
java.util.Iterator<EscherRecord> |
iterator() |
java.util.Spliterator<EscherRecord> |
spliterator() |
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
|
getMaxRecordLength, isAnAtom, setMaxRecordLengthbuildRecordAtOffset, createRecordForType, findChildRecords, getGenericChildren, getGenericRecordType, writeLittleEndian, writeLittleEndianpublic PPDrawing()
public java.util.List<EscherRecord> getEscherRecords()
public java.util.Iterator<EscherRecord> iterator()
iterator in interface java.lang.Iterable<EscherRecord>public java.util.Spliterator<EscherRecord> spliterator()
spliterator in interface java.lang.Iterable<EscherRecord>public EscherTextboxWrapper[] getTextboxWrappers()
public long getRecordType()
getRecordType in class Recordpublic Record[] getChildRecords()
getChildRecords in class RecordAtompublic void writeOut(java.io.OutputStream out)
throws java.io.IOException
public void addTextboxWrapper(EscherTextboxWrapper txtbox)
PPDrawing.public EscherContainerRecord getDgContainer()
public EscherDgRecord getEscherDgRecord()
public StyleTextProp9Atom[] getNumberedListInfo()
public java.util.Map<java.lang.String,java.util.function.Supplier<?>> getGenericProperties()
getGenericProperties in interface GenericRecordCopyright 2022 The Apache Software Foundation or its licensors, as applicable.