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 |
---|---|
String |
getDefaultFontName()
Gets the default font for rendering.
|
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 |
setDefaultFontName(String value)
Sets the default font for rendering.
|
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 String getDefaultFontName()
public void setDefaultFontName(String value)
value
- the default font name for rendering.public boolean getIncludeProjectNameInPageHeader()
public void setIncludeProjectNameInPageHeader(boolean value)
Sets a value indicating whether to include project name in HTML page header.
value
- a flag which determines whether to include project name in HTML page header.public boolean getIncludeProjectNameInTitle()
Gets a value indicating whether to include project name in HTML title.
public void setIncludeProjectNameInTitle(boolean value)
Sets a value indicating whether to include project name in HTML title.
value
- a flag which determines whether to include project name in HTML title.public List<Integer> getPages()
Gets a list of page numbers to save when rendering project layout.
public 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 boolean getReduceFooterGap()
public 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 boolean getUseProjectDefaultFont()
public void setUseProjectDefaultFont(boolean value)
value
- a value indicating whether the default font must be used for rendering.Copyright (c) 2008-2018 Aspose Pty Ltd. All Rights Reserved.