Skip to main content
A newer version of this page is available. .

SpreadsheetExtension Members

Represents an extension object implementing the Spreadsheet functionality.

Constructors

Name Description
SpreadsheetExtension(SpreadsheetSettings, ViewContext) Initializes a new instance of the SpreadsheetExtension class with the specified settings and provides the context information about the view.
SpreadsheetExtension(SpreadsheetSettings) Initializes a new instance of the SpreadsheetExtension class with the specified settings.

Properties

Name Description
DefaultRibbonContextTabCategories static Gets an array of predefined ribbon context tab categories for the Spreadsheet extension.
DefaultRibbonTabs static Gets an array of predefined ribbon tabs for the Spreadsheet extension.

Methods

Name Description
CloseDocument(String) static Closes the current document in the specified Spreadsheet.
DownloadFile(String) static Obsolete. Returns the binary content of the file downloaded from the specified Spreadsheet.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetCallbackResult(SpreadsheetSettings) static Returns the specified result back to the client side after processing a callback within an Action specified by the SpreadsheetSettings.CallbackRouteValues property.
GetCallbackResult(String, Action<SpreadsheetCustomDocumentProcessor>) static Returns the specified result back to the client side after processing a callback within an Action specified by the SpreadsheetSettings.CallbackRouteValues property.
GetCurrentDocument(String) static Gets access to a workbook loaded into the specified Spreadsheet.
GetCustomActionResult(String) static Returns the specified result back to the client side after processing a callback within an Action defined by the SpreadsheetSettings.CustomActionRouteValues property.
GetDocumentId(String) static Returns the unique identifier of the specified Spreadsheet document.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetHtml() Inserts the HTML code rendered by an extension into the required page output. Inherited from ExtensionBase.
GetType() Gets the Type of the current instance. Inherited from Object.
LoadDocument(String, String) static Obsolete. Loads a specific file to the specified Spreadsheet extension.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
New(String) static Creates a new empty document within the Spreadsheet.
Open(SpreadsheetDocumentInfo) Opens the specified document.
Open(String, DocumentFormat, Func<Byte[]>) Opens a document specified by an array of bytes.
Open(String, DocumentFormat, Func<Stream>) Opens a document specified by a stream.
Open(String, DocumentFormat) Opens the specified document.
Open(String, SpreadsheetDocumentInfo) static Opens the specified document.
Open(String, Func<Byte[]>) Opens a document specified by an array of bytes.
Open(String, Func<Stream>) Opens a document specified by a stream.
Open(String, String, DocumentFormat, Func<Byte[]>) static Opens a document specified by an array of bytes.
Open(String, String, DocumentFormat, Func<Stream>) static Opens a document specified by a stream.
Open(String, String, DocumentFormat) static Opens the specified document.
Open(String, String) static Opens the specified document.
Open(String) Opens the specified file.
PerformMailMerge(Func<Byte[]>, DocumentFormat, Object, String) Initializes the mail merge process and generates the resulting documents containing the merged information.
PerformMailMerge(Func<Byte[]>, DocumentFormat, Object) Initializes the mail merge process and generates the resulting documents containing the merged information.
PerformMailMerge(Func<Stream>, DocumentFormat, Object, String) Initializes the mail merge process and generates the resulting documents containing the merged information.
PerformMailMerge(Func<Stream>, DocumentFormat, Object) Initializes the mail merge process and generates the resulting documents containing the merged information.
PerformMailMerge(String, Object, String, Int32, DocumentFormat) Initializes the mail merge process and generates the resulting documents containing the merged information.
PerformMailMerge(String, Object, String) Initializes the mail merge process and generates the resulting documents containing the merged information.
PerformMailMerge(String, Object) Initializes the mail merge process and generates the resulting documents containing the merged information.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Render() Renders the extension’s HTML code to the Response. Inherited from ExtensionBase.
SaveCopy(String, DocumentFormat) static Saves a document copy using the specified settings.
SaveCopy(String, Stream, DocumentFormat) static A string value that specifies the Spreadsheet name.
SaveCopy(String, String) static Saves a document copy using the specified settings.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also