Bug 100277 - correctly resize ODG graphics, if embedded in Writer (ODT)
Summary: correctly resize ODG graphics, if embedded in Writer (ODT)
Status: RESOLVED DUPLICATE of bug 59758
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
5.1.3.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-08 19:32 UTC by Moritz Duge (allotropia) (a.k.a. kolAflash)
Modified: 2016-06-09 07:07 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
example ODT file (36.12 KB, application/vnd.oasis.opendocument.text)
2016-06-08 19:32 UTC, Moritz Duge (allotropia) (a.k.a. kolAflash)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Moritz Duge (allotropia) (a.k.a. kolAflash) 2016-06-08 19:32:03 UTC
Created attachment 125556 [details]
example ODT file

In Writer/ODT for embedded ODG graphics:
Please add the possibility to resize the fonts of an ODG graphic with the rest of the graphic.

If importing an ODG graphic into an Writer/ODT document, it often happens that one need to resize the graphic a little. But currently the fonts in that ODG graphic don't resize with the rest but stay in their native fontsize.

Please add a way to (optionally) resize an imported ODG graphic including it's fonts.
This maybe also might be a nice feature in Draw itself, when resizing a graphic.


Another point is, that the line widths also don't resize with the rest of the graphic. Have a look at the attached ODT file.


Currently the only practical way is to export to SVG, cut the too wide frames of the SVG using Inkscape and import the SVG into Writer. Then the fonts in the graphic will resize with the rest of the graphic.



System configuration:
openSUSE 13.2 Linux, 64 bit, german


Tested with:

LibreOffice 5.1.3.2
http://download.opensuse.org/repositories/LibreOffice:/5.1/openSUSE_13.2/

Inkscape 0.48
Comment 1 Regina Henschel 2016-06-08 21:25:17 UTC
Such feature is not implemented, so it would be an enhancement request. This problem is essentially the same as bug 85797 and bug 59758.

The svg format works different in principle, as it applies transformations on the whole content. For example fat lines are slanted in SVG too. Draw applies transformations only on the position and size information.

There exists a feature for Charts to bind or not to bind the font size to transformations, or a feature to auto-shrink font size in presentation objects in Impress. So it is not impossible, but would be a new feature.

Currently the correct workaround is to export your drawing to svg. If you get "a too wide frame", then you have likely forgotten to check the option "Selection" in the export dialog. 

I let the Status on unconfirmed, because Heiko is currently consolidating and sorting all the Draw issues. He should decide, what to do with this issue.
Comment 2 Joel Madero 2016-06-09 03:33:53 UTC
Let's cc him then.

@Heiko - close it? Dupe it? Set it to new?
Comment 3 Heiko Tietze 2016-06-09 07:07:38 UTC
Closing this as duplicate of 59758 where I suggested a solution for the UI. 

There are some requests regarding object/font resizing/manipulation for one or many objects (text box, shape with text, lines etc.).

Alternatively to the SVG procedure you may also paste the object as a raster graphic - with all the drawbacks. And you could use styles to adjust the font in many objects, which is the preferred way in Libreoffice. But it looks like that the paragraph styles assigned to objects in Draw is not handled properly in other modules. Would be another bug.

*** This bug has been marked as a duplicate of bug 59758 ***