Example #1
0
 private object CreatePropertyOrReturnDefault(string styleName, object styleValue)
 {
     if (styleValue == null)
     {
         return(m_styleDefaults[styleName]);
     }
     return(StyleBase.CreateStyleProperty(styleName, styleValue));
 }
Example #2
0
 private object CreateProperty(string styleName, object styleValue)
 {
     if (styleValue == null)
     {
         return(null);
     }
     return(StyleBase.CreateStyleProperty(styleName, styleValue));
 }
Example #3
0
        internal static object GetStyleValue(string styleName, Microsoft.ReportingServices.ReportProcessing.Style styleDef, object[] styleAttributeValues, bool returnDefaultStyle)
        {
            object styleValueBase = StyleBase.GetStyleValueBase(styleName, styleDef, styleAttributeValues);

            if (styleValueBase != null)
            {
                return(styleValueBase);
            }
            if (returnDefaultStyle)
            {
                return(NormalStyleDefaults[styleName]);
            }
            return(null);
        }