Created attachment 114368 [details]
marL and indent tags are not exported for bullet and paragraph
Steps to reproduce:
1. Open .pptx (attached)
2. Save as .pptx
3. Open saved pptx
After RT marL and indent tags of <a:pPr> are not exported
After RT marL and indent tags of <a:pPr> should export
Created attachment 114369 [details]
Reproducible with LO 188.8.131.52, Win 8.1
Reproducible with LO 184.108.40.206 and master on Mac OS X 10.10.2.
I applied the patch from gerrit 15016 on master and it works.
There are a couple of tricky issues:
1. Exporting margin and indent on each paragraph breaks the connection of the slide with the slide master. Now it appears that the PPTX export loses the connection of the slide with the slide master anyway (that info is not exported). So that is one more cause of the margins and indents not exported. For "independent" textboxes the proper way is to put the margin/indent in the paragraph. However if the textbox was inherited from the slide master and the margin/indent came from the master, it should not be exported in the paragraph, but the textbox should be linked to the corresponding slide layout. So that you can afterwards adapt the slide master and the textboxes will be changed accordingly. Now that is no longer possible in the exported PPTX file. Anyway, IMHO this means that the current solution is just too simplistic.
2. The exported PPTX files included here (and in the unit test), when opened in Powerpoint 2007 on Windows 7, cause Powerpoint to complain that they are corrupt. After trying to repair them they look OK. This happens before and after the patch, so it is unrelated to this issue, but it is a concern.
3. There are also problems on the import side, where margins/indents get lost when a PPTX file is imported in LO.
I guess that 2 and 3 warrant their own bug report, if not already done. I'll try to do that in the coming days.
Occurs all the way back to LO 3.3.0 - this doesn't seem to have ever worked
However, OOo/AOO have never supported PPTX, so this is an original implementation error of the feature rather than a regression
PriyankaGaikwad committed a patch related to this issue.
It has been pushed to "master":
tdf#90246 PPTX paragraph and bullet leftMargin and Indentation is not exported
It will be available in 5.0.0.
The patch should be included in the daily builds available at
http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
Affected users are encouraged to test the fix and report feedback.
Verified on LO build ID
Build ID: 847b4537928ff64cfdd6532704f7c48d947ac00f
TinderBox: Win-x86@42, Branch:master, Time: 2015-05-13_23:01:13
Locale: en-US (en_US)
This issue has been fixed.
Migrating Whiteboard tags to Keywords: (implementationError)