A collection that contains enums used related to SpreadsheetEditor.
Members
-
<static, readonly> BorderStyle
-
Enum that defines a set of styles that can be applied to the borders of cells. The supported border styles range from very basic to more complex patterns, resulting in an extensive set of visual presentation options.
Properties:
Name Type Description NONEstring No border. THINstring A thin, single line border. HAIRstring A very fine, hairline border. DOTTEDstring A border comprising of dots. DASHEDstring A border consisting of dashes. DASH_DOTstring Alternating dashes and dots. DASH_DOT_DOTstring A DashDotDot pattern. DOUBLE_LINESstring Two parallel lines. MEDIUMstring Thicker than Thin, a medium line border. MEDIUM_DASHEDstring A dashed line that's thicker than the Dashed style. MEDIUM_DASH_DOTstring A DashDot pattern with a medium thickness. MEDIUM_DASH_DOT_DOTstring A DashDotDot pattern with a medium thickness. SLANTED_DASH_DOTstring Dashes and dots placed in a slanted manner. THICKstring A thick line border. -
<static, readonly> BorderType
-
Represents the different border positions in a spreadsheet cell.
Properties:
Name Type Description LEFTnumber Represents the left border of a cell. TOPnumber Represents the top border of a cell. RIGHTnumber Represents the right border of a cell. BOTTOMnumber Represents the bottom border of a cell. -
<static> CellType
-
Defines the types of cell content within a spreadsheet categorized based on their data content.
Properties:
Name Type Description UNKNOWNnumber The cell type is unknown. This is typically used when the cell's content type cannot be determined. (value: 0) BLANKnumber The cell is empty, containing no data or value (value: 1) NUMERICnumber The cell contains a numeric value. Numeric cells can hold integers, decimals, and other numerical formats. They are often subject to formatting that affects their display (e.g., number of decimal places, currency symbols). (value: 2) STRINGnumber The cell contains a string value. String cells can include letters, numbers, symbols, and spaces. They are versatile and can be used for labels, names, or any non-numeric data. (value: 3) FORMULAnumber The cell contains a formula. Formulas are expressions that perform calculations or operations based on other cells' values. The cell displays the result of the formula's calculation rather than the formula itself. BOOLnumber The cell contains a boolean value, which can be either true or false. Boolean cells are often used for flags, toggles, or simple binary states. DATEnumber The cell contains a date. Date cells can represent dates, and potentially times, in various formats. They are subject to formatting that affects their display. -
<static> FontStyle
-
Enum that defines constants that specify style information applied to text.
Properties:
Name Type Description REGULARnumber Indicates no additional styling is applied to the text. This is the default state. (value: 0) BOLDnumber Specifies bold text styling. (value: 1) ITALICnumber Specifies italic text styling. (value: 2) UNDERLINEnumber Specifies underlined text. (value: 4) STRIKEOUTnumber Specifies text with a strikeout or line-through style. (value: 8) -
<static> HorizontalAlignment
-
Enum that specifies the horizontal alignment of content within a container, such as a cell in a spreadsheet or a text block in a document.
Properties:
Name Type Description GENERALnumber Represents the default horizontal alignment (value: 0) LEFTnumber Aligns content to the left side of the container (value: 1) CENTERnumber Aligns contents to the horizontal center within the container (value: 2) RIGHTnumber Aligns content to the right side of the container (value: 3) -
<static> HyperlinkType
-
Enum that defines constants that specify the type of hyperlink.
Properties:
Name Type Description UNKNOWNnumber Indicates an unknown hyperlink type. (value: 0) INTERNALnumber Specifies an internal hyperlink that points to a location within the same workbook. (value: 1) EXTERNALnumber Specifies an external hyperlink that points to an external resource such as a web URL or file. (value: 2) -
<static, readonly> RangeBorderType
-
Represents the different border types in the cell range.
Properties:
Name Type Description NONEstring Empty border LEFTstring Left border TOPstring Top border RIGHTstring Right border BOTTOMstring Bottom border OUTSIDEstring Outside borders which includes the left, top, right and bottom border INSIDEstring Borders in between cells in the range HORIZONTALstring Horizontal borders VERTICALstring Vertical borders ALLstring All borders -
<static> TextWrap
-
Enum for text wrapping behavior for cells within a Sheet.
Properties:
Name Type Description AUTOnumber Text wrapping is automatically determined based on the cell's content and width. Text may overflow into adjacent cells if they are empty. (value: 0) OVERFLOWnumber Allows text to overflow into adjacent cells if it exceeds the cell width and those cells are empty. If adjacent cells contain data, the text is clipped at the cell boundary. (value: 1) WRAPnumber Wraps text within the cell boundaries, expanding the cell height as needed to accommodate the wrapped text. (value: 2) CLIPnumber Clips text to the cell boundaries, hiding any content that exceeds the width of the cell without altering the cell's size. (value: 3) -
<static> VerticalAlignment
-
Enum that specifies the vertical alignment of content within cells in a sheet.
Properties:
Name Type Description NONEnumber Applies the default vertical alignment as determined by the cell format settings (value: 0) TOPnumber Aligns cell content to the top of the cell, leaving any additional space at the bottom (value: 1) CENTERnumber Aligns cell content to the vertical center within the cell, distributing space evenly above and below the content (value: 2) BOTTOMnumber Aligns cell content to the bottom of the cell, leaving any additional space at the top (value: 3)
Type Definitions
-
BorderOptions
-
Represents the different border options for a cell.
Properties:
Name Type Description typeCore.SpreadsheetEditor.Types.BorderType The type of the border. styleCore.SpreadsheetEditor.Types.BorderStyle The drawing style of the border. colorstring The color of the border in HEX or CSS rgb() strings. -
RangeBorderOptions
-
Type:
- Object
Properties:
Name Type Description typeCore.SpreadsheetEditor.Types.RangeBorderType The type of the border. styleCore.SpreadsheetEditor.Types.BorderStyle The drawing style of the border. colorstring The color in CSS HEX or RGB string. -
RangeBorderOptions
-
Represents the different border positions in a spreadsheet cell.
Properties:
Name Type Description typeCore.SpreadsheetEditor.Types.RangeBorderType The type of the border. styleCore.SpreadsheetEditor.Types.BorderStyle The drawin style of the border. colorstring The color of the border in HEX or CSS rgb() strings.