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 . |
protected EscherContainerRecord[] |
findAllEscherContainerRecordOfType(RecordTypes type,
EscherContainerRecord parent) |
protected EscherContainerRecord |
findFirstEscherContainerRecordOfType(RecordTypes type,
EscherContainerRecord parent) |
protected EscherRecord |
findFirstEscherRecordOfType(RecordTypes type,
EscherContainerRecord parent) |
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
|
StyleTextProp9Atom[] |
getNumberedListInfo() |
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
public PPDrawing()
protected PPDrawing(byte[] source, int start, int len)
public java.util.List<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 EscherContainerRecord getDgContainer()
public EscherDgRecord getEscherDgRecord()
protected EscherContainerRecord findFirstEscherContainerRecordOfType(RecordTypes type, EscherContainerRecord parent)
protected EscherRecord findFirstEscherRecordOfType(RecordTypes type, EscherContainerRecord parent)
protected EscherContainerRecord[] findAllEscherContainerRecordOfType(RecordTypes type, EscherContainerRecord parent)
public StyleTextProp9Atom[] getNumberedListInfo()
Copyright 2018 The Apache Software Foundation or its licensors, as applicable.