NanoXLSX.Writer 3.2.1
Loading...
Searching...
No Matches
WriterProcessingData.cs
1/*
2 * NanoXLSX is a small .NET library to generate and read XLSX (Microsoft Excel 2007 or newer) files in an easy and native way
3 * Copyright Raphael Stoeckli © 2026
4 * This library is licensed under the MIT License.
5 * You find a copy of the license in project folder or on: http://opensource.org/licenses/MIT
6 */
7
8using NanoXLSX.Interfaces.Writer;
9using NanoXLSX.Styles;
10
12{
16 internal class WriterProcessingData : IWriterProcessingData
17 {
21 public StyleManager StyleManager { get; set; }
22
26 public StyleRepository StyleRepository { get; set; }
27
28
34 public WriterProcessingData(Workbook workbook, StyleRepository styleRepository)
35 {
36 this.StyleRepository = styleRepository;
37 this.StyleManager = StyleManager.GetManagedStyles(workbook);
38 }
39 }
40}