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 Record |
buildFromUnknownEscherRecord(UnknownEscherRecord unknown) |
protected EscherContainerRecord[] |
findAllEscherContainerRecordOfType(short type,
EscherContainerRecord parent) |
protected EscherContainerRecord |
findFirstEscherContainerRecordOfType(short type,
EscherContainerRecord parent) |
protected EscherRecord |
findFirstEscherRecordOfType(short type,
EscherContainerRecord parent) |
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
|
StyleTextProp9Atom[] |
getNumberedListInfo() |
long |
getRecordType()
We are type 1036
|
EscherTextboxWrapper[] |
getTextboxWrappers()
Get access to the atoms inside Textboxes
|
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
|
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(OutputStream out) throws IOException
writeOut
in class Record
IOException
public void addTextboxWrapper(EscherTextboxWrapper txtbox)
PPDrawing
.public EscherDgRecord getEscherDgRecord()
protected EscherContainerRecord findFirstEscherContainerRecordOfType(short type, EscherContainerRecord parent)
protected EscherRecord findFirstEscherRecordOfType(short type, EscherContainerRecord parent)
protected EscherContainerRecord[] findAllEscherContainerRecordOfType(short type, EscherContainerRecord parent)
protected Record buildFromUnknownEscherRecord(UnknownEscherRecord unknown)
public StyleTextProp9Atom[] getNumberedListInfo()
Copyright © 2020. All rights reserved.