ftCmo.setAutoline(true); ftCmo.setReserved1(0); ftCmo.setReserved2(0); ftCmo.setReserved3(0); obj.addSubRecord(ftCmo);
ftCmo.setAutoline(true); ftCmo.setReserved1(0); ftCmo.setReserved2(0); ftCmo.setReserved3(0); obj.addSubRecord(ftCmo);
/** * Creates the low level OBJ record for this shape. */ private ObjRecord createObjRecord(HSSFShape hssfShape, int shapeId) { HSSFShape shape = hssfShape; ObjRecord obj = new ObjRecord(); CommonObjectDataSubRecord c = new CommonObjectDataSubRecord(); c.setObjectType((short) ((HSSFSimpleShape)shape).getShapeType()); c.setObjectId( getCmoObjectId(shapeId) ); c.setLocked(true); c.setPrintable(true); c.setAutofill(true); c.setAutoline(true); c.setReserved2( 0x0 ); EndSubRecord e = new EndSubRecord(); obj.addSubRecord(c); obj.addSubRecord(e); return obj; }
/** * Creates the low level OBJ record for this shape. */ private ObjRecord createObjRecord(HSSFShape hssfShape, int shapeId) { HSSFShape shape = hssfShape; ObjRecord obj = new ObjRecord(); CommonObjectDataSubRecord c = new CommonObjectDataSubRecord(); c.setObjectType((short) ((HSSFSimpleShape)shape).getShapeType()); c.setObjectId( getCmoObjectId(shapeId) ); c.setLocked(true); c.setPrintable(true); c.setAutofill(true); c.setAutoline(true); c.setReserved2( 0x0 ); EndSubRecord e = new EndSubRecord(); obj.addSubRecord(c); obj.addSubRecord(e); return obj; }
ftCmo.setAutoline(true); ftCmo.setReserved1(0); ftCmo.setReserved2(0); ftCmo.setReserved3(0); obj.addSubRecord(ftCmo);