[Libreoffice-bugs] [Bug 100596] Would like to be able to create and edit block arcs numerically.

2021-09-13 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100596

Heiko Tietze  changed:

   What|Removed |Added

 CC|libreoffice-ux-advise@lists |heiko.tietze@documentfounda
   |.freedesktop.org|tion.org
 OS|Linux (All) |All
   Keywords|needsUXEval |
  Component|Draw|UI

--- Comment #8 from Heiko Tietze  ---
(In reply to Bill from comment #3)
> Created attachment 125932 [details]
> shows preliminary idea for solution GUI for creting/editing block arcs.

I like it. Would show the illustration as preview right of the parameters as we
do in other dialogs too. The "inner radius" could be disabled for non-block
arcs. 
And it fits into the Position and Size dialog as an extra tab "Arc".

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

[Libreoffice-bugs] [Bug 100596] Would like to be able to create and edit block arcs numerically.

2016-07-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100596

--- Comment #7 from Bill  ---
(In reply to Regina Henschel from comment #5)
> @Bill: To center the shape no new feature is needed, because you can set the
> position numerically in the Position dialog.

Thank-you.  I showed it in my June 26 attachment for completeness.  Whether
everything is in one dialog/tab or in separate windows/tabs - do what works
best, what the majority of users want, what's simplest and most robust.  Be
consistent across all shapes.

Bill.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100596] Would like to be able to create and edit block arcs numerically.

2016-07-06 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100596

--- Comment #6 from Bill  ---
(In reply to Regina Henschel from comment #4)
> Created attachment 126078 [details]
> Basic macro for setting arc and radius numerically
> 
> I have attached a document, which contains a Basic library
> 'BlockArrowEditor'. For a block arc use the subroutine 'EditBlockArc' from
> module 'Arc', for a circular arrow (which is very similar) use the
> subroutine 'EditCirculaArrow' from module 'Arrow'. To get the macros to your
> environment, open the file, then with organizer for Basic export the library
> and then import it to 'My Macros' for example.
> 
> The solution has a dialog to set the angles in degree. And it has an input
> field to enter a factor for the inner radius.
> 
> The path of a custom shape is first drawn on a base square of 21600 internal
> units. Then it is scaled to the size, which you set in the Position
> dialog. And other transformations like flipping, rotating, or shearing might
> be applied in addition.  But the values from the handles are directly used
> in the path calculation. Therefore it is not easily possible the make a
> dialog, which refers to the shape as you see it on screen. It would need
> some matrix operations. (I have currently not the time to do it.)
> 
> Therefore I have created the dialog so, that you specify the inner radius by
> a factor. If the untransformed shape has a width of 4cm, then the outer
> radius is 4cm. If you then want an inner radius of 3cm, you have to enter
> the factor 0.75, because 3cm = 0.75 * 4cm.
> 
> The angles always refer to a square shape, their value is in degrees.
> 
> I know it is not perfect, but it might help you until someone will implement
> a solution.
> 
> For implementation I would prefer a more general solution. The Position
> dialog should get a new tab page "Custom Shape Adjudgment", which is shown
> in case a selected custom shape has handles. So not a special solution for a
> block arc, but a general solution for all custom shapes having handles.

In the longer term, I also am wanting a more general solution.  But I thought
it easier and wiser to do one shape first.  Once that is working well, the
others should be easier.  In the long term, I'm looking for:
* circular arcs created/edited by the user by entering in a GUI the center, the
radius, the start angle, and either the central angle or the end angle.
* elliptical arcs created/edited by the user by entering in a GUI the center,
the semi-major and semi-minor axes, the angle of rotation for the semi-major
axis, the start angle, and either the central angle or the end angle.
* circles created/edited by the user by entering in a GUI the center and the
radius.
* ellipses created/edited by the user by entering in a GUI the center, the
semi-major and semi-minor axes, and the angle of rotation for the semi-major
axis.
* rectangles created/edited by the user by entering in a GUI the center, the
length, the width, and the angle of rotation.
* squares created/edited by the user by entering the center, the length of a
side, and the angle of rotation.
* regular polygons created/edited by the user by entering the center, the
number of sides (or vertices), the distance from the center to either a vertex
or the mid-point of a side, and the angle of rotation.  (A square could be a
special case of this.)
* stars created/edited by the user by entering the center, the number of
points, the distance from the center to an inner point, the distance from the
center to an outer point, and the angle of rotation.
Other shapes can be done appropriately.  The behavior I'm wanting is that when
I want to create a new instance of a shape, I click the shape in the window
area to the left of the document and its ruler, the GUI for me to enter the
appropriate numbers would by default pop up.  I would not do any clicking or
dragging in the document.  Likewise, to edit an instance of a shape, I click
that shape in the document, and then use the right mouse button to bring up the
floating menu, and from there select the GUI for editing the shape instance. 
Again, I would not do any dragging in the document.  I should be able to change
a preference value to choose between number entry and clicking/dragging to
create/edit shape instances.

Thank-you for the attachment.  I'll give it a try, but I've never tried using
macros before, so this will take some time.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100596] Would like to be able to create and edit block arcs numerically.

2016-07-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100596

--- Comment #5 from Regina Henschel  ---
@Bill: To center the shape no new feature is needed, because you can set the
position numerically in the Position dialog.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100596] Would like to be able to create and edit block arcs numerically.

2016-07-05 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100596

Regina Henschel  changed:

   What|Removed |Added

 CC||rb.hensc...@t-online.de

--- Comment #4 from Regina Henschel  ---
Created attachment 126078
  --> https://bugs.documentfoundation.org/attachment.cgi?id=126078=edit
Basic macro for setting arc and radius numerically

I have attached a document, which contains a Basic library 'BlockArrowEditor'.
For a block arc use the subroutine 'EditBlockArc' from module 'Arc', for a
circular arrow (which is very similar) use the subroutine 'EditCirculaArrow'
from module 'Arrow'. To get the macros to your environment, open the file, then
with organizer for Basic export the library and then import it to 'My Macros'
for example.

The solution has a dialog to set the angles in degree. And it has an input
field to enter a factor for the inner radius.

The path of a custom shape is first drawn on a base square of 21600 internal
units. Then it is scaled to the size, which you set in the Position
dialog. And other transformations like flipping, rotating, or shearing might be
applied in addition.  But the values from the handles are directly used in the
path calculation. Therefore it is not easily possible the make a dialog, which
refers to the shape as you see it on screen. It would need some matrix
operations. (I have currently not the time to do it.)

Therefore I have created the dialog so, that you specify the inner radius by a
factor. If the untransformed shape has a width of 4cm, then the outer radius is
4cm. If you then want an inner radius of 3cm, you have to enter the factor
0.75, because 3cm = 0.75 * 4cm.

The angles always refer to a square shape, their value is in degrees.

I know it is not perfect, but it might help you until someone will implement a
solution.

For implementation I would prefer a more general solution. The Position
dialog should get a new tab page "Custom Shape Adjudgment", which is shown in
case a selected custom shape has handles. So not a special solution for a block
arc, but a general solution for all custom shapes having handles.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100596] Would like to be able to create and edit block arcs numerically.

2016-06-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100596

--- Comment #3 from Bill  ---
Created attachment 125932
  --> https://bugs.documentfoundation.org/attachment.cgi?id=125932=edit
shows preliminary idea for solution GUI for creting/editing block arcs.

The top half of the attached image shows my preliminary rough idea of what the
GUI for creating and editing block arcs should look like.  The bottom half is a
rough drawing of the block arc created by the GUI in the top half.  I've also
shown additional lines and the axis to help people correctly understand.  I
assume that the origin of Draw's axes are in the upper left corner of the page
area enclosed by the page margins.  The actual operational GUI should work both
in metric units and in "American" units.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100596] Would like to be able to create and edit block arcs numerically.

2016-06-26 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100596

Heiko Tietze  changed:

   What|Removed |Added

   Keywords||needsUXEval
 Status|NEEDINFO|NEW
 CC||libreoffice-ux-advise@lists
   ||.freedesktop.org

--- Comment #2 from Heiko Tietze  ---
Precision is discussed in bug 44267. But better access to all properties of
block arc, and perhaps other basic shapes as well, is needed. When I draw a
block arc and look into the document there is a good number of properties not
shown to the user.



-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100596] Would like to be able to create and edit block arcs numerically.

2016-06-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100596

V Stuart Foote  changed:

   What|Removed |Added

 Blocks||99622


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=99622
[Bug 99622] [SUPER] Enhance Draw's vector graphics capabilities
-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs


[Libreoffice-bugs] [Bug 100596] Would like to be able to create and edit block arcs numerically.

2016-06-25 Thread bugzilla-daemon
https://bugs.documentfoundation.org/show_bug.cgi?id=100596

V Stuart Foote  changed:

   What|Removed |Added

 Status|UNCONFIRMED |NEEDINFO
 CC||vstuart.fo...@utsa.edu
 Ever confirmed|0   |1

--- Comment #1 from V Stuart Foote  ---
Difficult to conceptualize, what you are looking for. Please provide some
screen clips of what you'd like to create and annotate.

Yes I know you can't do it in Draw, so please work it up Inkscape or DIA (or
Illustrator, or Corel Draw, etc.) and post as PNG.

-- 
You are receiving this mail because:
You are the assignee for the bug.___
Libreoffice-bugs mailing list
Libreoffice-bugs@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs