Issue 13972 - Resizing text when resizing objects
Summary: Resizing text when resizing objects
Status: CONFIRMED
Alias: None
Product: Draw
Classification: Application
Component: code (show other issues)
Version: OOo 1.1
Hardware: All All
: P3 Trivial with 6 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords:
: 21684 44303 73342 85884 93596 (view as issue list)
Depends on:
Blocks:
 
Reported: 2003-04-30 15:20 UTC by citibob
Modified: 2015-04-13 10:48 UTC (History)
5 users (show)

See Also:
Issue Type: ENHANCEMENT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Greyed unchecked "adapt text" (44.60 KB, image/png)
2015-03-13 10:34 UTC, michel.rvb
no flags Details
Greyed checked "adapt text" (34.36 KB, image/png)
2015-03-13 10:35 UTC, michel.rvb
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description citibob 2003-04-30 15:20:06 UTC
This has to do with resizing objects --- and groups of objects --- in the
OpenOffice.org Draw/Presentation/etc applications.

Current behavior is when you resize objects, the text in the object is NOT
resized.  This is the right thing to do in many cases.

But in other cases, it is the wrong thing to do.  Suppose you made a diagram
that's 10" wide, for presentation.  Now you want to shrink it down for inclusion
as a figure in the Writer application.  There needs to be a way to scale the
text along with the rest of the object.  Manually re-doing all the font sizes on
all the objects is not a good solution.

I have not been able to find a way to do this in OpenOffice.org.  This is the
single feature I miss the most, and which would make OpenOffice.org truly useful
for me.
Comment 1 wolframgarten 2003-04-30 15:36:40 UTC
Reassigned to Bettina.
Comment 2 scarr 2003-06-26 05:39:02 UTC
In 1.1Beta2, you can right click on an Object, then click Text, and
select Fit To Frame.

You could also set this as the default style for new objects.

Can this issue be closed?
Comment 3 jbotte 2004-01-06 18:57:22 UTC
I don't think this can be closed quite yet... I was about to report the same
thing, but I found this issue. I followed your instructions and got mixed
results. This also raised another issue with text and the method you suggested.

Firstly, only the text that was grouped with an individual object before
grouping a collection of objects and text boxes (i.e. a number of objects had
text grouped with them, text boxes were added to label the different parts of
the diagram, then the whole was grouped and then scaled using the Position and
Size dialogue box) was resized. The text that was in text boxes on their own
(within the group, but not associated with some other object... in my case they
were 3D cube objects) did not scale with the rest.

Secondly, when I selected the Text... and Fit To Frame, it did fit it to the
frame that the text was in, but it messed up my font size and streched the
letters (as would be expected with the Fit To Frame... that's not a problem).
The problem is that most times, when creating text, I don't fit the text box
tightly to the text itself, which would be the only way for the Fit To Frame not
to mangle the text before the resize (and, of course, the problem exists after
the resize). So... to do a resize of a group of objects using this method (if
the scaling of of solo text boxes in the group worked...) there would need to be
a "shrink wrap all text frames to their text" command to use before the Fit To
Frame.

Since this is a fairly basic operation, there should probably be an "in your
face" way of doing this. For instance, if I create an object (say, a circle) and
then decide I want to put some text on it, I would create a text object and move
it over top the circle. I'd then group the two objects together. Now if I wanted
to scale it... I'd want the text to scale with the circle. From my own use of
other programs, this is the behaviour that I would expect as a default, and the
case of not scaling the text would be an exception (perhaps available as a "Do
Not Scale Text" check box in the Position and Size dialogue beside the Keep
Ratio check box).
Comment 4 jbotte 2004-01-06 19:03:30 UTC
I noticed that it was reported in "1.0.0". I am using "OOo 1.1".
Comment 5 citibob 2004-03-16 04:13:14 UTC
No, the issue cannot be closed.  The needed enhancement has not been put into OO 1.1

This is an important issue.  You should be able to draw a picture, then scale it
to size later --- whether you want it shrunk down, or blown up to fill the whole
page, depending on what you decide to use the drawing for.  You should not have
to fiddle with all the font sizes every time you change the size of your image.

Hopefully, resizing of the text along with the drawing will find its way into OO
2.0.  I believe MS Office has done this for many years.
Comment 6 chrisito 2004-04-28 18:23:06 UTC
I totally agree here. There could be an option to "Scale with Frame", allowing a
setting in which dimension this should happen, e.g. X and Y. Should not be that
difficult to implement. Would love to do it myself, but am not really involved
in OO development.
Comment 7 aexl 2005-01-30 14:39:48 UTC
I would support this request and call it BUGFORME...
In 90% of my use cases (flyers etc) i want text to resize with other objects.

Corel Draw does this by Default.
(Corel distinguishes Text Objects - where the font size does resize - and Text
Boxes - where font size does not resize.

This issue is the reason i still have to use corel draw... :-((
Comment 8 jefferai 2007-09-20 17:19:42 UTC
See also http://www.openoffice.org/issues/show_bug.cgi?id=43937
Comment 9 michael.ruess 2008-02-06 08:00:03 UTC
*** Issue 85884 has been marked as a duplicate of this issue. ***
Comment 10 michael.ruess 2008-09-08 12:01:16 UTC
*** Issue 93596 has been marked as a duplicate of this issue. ***
Comment 11 nekohayo 2008-10-22 17:06:20 UTC
here is an easy solution (for the "logic" of how it could work):
- when resizing a single object, one would expect the user means to change the
"frame" size and not the font size. In this case, don't adjust the font size.
- when resizing GROUPS of objects (>1 objects), resize the contained text

This is incredibly frustrating. To make flowcharts, I need to go in OOo Draw
(because Writer won't let me use Connectors!), and when I paste the thing back
into Writer, the font sizes are too big and destroy all the flow chart balance
(it affects connectors, etc). I have to manually select the flow chart items and
reduce the font sizes. It's madness.
Comment 12 caolanm 2008-11-08 16:30:35 UTC
*** Issue 21684 has been marked as a duplicate of this issue. ***
Comment 13 caolanm 2008-11-08 16:31:46 UTC
*** Issue 73342 has been marked as a duplicate of this issue. ***
Comment 14 caolanm 2008-11-08 16:34:12 UTC
*** Issue 44303 has been marked as a duplicate of this issue. ***
Comment 15 bettina.haberer 2010-05-21 15:09:36 UTC
To grep the issues easier via "requirements" I put the issues currently lying on
my owner to the owner "requirements". 
Comment 16 michel.rvb 2014-12-08 17:25:37 UTC
Yet another OO problem, more than 10 years old (version 4.1.0), with absolutely not the slightest consideration, not even understanding it, and thus still open.

Too bad.
Comment 17 michel.rvb 2015-03-13 10:25:48 UTC
Version 4.1.0.

The behavior of text resizing in basic shapes is completely insane.

Sometimes the text is resized with the shape but firstly it will always extends to the whole shape size, and secondly the resizing is not done by adapting the font size, but rather by stretching / shrinking the graphic text object, the visual result is awful.

Sometimes the text is not resized.

Sometimes it is possible to check the "adapt text to frame", sometimes the option is grayed and cannot be changed, whether it is checked or not. Even the same shape copied from one document to another will have its behavior changed, for instance the text is "normal" (not resized) in the original drawing, and when copy-pasted to another drawing the text is suddenly stretched to the shape's size... and no way to change it as the option is greyed.

The same drawing might suddenly change behaviour (stretched text becomes normal, or vice-versa) for unknown reason.

I wonder if someone sensible is testing the software ?
Comment 18 michel.rvb 2015-03-13 10:34:54 UTC
Created attachment 84587 [details]
Greyed unchecked "adapt text"
Comment 19 michel.rvb 2015-03-13 10:35:55 UTC
Created attachment 84588 [details]
Greyed checked "adapt text"

The text of the shape will be stretched, no way to change it.
Comment 20 terablade2001 2015-04-05 12:41:21 UTC
After so many years and this has not been fixed...
A video denoting the problem (and a solution) is showing here.
For the solution, prefixed styles can be used. Write the text with Style-A, and the apply style-B.. If there is a need to change the text, reapply Style-A, change the text, reapply Style-B... etc...

Please fix that ASAP .. It's a must-have for Open-Office DRAW, as many draws/schematics etc they are need resizing in order to fit in documents/presentations etc...

https://youtu.be/CbCU4CBjQ_g
Comment 21 Office User 2015-04-13 10:48:39 UTC
When I started using office programs, more than 20 years ago, it was already possible to make a vector drawing, with texts, using a drawing tool, and insert it into a text document, and resize the drawing so that it fits in the text column. And the text was correctly scaled. It was not so hard to implement I guess, it is only a matter of scaling the whole vectorial picture.

It has not been possible with Open Office.

Apparently Open Office genius designers think that this is useless.

I tried various things:
 - copy / paste the drawing: text is not scaled
 - export as vector graphic and import into Writer document:
     - as EPS: Open Office Writer cannot embed the EPS file into PDF... (!!).
     - as SVG: Error when saving the SAV file
     - as EMF : the imported file lacks most of the drawning part (no text, no boxes). For a 52 kB odg drawing, the EMF file is 2MB! Ridiculous attempt to implement this format. If I import the EMF file into Microsoft Word... it works I get my drawing !
     - as WMF: same as EMF but the file size is 2.8MB!