TX Sheet Control

TXTextControl.TXSheetControl.Server Namespace

Namespace

The namespace contains the workbook, worksheet, dashboard, pivot-table and document-processing APIs. They ship in the NuGet package TXTextControl.TXSheetControl.Server. All but ServerSheetControl, ServerSheetControlOptions and EngineOptions are in TXTextControl.TXSheetControl.Blazor too, which hosts the same workbook API in the browser.

Classes

ClassDescription
ActiveViewThe sole integrated workbook viewport, identified by stable sheet or dashboard ID.
AnalyticsWorkbook-wide deterministic data/semantic layer. Query results and profiles are detached values.
AnalyticsCalculationExplicit arithmetic between aggregate aliases; subtract is supported without inventing comparisons.
AnalyticsDataDetached tabular snapshot for a direct dashboard connector. Dates use ISO strings.
AnalyticsFieldDetached field profile. Identifier roles are excluded from automatic totals.
AnalyticsFilterDashboard-only filter; does not modify worksheet values or AutoFilter state.
AnalyticsMeasureOne SUM, COUNT, COUNT DISTINCT, AVG, MIN or MAX result. COUNT may omit Field to count rows.
AnalyticsProfileSource metadata, field types, row count and deterministic ambiguity diagnostics.
AnalyticsQueryBounded grouped query. Joins are explicit and restricted to unique target keys.
AnalyticsRelationshipAn explicit many-to-one left join. Nonunique lookup keys reject instead of multiplying aggregates.
AnalyticsRelationshipSuggestionSuggested relationship only; requires explicit review and SetRelationshipAsync before use.
AnalyticsResultDetached grouped rows with scalar JSON values, ordered columns and matching input row count.
AnalyticsSortStable ordering by a dimension ID or measure alias.
AnalyticsSourceA worksheet table/name/range binding or a logical server connector query without a worksheet.
CalculationShared calculation settling, external documents and formula dependency auditing.
CellA worksheet-bound cell handle separating literal text, formulas, values, formatting and pictures.
CellCoordinatesZero-based worksheet coordinates, independent of the active sheet.
CellDataWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
CellHyperlinkSafe external URL or internal cell target; optional display text and tooltip remain portable.
CellNoteA legacy Excel note, separate from its threaded conversation; author identity is a simple userName.
CellTextRunLiteral text with optional per-run font overrides; offsets follow .NET UTF-16 string indices.
CellTextStyleFont overrides for part of a cell. Omitted fields inherit the cell style.
CellTypeDefinitionPortable cell UI settings. Custom renderer callbacks are registered separately and never serialized.
CellTypeItemAn interactive-cell choice; value must serialize as a string, finite number or boolean.
CellTypesRegisters SVG cell renderers shared with the independent PDF painter.
ChartWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
ChartCollectionWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
CommentEntryAuthored threaded comment entry. Original UTC timestamps and author names survive import/export.
CommentsOne cell conversation; new entries use the owner's current userName and preserve original author metadata.
CommentThreadDetached conversation anchored to one cell; entries remain ordered and independently editable.
CsvLoadOptionsCSV import uses double-quote escaping and accepts CRLF, LF or CR record endings.
CsvSaveOptionsUTF-8 CSV output contains every selected row and uses double-quote escaping.
CustomFunctionContextContext for a host calculation callback; do not reenter the control from this callback.
CustomFunctionOptionsCustom calculation callback metadata; callbacks are runtime-only and omitted from workbook JSON.
DashboardStable dashboard handle. Access fails after deletion or replacement of the owning document.
DashboardCollectionWorkbook-owned dashboard collection. Changes are undoable and persist through native TXWB save/load.
DashboardDateFilterPersisted date slicer defaults. Values are validated when adding or updating the owning widget.
DashboardDefinitionDetached first-class dashboard state persisted with worksheets in the native TXWB document.
DashboardGenerationOptionsDeterministic generation controls. Regeneration requires TargetId and explicit merge or replace Strategy.
DashboardInteractionsExplicit widget permissions for chart filtering and underlying data access.
DashboardLayoutResponsive dashboard geometry in independent 12-column grid units, never worksheet cells.
DashboardNumberFormatShared Intl-compatible numeric formatting for widget values and labels.
DashboardPlacementWidget placement in dashboard grid units. X is 0..11, width 1..12; height is 1..100.
DashboardRenderResultDetached widget visualization; SVG charts reuse the spreadsheet renderer without an editor UI.
DashboardSelectionWorksheet identity and A1 rectangle used for selection-scoped generation.
DashboardWidgetEditable dashboard widget definition. Supported types: kpi, line, bar, pie, donut, table, slicer, text.
DashboardWidgetAppearancePortable widget presentation shared by browser and headless rendering. Hex colors use #RRGGBB; font sizes are 8..72 points.
DimensionWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
DimensionCollectionWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
DocumentObjectBase for sheet-bound handles. Methods perform async I/O; creating cell/range handles performs none.
DocumentPropertiesExport-only metadata shared by PDF and Excel. Omitted values preserve original XLSX properties. Text is limited to 4096 UTF-16 units. Created and Modified are ISO 8601 timestamps with a timezone. These values never change the workbook or review identity.
DrawingWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
DrawingAnchorAn A1 cell anchor with unscaled CSS pixel offsets.
DrawingCollectionWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
DrawingGroupWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
EmbeddedFontOwned TrueType bytes and the exact font-face flags used for deterministic document rendering.
EngineOptionsDeployment and resource limits for server document operations.
FillOptionsAutofill behavior: auto, copy or series. Step is optional and direction uses worksheet axes.
FontCatalogA runtime snapshot shared by browser font loading and independent PDF rendering.
FontFaceDefinitionA supported TrueType face with the same content-versioned URL and bytes as server rendering.
FontFamilyDefinitionA selectable family named by its OpenType metadata, independent of filenames.
FormulaCellReferenceA worksheet identity and A1 address returned by precedent/dependent auditing.
HistoryWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
JsonSaveOptionsJSON output contains a record array or all selected rows as arrays; no workbook metadata is written.
LicenseExceptionOffline licensing failure with the same stable code as the JavaScript API; never contains the token.
LicenseInfoDetached read-only signed entitlement metadata. Products cannot be mutated to grant authority.
LoadOptionsReusable format-specific load settings, with cancellation supplied separately per operation.
LoadResultDetached conversion notices returned after a successful, atomic document replacement.
MailMergeResultWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
MailMergeTemplateImmutable template. Each merge creates an independently disposable result document.
NameCollectionCase-insensitive workbook or worksheet names; every operation uses the same scope as the JS collection.
NamedRangeDefinitionWorkbook or worksheet-scoped Excel formula name; refersTo retains Excel reference syntax.
NamedRangeOptionsOptional descriptive metadata for an explicitly scoped defined name.
NativeLoadOptionsReusable native package budgets in bytes/counts; all unknown entries receive the same limits.
NativeSaveOptionsReusable native save settings. Removing an optional extension also removes its owned entries.
NoteBoundsNote geometry in unzoomed CSS pixels. Offsets originate at the owning cell's upper-right corner.
ObjectCommandAn opaque queued operation created by a worksheet-bound handle. Add it to a WorkbookBatch.
ObjectSizeUnscaled drawing dimensions in CSS pixels, independent of editor zoom.
PasteOptionsControls selective clipboard pasting without changing the source data.
PdfOptionsPDF page selection and print context with explicit document fonts and cancellation support.
PdfPermissionsStandard reader permissions. Accessibility extraction is always allowed, as required by the PDF standard.
PdfSecurityOptionsAES-256 standard security handler revision 6 settings. Export only; never saved in workbook state.
PdfViewerPreferencesAPI-only PDF 1.7 presentation and print hints. Reader software may choose whether to honor them.
PictureSourceEmbedded image bytes or base64; external image URLs are not downloaded.
ProtectionEnforced worksheet editing permissions using the same locked-cell styles as the JavaScript editor.
ProtectionOptionsProtected-sheet editing permissions; passwords are supplied at runtime and never persisted as clear text.
RangeA worksheet-bound rectangular range for atomic reads, writes, formatting and copy operations.
SaveOptionsReusable save settings shared across file and byte destinations. Metadata is export-only.
SearchSparse workbook search and atomic replacement across inputs, formulas, values and displayed text.
SearchMatchDetached search result with sheet identity, A1 address and matched substring bounds.
SearchOptionsSparse search settings shared with JavaScript. Targets are input, formula, value or displayText.
ServerSheetControlOwns an independent spreadsheet document with asynchronous editing, calculation, loading and saving.
ServerSheetControlExceptionWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
ServerSheetControlOptionsDocument limits, locale and font settings for server spreadsheet operations.
SheetCollectionWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
SheetPrintWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
SheetProtectionSettingsDetached worksheet protection settings; this is an editing guard rather than file encryption.
SheetViewFreeze and split data coordinates without modifying worksheet dimensions or print pagination.
SheetViewSettingsWorksheet pane counts and indices; all coordinates are zero-based and preserve stored dimensions.
SpreadsheetMLLoadOptionsReusable XLSX package and projection budgets; byte limits apply before expanding archive data.
TableA table identity bound to one worksheet generation; access fails after deletion or document replacement.
TableCollectionWorksheet-bound real Excel tables with workbook-unique names and stable identities.
TableColumnDefinitionNamed table column with calculated and totals formulas; formulas use the shared JavaScript syntax.
TableColumnOptionsPartial named-column update; omitted settings retain the existing column definition.
TableDefinitionDetached operational Excel table state; its A1 range includes headers and optional totals.
TableOptionsOperational table display and behavior options; omitted members preserve the current settings.
TabularLoadOptionsLimits and worksheet settings for UTF-8 tabular imports. A successful import replaces the workbook.
TabularSaveOptionsExports values and calculated formula results from one worksheet without modifying it.
ValidationWorksheet data validation, including source lists, constraints, messages and atomic edit enforcement.
ValidationFailureDetached cell validation failure; stop-style violations roll back the entire attempted transaction.
ValidationRuleCell constraints shared with the editor. Types and operators use the same portable strings as JavaScript.
WorkbookAsynchronous workbook editing, formatting, calculation, loading and saving.
WorkbookBatchCollects operations locally, then sends one atomic request. Reads occur before creating a batch.
WorkbookCommandWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.
WorkbookEventArgsDetached workbook event context. Cancellation is honored by before-events, Loading and Saving.
WorkbookEventsTyped, synchronous workbook events. Handlers must not call document methods.
WorksheetA handle bound to a worksheet ID and opaque document generation.
XlsxExportOptionsExcel export settings. Preservation retains unsupported content and omitted document properties.
XlsxWarningWorksheet-scoped server API contract; requests retain document identity and cancellation semantics.

Enumerations

EnumerationDescription
StreamTypeDocument file formats shared with JavaScript. SpreadsheetML is .xlsx; native files use .txwb.

Document Font Resources