Package io.revealbi.core
Class DocumentExportOptions
java.lang.Object
io.revealbi.core.ExportOptions
io.revealbi.core.DocumentExportOptions
- All Implemented Interfaces:
IDocumentExportOptions,IExportOptions,IInitScriptProviderExportOptions
- Direct Known Subclasses:
PdfExportOptions,PowerPointExportOptions
Contains document configuration for exporting a dashboard.
-
Constructor Summary
ConstructorsConstructorDescriptionInitializes a new instance of the document export options.DocumentExportOptions(IExportOptions options) Initializes a new instance of the document export options from existing export options. -
Method Summary
Modifier and TypeMethodDescriptionDocument author.intgetColor()Color used for titles underlinesCompany name displayed in the lower left cornerDeprecated.Indicates a script used to initialize revealView when exporting.booleanIndicates page orientation when exportingbyte[]getLogo()Company logo displayed in the lower left corner.Deprecated.UsegetCompany()instead.voidDocument author.voidsetColor(int color) Color used for titles underlinesvoidsetCompany(String company) Company name displayed in the lower left cornervoidsetCreatedBy(String author) Deprecated.UsesetAuthor(String)instead.voidsetInitScript(String script) Indicates a script used to initialize revealView when exporting.voidsetIsLandscape(boolean isLandscape) Indicates page orientation when exportingvoidsetLogo(byte[] logo) Company logo displayed in the lower left corner.voidsetPoweredBy(String company) Deprecated.UsesetCompany(String)instead.Methods inherited from class io.revealbi.core.ExportOptions
getFilters, getIncludeFiltersSummaryPage, getMaxCacheAge, getMaxCells, getTheme, getTimeout, getTimeZone, getUseNewCharts, getUserLanguage, getVisualizations, setFilters, setIncludeFiltersSummaryPage, setMaxCacheAge, setMaxCells, setTheme, setTimeout, setTimeZone, setUseNewCharts, setUserLanguage, setVisualizations
-
Constructor Details
-
DocumentExportOptions
public DocumentExportOptions()Initializes a new instance of the document export options. -
DocumentExportOptions
Initializes a new instance of the document export options from existing export options.- Parameters:
options- The export options to copy values from.
-
-
Method Details
-
getAuthor
Document author. It will be displayed in the upper left corner- Specified by:
getAuthorin interfaceIDocumentExportOptions- Returns:
- Document author. It will be displayed in the upper left corner
-
setAuthor
Document author. It will be displayed in the upper left corner- Specified by:
setAuthorin interfaceIDocumentExportOptions- Parameters:
author- Document author. It will be displayed in the upper left corner
-
getCompany
Company name displayed in the lower left corner- Specified by:
getCompanyin interfaceIDocumentExportOptions- Returns:
- Company name displayed in the lower left corner
-
setCompany
Company name displayed in the lower left corner- Specified by:
setCompanyin interfaceIDocumentExportOptions- Parameters:
company- Company name displayed in the lower left corner
-
getIsLandscape
public boolean getIsLandscape()Indicates page orientation when exporting- Specified by:
getIsLandscapein interfaceIDocumentExportOptions- Returns:
- Indicates page orientation when exporting
-
setIsLandscape
public void setIsLandscape(boolean isLandscape) Indicates page orientation when exporting- Specified by:
setIsLandscapein interfaceIDocumentExportOptions- Parameters:
isLandscape- Indicates page orientation when exporting
-
getLogo
public byte[] getLogo()Company logo displayed in the lower left corner. Only in the first page- Specified by:
getLogoin interfaceIDocumentExportOptions- Returns:
- Company logo displayed in the lower left corner. Only in the first page
-
setLogo
public void setLogo(byte[] logo) Company logo displayed in the lower left corner. Only in the first page- Specified by:
setLogoin interfaceIDocumentExportOptions- Parameters:
logo- Company logo displayed in the lower left corner. Only in the first page
-
getColor
public int getColor()Color used for titles underlines- Specified by:
getColorin interfaceIDocumentExportOptions- Returns:
- Color used for titles underlines
-
setColor
public void setColor(int color) Color used for titles underlines- Specified by:
setColorin interfaceIDocumentExportOptions- Parameters:
color- Color used for titles underlines
-
getInitScript
Indicates a script used to initialize revealView when exporting. The script must contain a function called initReveal(revealView)- Specified by:
getInitScriptin interfaceIInitScriptProviderExportOptions- Returns:
- Indicates a script used to initialize revealView when exporting.
-
setInitScript
Indicates a script used to initialize revealView when exporting. The script must contain a function called initReveal(revealView)- Specified by:
setInitScriptin interfaceIInitScriptProviderExportOptions- Parameters:
script- Indicates a script used to initialize revealView when exporting.
-
setCreatedBy
Deprecated.UsesetAuthor(String)instead. -
getCreatedBy
Deprecated.UsegetAuthor()instead. -
setPoweredBy
Deprecated.UsesetCompany(String)instead. -
getPoweredBy
Deprecated.UsegetCompany()instead.
-
getAuthor()instead.