Bug 73182 - FILESAVE: FILEOPEN: DOCX Shape (v:oval) is converted to v:rect in round trip file
Summary: FILESAVE: FILEOPEN: DOCX Shape (v:oval) is converted to v:rect in round trip ...
Status: RESOLVED DUPLICATE of bug 70942
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: Other All
: medium normal
Assignee: Nikhil Walvekar
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-31 06:31 UTC by Nikhil Walvekar
Modified: 2014-01-02 05:37 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
Original file (15.16 KB, application/vnd.openxmlformats-officedocument.wordprocessingml.document)
2013-12-31 06:31 UTC, Nikhil Walvekar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Nikhil Walvekar 2013-12-31 06:31:49 UTC
Created attachment 91356 [details]
Original file

In original file tag in document.xml are:
<v:oval id="Oval 1" o:spid="_x0000_s1026" style=".." o:gfxdata=".." fillcolor="#4f81bd [3204]" strokecolor="#243f60 [1604]" strokeweight="2pt">

After roundtrip tag in document.xml are:
<v:rect fillcolor="#4F81BD" strokecolor="#243F60" strokeweight="2pt" style="..">


Steps to reproduce:
1. Load attached DOCX in LO
2. Save as NEW.DOCX
3. Load NEW.DOCX in Word
4. Shape is converted to rect.
Comment 1 Nikhil Walvekar 2013-12-31 08:26:30 UTC
This happens only if text is present in the shape, else shapes are rendered properly
Comment 2 Thomas van der Meulen [retired] 2013-12-31 08:59:53 UTC
Thank you for your bug report, 

I can reproduce this bug running
Versie: 4.2.0.1 
Build ID: 7bf567613a536ded11709b952950c9e8f7181a4
Microsoft Word 2007 
OS: Windows 7

Comment: the file also opens as a rect. in LibreOffice so should't we also make a fileopen bug?
Comment 3 Julien Nabet 2013-12-31 09:37:23 UTC
On pc Debian x86-64 with master sources updated today, I got this during opening:
warn:oox:16999:1:oox/source/helper/propertyset.cxx:139: PropertySet::implSetPropertyValue - cannot set property "CharHeight" Error: Unknown property: CharHeight
warn:oox:16999:1:oox/source/helper/propertyset.cxx:139: PropertySet::implSetPropertyValue - cannot set property "ParaAdjust" Error: Unknown property: ParaAdjust
warn:oox:16999:1:oox/source/helper/propertyset.cxx:139: PropertySet::implSetPropertyValue - cannot set property "TextAutoGrowHeight" Error: Unknown property: TextAutoGrowHeight
warn:oox:16999:1:oox/source/helper/propertyset.cxx:139: PropertySet::implSetPropertyValue - cannot set property "TextLeftDistance" Error: Unknown property: TextLeftDistance
warn:oox:16999:1:oox/source/helper/propertyset.cxx:139: PropertySet::implSetPropertyValue - cannot set property "TextLowerDistance" Error: Unknown property: TextLowerDistance
warn:oox:16999:1:oox/source/helper/propertyset.cxx:139: PropertySet::implSetPropertyValue - cannot set property "TextRightDistance" Error: Unknown property: TextRightDistance
warn:oox:16999:1:oox/source/helper/propertyset.cxx:139: PropertySet::implSetPropertyValue - cannot set property "TextUpperDistance" Error: Unknown property: TextUpperDistance
warn:oox:16999:1:oox/source/helper/propertyset.cxx:139: PropertySet::implSetPropertyValue - cannot set property "TextVerticalAdjust" Error: Unknown property: TextVerticalAdjust
warn:oox:16999:1:oox/source/helper/propertyset.cxx:139: PropertySet::implSetPropertyValue - cannot set property "TextWordWrap" Error: Unknown property: TextWordWrap
warn:oox:16999:1:oox/source/helper/propertyset.cxx:139: PropertySet::implSetPropertyValue - cannot set property "Transformation" Error: Unknown property: Transformation
warn:legacy.osl:16999:1:oox/source/core/contexthandler2.cxx:119: ContextHandler2Helper::implEndElement - context stack broken
warn:legacy.osl:16999:1:oox/source/helper/storagebase.cxx:71: StorageBase::StorageBase - missing base input stream
Comment 4 Julien Nabet 2013-12-31 10:23:20 UTC
Miklos: thought you might be interested in this one.
Comment 5 Miklos Vajna 2014-01-01 20:14:16 UTC
Isn't this a duplicate of bug 70942?
Comment 6 Nikhil Walvekar 2014-01-02 05:37:02 UTC

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