On 21.08.2017 04:37, Ashod Nakashian wrote:
These don't seem to give us what we need, and I couldn't find an
obvious/easy way to extend them. GetExpandText uses ModelToViewHelper,
so I tried using ModelToViewHelper with Replace but (though it should've
worked) since it depends on the hints to be up-to-date, it's failing (at
least in some scenarios hints are empty, which means it returns the
display text as default, which includes all fields).
but if there are no hints, there can't be any fields in the text?
... except for "field-marks" which have infested writer documents for
some years now but the implementation is still incomplete... it looks
like ModelToViewHelper can only replace "DropDown" field-marks, which is
not all of them...
but i think only the WW8 import creates these.
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.