How to insert a newline in PowerPoint (PPTX) in OpenXML / PresentationML / C#
问题 While Word and PowerPoint both use OpenXML, newlines are handled differently. In Word/WordprocessingML you can run.Append(new Break()) (see here) to insert a newline. Unfortunately in PresentationML this leads to a nonvalid presentation and with errors when loading it in PowerPoint. How to add a newline in the TextBody of a PowerPoint Shape ? 回答1: The Open XML Productivity Tool of Open Office SDK 2.5 has this great Reflect Code tool to get C# code of whatever OpenXML file you have. But