|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.poi.hslf.record.Record org.apache.poi.hslf.record.RecordAtom org.apache.poi.hslf.record.PPDrawing
public final class PPDrawing
These are actually wrappers onto Escher drawings. Make use of the DDF classes to do useful things with them. For now, creates a tree of the Escher records, and then creates any PowerPoint (hslf) records found within the EscherTextboxRecord (msofbtClientTextbox) records. Also provides easy access to the EscherTextboxRecords, so that their text may be extracted and used in Sheets
Field Summary |
---|
Fields inherited from class org.apache.poi.hslf.record.Record |
---|
logger |
Constructor Summary | |
---|---|
|
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 |
Method Summary | |
---|---|
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 |
Methods inherited from class org.apache.poi.hslf.record.RecordAtom |
---|
isAnAtom |
Methods inherited from class org.apache.poi.hslf.record.Record |
---|
buildRecordAtOffset, createRecordForType, findChildRecords, writeLittleEndian, writeLittleEndian |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected PPDrawing(byte[] source, int start, int len)
public PPDrawing()
Method Detail |
---|
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
writeOut
in class Record
java.io.IOException
public void addTextboxWrapper(EscherTextboxWrapper txtbox)
PPDrawing
.
public EscherDgRecord getEscherDgRecord()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |