java.lang.Object | |
↳ | com.microstrategy.web.app.PropertySetHelper |
![]() |
Title: PropertySetHelper.
Description: This is the helper file for generating the javascript which has the mapping between the HTML property names and the propert set property name
Copyright: Copyright (c) 2003
Company: Microstrategy, Inc.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PropertySetHelper() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void | appendGradientColorStyle(WebFormat format, StringBuilder filterCollection, String objType) | ||||||||||
static void | appendTextDecoration(StringBuilder style, WebFormat format, int unitType) | ||||||||||
static void | appendTextDecoration(StringBuilder style, RWUnit rwUnit) | ||||||||||
static void | appendTextDirectionStyle(WebFormat format, StringBuilder filterCollection) | ||||||||||
static double | extractBorderWidthFromStyle(WebFormat format, String propertySet, String property) | ||||||||||
static JsonGenerator | generateFormatJson(RWUnit rwUnit, WebFormat format, int dpiConversion, Locale locale, int zoomFactor, boolean isDesignMode, RWBean rwbean) | ||||||||||
static void | generateStyle(RWUnit rwUnit, String propertySetName, String propertyName, StringBuilder style, int dpiConversion, Locale locale, int zoomFactor, boolean isDesignMode, RWBean rwbean) | ||||||||||
static void |
generateStyle(RWUnit rwUnit, String propertySetName, String propertyName, StringBuffer style, int dpiConversion, Locale locale, int zoomFactor, boolean isDesignMode, RWBean rwbean)
This method is deprecated.
Use
generateStyle(RWUnit, String, String, StringBuilder, int, Locale, int, boolean, RWBean) instead
| ||||||||||
static String |
getDocPropertyValue(String propertySetName, String propertyName, String propertyValue, int dpiConversion, Locale locale, int zoomFactor)
Returns the property's html value of the document, i.e for borderStyle
this returns '1pt dashed' instead of the encoded value (i.e 1-5)
| ||||||||||
static void |
getDocStyle(String propertySetName, String propertyName, String propertyValue, StringBuffer style, int dpiConversion, Locale locale, int zoomFactor)
This method is deprecated.
Use
getDocStyle(String, String, String, StringBuilder, int, Locale, int) instead
| ||||||||||
static void |
getDocStyle(String propertySetName, String propertyName, String propertyValue, StringBuilder style, int dpiConversion, Locale locale, int zoomFactor)
This method renders the CSS class for the report writing document object
| ||||||||||
static Boolean |
getHasBorderFlag(String id)
This function returns a value indicating whether the given object has a border or not
| ||||||||||
static void | getInlineStyle(String propertySetName, String propertyName, WebFormat format, StringBuilder style, String objType) | ||||||||||
static PropertySets | getPropertySets() | ||||||||||
static String | getStyleValue(Property property, RWUnit rwUnit, String propertyValue, WebFormat format, int dpiConversion, Locale locale, int zoomFactor, boolean isDesignMode, RWBean rwbean) | ||||||||||
static void |
init(String filePath)
This method initializes the property sets
| ||||||||||
static void |
resolveCss(RWUnit rwUnit, WebFormat format, int dpiConversion, Locale locale, int zoomFactor, boolean isDesignMode, StringBuffer style, AppContext appContext, RWBean rwbean)
This method is deprecated.
use
resolveCss(RWUnit, WebFormat, int, Locale, int, boolean, StringBuilder, AppContext, RWBean, int) instead.
| ||||||||||
static void |
resolveCss(RWUnit rwUnit, WebFormat format, int dpiConversion, Locale locale, int zoomFactor, boolean isDesignMode, StringBuilder style, AppContext appContext, RWBean rwbean, int unitType)
This method renders the CSS class for report writing objects.
| ||||||||||
static void | resolvePanelStackTitleFormat(RWUnit rwUnit, WebFormat format, int dpiConversion, Locale locale, int zoomFactor, boolean isDesignMode, StringBuilder style, AppContext appContext, RWBean rwbean, int unitType) | ||||||||||
static void | resolvePanelStackTitleFormat(RWUnit rwUnit, WebFormat format, StringBuilder style) |
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void | generateJavaScriptFile(String javaScriptFileName) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
This method is deprecated.
Use generateStyle(RWUnit, String, String, StringBuilder, int, Locale, int, boolean, RWBean)
instead
Returns the property's html value of the document, i.e for borderStyle this returns '1pt dashed' instead of the encoded value (i.e 1-5)
propertySetName | String |
---|---|
propertyName | String |
propertyValue | String |
dpiConversion | int |
locale | Locale |
zoomFactor | int |
This method is deprecated.
Use getDocStyle(String, String, String, StringBuilder, int, Locale, int)
instead
This method renders the CSS class for the report writing document object
propertySetName | String |
---|---|
propertyName | String |
propertyValue | String |
style | StringBuffer to capture the style output |
dpiConversion | int the dpi value specified in the users preferences (72, 96 or 120) |
locale | Locale |
zoomFactor | int from 25 to 1000 indicating the zoom percentage value |
This method renders the CSS class for the report writing document object
propertySetName | String |
---|---|
propertyName | String |
propertyValue | String |
style | StringBuffer to capture the style output |
dpiConversion | int the dpi value specified in the users preferences (72, 96 or 120) |
locale | Locale |
zoomFactor | int from 25 to 1000 indicating the zoom percentage value |
This function returns a value indicating whether the given object has a border or not
id | String |
---|
This method initializes the property sets
filePath | String |
---|
This method is deprecated.
use resolveCss(RWUnit, WebFormat, int, Locale, int, boolean, StringBuilder, AppContext, RWBean, int)
instead.
This method renders the CSS class for report writing objects.
rwUnit | RWUnit |
---|---|
format | WebFormat |
dpiConversion | int the dpi value specified in the users preferences (72, 96 or 120) |
locale | Locale |
zoomFactor | int from 25 to 1000 indicating the zoom percentage value |
isDesignMode | boolean |
style | StringBuffer to capture the style output |
appContext | AppContext |
rwbean | RWBean |
This method renders the CSS class for report writing objects.
rwUnit | RWUnit |
---|---|
format | WebFormat |
dpiConversion | int the dpi value specified in the users preferences (72, 96 or 120) |
locale | Locale |
zoomFactor | int from 25 to 1000 indicating the zoom percentage value |
isDesignMode | boolean |
style | StringBuilder to capture the style output |
appContext | AppContext |
rwbean | RWBean |