Hi all,
I have found suitable methods. I can use InsertNewLayer() and
SetLayerVisible().
Kind regards
Regina
Regina Henschel schrieb am 06-Sep-18 um 01:10:
Hi all,
I'm working on
https://bugs.documentfoundation.org/show_bug.cgi?id=119392. I have a
solution for it. Now I need a unit test. I need to do:
1. Load a Draw document, which has two user defined layers with
non-default settings for visible/printable/locked.
2. Insert a new layer between these two layers, which has non-default
settings for visible/printable/locked.
3. Save the document.
4a) Examine the saved file, whether it has the correct items in the
setting.xml or
4b) Reload the file and make sure the visible/printable/locked settings
are correct for each of the user defined layers.
Is there a test, where I can look, how to make step 2? A guide for step
4b is not quite necessary because I know how to do step 4a, but would be
nice to have.
Kind regards
Regina
_______________________________________________
LibreOffice mailing list
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.