XmlHighlightOptions

Inheritance: java.lang.Object

All Implemented Interfaces: com.groupdocs.editor.options.IEditOptions

public class XmlHighlightOptions implements IEditOptions

Contains options, that allow to customize the XML highlighting during XML-to-HTML conversion

Methods

Method Description
getXmlTagsFontSettings() Responsible for representing the font of XML tags (angle brackets with tag names)
getAttributeNamesFontSettings() Responsible for representing the font of attribute names
getAttributeValuesFontSettings() Responsible for representing the font of attribute values
getInnerTextFontSettings() Responsible for representing the font of inner-tag text
getHtmlCommentsFontSettings() Responsible for representing the font of HTML comments (including pair of opening and closing tags)
getCDataFontSettings() Responsible for representing the font of CDATA sections (including pair of opening and closing tags)
isDefault() Determines whether this XML Highlight options object has a default font settings
resetToDefault() Resets the current font settings to their default values

getXmlTagsFontSettings()

public final WebFont getXmlTagsFontSettings()

Responsible for representing the font of XML tags (angle brackets with tag names)

Returns: WebFont

getAttributeNamesFontSettings()

public final WebFont getAttributeNamesFontSettings()

Responsible for representing the font of attribute names

Returns: WebFont

getAttributeValuesFontSettings()

public final WebFont getAttributeValuesFontSettings()

Responsible for representing the font of attribute values

Returns: WebFont

getInnerTextFontSettings()

public final WebFont getInnerTextFontSettings()

Responsible for representing the font of inner-tag text

Returns: WebFont

getHtmlCommentsFontSettings()

public final WebFont getHtmlCommentsFontSettings()

Responsible for representing the font of HTML comments (including pair of opening and closing tags)

Returns: WebFont

getCDataFontSettings()

public final WebFont getCDataFontSettings()

Responsible for representing the font of CDATA sections (including pair of opening and closing tags)

Returns: WebFont

isDefault()

public final boolean isDefault()

Determines whether this XML Highlight options object has a default font settings

Returns: boolean

resetToDefault()

public final void resetToDefault()

Resets the current font settings to their default values