1 19 20 package jxl.biff.drawing; 21 22 import java.io.IOException ; 23 import java.io.FileInputStream ; 24 25 import common.Assert; 26 import common.Logger; 27 28 import jxl.WorkbookSettings; 29 import jxl.biff.ByteData; 30 import jxl.biff.IntegerHelper; 31 import jxl.biff.IndexMapping; 32 import jxl.biff.Type; 33 import jxl.write.biff.File; 34 import jxl.biff.drawing.MsoDrawingRecord; 35 import jxl.biff.drawing.ObjRecord; 36 37 41 public interface DrawingGroupObject 42 { 43 51 void setObjectId(int objid, int bip, int sid); 52 53 58 int getObjectId(); 59 60 65 int getBlipId(); 66 67 72 public int getShapeId(); 73 74 75 80 MsoDrawingRecord getMsoDrawingRecord(); 81 82 87 public EscherContainer getSpContainer(); 88 89 95 void setDrawingGroup(DrawingGroup dg); 96 97 102 DrawingGroup getDrawingGroup(); 103 104 109 Origin getOrigin(); 110 111 116 int getReferenceCount(); 117 118 123 void setReferenceCount(int r); 124 125 130 public double getX(); 131 132 137 public void setX(double x); 138 139 144 public double getY(); 145 146 151 public void setY(double y); 152 153 158 public double getWidth(); 159 160 165 public void setWidth(double w); 166 167 172 public double getHeight(); 173 174 179 public void setHeight(double h); 180 181 182 187 ShapeType getType(); 188 189 194 public byte[] getImageData(); 195 196 201 public byte[] getImageBytes() throws IOException ; 202 203 210 String getImageFilePath(); 211 212 215 public void writeAdditionalRecords(File outputFile) throws IOException ; 216 217 221 public void writeTailRecords(File outputFile) throws IOException ; 222 223 230 public boolean isFirst(); 231 232 239 public boolean isFormObject(); 240 } 241 242 243 244 | Popular Tags |