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

ClassDescription
AllConnectorShapeInfoClass in the Cells TYPESCRIPT API.
AllShapeInfoClass in the Cells TYPESCRIPT API.
ArrowShapeTypeArrowShapeType enumerates the possible visual styles for arrow shapes, supporting consistent rendering across exported documents.
AutoFilterAutoFilter.clear() removes all filter column definitions from the AutoFilter instance.
BasicShapeInfoTypeBasicShapeInfoType enables developers to specify the fundamental type of a shape in a worksheet.
BasicShapeSubTypeBasicShapeSubType represents a more detailed categorization of basic shapes for advanced diagramming.
BentConnectorShapeTypeBentConnectorShapeType enumeration defines the possible geometric configurations for bent connectors, such as straight, elbow, or curved variants.
BraceShapeTypeClass in the Cells TYPESCRIPT API.
CellCell constructor(row, col, value?) creates a cell positioned at the given row and column, optionally initializing its value.
CellValueClass in the Cells TYPESCRIPT API.
CellValueClass in the Cells TYPESCRIPT API.
CellsClass with 6 methods and 1 property.
ChartChart.setPositionWithOffset lets you position a chart using absolute pixel offsets and explicit height and width values.
ChartCollectionChartCollection.length and ChartCollection.count both expose the total number of charts stored in the collection.
ChartLoaderChartLoader.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.
ChartRendererChartRenderer.renderChart(chart, worksheet) generates an SVG string representation of the supplied ChartInfo placed into the given worksheet context.
ChartTypeChartType is used to specify the kind of chart (e.g., bar, line) when creating a chart object.
CircleVariantShapeTypeClass in the Cells TYPESCRIPT API.
CommentClass with 2 methods and 7 properties.
CommentCollectionClass with 6 methods and 1 property.
ConditionalFormatClass with 5 methods.
ConditionalFormatCollectionConditionalFormatCollection enables applying multiple conditional formatting rules across cell ranges, allowing visual data cues such as color scales.
CurvedConnectorShapeTypeClass in the Cells TYPESCRIPT API.
DOMParserDOMParser.parseFromString(xml, type) parses an XML string and returns a Document object for further manipulation.
DataRelationshipDataRelationship.worksheetRels(sheetIndex) returns the relationship XML string for the specified worksheet.
DataValidationDataValidation objects let you specify validation rules, including type, operator, two formulas, and UI options like allowBlank, showDropDown, and custom messages.
DataValidationCollectionDataValidationCollection.add() creates a new DataValidation object that can be configured and added to a worksheet.
EllipseShapeTypeClass in the Cells TYPESCRIPT API.
ExpDrawingExpDrawing.generateGuid() returns a new GUID string that can be used as a unique identifier for drawing elements.
HtmlDocumentHtmlDocument.load(filePath) asynchronously reads an HTML file and resolves to an HtmlDocument instance.
HtmlExporterHtmlExporter can convert a Workbook into an HTML frameset or generate HTML for an individual worksheet, supporting web‑based presentation of spreadsheet data.
HtmlReaderClass with 9 methods and 6 properties.
HtmlTableHtmlTable.parse(html, cssClasses) parses a single HTML table string into an HtmlTable object, applying optional CSS class filters.
HtmlWriterClass with 2 methods.
HyperlinkHyperlink support lets you add, retrieve, and serialize cell hyperlinks within worksheets via the Hyperlink and HyperlinkCollection classes.
HyperlinkCollectionHyperlinkCollection.add(row, col, address, display, tooltip) creates a new Hyperlink object attached to a specific cell.
ImpDrawingClass with 1 method and 5 properties.
LineShapeTypeClass in the Cells TYPESCRIPT API.
MathSymbolShapeTypeClass in the Cells TYPESCRIPT API.
PolygonShapeTypeClass in the Cells TYPESCRIPT API.
QuadrilateralShapeTypeClass in the Cells TYPESCRIPT API.
RectangleShapeTypeClass in the Cells TYPESCRIPT API.
RectangleVariantShapeTypeClass in the Cells TYPESCRIPT API.
SealShapeTypeClass in the Cells TYPESCRIPT API.
Shape3DTypeClass in the Cells TYPESCRIPT API.
SpecialShapeTypeClass in the Cells TYPESCRIPT API.
StarShapeTypeClass in the Cells TYPESCRIPT API.
StraightConnectorShapeTypeClass in the Cells TYPESCRIPT API.
StyleStyle objects let developers define cell appearance, including font, fill, border, alignment, number format, and protection settings.
TriangleShapeTypeClass in the Cells TYPESCRIPT API.
WorkbookThe Workbook class provides a high‑level entry point to load existing spreadsheet files, manipulate worksheets, and save to formats such as XLSX and HTML.
WorksheetClass with 24 methods and 23 properties.
WorksheetCollectionWorksheetCollection offers collection‑wide operations such as adding, removing, moving worksheets, and applying shared styles across the workbook.

Interfaces

InterfaceDescription
AlignmentAlignment class provides horizontal, vertical, and wrapText properties to control text alignment within a cell style.
ArrowShapeInfoArrowShapeInfo.type holds a value from the ArrowShapeType enumeration that specifies the arrow’s visual style.
AxisInfoAxisInfo provides comprehensive axis configuration for charts, allowing control over position, labels, tick marks, and scaling.
BentConnectorShapeInfoBentConnectorShapeInfo.type property specifies the connector’s shape type using the BentConnectorShapeType enumeration.
BorderBorder.left, Border.right, Border.top, and Border.bottom properties return the individual border definitions for a cell.
BorderLineBorderLine objects expose a style property and a color property to define the line style and its color for a cell border edge.
BraceShapeInfoBraceShapeInfo provides a read‑only type property indicating the shape of a brace, represented by the BraceShapeType enumeration.
CellCoordinatesCellCoordinates.row and .col expose zero‑based row and column indices of a cell location.
CellCoordinatesCellCoordinates.row and .col expose zero‑based row and column indices of a cell location.
CellRangeCellRange.startRow, startCol, endRow, and endCol define the rectangular area of a cell range.
CellRangeCellRange.startRow, startCol, endRow, and endCol define the rectangular area of a cell range.
CellStyleCellStyle lets you define alignment, font, colors, and borders for individual cells, supporting rich formatting of spreadsheet content.
ChartAreaInterface with 4 properties.
ChartInfoChartInfo provides a read‑only snapshot of a chart’s configuration, including type, title, series, legend position, axis positions, plot area, and dimensions.
ChartSeriesInterface with 3 properties.
CircleVariantShapeInfoCircleVariantShapeInfo exposes a type property that identifies the specific circle variant shape used in a drawing.
ColorScaleRuleColorScaleRule lets developers define a three‑color gradient for conditional formatting using minColor, midColor, and maxColor properties.
CommentInterface with 4 properties.
ConditionalFormatRuleThe ConditionalFormatRule class lets you define conditional formatting by specifying its type, formulas, operator, style, color scale, icon set, or data bar.
CurvedConnectorShapeInfoInterface with 3 properties.
DataBarRuleInterface with 4 properties.
DataValidationDataValidation objects let you specify validation rules, including type, operator, two formulas, and UI options like allowBlank, showDropDown, and custom messages.
EllipseShapeInfoInterface with 1 property.
FillInterface with 3 properties.
FilterColumnFilterColumn objects describe a single filter column with the column index (col), an array of filter values (filters), and an optional blank flag.
FontThe Font class provides properties to style text, including name, size, bold, italic, underline, color, and strikeout.
HtmlParseOptionsInterface with 2 properties.
HtmlSaveOptionsHtmlSaveOptions includes the boolean property includeStyles to control whether CSS styles are embedded in the exported HTML.
HyperlinkHyperlink support lets you add, retrieve, and serialize cell hyperlinks within worksheets via the Hyperlink and HyperlinkCollection classes.
IconSetRuleInterface with 2 properties.
ImageInfoInterface with 5 properties.
LegendInfoInterface with 2 properties.
LineShapeInfoInterface with 3 properties.
MathSymbolShapeInfoInterface with 1 property.
PictureInfoPictureInfo properties row and col indicate the cell position where the picture is anchored in the worksheet.
PictureShapeInfoInterface with 2 properties.
PlotAreaInterface with 4 properties.
PolygonShapeInfoInterface with 1 property.
ProtectionProtection class properties locked and hidden control cell‑level protection settings when applied to a style.
QuadrilateralShapeInfoQuadrilateralShapeInfo exposes a type property that must be set to a value from QuadrilateralShapeType to define the specific quadrilateral shape.
RectangleShapeInfoRectangleShapeInfo.type lets developers choose a rectangle variant using the RectangleShapeType enumeration.
RectangleVariantShapeInfoRectangleVariantShapeInfo.type provides access to the RectangleVariantShapeType enumeration for defining variant rectangle shapes.
SealShapeInfoSealShapeInfo.type allows a seal shape to be specified via the SealShapeType enumeration.
SeriesInfoSeriesInfo stores chart series metadata, including the series name, display color, and data values array.
Shape3DInfoShape3DInfo.type lets developers assign a three‑dimensional shape using the Shape3DType enumeration.
ShapeAnchorShapeAnchor provides fine‑grained placement data (column/row indices, offsets, and absolute X/Y transformation values) for any shape.
ShapeFillShapeFill describes how a shape is painted, supporting solid colors, scheme colors, gradient stops, gradient angle, and luminance adjustments.
ShapeInfoShapeInfo aggregates common shape metadata—including name, type, and cell‑based anchor coordinates—so a shape can be positioned relative to worksheet cells.
SpecialShapeInfoSpecialShapeInfo.type provides access to the SpecialShapeType enumeration for defining special‑purpose shapes.
StarShapeInfoStarShapeInfo.type enables selection of a star shape using the StarShapeType enumeration.
StraightConnectorShapeInfoStraightConnectorShapeInfo.type together with the boolean flags hasArrowStart and hasArrowEnd lets developers create connector lines with optional arrowheads at either end.
StyleStyle objects let developers define cell appearance, including font, fill, border, alignment, number format, and protection settings.
TriangleShapeInfoInterface with 1 property.

Enumerations

EnumerationDescription
EncryptionTypeEnum with 1 member.
SaveFormatSaveFormat enum provides the set of file formats that can be used with Workbook.save: XLSX, CSV, JSON, MARKDOWN, and HTML.

See Also