Ask Your Question

graphic objects in calc imported from MS Excel with wrong text orientation [closed]

asked 2014-03-20 16:36:52 +0100

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.


I just imported a large number of MS Excel documents with flowcharts into LibreOffice Version: Most of the graphical objects used for those are imported OK at first sight. However, if I want to make changes of the graphical objects they appear to be in a really odd condition. I can't select them in groups and, what gives me a really hard time, in some I can't get the text within the objects into a proper orientation. It keeps being upside down even if the object orientation is changed.

I just attach a sheet with such an object in a calc sheet, you can copy and move them but the odd behaviour stays the same, here the link:

link text

The only workaround I found is to create all objects again in LibreOffice and copy and paste the text, but to be honest I try to avoid this annoying work,.

Can anyone help ?


edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Alex Kemp
close date 2016-02-20 08:29:48.275997

1 Answer

Sort by » oldest newest most voted

answered 2014-03-20 22:42:14 +0100

Regina gravatar image

updated 2014-03-21 15:57:09 +0100

You have to correct it in the file. As far as I know, LibreOffice has no UI for it. Make a copy of the file and work on the copy. The .ods file is a zip-container.

Open the file with an packer e.g. "7-Zip". You need not unpack it, but simple enter the container. Open the file content.xml in an editor (Unix line end, UTF-8 coding). The information is in the end part of the file. The shape is a "draw:custom-shape". You can find it by search for its text. It has a child "draw:enhanced-geometry" and that has the attribute "draw:text-rotate-angle". Currently it has the value 270. Set it to 90. Save and close content.xml, exit the container, confirm content update.

If the drawing objects are not visible, then likely one position is zero or negative. Double-click the object in the Navigator, goto Position&Size in the side bar and set correct values.

I have tested the problem with an .xslx-file generated in Excel 2010. Already the import is buggy. My bug report is .

edit flag offensive delete link more


Regina, I can get the provided example to rotate OK via right-click > Position & Size... > Rotation tab > setting the value from 270 to 90. I realise though that this is just one object from a flowchart. Were you referring to an entire flowchart in your response?

oweng gravatar imageoweng ( 2014-03-21 06:34:33 +0100 )edit

Regina, thanks for the quick answer.

That does work, excellent. BUT the behaviour of those objects remains bizzare, if I close and reopen the file with libreoffice, the objects are shifted around and are changes in size. To be precise, width and height are exchanged and they are moved to another place, here an example:

link text

I saved the file with a width for the lower two symbols of 3,5 cm and a height of 2,5 cm and all three symbols placed right beneath each other.

Does this make sense, somehow ?


chris-0909 gravatar imagechris-0909 ( 2014-03-21 13:11:43 +0100 )edit

@chris-0909, I think that there are some bugs. Already the import of an Excel file is wrong. I noticed the wrong position too, therefore my hint to the Navigator. BTW Apache OpenOffice is wrong too, but in a different way.

@oweng: Rotation via Position&Size rotates the whole shape. Excel has the ability to rotate the text field inside the shape. ODF file format allows this, but both LO and AOO seem to be buggy.

Regina gravatar imageRegina ( 2014-03-21 16:03:48 +0100 )edit

@Regina, I misunderstood the problem. Thanks for explaining it.

oweng gravatar imageoweng ( 2014-03-22 00:07:15 +0100 )edit

Question Tools

1 follower


Asked: 2014-03-20 16:36:52 +0100

Seen: 387 times

Last updated: Mar 21 '14