Click or drag to resize
PicoXLSX

StyleManager Class

Class representing a style manager to maintain all styles and its components of a workbook
Inheritance Hierarchy
SystemObject
  PicoXLSXStyleManager

Namespace: PicoXLSX
Assembly: PicoXLSX (in PicoXLSX.dll) Version: 3.2.1+e0edc719a6aeecf6c989e5a57750c75d6f3175bb
Syntax
C#
public class StyleManager

The StyleManager type exposes the following members.

Constructors
 NameDescription
Public methodStyleManager Initializes a new instance of the StyleManager class
Top
Methods
 NameDescription
Public methodAddStyle Adds a style component to the manager
Private methodAddStyleComponent(AbstractStyle) Adds a style component to the manager
Private methodAddStyleComponent(AbstractStyle, NullableInt32) Adds a style component to the manager with an ID
Private methodCleanupStyleComponents Method to cleanup style components in the style manager
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetBorderByHash Gets a border by its hash
Public methodGetBorders Gets all borders of the style manager
Public methodGetBorderStyleNumber Gets the number of borders in the style manager
Public methodGetCellXfByHash Gets a cellXf by its hash
Public methodGetCellXfs Gets all cellXfs of the style manager
Public methodGetCellXfStyleNumber Gets the number of cellXfs in the style manager
Private methodGetComponentByHash Gets a component by its hash
Public methodGetFillByHash Gets a fill by its hash
Public methodGetFills Gets all fills of the style manager
Public methodGetFillStyleNumber Gets the number of fills in the style manager
Public methodGetFontByHash Gets a font by its hash
Public methodGetFonts Gets all fonts of the style manager
Public methodGetFontStyleNumber Gets the number of fonts in the style manager
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Protected methodStatic memberGetManagedStyles Method to gather all styles of the cells in all worksheets
Public methodGetNumberFormatByHash Gets a numberFormat by its hash
Public methodGetNumberFormats Gets all numberFormats of the style manager
Public methodGetNumberFormatStyleNumber Gets the number of numberFormats in the style manager
Public methodGetStyleByHash Gets a style by its hash
Public methodGetStyleByName Gets a style by its name
Public methodGetStyleNumber Gets the number of styles in the style manager
Public methodGetStyles Gets all styles of the style manager
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Private methodIsUsedByStyle Checks whether a style component in the style manager is used by a style
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRemoveStyle Removes a style and all its components from the style manager
Private methodReorganize Method to reorganize / reorder a list of style components
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also