public class HtmlSaveOptions extends SaveOptions
Allows to specify additional options when rendering project pages to HTML.
Constructor and Description |
---|
HtmlSaveOptions()
Initializes a new instance of the
HtmlSaveOptions class. |
Modifier and Type | Method and Description |
---|---|
ICssSavingCallback |
getCssSavingCallback()
Gets the callback that is called to create resource to store CSS.
|
String |
getDefaultFontName()
Gets the default font for rendering.
|
int |
getExportCss()
Gets the way css are exported.
|
int |
getExportFonts()
Gets the way fonts are exported.
|
int |
getExportImages()
Gets the way images are exported.
|
int |
getFontFaceTypes()
Gets the font face types.
|
IFontSavingCallback |
getFontSavingCallback()
Gets the callback that is called to create resource to store font.
|
IImageSavingCallback |
getImageSavingCallback()
Gets the callback that is called to create resource to store font.
|
boolean |
getIncludeProjectNameInPageHeader()
Gets a value indicating whether to include project name in HTML page header.
|
boolean |
getIncludeProjectNameInTitle()
Gets a value indicating whether to include project name in HTML title.
|
List<Integer> |
getPages()
Gets a list of page numbers to save when rendering project layout.
|
boolean |
getReduceFooterGap()
Gets a value indicating whether a gap between last task and the footer must be reduced.
|
boolean |
getUseGradientBrush()
Gets a value indicating whether to use gradient brush when rendering project layout.
|
boolean |
getUseProjectDefaultFont()
Gets a value indicating whether the default font must be used for rendering.
|
void |
setCssSavingCallback(ICssSavingCallback value)
Sets the callback that is called to create resource to store CSS.
|
void |
setDefaultFontName(String value)
Sets the default font for rendering.
|
void |
setExportCss(int value)
Sets the way css are exported.
|
void |
setExportFonts(int value)
Sets the way fonts are exported.
|
void |
setExportImages(int value)
Sets the way images are exported.
|
void |
setFontFaceTypes(int value)
Sets the font face types.
|
void |
setFontSavingCallback(IFontSavingCallback value)
Sets the callback that is called to create resource to store font.
|
void |
setImageSavingCallback(IImageSavingCallback value)
Sets the callback that is called to create resource to store font.
|
void |
setIncludeProjectNameInPageHeader(boolean value)
Sets a value indicating whether to include project name in HTML page header.
|
void |
setIncludeProjectNameInTitle(boolean value)
Sets a value indicating whether to include project name in HTML title.
|
void |
setPages(List<Integer> value)
Sets a list of page numbers to save when rendering project layout.
|
void |
setReduceFooterGap(boolean value)
Sets a value indicating whether a gap between last task and the footer must be reduced.
|
void |
setUseGradientBrush(boolean value)
Sets a value indicating whether to use gradient brush when rendering project layout.
|
void |
setUseProjectDefaultFont(boolean value)
Sets a value indicating whether the default font must be used for rendering.
|
getBarStyles, getDrawNonWorkingTime, getEndDate, getFitContent, getGridlines, getLegendOnEachPage, getMarkCriticalTasks, getNonWorkingTimeColor, getPageCount, getPageSize, getPresentationFormat, getRollUpGanttBars, getSaveFormat, getShowProjectSummaryTask, getStartDate, getTasksComparer, getTextStyles, getTimescale, getTimescaleTier, getView, setBarStyles, setDrawNonWorkingTime, setEndDate, setFitContent, setGridlines, setLegendOnEachPage, setMarkCriticalTasks, setNonWorkingTimeColor, setPageSize, setPresentationFormat, setRollUpGanttBars, setShowProjectSummaryTask, setStartDate, setTasksComparer, setTextStyles, setTimescale, setTimescaleTier, setView
public HtmlSaveOptions()
Initializes a new instance of the HtmlSaveOptions
class.
public final ICssSavingCallback getCssSavingCallback()
Gets the callback that is called to create resource to store CSS.
public void setCssSavingCallback(ICssSavingCallback value)
Sets the callback that is called to create resource to store CSS.
value
- the callback that is called to create resource to store CSS.public String getDefaultFontName()
public void setDefaultFontName(String value)
value
- the default font name for rendering.public int getExportCss()
Gets the way css are exported.
public void setExportCss(int value)
Sets the way css are exported.
value
- the way css are exported.public int getExportFonts()
Gets the way fonts are exported.
public void setExportFonts(int value)
Sets the way fonts are exported.
value
- the way fonts are exported.public int getExportImages()
Gets the way images are exported.
public void setExportImages(int value)
Sets the way images are exported.
value
- the way images are exported.public int getFontFaceTypes()
Gets the font face types.
public void setFontFaceTypes(int value)
Sets the font face types.
value
- the font face types.public IFontSavingCallback getFontSavingCallback()
Gets the callback that is called to create resource to store font.
public void setFontSavingCallback(IFontSavingCallback value)
Sets the callback that is called to create resource to store font.
value
- the callback that is called to create resource to store font.public final IImageSavingCallback getImageSavingCallback()
Gets the callback that is called to create resource to store font.
public final void setImageSavingCallback(IImageSavingCallback value)
Sets the callback that is called to create resource to store font.
value
- the callback that is called to create resource to store font.public final boolean getIncludeProjectNameInPageHeader()
public final void setIncludeProjectNameInPageHeader(boolean value)
Sets a value indicating whether to include project name in HTML page header.
value
- a value indicating whether to include project name in HTML page header.public final boolean getIncludeProjectNameInTitle()
Gets a value indicating whether to include project name in HTML title.
public final void setIncludeProjectNameInTitle(boolean value)
Sets a value indicating whether to include project name in HTML title.
value
- a value indicating whether to include project name in HTML title.public final List<Integer> getPages()
Gets a list of page numbers to save when rendering project layout.
public final void setPages(List<Integer> value)
Sets a list of page numbers to save when rendering project layout.
value
- a list of page numbers to save when rendering project layout.public final boolean getReduceFooterGap()
public final void setReduceFooterGap(boolean value)
value
- value indicating whether a gap between last task and the footer must be reduced.public boolean getUseGradientBrush()
Gets a value indicating whether to use gradient brush when rendering project layout.
getUseGradientBrush
in class SaveOptions
public void setUseGradientBrush(boolean value)
Sets a value indicating whether to use gradient brush when rendering project layout.
setUseGradientBrush
in class SaveOptions
value
- a flag which determines whether to use gradient brush when rendering project layout.public final boolean getUseProjectDefaultFont()
public final void setUseProjectDefaultFont(boolean value)
value
- a value indicating whether the default font must be used for rendering.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.