Bug 75998 - FORMATTING: loss of spaces in text on slides when .pptx presentation imported, because LibreOffice trims the content within the <a:t> tags
Summary: FORMATTING: loss of spaces in text on slides when .pptx presentation imported...
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Presentation (show other bugs)
Version: 4.2.1.1 release
Hardware: Other Windows (All)
: medium normal
Assignee: Not Assigned
QA Contact:
URL:
Whiteboard: BSA PossibleRegression
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-10 19:31 UTC by Philip Timms
Modified: 2014-06-17 15:39 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Presentation that demonstrates the issue (1.51 MB, application/vnd.openxmlformats-officedocument.presentationml.presentation)
2014-03-25 11:51 UTC, bugzilla
Details

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.