Issue 23528 - Resizing each object within a selection on one hit
Summary: Resizing each object within a selection on one hit
Alias: None
Product: General
Classification: Code
Component: ui (show other issues)
Version: OOo 1.1
Hardware: All All
: P4 Trivial (vote)
Target Milestone: AOO Later
Assignee: AOO issues mailing list
QA Contact:
Keywords: rfe_eval_ok
Depends on:
Reported: 2003-12-13 16:05 UTC by kelvine
Modified: 2013-02-07 22:34 UTC (History)
1 user (show)

See Also:
Latest Confirmation in: ---
Developer Difficulty: ---


Note You need to log in before you can comment on or make changes to this issue.
Description kelvine 2003-12-13 16:05:10 UTC

One issue that makes forms tedious for me is the lack of the ability to
select a group of controls and to change either the height or width of all
the selected controls in one hit.

In MS Access I can select a group of controls (as I can in OOo).

I can then select in MS Access the size options which include:
Size To Fit
Size To Grid
Size To Tallest
Size to Shortest
Size to Widest
Size to Narrowest

I rarely if ever use the To Fit and To Grid options, but the others I use
all the time.

The one option which would make it easier for me that Access is missing, is
a Size To Same Size. The problem with To Same Size is "to which" of the
selected objects. In CorelDraw (which I haven't needed to use since learning
OOo Draw) I seem to remember it used the first selected object which is not
a bad approach (although it is obscure if you don't know it exists.)

So a "Size To 1st Selected" would probably do what I would like.

Again I can see a problem is when you lasso objects. The first selected
object is not as obvious or necessarily easy to determine. So I appreciate
it is not an easy answer, but it doesn't hurt to ask.

So from my point of view, we have an Align Object which is very good (and
better than Access with Centered), it would be nice to also have an Adjust
Object with the following options

To Tallest
To Shortest
To Widest
To Narrowest
To 1st Selected

with possibly  (although not important to me)

To Fit
To Grid


Comment 1 marc.neumann 2003-12-15 11:52:45 UTC
Hi Bettina,

nice idea. This could be part of the PCD abount ease-of-use for controls and
form. Maybe we can also provide this for all other shapes.

Bye Marc
Comment 2 kelvine 2003-12-17 21:40:09 UTC

The idea of having First Selected control as the base for the resize may not 
work as the information may not be available.

However an alternative is to use the Front object. The user could bring an 
object to the Front, then lasso the objects, then Size to Front.

The z-order of objects appears to determine the index (getByIndex()) from what 
I can determine in testing.

This is obviously only half acceptable because it would not be apparent 
immediately to users which is the Front object and what they need to do.

A better method would be to store the selection sequence as objects are 
selected and Size To First as this is more self explaining.

Hope this helps.

Comment 3 kelvine 2003-12-17 21:45:35 UTC

The following message was posted on the dba mail list by Sasa Kelecevic.

It shows the logic in Basic which can be used as a basis to provide this 

I thought the developers may appreciate having a starting point so they don't 
need to nut out the algorithm.

Hope it helps

Comment 4 Frank Schönheit 2003-12-18 10:19:36 UTC
Having a clear visual representation of "first selected" would be of value in
other scenarious, too. E.g., it always annoys me that when aligning shapes, the
"reference" shape to which all others are aligned is always the first one in
z-order (or something like this) - this is in no way comprehensible for the user.

So as a side note for this issue, I'd like to have a visual representation of a
"reference shape" in a multi selection of shapes. Actions such as Align, Fit,
etc., should use this reference shape, instead of one "chose by chance".
Comment 5 bettina.haberer 2004-01-29 14:59:55 UTC
This is a nice idea, it is considered for OO.o later.
Comment 6 bettina.haberer 2004-01-29 15:03:39 UTC
Changed status to started. And also changed the component, as this feature
affects all drawing objects in all applications.
Comment 7 bettina.haberer 2010-05-21 14:50:41 UTC
To grep the issues easier via "requirements" I put the issues currently lying on
my owner to the owner "requirements". 
Comment 8 crewotclasour 2010-11-11 00:39:12 UTC
Created attachment 73916