* @param pictureData The bytes of the picture
* @param format The format of the picture.
*
- * @return the index to this picture (1 based).
- * @see XSLFPictureData#PICTURE_TYPE_EMF
- * @see XSLFPictureData#PICTURE_TYPE_WMF
- * @see XSLFPictureData#PICTURE_TYPE_PICT
- * @see XSLFPictureData#PICTURE_TYPE_JPEG
- * @see XSLFPictureData#PICTURE_TYPE_PNG
- * @see XSLFPictureData#PICTURE_TYPE_DIB
+ * @return the picture data
*/
public XSLFPictureData addPicture(byte[] pictureData, PictureType format) {
XSLFPictureData img = findPictureData(pictureData);
/**
* Create a new <code>OLEShape</code>
*
- * @param idx the index of the picture
+ * @param data the picture data
* @param parent the parent shape
*/
public OLEShape(HSLFPictureData data, ShapeContainer<HSLFShape> parent) {
/**
* Create a new <code>Picture</code>
*
- * @param idx the index of the picture
+ * @param data the picture data
*/
public HSLFPictureShape(HSLFPictureData data){
this(data, null);
/**
* Create a new <code>Picture</code>
*
- * @param idx the index of the picture
+ * @param data the picture data
* @param parent the parent shape
*/
public HSLFPictureShape(HSLFPictureData data, ShapeContainer<HSLFShape> parent) {