I'm building a fairly complex document -- mostly in Writer, with one Calc and a number of Writer
subdocuments, and using Base (for now) to manage tables that supply lists in the master document.
There are a lot of alternative sections and conditional text, most controlled by a number of
variables I defined and maintain in hidden fields in the master document. It works decently, but I
see that some aspects could be simplified with system variables (if they exist) rather than
user-defined variables.
Here is an example: Can text on a page be made dependent on the style (that is, presumably, the
style name) of that page? If it is not a built in system variable, how might I query a style name
(or even a style definition)?
A second problem at this stage of development is how to give someone else easy access to
control/modify the variables in those hidden fields. I've looked at appropriate form controls but
don't see how to link a control to a variable in the document. Can someone point me in the right
direction for that?
Thanks,
John
--
To unsubscribe e-mail to: users+unsubscribe@global.libreoffice.org
Problems? https://www.libreoffice.org/get-help/mailing-lists/how-to-unsubscribe/
Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette
List archive: https://listarchives.libreoffice.org/global/users/
Privacy Policy: https://www.documentfoundation.org/privacy
Context
- [libreoffice-users] Style-dependent variables? · John Kaufmann
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.