public class DefaultStyleSettings
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBuiltInPreference()
Indicates whether property for number format is preferable when the style defines both built-in number and custom pattern.
|
java.lang.String |
getFontName()
Gets the default font name for the workbook
|
double |
getFontSize()
Gets the default standard font size for the workbook.
|
int |
getHorizontalAlignment()
Gets the default value for horizontal alignment
|
int |
getVerticalAlignment()
Gets the default value for vertical alignment
|
void |
setBuiltInPreference(boolean value)
Indicates whether property for number format is preferable when the style defines both built-in number and custom pattern.
|
void |
setFontName(java.lang.String value)
Sets the default font name for the workbook
|
void |
setFontSize(double value)
Sets the default standard font size for the workbook.
|
void |
setHorizontalAlignment(int value)
Sets the default value for horizontal alignment
|
void |
setVerticalAlignment(int value)
Sets the default value for vertical alignment
|
public boolean getBuiltInPreference()
Remarks
When loading workbook from existing template file, maybe both built-in number and custom pattern are defined for one style. This property determine whether we should use the built-in number or the custom pattern when formatting values with the style.public void setBuiltInPreference(boolean value)
Remarks
When loading workbook from existing template file, maybe both built-in number and custom pattern are defined for one style. This property determine whether we should use the built-in number or the custom pattern when formatting values with the style.public java.lang.String getFontName()
public void setFontName(java.lang.String value)
public double getFontSize()
public void setFontSize(double value)
public int getHorizontalAlignment()
See TextAlignmentType.
public void setHorizontalAlignment(int value)
See TextAlignmentType.
public int getVerticalAlignment()
See TextAlignmentType.
public void setVerticalAlignment(int value)
See TextAlignmentType.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.