Package com.microstrategy.web.objects
Interface WebReportPlainTextExportSettings
- 
- All Superinterfaces:
 WebReportExportSettings
public interface WebReportPlainTextExportSettings extends WebReportExportSettings
This interface defines export settings that are specific to plain text exporting i.e exporting correspoding to the following types- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
- 
Field Summary
- 
Fields inherited from interface com.microstrategy.web.objects.WebReportExportSettings
PROPERTY_CUSTOM_EXCEL_REPORT_FOOTER, PROPERTY_CUSTOM_EXCEL_REPORT_HEADER, PROPERTY_CUSTOM_REPORT_HEADER 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleangetDisplayAttributeForm()Returns the current setting of whether to display attribute forms.java.lang.StringgetHeaderPostfix()Returns the current setting of the postfix which will be appended at the end of each header postfix in the exported report.java.lang.StringgetHeaderPrefix()Returns the current setting of the prefix which will be prepended at the beginning of each header prefix in the exported report.java.lang.StringgetLayout()Returns layout xml.java.lang.StringgetSeparator()Returns the current setting of the separator which will be used between cells upon calling the export method.java.lang.StringgetValuePostfix()Returns the current setting of the postfix which will be appended at the end of each metric value in the exported report.java.lang.StringgetValuePrefix()Returns the current setting of the prefix which will be prepended at the beginning of each metric value in the exported report.intgetVersion()booleanisShowHeaderAndFooter()Whether to show the Header and Footer on the exported results.
The default value is true.voidsetDisplayAttributeForm(boolean displayForm)Sets whether to display attribute forms in exported reports.voidsetHeaderPostfix(java.lang.String postfix)Sets the postfix which will be appended at the end of each header cell in the exported report.voidsetHeaderPrefix(java.lang.String prefix)Sets the prefix which will be prepended at the beginning of each header cell in the exported report.voidsetLayout(java.lang.String xml)voidsetSeparator(java.lang.String separator)Sets the separator which will be used between cells upon calling the export method.voidsetShowHeaderAndFooter(boolean value)Whether to show the Header and Footer on the exported results.
The default value is true.voidsetTrimWarehouseData(boolean value)Whether to trim leading and trailing white space for warehouse element data.voidsetValuePostfix(java.lang.String postfix)Sets the postfix which will be appended at the end of each metric value in the exported report.voidsetValuePrefix(java.lang.String prefix)Sets the prefix which will be prepended at the beginning of each metric value in the exported report.voidsetVersion(int version)- 
Methods inherited from interface com.microstrategy.web.objects.WebReportExportSettings
getCustomProperties, getFormatType, getMode, getViewMode, setFormatType, setMode, setViewMode 
 - 
 
 - 
 
- 
- 
Method Detail
- 
setSeparator
void setSeparator(java.lang.String separator)
Sets the separator which will be used between cells upon calling the export method. By default, this will be a comma(,).- Parameters:
 separator- A string describing the separator to use between cells of an exported report.
 
- 
getSeparator
java.lang.String getSeparator()
Returns the current setting of the separator which will be used between cells upon calling the export method. By default, this will be a comma(,).- Returns:
 - The current separator setting.
 
 
- 
setValuePrefix
void setValuePrefix(java.lang.String prefix)
Sets the prefix which will be prepended at the beginning of each metric value in the exported report. By default, no prefix will be prepended to each metric value.- Parameters:
 prefix- The prefix to add to metric values upon exporting.
 
- 
getValuePrefix
java.lang.String getValuePrefix()
Returns the current setting of the prefix which will be prepended at the beginning of each metric value in the exported report. By default, this value is an empty string.- Returns:
 - The current value postfix setting.
 
 
- 
setValuePostfix
void setValuePostfix(java.lang.String postfix)
Sets the postfix which will be appended at the end of each metric value in the exported report. By default, no prefix will be appended to each metric value.- Parameters:
 postfix- The postfix to add to metric values upon exporting.
 
- 
getValuePostfix
java.lang.String getValuePostfix()
Returns the current setting of the postfix which will be appended at the end of each metric value in the exported report. By default, this value is an empty string.- Returns:
 - The current value postfix setting.
 
 
- 
setHeaderPrefix
void setHeaderPrefix(java.lang.String prefix)
Sets the prefix which will be prepended at the beginning of each header cell in the exported report.- Parameters:
 prefix- The prefix to add to header cells when exporting.
 
- 
getHeaderPrefix
java.lang.String getHeaderPrefix()
Returns the current setting of the prefix which will be prepended at the beginning of each header prefix in the exported report. By default, this value is an empty string.- Returns:
 - The current header prefix setting.
 
 
- 
setHeaderPostfix
void setHeaderPostfix(java.lang.String postfix)
Sets the postfix which will be appended at the end of each header cell in the exported report.- Parameters:
 postfix- The postfix to add to header cells when exporting.
 
- 
getHeaderPostfix
java.lang.String getHeaderPostfix()
Returns the current setting of the postfix which will be appended at the end of each header postfix in the exported report. By default, this value is an empty string.- Returns:
 - The current header postfix setting.
 
 
- 
setDisplayAttributeForm
void setDisplayAttributeForm(boolean displayForm)
Sets whether to display attribute forms in exported reports. By default, this value is true.- Parameters:
 displayForm- The new setting for whether to display attribute forms.
 
- 
getDisplayAttributeForm
boolean getDisplayAttributeForm()
Returns the current setting of whether to display attribute forms. By default, this value is true.- Returns:
 - Whether attribute forms will be displayed upon exporting.
 
 
- 
setLayout
void setLayout(java.lang.String xml)
- Parameters:
 xml- the layout xml - useWebReportPlainTextLayoutBuilderto construct it- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
getLayout
java.lang.String getLayout()
Returns layout xml.- Returns:
 - layout xml.
 - Since:
 - MicroStrategy Web 8.0.1
 - See Also:
 setLayout(String)
 
- 
setTrimWarehouseData
void setTrimWarehouseData(boolean value)
Whether to trim leading and trailing white space for warehouse element data. Also controlled by preferenceEnumWebPreferences.WebPreferenceTrimWarehouseData
Setting this overwrites the preference value.- Parameters:
 value- Whether to trim leading and trailing white space for warehouse element data- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
setShowHeaderAndFooter
void setShowHeaderAndFooter(boolean value)
Whether to show the Header and Footer on the exported results.
The default value is true.- Parameters:
 value- Whether to show the Header and Footer on the exported results
 
- 
isShowHeaderAndFooter
boolean isShowHeaderAndFooter()
Whether to show the Header and Footer on the exported results.
The default value is true.- Returns:
 - Whether to show the Header and Footer on the exported results
 
 
- 
setVersion
void setVersion(int version)
- Parameters:
 version- Excel version as defined inEnumExcelVersion
 
- 
getVersion
int getVersion()
- Returns:
 - Excel version as defined in 
EnumExcelVersion 
 
 - 
 
 -