https://bugs.documentfoundation.org/show_bug.cgi?id=77125

--- Comment #12 from Regina Henschel <[email protected]> ---
It should not be done by a _change_ of the existing shape, because the existing
shape is needed without handles for interoperability with MS Office.

So you need to create a _new_ shape type.

Some time ago, the "sinusoid" shape was added. The discussion of that patch is
in https://gerrit.libreoffice.org/c/core/+/165353. You can see in that patch,
which parts in the code are affected by adding a new shape.

But before you can add a shape in the syntax needed in
svx/source/customshapes/EnhancedCustomShapeGeometry.cxx, you need to define the
geometry of the shape in file format. Translating the file markup into the
internal syntax is a second step. There exist no code for such translation, but
you need to translate it manually.

Some information about translation between file format and internal syntax is
in the already mentioned article
https://wiki.documentfoundation.org/Development/Custom_Shape_Orientation_Guide.
You can simple skip those parts that refer to MS Office.

So please first define the geometry, show an example here and then we can go
the next step. Of cause you can use the existing shape as start when you define
your own new shape.

Another idea might be to first solve bug 149077. That way you would learn more
about this callout shape and its internal syntax and after that you can make a
new shape, that extends the callout shape with handles.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to