When a user enables 'mouse as pen' before starting the slideshow, then his paintings are saved as persistent shapes when he exits slideshow. These shapes were then converted back to paintings when the user starts the slideshow again, so that they are visible againg. But these old paintings were treated as new paintings when the user exits slideshow and were then saved again as shape to the page although the page contains these shapes already. Thus with every new start and exit of the slideshow the shapes were duplicated. Because the duplicates are at exactly the same place as the originals, you do not notice it immediately. But you can see the duplicates in the Navigator and notice it in the file size. The fix introduces a flag that is set at the paintings from the existing shapes when the slideshow is started. This flag is then used to skip those paintings from converting to shapes when slideshow is finished. Change-Id: I93324d157b1b802d7b8e24858034d2fdc5d71b45 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/188364 Tested-by: Jenkins Reviewed-by: Thorsten Behrens <thorsten.behrens@collabora.com>
C++ Helper Classes for canvas
Helper C++ classes for canvas, plus a GDIMetaFile-to-XCanvas converter.
EMF+
For cppcanvas/source/mtfrenderer, see the README.md in vcl (the EMF+ part).