Date: prev next · Thread: first prev next last
2020 Archives by date, by thread · List index


Thanks a lot!

This approach also helps to get a better understanding, where
propterties are stored and how they can be changed.

:)

On 14.02.20 06:38, Michael H wrote:
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.  

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). 

Once you understand where the text that defines the graphic is stored,
hopefully that makes the solution obvious. 

On Thu, Feb 13, 2020 at 2:21 PM fxruby <fxruby@siberas.de
<mailto:fxruby@siberas.de>> wrote:

    Hello,

    I'm writing a java app for updating tables of a writer document.
    I want to delete all graphics of a cell (there are two graphics anchored
    to the cell, one as 'as char' and the other one 'to paragraph').

    I can delete the one which is anchored 'as char' by overwriting the
    string of the cell. But I can't get the one which is anchored as 'to
    paragraph' (the anchor is inside the cell).

    What is the correct approach to delete the graphic?

    kind regards,

    Andy
    _______________________________________________
    LibreOffice mailing list
    LibreOffice@lists.freedesktop.org
    <mailto:LibreOffice@lists.freedesktop.org>
    https://lists.freedesktop.org/mailman/listinfo/libreoffice


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.