On 25.11.19 09:11, Miklos Vajna wrote:
Hi Heiko,
On Fri, Nov 22, 2019 at 03:53:32PM +0100, Heiko Tietze <heiko.tietze@xxxxxxxxxxxxxxxxxxxxxx> wrote:
The two functions were added for bug 101856 "MAILMERGE Add conditional
to expand / collapse bookmarks" (which is still open) but lack on
documentation and are not self-explanatory. The issue has been raised
in bug 128252 but so far we have got no feedback.
<https://cgit.freedesktop.org/libreoffice/core/commit/?id=7a586a9c6bf28088c72f163d724d1cb3259e7920>
says this was forward-ported from a vendor branch by Michael Stahl.
CC him, as he probably remembers the intention.
i think the intention was that a certain customer extension could use
these flags to conditionally hide a range of text.
the implementation has a few rough edges currently, but it's likely that
we'll be able to polish it in the medium-term future.
generally the idea is that you can put a condition onto a bookmark which
will then be evaluated and if the condition evaluates true the text
range that is selected by the bookmark will be hidden in the document view.
i'm not sure why it's extra flags on a bookmark instead of something
new, but probably there was a reason why this became a requirement.
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice