Aspose::Cells::DefaultStyleSettings class
Contents
[
Hide
]DefaultStyleSettings class
Settings for the default values of workbook’s style properties.
class DefaultStyleSettings
Methods
| Method | Description |
|---|---|
| DefaultStyleSettings(DefaultStyleSettings_Impl* impl) | Constructs from an implementation object. |
| DefaultStyleSettings(const DefaultStyleSettings& src) | Copy constructor. |
| GetBuiltInPreference() | Indicates whether property for number format is preferable when the style defines both built-in number and custom pattern. Default value is false, that means by default custom pattern will be used to format values as long as it is not empty for one style. |
| GetFontName() | Gets/Sets the default font name for the workbook. |
| GetFontSize() | Gets/Sets the default standard font size for the workbook. |
| GetHorizontalAlignment() | Gets/Sets the default value for horizontal alignment. |
| GetVerticalAlignment() | Gets/Sets the default value for vertical alignment. |
| IsNull() const | Checks whether the implementation object is nullptr. |
| explicit operator bool() const | operator bool() |
| operator=(const DefaultStyleSettings& src) | operator= |
| SetBuiltInPreference(bool value) | Indicates whether property for number format is preferable when the style defines both built-in number and custom pattern. Default value is false, that means by default custom pattern will be used to format values as long as it is not empty for one style. |
| SetFontName(const U16String& value) | Gets/Sets the default font name for the workbook. |
| SetFontName(const char16_t* value) | Gets/Sets the default font name for the workbook. |
| SetFontSize(double value) | Gets/Sets the default standard font size for the workbook. |
| SetHorizontalAlignment(TextAlignmentType value) | Gets/Sets the default value for horizontal alignment. |
| SetVerticalAlignment(TextAlignmentType value) | Gets/Sets the default value for vertical alignment. |
| ~DefaultStyleSettings() | Destructor. |
Fields
| Field | Description |
|---|---|
| _impl | The implementation object. |
See Also
- Namespace Aspose::Cells
- Library Aspose.Cells for C++