|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjxl.biff.drawing.DrawingGroup
This class contains the Excel picture data in Escher format for the entire workbook
| Constructor Summary | |
DrawingGroup(DrawingGroup dg)
Copy constructor Uses a shallow copy for most things, since as soon as anything is changed, the drawing group is invalidated and all the data blocks regenerated |
|
DrawingGroup(Origin o)
Constructor |
|
| Method Summary | |
void |
add(Chart c)
Adds a chart to the drawing group |
void |
add(DrawingGroupObject d)
Adds a drawing from the public, writable interface |
void |
add(MsoDrawingGroupRecord mso)
/** Adds in a drawing group record to this drawing group. |
void |
add(Record cont)
Adds a continue record to this drawing group. |
byte[] |
getData()
Gets hold of the binary data |
boolean |
hasDrawingsOmitted()
Accessor for the drawingsOmitted flag |
void |
remove(DrawingGroupObject d)
Interface method to remove a drawing from the group |
void |
setDrawingsOmitted(MsoDrawingRecord mso,
ObjRecord obj)
Indicates that at least one of the drawings has been omitted from the worksheet |
void |
updateData(DrawingGroup dg)
Updates this with the appropriate data from the drawing group passed in This is called during the copy process: this is first initialised as an empty object, but during the copy, the source DrawingGroup may change. |
void |
write(File outputFile)
Writes the drawing group to the output file |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DrawingGroup(Origin o)
o - the origin of this drawing grouppublic DrawingGroup(DrawingGroup dg)
dg - the drawing group to copy| Method Detail |
public void add(MsoDrawingGroupRecord mso)
mso - the drawing group record to addpublic void add(Record cont)
cont - the continue recordpublic void add(Chart c)
c - public void add(DrawingGroupObject d)
d - the drawing to addpublic void remove(DrawingGroupObject d)
d - the drawing to removepublic byte[] getData()
getData in interface jxl.biff.drawing.EscherStream
public void write(File outputFile)
throws java.io.IOException
outputFile - the file to write to
java.io.IOException
public void setDrawingsOmitted(MsoDrawingRecord mso,
ObjRecord obj)
public boolean hasDrawingsOmitted()
public void updateData(DrawingGroup dg)
dg - the drawing group containing the updated data
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||