Esempio n. 1
0
        ClearGroupTables
        (
            Microsoft.Office.Interop.Excel.Workbook workbook
        )
        {
            Debug.Assert(workbook != null);

            ExcelUtil.ClearTables(workbook,
                                  WorksheetNames.Groups, TableNames.Groups,
                                  WorksheetNames.GroupVertices, TableNames.GroupVertices
                                  );
        }
Esempio n. 2
0
        ClearAllNodeXLTables
        (
            Microsoft.Office.Interop.Excel.Workbook workbook
        )
        {
            Debug.Assert(workbook != null);

            TableImagePopulator.DeleteImagesInColumn(workbook,
                                                     WorksheetNames.Vertices, VertexTableColumnNames.SubgraphImage);

            ExcelUtil.ClearTables(workbook,
                                  WorksheetNames.Edges, TableNames.Edges,
                                  WorksheetNames.Vertices, TableNames.Vertices,
                                  WorksheetNames.OverallMetrics, TableNames.OverallMetrics,
                                  WorksheetNames.Miscellaneous, TableNames.DynamicFilterSettings
                                  );

            ClearGroupTables(workbook);

            (new PerWorkbookSettings(workbook)).OnWorkbookTablesCleared();
        }