Class WebReportPropertiesHelper


  • public class WebReportPropertiesHelper
    extends java.lang.Object
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getLocalizedStyleName​(int localeID, java.lang.String name)
      This method will return the localized name of the style name that is passed in.
      static java.lang.String getLocalizedStyleNameForCss​(int localeID, java.lang.String cssFileName)
      This method will return the localized name of the style name that is passed in.
      static java.lang.String getLocalizedStyleNameFromIndex​(int localeIndex, java.lang.String name)
      This method will return the localized name of the style name that is passed in.
      static int getNumberOfLocales()  
      static int getNumberOfStyles()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WebReportPropertiesHelper

        public WebReportPropertiesHelper()
    • Method Detail

      • getLocalizedStyleName

        public static java.lang.String getLocalizedStyleName​(int localeID,
                                                             java.lang.String name)
        This method will return the localized name of the style name that is passed in. The localized name is required for applying a style by name
        Parameters:
        localeID - id of the locale
        name - name of the autostyle
        Returns:
        the localized style name
      • getLocalizedStyleNameForCss

        public static java.lang.String getLocalizedStyleNameForCss​(int localeID,
                                                                   java.lang.String cssFileName)
        This method will return the localized name of the style name that is passed in. The localized name is required for applying a style by name
        Parameters:
        localeID - id of the locale
        cssFileName - the name of the Css File Name
        Returns:
        the localized style name
        Since:
        MicroStrategy Web 8.0.1
      • getNumberOfLocales

        public static int getNumberOfLocales()
      • getNumberOfStyles

        public static int getNumberOfStyles()
      • getLocalizedStyleNameFromIndex

        public static java.lang.String getLocalizedStyleNameFromIndex​(int localeIndex,
                                                                      java.lang.String name)
        This method will return the localized name of the style name that is passed in. The localized name is required for applying a style by name
        Parameters:
        localeIndex - this is the index of the locale (a value less than the number of locales from getNumberOfLocales())
        name - name of the autostyle
        Returns:
        the localized style name