packagePath = insertImage(doc, imageUri);
} catch (Exception e) {
Logger.getLogger(ImageDecorator.class.getName()).log(Level.SEVERE, null, e);
}
for (int i = 0; i < 10; i++) {
TextListLevelStyleImageElement listLevelElement = listStyle
.newTextListLevelStyleImageElement(i + 1);
// xlink:href="Pictures/100002010000001700000017B273CC34.png"
listLevelElement.setXlinkHrefAttribute(packagePath);
listLevelElement.setXlinkTypeAttribute("simple");
listLevelElement.setXlinkShowAttribute("embed");
listLevelElement.setXlinkActuateAttribute("onLoad");
StyleListLevelPropertiesElement styleListLevelPropertiesElement = listLevelElement
.newStyleListLevelPropertiesElement();
styleListLevelPropertiesElement.setTextListLevelPositionAndSpaceModeAttribute("label-alignment");
styleListLevelPropertiesElement.setStyleVerticalPosAttribute("middle");
styleListLevelPropertiesElement.setStyleVerticalRelAttribute("line");
styleListLevelPropertiesElement.setFoWidthAttribute(DEFAULT_IMAGE_WIDTH);