An open API service indexing awesome lists of open source software.

https://github.com/palburtus/powerpointparser

C# Library for parsing PowerPoint speaker notes using OpenXML to HTML
https://github.com/palburtus/powerpointparser

html openxml parser powerpoint

Last synced: 21 days ago
JSON representation

C# Library for parsing PowerPoint speaker notes using OpenXML to HTML

Awesome Lists containing this project

README

          

# PowerPoint HTML Generator
![tests](https://gist.githubusercontent.com/palburtus/abeb09d1ba12b9ce84a55f4da4f2af86/raw/e5b8de87f290d1a88a74e21d658354b684e04f90/power_point_parser_tests.md_badge.svg)
![version](https://img.shields.io/nuget/vpre/AaksPowerPointParser)
![issues](https://img.shields.io/github/issues/palburtus/powerpointparser)
![dotnet](https://img.shields.io/badge/.NET-6.0-blue)
![csharp](https://img.shields.io/badge/C%23-10.0-blue)
![license](https://img.shields.io/github/license/palburtus/powerpointparser)
![nuget](https://img.shields.io/nuget/dt/AaksPowerPointParser)

**Library for Parsing *.pptx* Speaker Notes**
Speaker Notes can be parsed converted to HTML

This libary uses OpenXML to parse Powerpoint Documents and generates the equivilant html markup as an output.

#### Sample Powerpoint Speaker Notes
![PowerPoint](blob/SamplePowerpointInput.png)

#### Generates This HTML
```


Here is an example of a supported speaker note.
It can be bold, italic,underlined,



  • It supports

  • Un-order lists


    • Nested Lists



    1. And

    2. Ordered Lists



```

## Available On Nuget
```
PM > Install-Package AaksPowerPointParser
```
This and previous releaes are available on our [Nuget Page](https://www.nuget.org/packages/AaksPowerPointParser)

## Server-Side Friendly
This library makes **no use** of the _Microsoft Innteropt_ libraries, does not rely on an instance of Microsoft Powerpoint and therefor **is suitable for use on servers**.

If you are unfamiliar on server-side concerns and Office automation, Microsoft has provided more detailed information on why their interpot libraries are not suitable for [Microsoft Office Server-Side Office Automation](https://support.microsoft.com/en-us/topic/considerations-for-server-side-automation-of-office-48bcfe93-8a89-47f1-0bce-017433ad79e2).

## Demo Client

**HtmlGenerationClinet**
Included in this project is a simple console application design to demo this functinality. You will be promoted for the absolute path of any .pptx file on your local system and a randomly named .html file equivilant will be generated on your desktop.

Enter the absolute path of your _.pptx_ file in the console window

![Command Line](https://raw.githubusercontent.com/palburtus/powerpointparser/master/blob/commandline.png)

And a timestamped _.html_ file with some basic styling will be created saved to your desktop

![Html Output](https://raw.githubusercontent.com/palburtus/powerpointparser/master/blob/SampleHtmlOutput.png)

## License

Apache License 2.0