API Reference

Class

OfficeHtmlDocumentShell

Namespace OfficeIMO.Html
Assembly OfficeIMO.Html
Modifiers static

Shared document shell and theme CSS for OfficeIMO-generated HTML adapters.

Inheritance

  • Object
  • OfficeHtmlDocumentShell

Methods

public static String GetThemeCss(OfficeVisualThemeKind theme, String newLine = " ") #
Returns: String

Gets the shared CSS for an OfficeIMO HTML document theme.

Parameters

theme OfficeIMO.Drawing.OfficeVisualThemeKind requiredposition: 0
newLine System.String = " " optionalposition: 1
public static String WrapBody(String bodyHtml, OfficeHtmlDocumentOptions options = null) #
Returns: String

Wraps a body fragment in a complete HTML document using the shared OfficeIMO shell.

Parameters

bodyHtml System.String requiredposition: 0
options OfficeIMO.Html.OfficeHtmlDocumentOptions = null optionalposition: 1