internal void SetTableStyle(SLTableStyleTypeValues tstyle)
 {
     switch (tstyle)
     {
         case SLTableStyleTypeValues.Light1:
             this.Name = "TableStyleLight1";
             break;
         case SLTableStyleTypeValues.Light2:
             this.Name = "TableStyleLight2";
             break;
         case SLTableStyleTypeValues.Light3:
             this.Name = "TableStyleLight3";
             break;
         case SLTableStyleTypeValues.Light4:
             this.Name = "TableStyleLight4";
             break;
         case SLTableStyleTypeValues.Light5:
             this.Name = "TableStyleLight5";
             break;
         case SLTableStyleTypeValues.Light6:
             this.Name = "TableStyleLight6";
             break;
         case SLTableStyleTypeValues.Light7:
             this.Name = "TableStyleLight7";
             break;
         case SLTableStyleTypeValues.Light8:
             this.Name = "TableStyleLight8";
             break;
         case SLTableStyleTypeValues.Light9:
             this.Name = "TableStyleLight9";
             break;
         case SLTableStyleTypeValues.Light10:
             this.Name = "TableStyleLight10";
             break;
         case SLTableStyleTypeValues.Light11:
             this.Name = "TableStyleLight11";
             break;
         case SLTableStyleTypeValues.Light12:
             this.Name = "TableStyleLight12";
             break;
         case SLTableStyleTypeValues.Light13:
             this.Name = "TableStyleLight13";
             break;
         case SLTableStyleTypeValues.Light14:
             this.Name = "TableStyleLight14";
             break;
         case SLTableStyleTypeValues.Light15:
             this.Name = "TableStyleLight15";
             break;
         case SLTableStyleTypeValues.Light16:
             this.Name = "TableStyleLight16";
             break;
         case SLTableStyleTypeValues.Light17:
             this.Name = "TableStyleLight17";
             break;
         case SLTableStyleTypeValues.Light18:
             this.Name = "TableStyleLight18";
             break;
         case SLTableStyleTypeValues.Light19:
             this.Name = "TableStyleLight19";
             break;
         case SLTableStyleTypeValues.Light20:
             this.Name = "TableStyleLight20";
             break;
         case SLTableStyleTypeValues.Light21:
             this.Name = "TableStyleLight21";
             break;
         case SLTableStyleTypeValues.Medium1:
             this.Name = "TableStyleMedium1";
             break;
         case SLTableStyleTypeValues.Medium2:
             this.Name = "TableStyleMedium2";
             break;
         case SLTableStyleTypeValues.Medium3:
             this.Name = "TableStyleMedium3";
             break;
         case SLTableStyleTypeValues.Medium4:
             this.Name = "TableStyleMedium4";
             break;
         case SLTableStyleTypeValues.Medium5:
             this.Name = "TableStyleMedium5";
             break;
         case SLTableStyleTypeValues.Medium6:
             this.Name = "TableStyleMedium6";
             break;
         case SLTableStyleTypeValues.Medium7:
             this.Name = "TableStyleMedium7";
             break;
         case SLTableStyleTypeValues.Medium8:
             this.Name = "TableStyleMedium8";
             break;
         case SLTableStyleTypeValues.Medium9:
             this.Name = "TableStyleMedium9";
             break;
         case SLTableStyleTypeValues.Medium10:
             this.Name = "TableStyleMedium10";
             break;
         case SLTableStyleTypeValues.Medium11:
             this.Name = "TableStyleMedium11";
             break;
         case SLTableStyleTypeValues.Medium12:
             this.Name = "TableStyleMedium12";
             break;
         case SLTableStyleTypeValues.Medium13:
             this.Name = "TableStyleMedium13";
             break;
         case SLTableStyleTypeValues.Medium14:
             this.Name = "TableStyleMedium14";
             break;
         case SLTableStyleTypeValues.Medium15:
             this.Name = "TableStyleMedium15";
             break;
         case SLTableStyleTypeValues.Medium16:
             this.Name = "TableStyleMedium16";
             break;
         case SLTableStyleTypeValues.Medium17:
             this.Name = "TableStyleMedium17";
             break;
         case SLTableStyleTypeValues.Medium18:
             this.Name = "TableStyleMedium18";
             break;
         case SLTableStyleTypeValues.Medium19:
             this.Name = "TableStyleMedium19";
             break;
         case SLTableStyleTypeValues.Medium20:
             this.Name = "TableStyleMedium20";
             break;
         case SLTableStyleTypeValues.Medium21:
             this.Name = "TableStyleMedium21";
             break;
         case SLTableStyleTypeValues.Medium22:
             this.Name = "TableStyleMedium22";
             break;
         case SLTableStyleTypeValues.Medium23:
             this.Name = "TableStyleMedium23";
             break;
         case SLTableStyleTypeValues.Medium24:
             this.Name = "TableStyleMedium24";
             break;
         case SLTableStyleTypeValues.Medium25:
             this.Name = "TableStyleMedium25";
             break;
         case SLTableStyleTypeValues.Medium26:
             this.Name = "TableStyleMedium26";
             break;
         case SLTableStyleTypeValues.Medium27:
             this.Name = "TableStyleMedium27";
             break;
         case SLTableStyleTypeValues.Medium28:
             this.Name = "TableStyleMedium28";
             break;
         case SLTableStyleTypeValues.Dark1:
             this.Name = "TableStyleDark1";
             break;
         case SLTableStyleTypeValues.Dark2:
             this.Name = "TableStyleDark2";
             break;
         case SLTableStyleTypeValues.Dark3:
             this.Name = "TableStyleDark3";
             break;
         case SLTableStyleTypeValues.Dark4:
             this.Name = "TableStyleDark4";
             break;
         case SLTableStyleTypeValues.Dark5:
             this.Name = "TableStyleDark5";
             break;
         case SLTableStyleTypeValues.Dark6:
             this.Name = "TableStyleDark6";
             break;
         case SLTableStyleTypeValues.Dark7:
             this.Name = "TableStyleDark7";
             break;
         case SLTableStyleTypeValues.Dark8:
             this.Name = "TableStyleDark8";
             break;
         case SLTableStyleTypeValues.Dark9:
             this.Name = "TableStyleDark9";
             break;
         case SLTableStyleTypeValues.Dark10:
             this.Name = "TableStyleDark10";
             break;
         case SLTableStyleTypeValues.Dark11:
             this.Name = "TableStyleDark11";
             break;
     }
 }
Exemplo n.º 2
0
        internal void SetTableStyle(SLTableStyleTypeValues tstyle)
        {
            switch (tstyle)
            {
            case SLTableStyleTypeValues.Light1:
                this.Name = "TableStyleLight1";
                break;

            case SLTableStyleTypeValues.Light2:
                this.Name = "TableStyleLight2";
                break;

            case SLTableStyleTypeValues.Light3:
                this.Name = "TableStyleLight3";
                break;

            case SLTableStyleTypeValues.Light4:
                this.Name = "TableStyleLight4";
                break;

            case SLTableStyleTypeValues.Light5:
                this.Name = "TableStyleLight5";
                break;

            case SLTableStyleTypeValues.Light6:
                this.Name = "TableStyleLight6";
                break;

            case SLTableStyleTypeValues.Light7:
                this.Name = "TableStyleLight7";
                break;

            case SLTableStyleTypeValues.Light8:
                this.Name = "TableStyleLight8";
                break;

            case SLTableStyleTypeValues.Light9:
                this.Name = "TableStyleLight9";
                break;

            case SLTableStyleTypeValues.Light10:
                this.Name = "TableStyleLight10";
                break;

            case SLTableStyleTypeValues.Light11:
                this.Name = "TableStyleLight11";
                break;

            case SLTableStyleTypeValues.Light12:
                this.Name = "TableStyleLight12";
                break;

            case SLTableStyleTypeValues.Light13:
                this.Name = "TableStyleLight13";
                break;

            case SLTableStyleTypeValues.Light14:
                this.Name = "TableStyleLight14";
                break;

            case SLTableStyleTypeValues.Light15:
                this.Name = "TableStyleLight15";
                break;

            case SLTableStyleTypeValues.Light16:
                this.Name = "TableStyleLight16";
                break;

            case SLTableStyleTypeValues.Light17:
                this.Name = "TableStyleLight17";
                break;

            case SLTableStyleTypeValues.Light18:
                this.Name = "TableStyleLight18";
                break;

            case SLTableStyleTypeValues.Light19:
                this.Name = "TableStyleLight19";
                break;

            case SLTableStyleTypeValues.Light20:
                this.Name = "TableStyleLight20";
                break;

            case SLTableStyleTypeValues.Light21:
                this.Name = "TableStyleLight21";
                break;

            case SLTableStyleTypeValues.Medium1:
                this.Name = "TableStyleMedium1";
                break;

            case SLTableStyleTypeValues.Medium2:
                this.Name = "TableStyleMedium2";
                break;

            case SLTableStyleTypeValues.Medium3:
                this.Name = "TableStyleMedium3";
                break;

            case SLTableStyleTypeValues.Medium4:
                this.Name = "TableStyleMedium4";
                break;

            case SLTableStyleTypeValues.Medium5:
                this.Name = "TableStyleMedium5";
                break;

            case SLTableStyleTypeValues.Medium6:
                this.Name = "TableStyleMedium6";
                break;

            case SLTableStyleTypeValues.Medium7:
                this.Name = "TableStyleMedium7";
                break;

            case SLTableStyleTypeValues.Medium8:
                this.Name = "TableStyleMedium8";
                break;

            case SLTableStyleTypeValues.Medium9:
                this.Name = "TableStyleMedium9";
                break;

            case SLTableStyleTypeValues.Medium10:
                this.Name = "TableStyleMedium10";
                break;

            case SLTableStyleTypeValues.Medium11:
                this.Name = "TableStyleMedium11";
                break;

            case SLTableStyleTypeValues.Medium12:
                this.Name = "TableStyleMedium12";
                break;

            case SLTableStyleTypeValues.Medium13:
                this.Name = "TableStyleMedium13";
                break;

            case SLTableStyleTypeValues.Medium14:
                this.Name = "TableStyleMedium14";
                break;

            case SLTableStyleTypeValues.Medium15:
                this.Name = "TableStyleMedium15";
                break;

            case SLTableStyleTypeValues.Medium16:
                this.Name = "TableStyleMedium16";
                break;

            case SLTableStyleTypeValues.Medium17:
                this.Name = "TableStyleMedium17";
                break;

            case SLTableStyleTypeValues.Medium18:
                this.Name = "TableStyleMedium18";
                break;

            case SLTableStyleTypeValues.Medium19:
                this.Name = "TableStyleMedium19";
                break;

            case SLTableStyleTypeValues.Medium20:
                this.Name = "TableStyleMedium20";
                break;

            case SLTableStyleTypeValues.Medium21:
                this.Name = "TableStyleMedium21";
                break;

            case SLTableStyleTypeValues.Medium22:
                this.Name = "TableStyleMedium22";
                break;

            case SLTableStyleTypeValues.Medium23:
                this.Name = "TableStyleMedium23";
                break;

            case SLTableStyleTypeValues.Medium24:
                this.Name = "TableStyleMedium24";
                break;

            case SLTableStyleTypeValues.Medium25:
                this.Name = "TableStyleMedium25";
                break;

            case SLTableStyleTypeValues.Medium26:
                this.Name = "TableStyleMedium26";
                break;

            case SLTableStyleTypeValues.Medium27:
                this.Name = "TableStyleMedium27";
                break;

            case SLTableStyleTypeValues.Medium28:
                this.Name = "TableStyleMedium28";
                break;

            case SLTableStyleTypeValues.Dark1:
                this.Name = "TableStyleDark1";
                break;

            case SLTableStyleTypeValues.Dark2:
                this.Name = "TableStyleDark2";
                break;

            case SLTableStyleTypeValues.Dark3:
                this.Name = "TableStyleDark3";
                break;

            case SLTableStyleTypeValues.Dark4:
                this.Name = "TableStyleDark4";
                break;

            case SLTableStyleTypeValues.Dark5:
                this.Name = "TableStyleDark5";
                break;

            case SLTableStyleTypeValues.Dark6:
                this.Name = "TableStyleDark6";
                break;

            case SLTableStyleTypeValues.Dark7:
                this.Name = "TableStyleDark7";
                break;

            case SLTableStyleTypeValues.Dark8:
                this.Name = "TableStyleDark8";
                break;

            case SLTableStyleTypeValues.Dark9:
                this.Name = "TableStyleDark9";
                break;

            case SLTableStyleTypeValues.Dark10:
                this.Name = "TableStyleDark10";
                break;

            case SLTableStyleTypeValues.Dark11:
                this.Name = "TableStyleDark11";
                break;
            }
        }
Exemplo n.º 3
0
 /// <summary>
 /// Set the table style with a built-in style.
 /// </summary>
 /// <param name="TableStyle">A built-in table style.</param>
 public void SetTableStyle(SLTableStyleTypeValues TableStyle)
 {
     this.TableStyleInfo.SetTableStyle(TableStyle);
     this.HasTableStyleInfo = true;
 }
Exemplo n.º 4
0
 /// <summary>
 /// Set the table style with a built-in style.
 /// </summary>
 /// <param name="TableStyle">A built-in table style.</param>
 public void SetTableStyle(SLTableStyleTypeValues TableStyle)
 {
     this.TableStyleInfo.SetTableStyle(TableStyle);
     this.HasTableStyleInfo = true;
 }
Exemplo n.º 5
0
 /// <summary>
 ///     Set the table style with a built-in style.
 /// </summary>
 /// <param name="TableStyle">A built-in table style.</param>
 public void SetTableStyle(SLTableStyleTypeValues TableStyle)
 {
     TableStyleInfo.SetTableStyle(TableStyle);
     HasTableStyleInfo = true;
 }