StyleModifyFlag

StyleModifyFlag

Utility class containing constants. The style modified flags.

Values

NameDescription
LEFT_BORDERIndicates whether left border has been modified for the style.
RIGHT_BORDERIndicates whether right border has been modified for the style.
TOP_BORDERIndicates whether top border has been modified for the style.
BOTTOM_BORDERIndicates whether bottom border has been modified for the style.
DIAGONAL_DOWN_BORDERIndicates whether diagonal-down border has been modified for the style.
DIAGONAL_UP_BORDERIndicates whether diagonal-up border has been modified for the style.
HORIZONTAL_BORDERIndicates whether horizontal border has been modified for the style. Only for dynamic style, such as conditional formatting.
VERTICAL_BORDERIndicates whether vertical border has been modified for the style. Only for dynamic style, such as conditional formatting.
SIDE_BORDERS
DIAGONALIndicates whether one or more diagonal borders(DIAGONAL_DOWN_BORDER, DIAGONAL_UP_BORDER) have been modified for the style.
DYNAMIC_STYLE_BORDERS
BORDERSIndicates whether one or more borders(LEFT_BORDER, RIGHT_BORDER, TOP_BORDER, BOTTOM_BORDER, DIAGONAL, HORIZONTAL_BORDER, VERTICAL_BORDER) have been modified for the style.
NUMBER_FORMATIndicates whether numberformat has been modified.
HORIZONTAL_ALIGNMENTIndicates whether horizontal alignment has been modified.
VERTICAL_ALIGNMENTIndicates whether vertical alignment has been modified.
INDENTIndicates whether indent property has been modified.
ROTATIONIndicates whether rotation property has been modified.
WRAP_TEXTIndicates whether wrap text property has been modified.
SHRINK_TO_FITIndicates whether shrink to fit property has been modified.
TEXT_DIRECTIONIndicates whether text direction property has been modified.
RELATIVE_INDENTIndicates whether relative indent property has been modified for the style. Only for dynamic style, such as conditional formatting.
ALIGNMENT_SETTINGSIndicates whether one or more alignment-related properties(HORIZONTAL_ALIGNMENT, VERTICAL_ALIGNMENT, ROTATION, WRAP_TEXT, WRAP_TEXT, INDENT, SHRINK_TO_FIT, TEXT_DIRECTION, RELATIVE_INDENT) have been modified.
PATTERNIndicates whether pattern of the shading has been modified.
FOREGROUND_COLORIndicates whether foreground color has been modified.
BACKGROUND_COLORIndicates whether background color has been modified.
CELL_SHADINGIndicates whether one or more shading-related properties(PATTERN, FOREGROUND_COLOR, BACKGROUND_COLOR) have been modified.
LOCKEDIndicates whether locked property has been modified.
HIDE_FORMULAIndicates whether hide formula has been modified.
PROTECTION_SETTINGSIndicates whether one or more protection-related properties(LOCKED, HIDE_FORMULA) have been modified.
FONT_SIZEIndicates whether font size has been modified.
FONT_NAMEIndicates whether font name has been modified.
FONT_COLORIndicates whether font color has been modified.
FONT_WEIGHTIndicates whether font weight has been modified.
FONT_ITALICIndicates whether italic property of font has been modified.
FONT_UNDERLINEIndicates whether underline property of font has been modified.
FONT_STRIKEIndicates whether strike property font has been modified.
FONT_SCRIPTIndicates whether subscript or superscript property of font has been modified.
FONT_FAMILYIndicates whether font family has been modified.
FONT_CHARSETIndicates whether charset of the font has been modified.
FONT_SCHEMEunused.
FONT_DIRTYunused.
FONT_SPELLING_ERRORunused.
FONT_U_FILL_TXunused.
FONT_SPACINGunused.
FONT_KERNINGunused.
FONT_EQUALIZEunused.
FONT_CAPunused.
FONT_VERTICAL_TEXT
FONTIndicates whether one or more properties have been modified for the font of the style.
ALLIndicates whether one or more properties have been modified for the style.
NONE