Bug 75998

Summary: FORMATTING: loss of spaces in text on slides when .pptx presentation imported, because LibreOffice trims the content within the <a:t> tags
Product: LibreOffice Reporter: Philip Timms <philip.timms>
Component: PresentationAssignee: Not Assigned <libreoffice-bugs>
Status: NEW --- QA Contact:
Severity: normal    
Priority: medium CC: cno, jbfaure, julien.t43+freedesktop
Version: 4.2.1.1 release   
Hardware: Other   
OS: Windows (All)   
Whiteboard: BSA PossibleRegression
i915 platform: i915 features:
Attachments: Presentation that demonstrates the issue

Description Philip Timms 2014-03-10 19:31:39 UTC
Problem description: 
As above

Steps to reproduce:
Just import a pptx file

Current behavior:

Expected behavior: I'd heard that Microsoft compatability was to be improved - this certainly seems to be a bew problem area.

              
Operating System: Windows 7
Version: 4.2.1.1 release
Last worked in: 4.1.5.3 release
Comment 1 Jean-Baptiste Faure 2014-03-11 21:33:52 UTC
Please, attach a screencopy showing the problem.

Best regards. JBF
Comment 2 bugzilla 2014-03-25 11:51:47 UTC
Created attachment 96362 [details]
Presentation that demonstrates the issue
Comment 3 bugzilla 2014-03-25 11:52:32 UTC
I have submitted a presentation demonstrating this issue. Also, I found the exact location of the problem in the presentation XML.

To reproduce:
- Open the attached .pptx
- Go to slide 16 (issue also on many other pages)

What I expect to see:
- "Difference between two test scores"

What I see:
- "Difference between twotest scores"

Cause:
In the source file for slide 16 (i.e. /ppt/slides/slide16.xml) we see:
<a:r>
  <a:rPr lang="en-US" dirty="0" smtClean="0"/>
  <a:t>Difference between two </a:t>
</a:r>
<a:r>
  <a:rPr lang="en-US" dirty="0" smtClean="0"/>
  <a:t>test scores </a:t>
</a:r>
It seems that LibreOffice trims the content within the <a:t> tags, losing the space that should have been there.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.