Re: Need help on how to insert a layer into a Draw document in a unit test

2018-09-07 Thread Regina Henschel
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 help on how to insert a layer into a Draw document in a unit test

2018-09-05 Thread Regina Henschel
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