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

--- Comment #3 from Regina Henschel <[email protected]> ---
"a shape" is not precise enough for LibreOffice. We have very different kind of
shapes that are somehow "rectangles".

A
>From "Basic shapes". That is a "custom shape" shape, that is in file format a
<draw:custom-shape> element. How corners are handled is defined in its
<draw:enhanced-geometry> sub-element.

You can define your own "custom shape", that has a separate handle for each
corner. One problem is, that LibreOffice has no tool that helps users to define
their own custom shape. Currently you need to edit the file markup. Another
problem is, that you cannot change the kind of custom shape while keeping text
and formatting.

Two of its handles can be numerically set in the Position&Size dialog. To be
able to numerically set all handles is pending.

B
>From "Legacy Rectangle" toolbar. That is a <draw:rect> element in file format.
It is so specified, that the radius is the same for all four corners. As this
shape type corresponds directly to the <svg:rect> element and the <roundrect>
element of VML, any additional feature is unlikely.

The corner radius can be numerically set in the Position&Size dialog.

C
A textbox. That is a <draw:frame> element with sub-element <draw:text-box>.
>From the purpose of a textbox I see no need to have different corner radii in
its corners.

The corner radius can be numerically set in the Position&Size dialog.

D
A polygon. That is a <draw:polygon> element in file format. It is a sequence of
points. Corner rounding cannot be made by parameter, but needs an explicit
point sequence.

E
A path (Bézier curve). That is a <draw:path> element in file format. Its lines
are given by an svg:d element and that has neither any parameter for corners
radii.

So for me the only way to go is with A. We could provide a Gallery theme with a
lot a rectangle custom shapes as extension. Or we start to implement tools or
provide a collection of macros, to create and manipulate custom shapes.

Who will do it or pay for it?


(In reply to Khaled from comment #0)
> Preservation of Rounding Values: Ensuring that the rounded corner values
> are maintained when the shape is edited or split. For example, if a shape
> with rounded corners is cut in half, the rounded corners should remain
> rounded, and their values should be preserved.

LibreOffice has no tool to cut a shape of type A, B or C in half.

What problems do you have with corner radius when you edit a shape?

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

Reply via email to