Aspose.Cells FOSS for TypeScript API Reference
API reference for Aspose.Cells FOSS for TypeScript v1.0.0. 108 public types organized by module.
Core API
| Class | Description |
|---|---|
AllConnectorShapeInfo | AllConnectorShapeInfo is a class in Aspose.Cells FOSS for TypeScript. |
AllShapeInfo | AllShapeInfo is a class in Aspose.Cells FOSS for TypeScript. |
ArrowShapeType | ArrowShapeType enumerates the possible visual styles for arrow shapes, supporting consistent rendering across exported documents. |
AutoFilter | AutoFilter.clear() removes all filter column definitions from the AutoFilter instance. |
BasicShapeInfoType | BasicShapeInfoType enables developers to specify the fundamental type of a shape in a worksheet. |
BasicShapeSubType | BasicShapeSubType represents a more detailed categorization of basic shapes for advanced diagramming. |
BentConnectorShapeType | BentConnectorShapeType enumeration defines the possible geometric configurations for bent connectors, such as straight, elbow, or curved variants. |
BraceShapeType | BraceShapeType is a class in Aspose.Cells FOSS for TypeScript. |
Cell | Cell constructor(row, col, value?) creates a cell positioned at the given row and column, optionally initializing its value. |
CellValue | CellValue is a class in Aspose.Cells FOSS for TypeScript. |
CellValue-util | CellValue is a class in Aspose.Cells FOSS for TypeScript. |
Cells | Cells is a class in Aspose.Cells FOSS for TypeScript exposing [Symbol.iterator], get, getOrCreate, set, toXml, values. |
Chart | Chart.setPositionWithOffset lets you position a chart using absolute pixel offsets and explicit height and width values. |
ChartCollection | ChartCollection.length and ChartCollection.count both expose the total number of charts stored in the collection. |
ChartLoader | ChartLoader.loadCharts(filePath) asynchronously reads a spreadsheet file and returns a Promise that resolves to an array of ChartInfo objects representing each chart in the file. |
ChartType | ChartType is used to specify the kind of chart (e.g., bar, line) when creating a chart object. |
CircleVariantShapeType | CircleVariantShapeType is a class in Aspose.Cells FOSS for TypeScript. |
Comment | Comment is a class in Aspose.Cells FOSS for TypeScript exposing constructor, toXml. |
CommentCollection | CommentCollection is a class in Aspose.Cells FOSS for TypeScript exposing add, clear, get, getByCell, remove, toXml. |
ConditionalFormat | ConditionalFormat is a class in Aspose.Cells FOSS for TypeScript exposing addArea, addRule, getRanges, getRules, toXml. |
ConditionalFormatCollection | ConditionalFormatCollection enables applying multiple conditional formatting rules across cell ranges, allowing visual data cues such as color scales. |
CurvedConnectorShapeType | CurvedConnectorShapeType is a class in Aspose.Cells FOSS for TypeScript. |
DOMParser | DOMParser.parseFromString(xml, type) parses an XML string and returns a Document object for further manipulation. |
DataRelationship | DataRelationship.worksheetRels(sheetIndex) returns the relationship XML string for the specified worksheet. |
DataValidation-validation | DataValidation is a class in Aspose.Cells FOSS for TypeScript exposing addArea, getRanges, toXml. |
DataValidationCollection | DataValidationCollection.add() creates a new DataValidation object that can be configured and added to a worksheet. |
EllipseShapeType | EllipseShapeType is a class in Aspose.Cells FOSS for TypeScript. |
ExpDrawing | ExpDrawing.generateGuid() returns a new GUID string that can be used as a unique identifier for drawing elements. |
ImpDrawing | ImpDrawing is a class in Aspose.Cells FOSS for TypeScript exposing loadWorksheetDrawing. |
LineShapeType | LineShapeType is a class in Aspose.Cells FOSS for TypeScript. |
MathSymbolShapeType | MathSymbolShapeType is a class in Aspose.Cells FOSS for TypeScript. |
PolygonShapeType | PolygonShapeType is a class in Aspose.Cells FOSS for TypeScript. |
QuadrilateralShapeType | QuadrilateralShapeType is a class in Aspose.Cells FOSS for TypeScript. |
RectangleShapeType | RectangleShapeType is a class in Aspose.Cells FOSS for TypeScript. |
RectangleVariantShapeType | RectangleVariantShapeType is a class in Aspose.Cells FOSS for TypeScript. |
SealShapeType | SealShapeType is a class in Aspose.Cells FOSS for TypeScript. |
Shape3DType | Shape3DType is a class in Aspose.Cells FOSS for TypeScript. |
SpecialShapeType | SpecialShapeType is a class in Aspose.Cells FOSS for TypeScript. |
StarShapeType | StarShapeType is a class in Aspose.Cells FOSS for TypeScript. |
StraightConnectorShapeType | StraightConnectorShapeType is a class in Aspose.Cells FOSS for TypeScript. |
Style | Style is a class in Aspose.Cells FOSS for TypeScript exposing constructor, getAlignment, getBackgroundColor, getBorder, getFill, getFont, and 31 more. |
TriangleShapeType | TriangleShapeType is a class in Aspose.Cells FOSS for TypeScript. |
Workbook | The Workbook class provides a high‑level entry point to load existing spreadsheet files, manipulate worksheets, and save to formats such as XLSX and HTML. |
Worksheet | Worksheet is a class in Aspose.Cells FOSS for TypeScript exposing addComment, addConditionalFormat, addDataValidation, addHyperlink, addImage, addShape, and 18 more. |
WorksheetCollection | WorksheetCollection offers collection‑wide operations such as adding, removing, moving worksheets, and applying shared styles across the workbook. |
Interfaces
| Interface | Description |
|---|---|
Alignment | Alignment class provides horizontal, vertical, and wrapText properties to control text alignment within a cell style. |
ArrowShapeInfo | ArrowShapeInfo.type holds a value from the ArrowShapeType enumeration that specifies the arrow’s visual style. |
BentConnectorShapeInfo | BentConnectorShapeInfo.type property specifies the connector’s shape type using the BentConnectorShapeType enumeration. |
Border | Border.left, Border.right, Border.top, and Border.bottom properties return the individual border definitions for a cell. |
BorderLine | BorderLine objects expose a style property and a color property to define the line style and its color for a cell border edge. |
BraceShapeInfo | BraceShapeInfo provides a read‑only type property indicating the shape of a brace, represented by the BraceShapeType enumeration. |
CellCoordinates | CellCoordinates is an interface in Aspose.Cells FOSS for TypeScript exposing the col, row properties. |
CellCoordinates-util | CellCoordinates is an interface in Aspose.Cells FOSS for TypeScript exposing the col, row properties. |
CellRange | CellRange is an interface in Aspose.Cells FOSS for TypeScript exposing the endCol, endRow, startCol, startRow properties. |
CellRange-util | CellRange is an interface in Aspose.Cells FOSS for TypeScript exposing the endCol, endRow, startCol, startRow properties. |
ChartInfo | ChartInfo provides a read‑only snapshot of a chart’s configuration, including type, title, series, legend position, axis positions, plot area, and dimensions. |
ChartSeries | ChartSeries is an interface in Aspose.Cells FOSS for TypeScript exposing the categories, name, values properties. |
CircleVariantShapeInfo | CircleVariantShapeInfo exposes a type property that identifies the specific circle variant shape used in a drawing. |
ColorScaleRule | ColorScaleRule lets developers define a three‑color gradient for conditional formatting using minColor, midColor, and maxColor properties. |
Comment-types | Comment is an interface in Aspose.Cells FOSS for TypeScript exposing the author, col, row, text properties. |
ConditionalFormatRule | The ConditionalFormatRule class lets you define conditional formatting by specifying its type, formulas, operator, style, color scale, icon set, or data bar. |
CurvedConnectorShapeInfo | CurvedConnectorShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the hasArrowEnd, hasArrowStart, type properties. |
DataBarRule | DataBarRule is an interface in Aspose.Cells FOSS for TypeScript exposing the color, direction, maxValue, minValue properties. |
DataValidation | DataValidation is an interface in Aspose.Cells FOSS for TypeScript exposing the allowBlank, errorMessage, errorStyle, errorTitle, formula1, formula2, and 6 more properties. |
EllipseShapeInfo | EllipseShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the type property. |
Fill | Fill is an interface in Aspose.Cells FOSS for TypeScript exposing the bgColor, fgColor, patternType properties. |
FilterColumn | FilterColumn objects describe a single filter column with the column index (col), an array of filter values (filters), and an optional blank flag. |
Font | The Font class provides properties to style text, including name, size, bold, italic, underline, color, and strikeout. |
IconSetRule | IconSetRule is an interface in Aspose.Cells FOSS for TypeScript exposing the iconSet, reverse properties. |
ImageInfo | ImageInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the data, ext, height, name, width properties. |
LineShapeInfo | LineShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the hasArrowEnd, hasArrowStart, type properties. |
MathSymbolShapeInfo | MathSymbolShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the type property. |
PictureShapeInfo | PictureShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the imageIndex, type properties. |
PolygonShapeInfo | PolygonShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the type property. |
Protection | Protection class properties locked and hidden control cell‑level protection settings when applied to a style. |
QuadrilateralShapeInfo | QuadrilateralShapeInfo exposes a type property that must be set to a value from QuadrilateralShapeType to define the specific quadrilateral shape. |
RectangleShapeInfo | RectangleShapeInfo.type lets developers choose a rectangle variant using the RectangleShapeType enumeration. |
RectangleVariantShapeInfo | RectangleVariantShapeInfo.type provides access to the RectangleVariantShapeType enumeration for defining variant rectangle shapes. |
SealShapeInfo | SealShapeInfo.type allows a seal shape to be specified via the SealShapeType enumeration. |
Shape3DInfo | Shape3DInfo.type lets developers assign a three‑dimensional shape using the Shape3DType enumeration. |
ShapeFill | ShapeFill describes how a shape is painted, supporting solid colors, scheme colors, gradient stops, gradient angle, and luminance adjustments. |
ShapeInfo | ShapeInfo aggregates common shape metadata—including name, type, and cell‑based anchor coordinates—so a shape can be positioned relative to worksheet cells. |
SpecialShapeInfo | SpecialShapeInfo.type provides access to the SpecialShapeType enumeration for defining special‑purpose shapes. |
StarShapeInfo | StarShapeInfo.type enables selection of a star shape using the StarShapeType enumeration. |
StraightConnectorShapeInfo | StraightConnectorShapeInfo.type together with the boolean flags hasArrowStart and hasArrowEnd lets developers create connector lines with optional arrowheads at either end. |
Style-types | Style is an interface in Aspose.Cells FOSS for TypeScript exposing the alignment, border, fill, font, numberFormat, protection properties. |
TriangleShapeInfo | TriangleShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the type property. |
Enumerations
| Enumeration | Description |
|---|---|
SaveFormat | SaveFormat enum provides the set of file formats that can be used with Workbook.save: XLSX, CSV, JSON, MARKDOWN, and HTML. |
Html
| Class | Description |
|---|---|
ChartRenderer | ChartRenderer.renderChart(chart, worksheet) generates an SVG string representation of the supplied ChartInfo placed into the given worksheet context. |
HtmlDocument | HtmlDocument.load(filePath) asynchronously reads an HTML file and resolves to an HtmlDocument instance. |
HtmlExporter | HtmlExporter can convert a Workbook into an HTML frameset or generate HTML for an individual worksheet, supporting web‑based presentation of spreadsheet data. |
HtmlReader | HtmlReader is a class in Aspose.Cells FOSS for TypeScript exposing constructor, getAttribute, getElementsByTagName, getFullElement, getInnerHtml, getOuterHtml, and 3 more. |
HtmlTable | HtmlTable.parse(html, cssClasses) parses a single HTML table string into an HtmlTable object, applying optional CSS class filters. |
HtmlWriter | HtmlWriter is a class in Aspose.Cells FOSS for TypeScript exposing fromWorkbook, fromWorksheet. |
Interfaces
| Interface | Description |
|---|---|
AxisInfo | AxisInfo provides comprehensive axis configuration for charts, allowing control over position, labels, tick marks, and scaling. |
CellStyle | CellStyle lets you define alignment, font, colors, and borders for individual cells, supporting rich formatting of spreadsheet content. |
ChartArea | ChartArea is an interface in Aspose.Cells FOSS for TypeScript exposing the height, width, x, y properties. |
HtmlParseOptions | HtmlParseOptions is an interface in Aspose.Cells FOSS for TypeScript exposing the trimWhitespace, useFirstRowAsHeader properties. |
HtmlSaveOptions | HtmlSaveOptions includes the boolean property includeStyles to control whether CSS styles are embedded in the exported HTML. |
LegendInfo | LegendInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the position, series properties. |
PictureInfo | PictureInfo properties row and col indicate the cell position where the picture is anchored in the worksheet. |
PlotArea | PlotArea is an interface in Aspose.Cells FOSS for TypeScript exposing the height, width, x, y properties. |
SeriesInfo | SeriesInfo stores chart series metadata, including the series name, display color, and data values array. |
ShapeAnchor | ShapeAnchor provides fine‑grained placement data (column/row indices, offsets, and absolute X/Y transformation values) for any shape. |
Navigation
| Class | Description |
|---|---|
Hyperlink | Hyperlink is a class in Aspose.Cells FOSS for TypeScript exposing constructor, toXml. |
HyperlinkCollection | HyperlinkCollection.add(row, col, address, display, tooltip) creates a new Hyperlink object attached to a specific cell. |
Interfaces
| Interface | Description |
|---|---|
Hyperlink-types | Hyperlink is an interface in Aspose.Cells FOSS for TypeScript exposing the address, display, target, tooltip, type properties. |
Security
| Enumeration | Description |
|---|---|
EncryptionType | EncryptionType is an enumeration in Aspose.Cells FOSS for TypeScript defining AES. |