Package com.microstrategy.web.objects
Interface WebCSSHelper
- 
public interface WebCSSHelperThis interface is a helper interface which manages the generation of CSS from formatting settings. The CSS string generated will include two parts, one part which refers to the default formatting, and another part which contains settings from the report-specific formatting classes. Note that the CSS classes generated from the default properties will have the base name css_default_class.- Since:
 - MicroStrategy Web 7.3.1 or earlier
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description static intALL_HEADERS_AND_VALUESstatic intCSS_MODE_EXCELExcel targeted mode of css string.static intCSS_MODE_GENERALGeneral mode of css string.static intMETRIC_VALUES 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapplyInteractiveGridStyle(int borderWidth, int[] padding, int lineHeight, int theme)booleancssUsesFilter()Return whether the css uses filters for special visual effect for IE.voiddisableFixedCellLayout()Turns off fixed cell layout generation.voidensureFixedCellLayout(int borderWidth, int paddingTop, int paddingRight, int paddingBottom, int paddingLeft, int lineHeight)This API ensures that the generated CSS represents cells with fixed sizes using the fixed properties passed e.g. border, padding, line height.java.lang.StringgetCSS()Generates css with modeCSS_MODE_GENERALand includes defaults.java.lang.StringgetCSS(int mode)Generates css with defaults.java.lang.StringgetCSS(int mode, boolean includeDefaultCSS)Return the CSS string, which is composed from the formatting properties set on the report associated with this object, according to the input mode.intgetCSSClassCount()intgetCSSClassCount(boolean includeDefaultCSS)java.util.Map<java.lang.String,WebFormat>getFormats(int flag)Returns aMapcollection ofWebFormatobjects, each of which represents a style or a class.doublegetParentFontSize()Return the current parent font size setting.java.lang.StringgetPrefix()Returns the report prefix, which will be added in front of all CSS classes' name in any CSS code generated from this class.booleangetRenderStyleTag()Returns the flag which controls whether 
 -