Issue 15835

Summary: Image Copy/Pasted from Draw to Writer scales - except fonts
Product: Draw Reporter: cwehner <christofwehner>
Component: uiAssignee: wolframgarten
Status: CLOSED IRREPRODUCIBLE QA Contact: issues@graphics <issues>
Severity: Trivial    
Priority: P3 CC: haui, issues
Version: OOo 1.0.3   
Target Milestone: ---   
Hardware: PC   
OS: Windows 2000   
URL: n/a
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---
Issue Depends on:    
Issue Blocks: 50030    
Attachments:
Description Flags
Original Drawing
none
Resulting Text Document with "bad" graphics none

Description cwehner 2003-06-20 08:16:58 UTC
When I Copy/Paste a vector picture from Draw to Writer (or Insert-Graphics-From 
File), the picture itself is scaled perfectly, just the font size remains 
unchanged, making the picture very difficult to read (scaling A4 to something 
fitting a in smaller box!).

This was true in 1.0.3(1) and remains the same in 1.1. beta 2.

Did I get the intended behaviour wrong? I'll be happy to add whatever 
information is necessary...

Hope I got the component right - is this a Draw or Writer issue?!?
Comment 1 wolframgarten 2003-06-20 09:55:20 UTC
Would it be possible to attach the graphic file? Which graphic format
do you use? Thanks for your help. 
Comment 2 cwehner 2003-06-20 11:07:30 UTC
Created attachment 7006 [details]
Original Drawing
Comment 3 cwehner 2003-06-20 11:08:14 UTC
Created attachment 7007 [details]
Resulting Text Document with "bad" graphics
Comment 4 cwehner 2003-06-20 11:09:34 UTC
First - I stand corrected Insert-Graphics-From File is for BMPs only. 
This is a Drawing.

Now, find as attachments the two files, the original drawing and the 
(resized) drawing in the text doc.

Thanks for the quick response!!

Christof
Comment 5 wolframgarten 2003-06-20 12:29:50 UTC
The behaviour is correct. Draw and Impress behave the same way and so
does writer when a drawing is pasted. For example: draw a rectangle
with text and resize the rectangle: you do not expect the text to
scale, too. For resolving your problem I would say: try the different
options under Edit/paste special. GDI metafile should fit your needs,
with OpenOffice 6.0 drawing you insert an OLE which can be scaled,
too. The last should be the best option, I think. 
Hope this helps.
Comment 6 wolframgarten 2003-06-20 12:30:04 UTC
Closed.
Comment 7 cwehner 2003-06-20 13:58:02 UTC
I do not agree - this behaviour may be "as defined" (and as-
such "correct" technically). However, SO 5.2 behaved differently, and 
so does my intuition - I would expect that components that scale 
(boxes etc...) and contain text make the text scale, too.

Let's make this a "wish" or "feature" - again, technically correct, 
but less than intuitive.
Comment 8 wolframgarten 2003-06-20 14:26:19 UTC
Sorry, but the SO 5.2 behaves in exact the same way: draw a rectangle
with text, resize it and the text will keep it's fontsize, in writer
or in impress. when I change the size of a box I do not want to change
the size of the contained text. Even MS Word behaves in that way.
Maybe there should be an option to connect box and content. But as
long as there are options like OLE the default should not be changed.
If you want this please file an enhancement or feature wish. Thanks
for your help.
Comment 9 wolframgarten 2003-06-20 14:26:33 UTC
Closed again.
Comment 10 haui 2005-05-30 10:36:10 UTC
There is the need for truly scaling an image (see issue 50030). Issue 15835 is
one evidence for that. In my opinion, this issue was improperly closed and
should be reopened. The fact that all ancestors of OOoffice did the same thing
of scaling "not to scale" is simply not an argument for this being correct and
the only thing that users could imagine/whish/need.
Comment 11 wolframgarten 2005-05-30 11:33:16 UTC
I was comparing with SO 5.2 because cwehner said that it was different there.
Anyway, 50030 is open and a requirement. As I have said earlier on the user
could have filed a feature wish or enhancement. That was not done until 50030.
Several issues for the same thing would be confusing, thats why I keep this one
here closed.
By the way: giving an explicit linewidth or fontscale to a drawing I expect this
to keep it even after scaling. And not only OOo behaves this way - Corel Draw
and a lot of others do it, too.