Description: "Tab" in <a:t> won't exported to SVG tspan correctly. And the corresponding tabSize setting is also not respected. Steps to Reproduce: 1. Open a PPTX which contains "tab" in text fields </a:rPr> <a:t> 123456 </a:t> 2. It displays good in LibreOffice UI 3. Export to SVG the "tab" is gone. Actual Results: "tab" is not exported to SVG Expected Results: Support export "tab" in tspan with correct tabSize. 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
SVG does not have tabulators at all and if LibreOffice wrote one or more 	 that would be collapsed to a space by the XML whitespace collapsing algorithm. But I think, that LibreOffice can use a dx attribute or an x attribute on the following <tspan> element, having a value that results in a gab that is equal to the current gap in the text in the slide. That would fake the tabulator.
<svg xmlns="http://www.w3.org/2000/svg" width="500" height="40" viewBox="0 0 500 40"> <text x="0" y="35" font-family="Verdana" font-size="35" style="tab-size:400px"> Hello, out there </text> </svg> Tab actually works in SVG if you encode it to  , but we can't control the tab-size as HTML does. So your solution would be robust.
*** Bug 115267 has been marked as a duplicate of this bug. ***
Not limited to PPTX source.
I can reproduce with: Version: 7.2.0.0.alpha1+ / LibreOffice Community Build ID: 399a6472f666ae6c3e20b6f8367f9fd089c15605 CPU threads: 4; OS: Linux 5.4; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US TinderBox: Linux-rpm_deb-x86_64@86-TDF, Branch:master, Time: 2021-06-05_17:38:40 Calc: threaded Steps to reproduce: 1. Open Impress 2. Click in text box 3. Write a word, press tab a couple of times, write another word 4. File > Export... > use SVG format 5. Open the SVG file (in an image viewer or in a web browser) Result: words are not spaced.
I think I fixed this with core.git e7ca10a35fd665722c67eea85e15f71c11c66248
Fix verified: Version: 7.5.0.0.alpha1+ (X86_64) / LibreOffice Community Build ID: ad085990b8073a122ac5222e5220f8f1d6826dcf CPU threads: 8; OS: Linux 5.15; UI render: default; VCL: gtk3 Locale: en-AU (en_AU.UTF-8); UI: en-US Calc: threaded Was also cherrypicked for 7.4: https://gerrit.libreoffice.org/c/core/+/140971