Bug 103928 - shape text box alignment when saved to pptx (MS PPT 2007-2013 XML) anchored differently in Powerpoint
Summary: shape text box alignment when saved to pptx (MS PPT 2007-2013 XML) anchored d...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.2.1.2 release
Hardware: All All
: medium normal
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: PPTX
  Show dependency treegraph
 
Reported: 2016-11-14 17:00 UTC by Paul
Modified: 2018-11-13 18:53 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:


Attachments
Alignment as displayed by libreoffice (PNG) (2.24 KB, image/png)
2016-11-14 17:01 UTC, Paul
Details
Alignment as displayed by MS 2013 PPTX (PNG) (1.05 KB, image/png)
2016-11-14 17:02 UTC, Paul
Details
example presentation as exported to PPTX with two lines (34.85 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2016-11-14 17:04 UTC, Paul
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Paul 2016-11-14 17:00:35 UTC
Description:
Save presentation to PPTX, and any objects/drawing objects which, when F2 -> text box has been inserted (or double click on object and type in text), and all text and object parameters are left at default, text displays in the 'middle' of the object. 

When said object is displayed in MS powerpoint, the text anchored to the object is at the extreme left side of object. Re-open the PPTX in libreoffice, and everything displays fine. 

does not help to change:
-text anchor point  (edit style, text, text anchor)
-text paragraph 'alignment' or justification



Steps to Reproduce:
1. LibreOffice -> New -> Presentation
2. Clear the page of all objects. (select all, delete)
3. (drawing toolbar) Lines and arrows -> line/line ends with arrow -> draw horizontally.
4. double click on newly created line/arrow -> add some text.
5. press esc. save as 2013 PPTX file.
6. open with powerpoint.


Actual Results:  
text no longer 'in the middle' of the lines(s). Text on the left (in powerpoint)

Expected Results:
text in the middle of line(s)/object(s). 


Reproducible: Always

User Profile Reset: No

Additional Info:
In MS PPT - the only seemingly useful option which achieves a similar result, which only seems to exist in MS PPT 2007 is to convert the selected object, and it seems to result in an additional anchor point in the middle where the text jumps to. Not a viable solution. 





User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.98 Safari/537.36
Comment 1 Paul 2016-11-14 17:01:53 UTC
Created attachment 128751 [details]
Alignment as displayed by libreoffice (PNG)
Comment 2 Paul 2016-11-14 17:02:18 UTC
Created attachment 128752 [details]
Alignment as displayed by MS 2013 PPTX (PNG)
Comment 3 Paul 2016-11-14 17:04:11 UTC
Created attachment 128753 [details]
example presentation as exported to PPTX with two lines
Comment 4 Paul 2016-11-14 17:17:58 UTC
This might be MS being completely retarded as usual and their behaviour is PPTx 2013 display is messed up for the 'correct' tags, but it would be nice if display would work. 

I surmise that the XML MS expects in PPTX is not "how MS would do it".
Comment 5 Paul 2016-11-14 17:22:25 UTC
bug remains with LibreOffice 5.2.3.3
Comment 6 Xisco Faulí 2016-11-14 17:42:23 UTC
Confirmed in 

Version: 5.3.0.0.alpha1+
Build ID: 757a60d01dd152aadab2ba3c8224252481ce8a88
CPU Threads: 4; OS Version: Linux 4.8; UI Render: default; VCL: gtk3; Layout Engine: new; 
Locale: ca-ES (ca_ES.UTF-8); Calc: group

Issue not reproduced when the document is saved as .ppt
Comment 7 QA Administrators 2018-10-22 02:49:02 UTC Comment hidden (obsolete)
Comment 8 Paul 2018-11-13 18:53:35 UTC
bug remains, tested version 6.0.6.2

followed original steps to reproduce.