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
AllConnectorShapeInfoAllConnectorShapeInfo is a class in Aspose.Cells FOSS for TypeScript.
AllShapeInfoAllShapeInfo is a class in Aspose.Cells FOSS for TypeScript.
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.
BraceShapeTypeBraceShapeType is a class in Aspose.Cells FOSS for TypeScript.
CellCell constructor(row, col, value?) creates a cell positioned at the given row and column, optionally initializing its value.
CellValueCellValue is a class in Aspose.Cells FOSS for TypeScript.
CellValue-utilCellValue is a class in Aspose.Cells FOSS for TypeScript.
CellsCells is a class in Aspose.Cells FOSS for TypeScript exposing [Symbol.iterator], get, getOrCreate, set, toXml, values.
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.
ChartTypeChartType is used to specify the kind of chart (e.g., bar, line) when creating a chart object.
CircleVariantShapeTypeCircleVariantShapeType is a class in Aspose.Cells FOSS for TypeScript.
CommentComment is a class in Aspose.Cells FOSS for TypeScript exposing constructor, toXml.
CommentCollectionCommentCollection is a class in Aspose.Cells FOSS for TypeScript exposing add, clear, get, getByCell, remove, toXml.
ConditionalFormatConditionalFormat is a class in Aspose.Cells FOSS for TypeScript exposing addArea, addRule, getRanges, getRules, toXml.
ConditionalFormatCollectionConditionalFormatCollection enables applying multiple conditional formatting rules across cell ranges, allowing visual data cues such as color scales.
CurvedConnectorShapeTypeCurvedConnectorShapeType is a class in Aspose.Cells FOSS for TypeScript.
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.
DataValidation-validationDataValidation is a class in Aspose.Cells FOSS for TypeScript exposing addArea, getRanges, toXml.
DataValidationCollectionDataValidationCollection.add() creates a new DataValidation object that can be configured and added to a worksheet.
EllipseShapeTypeEllipseShapeType is a class in Aspose.Cells FOSS for TypeScript.
ExpDrawingExpDrawing.generateGuid() returns a new GUID string that can be used as a unique identifier for drawing elements.
ImpDrawingImpDrawing is a class in Aspose.Cells FOSS for TypeScript exposing loadWorksheetDrawing.
LineShapeTypeLineShapeType is a class in Aspose.Cells FOSS for TypeScript.
MathSymbolShapeTypeMathSymbolShapeType is a class in Aspose.Cells FOSS for TypeScript.
PolygonShapeTypePolygonShapeType is a class in Aspose.Cells FOSS for TypeScript.
QuadrilateralShapeTypeQuadrilateralShapeType is a class in Aspose.Cells FOSS for TypeScript.
RectangleShapeTypeRectangleShapeType is a class in Aspose.Cells FOSS for TypeScript.
RectangleVariantShapeTypeRectangleVariantShapeType is a class in Aspose.Cells FOSS for TypeScript.
SealShapeTypeSealShapeType is a class in Aspose.Cells FOSS for TypeScript.
Shape3DTypeShape3DType is a class in Aspose.Cells FOSS for TypeScript.
SpecialShapeTypeSpecialShapeType is a class in Aspose.Cells FOSS for TypeScript.
StarShapeTypeStarShapeType is a class in Aspose.Cells FOSS for TypeScript.
StraightConnectorShapeTypeStraightConnectorShapeType is a class in Aspose.Cells FOSS for TypeScript.
StyleStyle is a class in Aspose.Cells FOSS for TypeScript exposing constructor, getAlignment, getBackgroundColor, getBorder, getFill, getFont, and 31 more.
TriangleShapeTypeTriangleShapeType is a class in Aspose.Cells FOSS for TypeScript.
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.
WorksheetWorksheet is a class in Aspose.Cells FOSS for TypeScript exposing addComment, addConditionalFormat, addDataValidation, addHyperlink, addImage, addShape, and 18 more.
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.
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 is an interface in Aspose.Cells FOSS for TypeScript exposing the col, row properties.
CellCoordinates-utilCellCoordinates is an interface in Aspose.Cells FOSS for TypeScript exposing the col, row properties.
CellRangeCellRange is an interface in Aspose.Cells FOSS for TypeScript exposing the endCol, endRow, startCol, startRow properties.
CellRange-utilCellRange is an interface in Aspose.Cells FOSS for TypeScript exposing the endCol, endRow, startCol, startRow properties.
ChartInfoChartInfo provides a read‑only snapshot of a chart’s configuration, including type, title, series, legend position, axis positions, plot area, and dimensions.
ChartSeriesChartSeries is an interface in Aspose.Cells FOSS for TypeScript exposing the categories, name, values 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.
Comment-typesComment is an interface in Aspose.Cells FOSS for TypeScript exposing the author, col, row, text properties.
ConditionalFormatRuleThe ConditionalFormatRule class lets you define conditional formatting by specifying its type, formulas, operator, style, color scale, icon set, or data bar.
CurvedConnectorShapeInfoCurvedConnectorShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the hasArrowEnd, hasArrowStart, type properties.
DataBarRuleDataBarRule is an interface in Aspose.Cells FOSS for TypeScript exposing the color, direction, maxValue, minValue properties.
DataValidationDataValidation is an interface in Aspose.Cells FOSS for TypeScript exposing the allowBlank, errorMessage, errorStyle, errorTitle, formula1, formula2, and 6 more properties.
EllipseShapeInfoEllipseShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the type property.
FillFill is an interface in Aspose.Cells FOSS for TypeScript exposing the bgColor, fgColor, patternType 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.
IconSetRuleIconSetRule is an interface in Aspose.Cells FOSS for TypeScript exposing the iconSet, reverse properties.
ImageInfoImageInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the data, ext, height, name, width properties.
LineShapeInfoLineShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the hasArrowEnd, hasArrowStart, type properties.
MathSymbolShapeInfoMathSymbolShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the type property.
PictureShapeInfoPictureShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the imageIndex, type properties.
PolygonShapeInfoPolygonShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the type 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.
Shape3DInfoShape3DInfo.type lets developers assign a three‑dimensional shape using the Shape3DType enumeration.
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.
Style-typesStyle is an interface in Aspose.Cells FOSS for TypeScript exposing the alignment, border, fill, font, numberFormat, protection properties.
TriangleShapeInfoTriangleShapeInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the type property.

Enumerations

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

Html

ClassDescription
ChartRendererChartRenderer.renderChart(chart, worksheet) generates an SVG string representation of the supplied ChartInfo placed into the given worksheet context.
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.
HtmlReaderHtmlReader is a class in Aspose.Cells FOSS for TypeScript exposing constructor, getAttribute, getElementsByTagName, getFullElement, getInnerHtml, getOuterHtml, and 3 more.
HtmlTableHtmlTable.parse(html, cssClasses) parses a single HTML table string into an HtmlTable object, applying optional CSS class filters.
HtmlWriterHtmlWriter is a class in Aspose.Cells FOSS for TypeScript exposing fromWorkbook, fromWorksheet.

Interfaces

InterfaceDescription
AxisInfoAxisInfo provides comprehensive axis configuration for charts, allowing control over position, labels, tick marks, and scaling.
CellStyleCellStyle lets you define alignment, font, colors, and borders for individual cells, supporting rich formatting of spreadsheet content.
ChartAreaChartArea is an interface in Aspose.Cells FOSS for TypeScript exposing the height, width, x, y properties.
HtmlParseOptionsHtmlParseOptions is an interface in Aspose.Cells FOSS for TypeScript exposing the trimWhitespace, useFirstRowAsHeader properties.
HtmlSaveOptionsHtmlSaveOptions includes the boolean property includeStyles to control whether CSS styles are embedded in the exported HTML.
LegendInfoLegendInfo is an interface in Aspose.Cells FOSS for TypeScript exposing the position, series properties.
PictureInfoPictureInfo properties row and col indicate the cell position where the picture is anchored in the worksheet.
PlotAreaPlotArea is an interface in Aspose.Cells FOSS for TypeScript exposing the height, width, x, y properties.
SeriesInfoSeriesInfo stores chart series metadata, including the series name, display color, and data values array.
ShapeAnchorShapeAnchor provides fine‑grained placement data (column/row indices, offsets, and absolute X/Y transformation values) for any shape.

Navigation

ClassDescription
HyperlinkHyperlink is a class in Aspose.Cells FOSS for TypeScript exposing constructor, toXml.
HyperlinkCollectionHyperlinkCollection.add(row, col, address, display, tooltip) creates a new Hyperlink object attached to a specific cell.

Interfaces

InterfaceDescription
Hyperlink-typesHyperlink is an interface in Aspose.Cells FOSS for TypeScript exposing the address, display, target, tooltip, type properties.

Security

EnumerationDescription
EncryptionTypeEncryptionType is an enumeration in Aspose.Cells FOSS for TypeScript defining AES.

See Also

 English