Hello all,

I'm new to this list, I've joined the list because I've seen the following misbehaviour related to images:

In my document I add an image to a paragraph contained to a table cell:
        Image image = Image.newImage(para, new URI(imgParams.get("uri")));

        FrameStyleHandler styleHandler = image.getStyleHandler();
        OdfContentDom styles = para.getOwnerDocument().getContentDom();
StyleGraphicPropertiesElement gProperties = new StyleGraphicPropertiesElement(styles);
        [...]
        gProperties.setStyleFlowWithTextAttribute(false);
        writableStyleProperties.appendChild(gProperties);

Though the property is set to "false", the resulting content includes the property as "true". I'm even more uncomfortable with this, as LibreOffice does not behave correctly after unsetting this property manually, but only after reloading. As I'm new to the toolkit, it's also possible that I've misconfigured sth. - If so, do You probably know what?

Another problem I've noticed: When creating the odt file programmatically, I can open the properties dialog only for some "card tabs", but not for the image details alltogether. Do I have to do some special configuration?

Kind regards
Peter

Reply via email to