Hi Miklos, hi all,
my patch is now in https://gerrit.libreoffice.org/c/core/+/119684
I have included tests with image, line, group, and custom-shape.
The lockedCanvas can have child element GvmlGraphicObjectFrame in
addition. That is TableShape, ChartShape or OLE2Shape, I think. So if
someone has a test document for that, I could test whether it really
works and write a unittest with it.
If you can generate such document, please attach it to
https://bugs.documentfoundation.org/show_bug.cgi?id=143476
Besides that, the patch is ready. Because it changes the way
lockedCanvas is imported, it would be good, if you review it.
Kind regards
Regina
Miklos Vajna schrieb am 27.07.2021 um 08:56:
Hi Regina,
On Mon, Jul 26, 2021 at 02:21:51AM +0200, Regina Henschel <rb.henschel@xxxxxxxxxxx> wrote:
does someone know, how to create a document in MSWord, which uses a
lockedCanvas? Or is that only possible via macro? It would be good to be
able to generate own test documents.
My understanding is that lockedCanvas is a workaround, because the
drawingML impl in PowerPoint 2007 was ready but not in Word 2007. So
when you copy a set of shapes from PowerPoint to Word in that version,
Word can render but not edit those shapes, locking them down.
I think 2010 and newer versions don't have this behavior anymore, but
the lockedCanvas element is now with us forever.
I attach a sample I just created this way in MSO 2007.
Regards,
Miklos