Package org.apache.poi.xwpf.usermodel
Class XWPFPicture
- java.lang.Object
-
- org.apache.poi.xwpf.usermodel.XWPFPicture
-
public class XWPFPicture extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description XWPFPicture(CTPicture ctPic, XWPFRun run)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CTPicture
getCTPicture()
Return the underlying CTPicture bean that holds all properties for this picturejava.lang.String
getDescription()
XWPFPictureData
getPictureData()
Get the PictureData of the Picture, if present.void
setPictureReference(PackageRelationship rel)
Link Picture with PictureData
-
-
-
Method Detail
-
setPictureReference
public void setPictureReference(PackageRelationship rel)
Link Picture with PictureData- Parameters:
rel
-
-
getCTPicture
public CTPicture getCTPicture()
Return the underlying CTPicture bean that holds all properties for this picture- Returns:
- the underlying CTPicture bean
-
getPictureData
public XWPFPictureData getPictureData()
Get the PictureData of the Picture, if present. Note - not all kinds of picture have data
-
getDescription
public java.lang.String getDescription()
-
-