Package com.microstrategy.web.app.beans
Interface PDFBean
- 
- All Superinterfaces:
 AppComponent,Transformable,WebComponent
public interface PDFBean extends AppComponent
The interface PDFBean is representing the pdf web component.- Since:
 - MicroStrategy Web 7.3.1 or earlier
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCOVER_PAGE_DETAILS_CONTENTS_WITH_FILTER_DETAILSstatic java.lang.StringCOVER_PAGE_DETAILS_CONTENTS_WITH_REPORT_DETAILSstatic java.lang.StringCOVER_PAGE_LOCATION_AFTER_REPORTstatic java.lang.StringCOVER_PAGE_LOCATION_BEFORE_REPORT- 
Fields inherited from interface com.microstrategy.web.app.beans.AppComponent
COMPONENT_POSITION_NOT_INITIALIZED 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description AppBeanErrorgetBeanError()Get PDF bean errorbooleangetDisplayCoverPage()Return whether to display a cover page with the filter details.booleangetExpandPageByFields()Returns whether to expand the page-by fieldsintgetExportSection()Returns the export section of the export bean (a value from EnumExportSection)java.lang.StringgetFitToPagesTall()Gets the current fit to pages tall propertyjava.lang.StringgetFitToPagesWide()Gets the current fit to pages wide propertyjava.lang.StringgetFooterCenterSection()Returns the current footer center section contentjava.lang.StringgetFooterLeftSection()Returns the current footer left section contentjava.lang.StringgetFooterRightSection()Returns the current footer right section contentjava.lang.StringgetFooterSize()Returns the current footer size in inchesjava.lang.StringgetGraphHeight()Returns the graph's heightjava.lang.StringgetGraphWidth()Returns the graph's widthjava.lang.StringgetHeaderCenterSection()Returns the current header center section contentjava.lang.StringgetHeaderLeftSection()Returns the current header left section contentjava.lang.StringgetHeaderRightSection()Returns the current header right section contentjava.lang.StringgetHeaderSize()Returns the current header size in inchesjava.lang.StringgetMarginSizeBottom()Returns the current bottom margin size in inchesjava.lang.StringgetMarginSizeLeft()returns the current left margin size in inchesjava.lang.StringgetMarginSizeRight()Returns the current right margin size in inchesjava.lang.StringgetMarginSizeTop()Returns the current top margin size in inchesjava.lang.StringgetMaxCells()Deprecated.not used anymorejava.lang.StringgetOutlineModeState()Returns the current outline mode expansion statejava.lang.StringgetPaperHeight()Returns the paper height depending on the paper size an paper orientationjava.lang.StringgetPaperOrientationOption()Returns the current paper orientation (PAPER_ORIENTATION_PORTRAIT_OPTION or PAPER_ORIENTATION_LANDSCAPE_OPTION)java.lang.StringgetPaperSize()Returns the current paper size (a key from paperSizes.xml)java.lang.StringgetPaperWidth()Returns the paper widthReportBeangetReportBean()java.lang.StringgetScalingOption()Gets the scaling option the user has decided to usebooleangetShowAttributeFormNames()Returns whether to show the attribute formsjava.lang.StringgetShrinkFontPercentage()Returns the current shrink font percentage.java.lang.StringgetStylePagebyInfo()Returns the current style used when transforming the report bean to generate the page by informationvoidsetDisplayCoverPage(boolean displayCoverPage)Sets whether to display a cover page with the filter details.voidsetExpandPageByFields(boolean expandPageByFields)Sets whether to expand the page-by fieldsvoidsetExportSection(int exportSection)Sets the export section of the export bean (a value from EnumExportSection)voidsetFitToPagesTall(java.lang.String fitToPagesTall)Sets the current fit to pages tall propertyvoidsetFitToPagesWide(java.lang.String fitToPagesWide)Sets the current fit to pages wide propertyvoidsetFooterCenterSection(java.lang.String footerCenterSection)Sets the current footer center section contentvoidsetFooterLeftSection(java.lang.String footerLeftSection)Sets the current footer left section contentvoidsetFooterRightSection(java.lang.String footerRightSection)Sets the current footer right section contentvoidsetFooterSize(java.lang.String footerSize)Sets the current footer size in inchesvoidsetGraphHeight(java.lang.String graphHeight)Sets the graph's heightvoidsetGraphWidth(java.lang.String graphWidth)Sets the graph's widthvoidsetHeaderCenterSection(java.lang.String headerCenterSection)Sets the current header center section contentvoidsetHeaderLeftSection(java.lang.String headerLeftSection)Sets the current header left section contentvoidsetHeaderRightSection(java.lang.String headerRightSection)Sets the current header right section contentvoidsetHeaderSize(java.lang.String headerSize)Sets the current header size in inchesvoidsetMarginSizeBottom(java.lang.String marginSizeBottom)Sets the current bottom margin size in inchesvoidsetMarginSizeLeft(java.lang.String marginSizeLeft)Sets the current left margin size in inchesvoidsetMarginSizeRight(java.lang.String marginSizeRight)Sets the current right margin size in inchesvoidsetMarginSizeTop(java.lang.String marginSizeTop)Sets the current top margin size in inchesvoidsetMaxCells(java.lang.String maxCells)Deprecated.not used anymorevoidsetOutlineModeState(java.lang.String outlineModeState)Sets the current outline mode expansion statevoidsetPaperOrientationOption(java.lang.String paperOrientationOption)Sets the current paper orientation (PAPER_ORIENTATION_PORTRAIT_OPTION or PAPER_ORIENTATION_LANDSCAPE_OPTION)voidsetPaperSize(java.lang.String paperSize)Sets the current paper size (a key from paperSizes.xml)voidsetScalingOption(java.lang.String scalingOption)Sets the scaling option the user has decided to usevoidsetShowAttributeFormNames(boolean showAttributeFormNames)Sets whether to show the attribute formsvoidsetShrinkFontPercentage(java.lang.String shrinkFontPercentage)Sets the current shrink font percentage.voidsetStylePagebyInfo(java.lang.String stylePagebyInfo)Sets the current style used when transforming the report bean to generate the page by information- 
Methods inherited from interface com.microstrategy.web.app.beans.AppComponent
getAppContext, getDescriptor, getDescriptor, getEventManager, getExtraInput, getExtraUrl, getLeft, getResultFilterMode, getTop, isDialog, isForcedChildrenStateSaving, isModal, isModalOpen, isOpen, setExtraInput, setExtraUrl, setForcedChildrenStateSaving, setHasJustOpened, setIsDialog, setIsModal, setIsOpen, setLeft, setTop 
- 
Methods inherited from interface com.microstrategy.web.beans.Transformable
addTransform, addTransformByClass, addTransformByStyle, addTransformByStyle, clearTransforms, getBeanContext, getMessageString, getMyTransformInstances, getTransformInstance, getTransformInstance, getTransformInstances, getType, hasTransform, hasTransform, invalidateTransformCache, setBeanContext, transform, transform 
- 
Methods inherited from interface com.microstrategy.web.beans.WebComponent
addChild, addChildStateInfo, addChildStateInfo, collectData, collectMinimalData, generateOutput, getBeanContext, getChild, getChild, getChildByClass, getChildByType, getChildCount, getChildrenByClass, getDefaultStateLevel, getFeaturesManager, getMaximumStateLevel, getName, getOutputFormat, getParent, getPath, getPersistMode, getRenderingFilter, getRoot, getTargetBean, getTargetBeanPath, getWebEvent, getWebEvent, getWebEventHandler, getXMLStatus, handleRequest, hasChanged, hasJustOpened, initBean, invalidateChildrenState, isBeanContextEmpty, isFeatureAvailable, prepareForReuse, removeChild, removeChild, searchChild, setBeanContext, setBeanContext, setChanged, setChanged, setDefaultStateLevel, setFeaturesManager, setName, setOutputFormat, setParent, setPersistMode, setRenderingFilter, setTargetBean, setTargetBeanPath, setWebEventHandler 
 - 
 
 - 
 
- 
- 
Field Detail
- 
COVER_PAGE_LOCATION_BEFORE_REPORT
static final java.lang.String COVER_PAGE_LOCATION_BEFORE_REPORT
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
COVER_PAGE_LOCATION_AFTER_REPORT
static final java.lang.String COVER_PAGE_LOCATION_AFTER_REPORT
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
COVER_PAGE_DETAILS_CONTENTS_WITH_FILTER_DETAILS
static final java.lang.String COVER_PAGE_DETAILS_CONTENTS_WITH_FILTER_DETAILS
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
- 
COVER_PAGE_DETAILS_CONTENTS_WITH_REPORT_DETAILS
static final java.lang.String COVER_PAGE_DETAILS_CONTENTS_WITH_REPORT_DETAILS
- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
getReportBean
ReportBean getReportBean()
- Returns:
 - the report bean associated with this pdf bean
 
 
- 
getExportSection
int getExportSection()
Returns the export section of the export bean (a value from EnumExportSection)- Returns:
 - the export section of the export bean (a value from EnumExportSection)
 
 
- 
setExportSection
void setExportSection(int exportSection)
Sets the export section of the export bean (a value from EnumExportSection)- Parameters:
 exportSection- the export section of the export bean (a value from EnumExportSection)
 
- 
getShrinkFontPercentage
java.lang.String getShrinkFontPercentage()
Returns the current shrink font percentage.- Returns:
 - the current shrink font percentage.
 
 
- 
setShrinkFontPercentage
void setShrinkFontPercentage(java.lang.String shrinkFontPercentage)
Sets the current shrink font percentage.- Parameters:
 shrinkFontPercentage- the current shrink font percentage
 
- 
getFitToPagesWide
java.lang.String getFitToPagesWide()
Gets the current fit to pages wide property- Returns:
 - the current fit to pages wide property
 
 
- 
setFitToPagesWide
void setFitToPagesWide(java.lang.String fitToPagesWide)
Sets the current fit to pages wide property- Parameters:
 fitToPagesWide- the current fit to pages wide property
 
- 
getFitToPagesTall
java.lang.String getFitToPagesTall()
Gets the current fit to pages tall property- Returns:
 - the current fit to pages tall property
 
 
- 
setFitToPagesTall
void setFitToPagesTall(java.lang.String fitToPagesTall)
Sets the current fit to pages tall property- Parameters:
 fitToPagesTall- the current fit to pages tall property
 
- 
getScalingOption
java.lang.String getScalingOption()
Gets the scaling option the user has decided to use- Returns:
 - a string value corresponding to 
PrintBean.SCALING_SHRINK_FONT_OPTIONorPrintBean.SCALING_FIT_TO_PAGE_OPTION 
 
- 
setScalingOption
void setScalingOption(java.lang.String scalingOption)
Sets the scaling option the user has decided to use- Parameters:
 scalingOption- a string value corresponding toPrintBean.SCALING_SHRINK_FONT_OPTIONorPrintBean.SCALING_FIT_TO_PAGE_OPTION
 
- 
getHeaderLeftSection
java.lang.String getHeaderLeftSection()
Returns the current header left section content- Returns:
 - the current header left section
 
 
- 
setHeaderLeftSection
void setHeaderLeftSection(java.lang.String headerLeftSection)
Sets the current header left section content- Parameters:
 headerLeftSection- the current header left section
 
- 
getHeaderCenterSection
java.lang.String getHeaderCenterSection()
Returns the current header center section content- Returns:
 - the current header center section
 
 
- 
setHeaderCenterSection
void setHeaderCenterSection(java.lang.String headerCenterSection)
Sets the current header center section content- Parameters:
 headerCenterSection- the current header center section
 
- 
getHeaderRightSection
java.lang.String getHeaderRightSection()
Returns the current header right section content- Returns:
 - the current header right section
 
 
- 
setHeaderRightSection
void setHeaderRightSection(java.lang.String headerRightSection)
Sets the current header right section content- Parameters:
 headerRightSection- the current header right section
 
- 
getFooterLeftSection
java.lang.String getFooterLeftSection()
Returns the current footer left section content- Returns:
 - the current footer left section
 
 
- 
setFooterLeftSection
void setFooterLeftSection(java.lang.String footerLeftSection)
Sets the current footer left section content- Parameters:
 footerLeftSection- the current footer left section
 
- 
getFooterCenterSection
java.lang.String getFooterCenterSection()
Returns the current footer center section content- Returns:
 - the current footer center section
 
 
- 
setFooterCenterSection
void setFooterCenterSection(java.lang.String footerCenterSection)
Sets the current footer center section content- Parameters:
 footerCenterSection- the current footer center section
 
- 
getFooterRightSection
java.lang.String getFooterRightSection()
Returns the current footer right section content- Returns:
 - the current footer right section
 
 
- 
setFooterRightSection
void setFooterRightSection(java.lang.String footerRightSection)
Sets the current footer right section content- Parameters:
 footerRightSection- the current footer right section
 
- 
getPaperSize
java.lang.String getPaperSize()
Returns the current paper size (a key from paperSizes.xml)- Returns:
 - the current paper size
 
 
- 
setPaperSize
void setPaperSize(java.lang.String paperSize)
Sets the current paper size (a key from paperSizes.xml)- Parameters:
 paperSize- the current paper size
 
- 
getPaperOrientationOption
java.lang.String getPaperOrientationOption()
Returns the current paper orientation (PAPER_ORIENTATION_PORTRAIT_OPTION or PAPER_ORIENTATION_LANDSCAPE_OPTION)- Returns:
 - the current paper orientation
 
 
- 
setPaperOrientationOption
void setPaperOrientationOption(java.lang.String paperOrientationOption)
Sets the current paper orientation (PAPER_ORIENTATION_PORTRAIT_OPTION or PAPER_ORIENTATION_LANDSCAPE_OPTION)- Parameters:
 paperOrientationOption- the current paper orientation
 
- 
getMarginSizeLeft
java.lang.String getMarginSizeLeft()
returns the current left margin size in inches- Returns:
 - the current left margin size
 
 
- 
setMarginSizeLeft
void setMarginSizeLeft(java.lang.String marginSizeLeft)
Sets the current left margin size in inches- Parameters:
 marginSizeLeft- the current left margin size
 
- 
getMarginSizeRight
java.lang.String getMarginSizeRight()
Returns the current right margin size in inches- Returns:
 - the current right margin size
 
 
- 
setMarginSizeRight
void setMarginSizeRight(java.lang.String marginSizeRight)
Sets the current right margin size in inches- Parameters:
 marginSizeRight- the current right margin size
 
- 
getMarginSizeTop
java.lang.String getMarginSizeTop()
Returns the current top margin size in inches- Returns:
 - the current top margin size
 
 
- 
setMarginSizeTop
void setMarginSizeTop(java.lang.String marginSizeTop)
Sets the current top margin size in inches- Parameters:
 marginSizeTop- the current top margin size
 
- 
getMarginSizeBottom
java.lang.String getMarginSizeBottom()
Returns the current bottom margin size in inches- Returns:
 - the current bottom margin size
 
 
- 
setMarginSizeBottom
void setMarginSizeBottom(java.lang.String marginSizeBottom)
Sets the current bottom margin size in inches- Parameters:
 marginSizeBottom- the current bottom margin size
 
- 
getHeaderSize
java.lang.String getHeaderSize()
Returns the current header size in inches- Returns:
 - the current header size
 
 
- 
setHeaderSize
void setHeaderSize(java.lang.String headerSize)
Sets the current header size in inches- Parameters:
 headerSize- the current header size
 
- 
getFooterSize
java.lang.String getFooterSize()
Returns the current footer size in inches- Returns:
 - the current footer size
 
 
- 
setFooterSize
void setFooterSize(java.lang.String footerSize)
Sets the current footer size in inches- Parameters:
 footerSize- the current footer size
 
- 
getMaxCells
@Deprecated java.lang.String getMaxCells()
Deprecated.not used anymoreReturns the maximum number of cells to export- Returns:
 - the maximum number of cells to export
 
 
- 
setMaxCells
@Deprecated void setMaxCells(java.lang.String maxCells)
Deprecated.not used anymoreSets the maximum number of cells to export- Parameters:
 maxCells- the maximum number of cells to export
 
- 
getDisplayCoverPage
boolean getDisplayCoverPage()
Return whether to display a cover page with the filter details.- Returns:
 - whether to display a cover page with the filter details.
 
 
- 
setDisplayCoverPage
void setDisplayCoverPage(boolean displayCoverPage)
Sets whether to display a cover page with the filter details.- Parameters:
 displayCoverPage- whether to display a cover page with the filter details.
 
- 
getStylePagebyInfo
java.lang.String getStylePagebyInfo()
Returns the current style used when transforming the report bean to generate the page by information- Returns:
 - the current style used when transforming the report bean to generate the page by information
 
 
- 
setStylePagebyInfo
void setStylePagebyInfo(java.lang.String stylePagebyInfo)
Sets the current style used when transforming the report bean to generate the page by information- Parameters:
 stylePagebyInfo- the current style used when transforming the report bean to generate the page by information
 
- 
getShowAttributeFormNames
boolean getShowAttributeFormNames()
Returns whether to show the attribute forms- Returns:
 - whether to show the attribute forms
 
 
- 
setShowAttributeFormNames
void setShowAttributeFormNames(boolean showAttributeFormNames)
Sets whether to show the attribute forms- Parameters:
 showAttributeFormNames- whether to show the attribute forms
 
- 
getPaperWidth
java.lang.String getPaperWidth()
Returns the paper width- Returns:
 - the paper width
 
 
- 
getPaperHeight
java.lang.String getPaperHeight()
Returns the paper height depending on the paper size an paper orientation- Returns:
 - the paper height depending on the paper size an paper orientation
 
 
- 
getGraphHeight
java.lang.String getGraphHeight()
Returns the graph's height- Returns:
 - the graph's height
 
 
- 
setGraphHeight
void setGraphHeight(java.lang.String graphHeight)
Sets the graph's height- Parameters:
 graphHeight- the graph's height
 
- 
getGraphWidth
java.lang.String getGraphWidth()
Returns the graph's width- Returns:
 - the graph's width
 
 
- 
setGraphWidth
void setGraphWidth(java.lang.String graphWidth)
Sets the graph's width- Parameters:
 graphWidth- the graph's width
 
- 
getOutlineModeState
java.lang.String getOutlineModeState()
Returns the current outline mode expansion state- Returns:
 - the current outline mode expansion state
 - Since:
 - MicroStrategy Web 8.0.0
 
 
- 
setOutlineModeState
void setOutlineModeState(java.lang.String outlineModeState)
Sets the current outline mode expansion state- Parameters:
 outlineModeState- the current outline mode expansion state- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getExpandPageByFields
boolean getExpandPageByFields()
Returns whether to expand the page-by fields- Returns:
 - whether to expand the page-by fields
 - Since:
 - MicroStrategy Web 8.0.0
 
 
- 
setExpandPageByFields
void setExpandPageByFields(boolean expandPageByFields)
Sets whether to expand the page-by fields- Parameters:
 expandPageByFields- whether to expand the page-by fields- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getBeanError
AppBeanError getBeanError()
Get PDF bean error- Returns:
 - bean error
 
 
 - 
 
 -