public interface PictureAdapter
Modifier and Type | Method and Description |
---|---|
void |
addPicture()
The converter will call this method every time when it encounters an
embedded picture in the RTF code.
|
void |
beforeConvert()
The converter will call this method before it starts to convert the RTF.
|
EmbeddedPicture |
finalizePicture()
The converter will call this method every time when it reaches the end of
an embedded picture.
|
EmbeddedPicture |
getCurrentPicture()
For internal use only.
|
Map<String,EmbeddedPicture> |
getPictures()
Return the map of the pictures in the current document.
|
void |
setBase(String base)
Set the base URL of the image link.
|
void beforeConvert()
void addPicture()
EmbeddedPicture getCurrentPicture()
EmbeddedPicture finalizePicture()
Map<String,EmbeddedPicture> getPictures()
void setBase(String base)
base
- root path of the imageCopyright © 2019 Habarisoft. All rights reserved.