Method | Description | |
---|---|---|
ConvertInlineStylesToCssClasses ( |
Extracts inline styles and replaces them with CSS classes.
|
|
GroupCSSSelectors ( |
Groups CSS selectors (CSS classes and ids) with the same properties to minify the generated CSS content.
|
|
InlineCSS ( |
Inlines CSS for nodes with an id and/or class attribute.
|
Method | Description | |
---|---|---|
CleanCSSProperties ( string style ) : string |
Cleans CSS properties by allowing only valid properties.
|
|
ExtractCSSClassesAndIDs ( |
Extracts and removes the CSS classes and ids from the 'style' nodes. Deletes all the style nodes and creates a new one with unparsed CSS.
|
|
ExtractStyle ( |
Extracts inline style from an
|
|
RemoveXOfficeCSSClasses ( |
Removes previous XOffice CSS classes from an XmlNode.
|
public static ConvertInlineStylesToCssClasses ( |
||
xnode | Node to filter | |
xmlDoc | A reference to the XmlDocument. | |
counter | int | |
cssClasses | ||
return |
public static GroupCSSSelectors ( |
||
existingCSSSelectors | ||
return |
public static InlineCSS ( |
||
xmlDoc | A reference to an XmlDocument . |
|
return | void |