Bug 107516 - FILEOPEN PPTX txBody bodyPr's Insets is not supported
Summary: FILEOPEN PPTX txBody bodyPr's Insets is not supported
Status: RESOLVED DUPLICATE of bug 119187
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Impress (show other bugs)
Version:
(earliest affected)
5.3.2.2 release
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords: filter:pptx
Depends on:
Blocks: PPTX
  Show dependency treegraph
 
Reported: 2017-04-29 10:52 UTC by fxwan
Modified: 2021-01-14 15:20 UTC (History)
3 users (show)

See Also:
Crash report or crash signature:


Attachments
text inset test case (341.56 KB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2017-04-30 08:37 UTC, fxwan
Details
Screenshot of LibO vs. MSO 2013 (157.20 KB, image/jpeg)
2019-10-22 11:29 UTC, Buovjaga
Details
The example file in PP and Impress 7.0 (108.18 KB, image/png)
2021-01-14 15:19 UTC, NISZ LibreOffice Team
Details

Note You need to log in before you can comment on or make changes to this bug.
Description fxwan 2017-04-29 10:52:38 UTC
Description:
It seems like the Insets for bodyPr is not supported which I think it's pretty important for precise text layout. The LibreOffice UI doesn't provide this kind of setting, and exported PDFs ignores it either.


        <p:txBody>                                                
            <a:bodyPr lIns="34558" tIns="17279" rIns="34558" bIns="17279"> 
               ,,, 

Steps to Reproduce:
1. Open an PPT with text inset settings

Actual Results:  
2. Insets are not respected

Expected Results:
Correct insets for text


Reproducible: Always

User Profile Reset: No

Additional Info:


User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.81 Safari/537.36
Comment 1 Buovjaga 2017-04-29 18:02:07 UTC
(In reply to fxwan from comment #0)
> Steps to Reproduce:
> 1. Open an PPT with text inset settings

Please attach such a PPT.

Set to NEEDINFO.
Change back to UNCONFIRMED after you have provided the document.
Comment 2 fxwan 2017-04-30 08:28:36 UTC
(In reply to Buovjaga from comment #1)
> (In reply to fxwan from comment #0)
> > Steps to Reproduce:
> > 1. Open an PPT with text inset settings
> 
> Please attach such a PPT.
> 
> Set to NEEDINFO.
> Change back to UNCONFIRMED after you have provided the document.

Dear Buovjaga,

I don't have such a doc in handle today, but of course I will try to find one. This document about text inset is pretty clear stated:
http://officeopenxml.com/drwSp-text-bodyPr-inset.php
Comment 3 fxwan 2017-04-30 08:37:43 UTC
Created attachment 132968 [details]
text inset test case

My stupid. I created a new one with Keynote and also verified the huge visual differences in both application. 
please note the text have a 35pt inset.
Comment 4 fxwan 2017-04-30 08:38:15 UTC
Change the status back to unconfirmed.
Comment 5 Buovjaga 2017-04-30 09:34:38 UTC
Confirmed

Arch Linux 64-bit
Version: 5.4.0.0.alpha1+
Build ID: aca48f46895811009ec90665d816ef835f0694be
CPU threads: 8; OS: Linux 4.10; UI render: default; VCL: kde4; 
Locale: fi-FI (fi_FI.UTF-8); Calc: group
Built on 30th April 2017
Comment 6 Buovjaga 2019-10-22 11:29:55 UTC
Created attachment 155232 [details]
Screenshot of LibO vs. MSO 2013

Illustrating the difference in text positioning in LibO 6.4 alpha1 and MSO 2013

Versio: 6.4.0.0.alpha1 (x86)
Käännöksen ID: cc57df8f942f239d29cb575ea5a7cb01405db787
CPU-säikeet: 4; Käyttöjärjestelmä: Windows 6.3 Build 9600; Piirtokomponentti: oletus; VCL: win; 
Maa-asetus: fi-FI (fi_FI); Käyttöliittymän kieli: fi-FI
Calc: threaded
Comment 7 NISZ LibreOffice Team 2021-01-14 15:19:12 UTC
Created attachment 168884 [details]
The example file in PP and Impress 7.0

This seems to work now in 7.0 since:

https://cgit.freedesktop.org/libreoffice/core/commit/?id=69b83dc2d3014dd9b18402534e15c937dc082464

tdf#131554 placeholder iteration fails to stop when a match is found

But since it's been mostly reverted, I'd put this on:

https://git.libreoffice.org/core/+/912217285b3058efa54c2336f91fda4efdad6ff0%5E%21/#F0

author	Serge Krot <Serge.Krot@cib.de>	Fri Apr 10 20:08:37 2020 +0200
committer	Thorsten Behrens <Thorsten.Behrens@CIB.de>	Mon Apr 20 22:17:42 2020 +0200

tdf#119187 fix: Top-aligned text in PPTX becomes bottom-aligned
Comment 8 NISZ LibreOffice Team 2021-01-14 15:20:27 UTC
@Serge thanks for fixing this one!

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