com.spire.doc
Class HtmlExportOptions

java.lang.Object
  extended by com.spire.doc.SaveOptions
      extended by com.spire.doc.HtmlExportOptions

public class HtmlExportOptions
extends SaveOptions


Constructor Summary
HtmlExportOptions()
           
HtmlExportOptions(int saveFileFormatInternal)
           
 
Method Summary
 java.lang.String getCssStyleSheetFileName()
          Gets or sets the name of the HTML export CSS style sheet file.
 CssStyleSheetType getCssStyleSheetType()
          Gets or sets the type of the HTML export CSS style sheet.
 boolean getEPubExportFont()
          Gets or sets if font should be embedded in EPub
 boolean getImageEmbedded()
          If false,indicates exporting the image as a single file; If true, embedding the image into the html code using Data URI scheme.
 java.lang.String getImagesPath()
          Gets or sets the HTML export images folder.
 boolean getUseMsoBookmark()
          Gets a value indicating whether HTML export bookmarks like MicroSoft.
 boolean getUseMsoSpace()
          Gets or sets a switch that determines whether to use mso rules' space..
 boolean getUseSaveFileRelativePath()
          Gets or sets a value whether Image Path is relative to the file save path.
 boolean hasHeadersFooters()
          Gets or sets a value indicating whether HTML export headers footers.
 void hasHeadersFooters(boolean value)
          Gets or sets a value indicating whether HTML export headers footers.
 boolean isExportDocumentStyles()
          Gets or Sets a switch that determines whether to export the document styles to head.
 void isExportDocumentStyles(boolean value)
          Gets or Sets a switch that determines whether to export the document styles to head.
 boolean isTextInputFormFieldAsText()
          Gets or sets a value indicating whether HTML export text input form field as text.
 void isTextInputFormFieldAsText(boolean value)
          Gets or sets a value indicating whether HTML export text input form field as text.
 void setCssStyleSheetFileName(java.lang.String value)
           
 void setCssStyleSheetType(CssStyleSheetType value)
          Gets or sets the type of the HTML export CSS style sheet.
 void setEPubExportFont(boolean value)
          Gets or sets if font should be embedded in EPub
 void setImageEmbedded(boolean value)
          If false,indicates exporting the image as a single file; If true, embedding the image into the html code using Data URI scheme.
 void setImagesPath(java.lang.String value)
          Gets or sets the HTML export images folder.
 void setUseMsoBookmark(boolean value)
          Sets a value indicating whether HTML export bookmarks like MicroSoft.
 void setUseMsoSpace(boolean value)
          Gets or sets a switch that determines whether to use mso rules' space..
 void setUseSaveFileRelativePath(boolean value)
          Gets or sets a value whether Image Path is relative to the file save path.
 

Constructor Detail

HtmlExportOptions

public HtmlExportOptions()

HtmlExportOptions

public HtmlExportOptions(int saveFileFormatInternal)
Method Detail

getEPubExportFont

public boolean getEPubExportFont()
Gets or sets if font should be embedded in EPub


setEPubExportFont

public void setEPubExportFont(boolean value)
Gets or sets if font should be embedded in EPub


getCssStyleSheetType

public CssStyleSheetType getCssStyleSheetType()
Gets or sets the type of the HTML export CSS style sheet.

Returns:
The type of the HTML export CSS style sheet.

setCssStyleSheetType

public void setCssStyleSheetType(CssStyleSheetType value)
Gets or sets the type of the HTML export CSS style sheet.


getImageEmbedded

public boolean getImageEmbedded()
If false,indicates exporting the image as a single file; If true, embedding the image into the html code using Data URI scheme. The default value is false. Note: Internet Explorer 8 limits data URIs to a maximum length of 32KB.

Returns:
The value of the HTML export image style sheet.

setImageEmbedded

public void setImageEmbedded(boolean value)
If false,indicates exporting the image as a single file; If true, embedding the image into the html code using Data URI scheme. The default value is false. Note: Internet Explorer 8 limits data URIs to a maximum length of 32KB.


isExportDocumentStyles

public boolean isExportDocumentStyles()
Gets or Sets a switch that determines whether to export the document styles to head.


isExportDocumentStyles

public void isExportDocumentStyles(boolean value)
Gets or Sets a switch that determines whether to export the document styles to head.


getCssStyleSheetFileName

public java.lang.String getCssStyleSheetFileName()
Gets or sets the name of the HTML export CSS style sheet file.

Returns:
The name of the HTML export CSS style sheet file.

setCssStyleSheetFileName

public void setCssStyleSheetFileName(java.lang.String value)

hasHeadersFooters

public boolean hasHeadersFooters()
Gets or sets a value indicating whether HTML export headers footers.


hasHeadersFooters

public void hasHeadersFooters(boolean value)
Gets or sets a value indicating whether HTML export headers footers.


isTextInputFormFieldAsText

public boolean isTextInputFormFieldAsText()
Gets or sets a value indicating whether HTML export text input form field as text. If HTML export text input form field as text, set to true.

Returns:

isTextInputFormFieldAsText

public void isTextInputFormFieldAsText(boolean value)
Gets or sets a value indicating whether HTML export text input form field as text. If HTML export text input form field as text, set to true.


getImagesPath

public java.lang.String getImagesPath()
Gets or sets the HTML export images folder.

Returns:
The HTML export images folder.

setImagesPath

public void setImagesPath(java.lang.String value)
Gets or sets the HTML export images folder.


getUseSaveFileRelativePath

public boolean getUseSaveFileRelativePath()
Gets or sets a value whether Image Path is relative to the file save path. If Image Path wants to be relative to the file save path, set to true.

Returns:

setUseSaveFileRelativePath

public void setUseSaveFileRelativePath(boolean value)
Gets or sets a value whether Image Path is relative to the file save path. If Image Path wants to be relative to the file save path, set to true.


getUseMsoSpace

public boolean getUseMsoSpace()
Gets or sets a switch that determines whether to use mso rules' space..

sync 8883 by joe


setUseMsoSpace

public void setUseMsoSpace(boolean value)
Gets or sets a switch that determines whether to use mso rules' space..

sync 8883 by joe


setUseMsoBookmark

public void setUseMsoBookmark(boolean value)
Sets a value indicating whether HTML export bookmarks like MicroSoft.

Parameters:
value - boolean

getUseMsoBookmark

public boolean getUseMsoBookmark()
Gets a value indicating whether HTML export bookmarks like MicroSoft.

Returns:
value boolean