Bug 80830 - PPTX import for shapes not using presentation default text style for centering.
Summary: PPTX import for shapes not using presentation default text style for centering.
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
(earliest affected) rc
Hardware: Other All
: medium normal
Assignee: Not Assigned
Keywords: filter:pptx
Depends on:
Reported: 2014-07-02 21:01 UTC by Michael Meeks
Modified: 2017-06-02 15:23 UTC (History)
1 user (show)

See Also:
Crash report or crash signature:

center text in boxes ... (22.77 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2014-07-02 21:01 UTC, Michael Meeks

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Meeks 2014-07-02 21:01:12 UTC
Created attachment 102161 [details]
center text in boxes ...

Load the attached presentation in both PPT and LibreOffice Impress.

Notice the defaultTextStyle from presentation.xml is not having the required effect on the shape text.

      <a:defRPr lang="en-US"/>
    <a:lvl1pPr algn="ctr" rtl="0" eaLnBrk="0" fontAlgn="base" hangingPunct="0">

the algn="ctr" here doesn't do what it should :-)
Comment 1 Buovjaga 2014-11-08 16:56:34 UTC

Win 7 64-bit Version:
Build ID: c989f5e0e11e295b11ffc921b0d105869e037e47
TinderBox: Win-x86@42, Branch:master, Time: 2014-11-07_22:50:48
Comment 2 Buovjaga 2015-01-08 17:06:49 UTC
Doesn't center text (bad):

Ubuntu 14.10 64-bit Version:
Build ID: f92183833fa569006602ac7e93c906d2094e0d4d
TinderBox: Linux-rpm_deb-x86_64@46-TDF-dbg, Branch:master, Time: 2014-12-14_00:21:45

Ubuntu 14.10 64-bit Version:
Build ID: 430m0(Build:2)

Win 7 64-bit

Centers text (good):

Win 7 64-bit Version:
Build ID: 0748a5f8298e2ea817e131234f5e99300ed7f9f7
TinderBox: Win-x86@39, Branch:master, Time: 2015-01-08_08:03:53

Ubuntu 14.10 64-bit
LibreOffice 3.5.0rc3 
Build ID: 7e68ba2-a744ebf-1f241b7-c506db1-7d53735

So my Ubuntu 4.5 build is older than my Windows build (which is from today).
Comment 3 QA Administrators 2016-01-17 20:01:57 UTC Comment hidden (obsolete)
Comment 4 QA Administrators 2017-03-06 13:46:28 UTC Comment hidden (obsolete)
Comment 5 vihsa 2017-06-01 13:36:23 UTC
the text is centered
Build ID: ec79f3453471ee9b6ae32e71ff16ea99d9b7751c
TinderBox: Android-ARM@24-Bytemark-Hosting, Branch: master, Time: 2017-05-28 22:44:13
Comment 6 Buovjaga 2017-06-02 15:23:07 UTC
Yep, true.

Arch Linux 64-bit, KDE Plasma 5
Build ID: c855400e9686ddd8bcba5691393f839f6f52c966
CPU threads: 8; OS: Linux 4.11; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on June 2nd 2017