Beispiel #1
0
 private void InitialiseStylesheetWhatNots(SLThemeTypeValues ThemeType)
 {
     SimpleTheme = new SLSimpleTheme(wbp, ThemeType);
     this.LoadStylesheet();
 }
Beispiel #2
0
 private void InitialiseStylesheetWhatNots(SLThemeSettings ThemeSettings)
 {
     SimpleTheme = new SLSimpleTheme(wbp, ThemeSettings);
     this.LoadStylesheet();
 }
Beispiel #3
0
        private void NullifyInternalDataStores()
        {
            slwb = null;
            slws = null;
            SimpleTheme = null;
            wbp = null;
            this.DocumentProperties = null;

            dictAutoFitSharedStringCache = null;
            dictAutoFitTextCache = null;
            dictAutoFitFontCache = null;
            dictAutoFitFormatCodeCache = null;
            dictAutoFitTextRotationCache = null;

            dictBuiltInNumberingFormat = null;
            dictBuiltInNumberingFormatHash = null;

            dictStyleNumberingFormat = null;
            dictStyleNumberingFormatHash = null;

            //countStyle = 0;
            listStyle = null;
            dictStyleHash = null;

            //countStyleFont = 0;
            listStyleFont = null;
            dictStyleFontHash = null;

            //countStyleFill = 0;
            listStyleFill = null;
            dictStyleFillHash = null;

            //countStyleBorder = 0;
            listStyleBorder = null;
            dictStyleBorderHash = null;

            //countStyleCellStyle = 0;
            listStyleCellStyle = null;
            dictStyleCellStyleHash = null;

            //countStyleCellStyleFormat = 0;
            listStyleCellStyleFormat = null;
            dictStyleCellStyleFormatHash = null;

            //countStyleDifferentialFormat = 0;
            listStyleDifferentialFormat = null;
            dictStyleDifferentialFormatHash = null;

            //countStyleTableStyle = 0;
            listStyleTableStyle = null;
            dictStyleTableStyleHash = null;

            //countSharedString = 0;
            listSharedString = null;
            dictSharedStringHash = null;

            StylesheetColors = null;
            TableStylesDefaultTableStyle = null;
            TableStylesDefaultPivotStyle = null;
        }