![]() |
NanoXLSX.Reader 3.0.0-rc.2
|
Class representing a collection of pre-processed styles and their components. This class is internally used and should not be used otherwise. More...
Public Member Functions | |
| void | AddStyleComponent (AbstractStyle component) |
| Adds a style component and determines the appropriate type of it automatically. | |
| Style | GetStyle (int index) |
| Returns a whole style by its index. | |
| Style | GetStyle (int index, out bool isDateStyle, out bool isTimeStyle) |
| Returns a whole style by its index. It also returns information about the type of the style. | |
| NumberFormat | GetNumberFormat (int index) |
| Returns a number format component by its index. | |
| Border | GetBorder (int index) |
| Returns a border component by its index. | |
| Fill | GetFill (int index) |
| Returns a fill component by its index. | |
| Font | GetFont (int index) |
| Returns a font component by its index. | |
| int | GetNextStyleId () |
| Gets the next internal id of a style. | |
| int | GetNextCellXFId () |
| Gets the next internal id of a cell XF component. | |
| int | GetNextBorderId () |
| Gets the next internal id of a border component. | |
| int | GetNextFillId () |
| Gets the next internal id of a fill component. | |
| int | GetNextFontId () |
| Gets the next internal id of a font component. | |
Properties | |
| int | StyleCount [get] |
| Gets the number of resolved styles. | |
Class representing a collection of pre-processed styles and their components. This class is internally used and should not be used otherwise.
Definition at line 18 of file StyleReaderContainer.cs.
| void NanoXLSX.Internal.StyleReaderContainer.AddStyleComponent | ( | AbstractStyle | component | ) |
Adds a style component and determines the appropriate type of it automatically.
| component | Style component to add to the collections |
Definition at line 52 of file StyleReaderContainer.cs.
| Border NanoXLSX.Internal.StyleReaderContainer.GetBorder | ( | int | index | ) |
Returns a border component by its index.
| index | Internal index of the style component |
Definition at line 126 of file StyleReaderContainer.cs.
| Fill NanoXLSX.Internal.StyleReaderContainer.GetFill | ( | int | index | ) |
Returns a fill component by its index.
| index | Internal index of the style component |
Definition at line 136 of file StyleReaderContainer.cs.
| Font NanoXLSX.Internal.StyleReaderContainer.GetFont | ( | int | index | ) |
Returns a font component by its index.
| index | Internal index of the style component |
Definition at line 146 of file StyleReaderContainer.cs.
| int NanoXLSX.Internal.StyleReaderContainer.GetNextBorderId | ( | ) |
Gets the next internal id of a border component.
Definition at line 173 of file StyleReaderContainer.cs.
| int NanoXLSX.Internal.StyleReaderContainer.GetNextCellXFId | ( | ) |
Gets the next internal id of a cell XF component.
Definition at line 164 of file StyleReaderContainer.cs.
| int NanoXLSX.Internal.StyleReaderContainer.GetNextFillId | ( | ) |
Gets the next internal id of a fill component.
Definition at line 182 of file StyleReaderContainer.cs.
| int NanoXLSX.Internal.StyleReaderContainer.GetNextFontId | ( | ) |
Gets the next internal id of a font component.
Definition at line 191 of file StyleReaderContainer.cs.
| int NanoXLSX.Internal.StyleReaderContainer.GetNextStyleId | ( | ) |
Gets the next internal id of a style.
Definition at line 155 of file StyleReaderContainer.cs.
| NumberFormat NanoXLSX.Internal.StyleReaderContainer.GetNumberFormat | ( | int | index | ) |
Returns a number format component by its index.
| index | Internal index of the style component |
Definition at line 116 of file StyleReaderContainer.cs.
| Style NanoXLSX.Internal.StyleReaderContainer.GetStyle | ( | int | index | ) |
Returns a whole style by its index.
| index | Index of the style |
Definition at line 86 of file StyleReaderContainer.cs.
| Style NanoXLSX.Internal.StyleReaderContainer.GetStyle | ( | int | index, |
| out bool | isDateStyle, | ||
| out bool | isTimeStyle ) |
Returns a whole style by its index. It also returns information about the type of the style.
| index | Index of the style |
| isDateStyle | Out parameter that indicates whether the style represents a date |
| isTimeStyle | Out parameter that indicates whether the style represents a time |
Definition at line 98 of file StyleReaderContainer.cs.
|
get |
Gets the number of resolved styles.
Definition at line 38 of file StyleReaderContainer.cs.