Re: Unittest for tdf#130515

2020-03-03 Thread Lionel Élie Mamane
Hi, The Text property of the control, and of its model, contains the text typed by the user in that control, not the text displayed, and not a rendering of the value in the control. To get the displayed text, get the peer of the _view_ of the control. Something like: model = document.getDrawPa

Re: Unittest for tdf#130515

2020-03-03 Thread Pietro Paolini
unsubscribe libreoffice-dev On Tue, Mar 3, 2020 at 8:18 PM Xisco Fauli wrote: > > Hi, > > it works like a charm. Thanks > > On 3/3/20 17:15, Lionel Élie Mamane wrote: > > Hi, > > > > The Text property of the control, and of its model, contains the text > > typed by the user in that control, not t

Re: Unittest for tdf#130515

2020-03-03 Thread Xisco Fauli
Hi, it works like a charm. Thanks On 3/3/20 17:15, Lionel Élie Mamane wrote: > Hi, > > The Text property of the control, and of its model, contains the text > typed by the user in that control, not the text displayed, and not a > rendering of the value in the control. > > To get the displayed tex