Hi Xisco,
Xisco Fauli schrieb am 07-Nov-19 um 21:26:
Hello Regina,
What about using tiledrendering. e.g.
https://opengrok.libreoffice.org/xref/core/sd/qa/unit/tiledrendering/tiledrendering.cxx?r=13fb343e#502
?
Ok, that contains how to use an UndoManager.
But how can I act with the shape, so that an undo-entry is generated?
UI actions, that produce the error are: changing line or fill
attributes, switching extrusion on/off, setting "Autofit text" on.
And would it be correct to add my test to that file? My topic is
different from 'tiledrendering'.
Kind regards
Regina
El 7/11/19 a les 19:07, Regina Henschel ha escrit:
Hi all,
It is about bug
https://bugs.documentfoundation.org/show_bug.cgi?id=128651
The reason is the already discussed behavior of
SdrObjCustomShape::SetShapRect, so I know how to fix it.
But I do not know, how to make a unit test about undo and redo
functionality.
Kind regards
Regina
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice
_______________________________________________
LibreOffice mailing list
LibreOffice@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/libreoffice