<div dir="ltr"><div class="gmail_default" style="font-family:garamond,serif;font-size:large">The graphic positioning information is stored in the document as a string of tagged text. The anchor point defines where in the stream the tags sit, which also defines where the zero point for drawing is. But for managing the item in the table, It likely would help to view the xml to understand where it sits. whether the "paragraph" means the paragraph that the table sits within, or whether it means the paragraph that sits inside the cell, or whether there's another level (maybe the table row) that this setting defines the graphic to sit when it appears within the table. <br><br>To view the xml, you can either rename the .odt document to end in .zip and peek at it with an archive manager, or save the document as flat opendocument (.fodt). <br><br>Once you understand where the text that defines the graphic is stored, hopefully that makes the solution obvious. </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 13, 2020 at 2:21 PM fxruby <<a href="mailto:fxruby@siberas.de">fxruby@siberas.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I'm writing a java app for updating tables of a writer document.<br>
I want to delete all graphics of a cell (there are two graphics anchored<br>
to the cell, one as 'as char' and the other one 'to paragraph').<br>
<br>
I can delete the one which is anchored 'as char' by overwriting the<br>
string of the cell. But I can't get the one which is anchored as 'to<br>
paragraph' (the anchor is inside the cell).<br>
<br>
What is the correct approach to delete the graphic?<br>
<br>
kind regards,<br>
<br>
Andy<br>
_______________________________________________<br>
LibreOffice mailing list<br>
<a href="mailto:LibreOffice@lists.freedesktop.org" target="_blank">LibreOffice@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/libreoffice" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/libreoffice</a><br>
</blockquote></div>