OfficeHelper Class

Namespace:
Weavy.Core.Helpers
Assembly:
Weavy.Core.dll

Helper class for converting to and from Microsoft Office files.

public static class OfficeHelper
Inheritance:
System.Object → OfficeHelper

Methods

CreateDocument(String) Create a new Office document in the specified path.
GetIconName(String) Gets the icon of the Office product.
GetProductName(String) Gets the name of the Office product that can open the filetype specified by path (e.i. Word, Excel, PowerPoint).
GetTemplate(String) Get a template for creating an office document with the specified extension.
ToDocx(IHtmlDocument) Converts an IHtmlDocument to the Open XML document format (.docx).