Convert PowerPoint Presentations to/from HTML using the Syncfusion.Presentation.NET library.
The initial release is planned for 4 June 2023.
Namespace
using OSCP.SyncfusionPresentation.HtmlConversion.NET;
Convert PowerPoint to HTML
IPresentation presentation = Presentation.Open(pptxFilePath);
PresentationToHtmlConverter converter = new PresentationToHtmlConverter();
string html = converter.Convert(presentation);
System.IO.File.WriteAllText(htmlFilePath, html);
Convert HTML to PowerPoint
string html = System.IO.File.ReadAllText(htmlFilePath);
HtmlToPresentationConverter htmlToPresentationConverter = new HtmlToPresentationConverter();
presentation = htmlToPresentationConverter.Convert(html);
presentation.Save(pptxFilePath);
presentation.Close();
Feature | PowerPoint to HTML | HTML to PowerPoint |
---|---|---|
Slide | ||
Background Image | ☑️ | ☑️ |
Background Solid Color | ☑️ | ☑️ |
Background Pattern | 🔷 | 🔷 |
Background Gradient | 🔷 | 🔷 |
Paragraph | ||
Bold | ☑️ | ☑️ |
Italic | ☑️ | ☑️ |
Underline | ☑️ | ☑️ |
Text Shadow | ❌ | ❌ |
Strikethrough | ☑️ | ☑️ |
Double Strikethrough | ☑️ | ☑️ |
Subscript | ☑️ | ☑️ |
Superscript | ☑️ | ☑️ |
All Caps | ☑️ | ☑️ |
Small Caps | ☑️ | ☑️ |
Highlight | ☑️ | ☑️ |
Font | ☑️ | ☑️ |
Font Size | ☑️ | ☑️ |
Font Color | ☑️ | ☑️ |
Ordered List | ||
1. 2. 3. | ☑️ | ☑️ |
1) 2) 3) | ⚪ | ⚪ |
I. II. III. | ☑️ | ☑️ |
i. ii. iii. | ☑️ | ☑️ |
A. B. C. | ☑️ | ☑️ |
a. b. c. | ☑️ | ☑️ |
a) b) c) | ⚪ | ⚪ |
Unordered List | ||
Default Bulleted List Options | ☑️ | ☑️ |
Custom Bulleted List Symbols | ⚪ | ⚪ |
Images | ||
Embedded Base64 String | ☑️ | ☑️ |
External CSS Base64 String | ☑️ | ☑️ |
External Files | 🔷 | 🔷 |
Media | ||
Audio | ⚪ | ⚪ |
Video | ⚪ | ⚪ |
Tables | ||
Header Row | ☑️ | ☑️ |
Banded Rows | ☑️ | 🔷 |
Total Row | 🔷 | 🔷 |
Banded Columns | ☑️ | 🔷 |
First Column | 🔷 | 🔷 |
Last Column | 🔷 | 🔷 |
Shading | 🔷 | 🔷 |
Borders | ☑️ | 🔷 |
Built-in Styles | ☑️ | ☑️ |
Effects | ⚪ | ⚪ |
Charts | ⚪ | ⚪ |
Master Slides | ☑️ | 🔷 |
Transitions | ⚪ | ⚪ |
Animations | ⚪ | ⚪ |
Drawing | ❌ | ❌ |
Comments | ⚪ | ⚪ |
Notes | ⚪ | ⚪ |
Configuration Settings | ||
Element CSS Classes | ☑️ | ❌ |
Element Additional Attributes | ☑️ | ❌ |
- ✅ - In current release.
- ☑️ - Development complete for next release.
- 🔷 - Development planned for next release.
- ⚪ - Development expected in future release.
- ❌ - Not planned for development.