Home » JCraft » jxl » biff » drawing » [javadoc | source]
public interface: DrawingGroupObject [javadoc | source]

All Known Implementing Classes:
    Drawing2, CheckBox, WritableImage, ComboBox, Comment, Button, Drawing

Interface for the various object types that can be added to a drawing group
Method from jxl.biff.drawing.DrawingGroupObject Summary:
getBlipId,   getDrawingGroup,   getHeight,   getImageBytes,   getImageData,   getImageFilePath,   getMsoDrawingRecord,   getObjectId,   getOrigin,   getReferenceCount,   getShapeId,   getSpContainer,   getType,   getWidth,   getX,   getY,   isFirst,   isFormObject,   setDrawingGroup,   setHeight,   setObjectId,   setReferenceCount,   setWidth,   setX,   setY,   writeAdditionalRecords,   writeTailRecords
Method from jxl.biff.drawing.DrawingGroupObject Detail:
 public int getBlipId()
    Accessor for the blip id
 public DrawingGroup getDrawingGroup()
    Accessor for the drawing group
 public double getHeight()
    Accessor for the height of this drawing
 public byte[] getImageBytes() throws IOException
    Accessor for the image data
 public byte[] getImageData()
    Accessor for the image data
 public String getImageFilePath()
    Accessor for the image file path. Normally this is the absolute path of a file on the directory system, but if this drawing was constructed using an byte[] then the blip id is returned
 public MsoDrawingRecord getMsoDrawingRecord()
    Gets the drawing record which was read in
 public int getObjectId()
    Accessor for the object id
 public Origin getOrigin()
    Gets the origin of this drawing
 public int getReferenceCount()
    Accessor for the reference count on this drawing
 public int getShapeId()
    Accessor for the shape id
 public EscherContainer getSpContainer()
    Creates the main Sp container for the drawing
 public ShapeType getType()
    Accessor for the type
 public double getWidth()
    Accessor for the width of this drawing
 public double getX()
    Accessor for the column of this drawing
 public double getY()
    Accessor for the row of this drawing
 public boolean isFirst()
    Accessor for the first drawing on the sheet. This is used when copying unmodified sheets to indicate that this drawing contains the first time Escher gubbins
 public boolean isFormObject()
    Queries whether this object is a form object. Form objects have their drawings records spread over TXO and CONTINUE records and require special handling
 public  void setDrawingGroup(DrawingGroup dg)
    Sets the drawing group for this drawing. Called by the drawing group when this drawing is added to it
 public  void setHeight(double h)
    Accessor for the height of this drawing
 public  void setObjectId(int objid,
    int bip,
    int sid)
    Sets the object id. Invoked by the drawing group when the object is added to id
 public  void setReferenceCount(int r)
    Sets the new reference count on the drawing
 public  void setWidth(double w)
    Accessor for the width
 public  void setX(double x)
    Sets the column position of this drawing
 public  void setY(double y)
    Accessor for the row of the drawing
 public  void writeAdditionalRecords(File outputFile) throws IOException
    Writes any other records associated with this drawing group object
 public  void writeTailRecords(File outputFile) throws IOException
    Writes any records that need to be written after all the drawing group objects have been written