HtmlSaveOptions
Inheritance: java.lang.Object
public final class HtmlSaveOptions
Allows to specify custom options for saving the EditableDocument instance to the HTML format
Constructors
Constructor | Description |
---|---|
HtmlSaveOptions() |
Methods
Method | Description |
---|---|
getHtmlTagCase() | Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case |
setHtmlTagCase(int value) | Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case |
getAttributeValueDelimiter() | Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote |
setAttributeValueDelimiter(int value) | Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote |
getEmbedStylesheetsIntoMarkup() | Controls where to store the CSS stylesheet(s): as external resources ( false ), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section ( true ) |
setEmbedStylesheetsIntoMarkup(boolean value) | Controls where to store the CSS stylesheet(s): as external resources ( false ), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section ( true ) |
getSavingCallback() | Interface, which must be implemented by the end-user for saving all the external HTML resources |
setSavingCallback(IHtmlSavingCallback value) | Interface, which must be implemented by the end-user for saving all the external HTML resources |
HtmlSaveOptions()
public HtmlSaveOptions()
getHtmlTagCase()
public final int getHtmlTagCase()
Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case
Returns: int
setHtmlTagCase(int value)
public final void setHtmlTagCase(int value)
Controls how the HTML tag names will be present in HTML markup: All lower case (default value), All upper case, or First letter upper case
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getAttributeValueDelimiter()
public final int getAttributeValueDelimiter()
Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote
Returns: int
setAttributeValueDelimiter(int value)
public final void setAttributeValueDelimiter(int value)
Controls which delimiter around the attribute values in HTML elements will be used: single quote (default value) or double quote
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getEmbedStylesheetsIntoMarkup()
public final boolean getEmbedStylesheetsIntoMarkup()
Controls where to store the CSS stylesheet(s): as external resources ( false ), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section ( true )
Returns: boolean
setEmbedStylesheetsIntoMarkup(boolean value)
public final void setEmbedStylesheetsIntoMarkup(boolean value)
Controls where to store the CSS stylesheet(s): as external resources ( false ), or embed them into the HTML markup, inside the STYLE element in the HTML->HEAD section ( true )
Parameters:
Parameter | Type | Description |
---|---|---|
value | boolean |
getSavingCallback()
public final IHtmlSavingCallback getSavingCallback()
Interface, which must be implemented by the end-user for saving all the external HTML resources
Returns: IHtmlSavingCallback
setSavingCallback(IHtmlSavingCallback value)
public final void setSavingCallback(IHtmlSavingCallback value)
Interface, which must be implemented by the end-user for saving all the external HTML resources
Parameters:
Parameter | Type | Description |
---|---|---|
value | IHtmlSavingCallback |