public interface IUiContentManager
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears all existing content of the SCell control.
|
CompletableFuture<Void> |
copy()
Copies current selection to the clipboard
|
CompletableFuture<Void> |
cut()
Cuts current selection to the clipboard
|
IWorksheet |
getActiveWorksheet() |
IWorkbook |
getCoreApi()
Deprecated.
|
IWorkbook |
getWorkbook() |
CompletableFuture<Void> |
load(File file)
Loads the existing spreadsheet file
|
CompletableFuture<Void> |
load(File file,
IPasswordInput setting)
Loads the existing spreadsheet file
|
CompletableFuture<Void> |
load(InputStream source,
boolean tryOpenAsCsv,
String title)
Loads the document as a stream with trying to open it as a CSV
|
CompletableFuture<Void> |
load(InputStream source,
boolean tryOpenAsCsv,
String title,
IPasswordInput passwordHandler)
Loads the document as a stream with trying to open it as a CSV
|
CompletableFuture<Void> |
load(InputStream source,
String title)
Loads the spreadsheet document as a stream
|
CompletableFuture<Void> |
load(InputStream source,
String title,
IPasswordInput passwordHandler)
Loads the spreadsheet document as a stream
|
CompletableFuture<Void> |
paste()
Inserts content from the clipboard into the current selection
|
boolean |
redoLastAction()
Redoes the last action performed after the
undoLastAction() |
void |
setPasswordInput(IPasswordInput value)
Sets the users custom password supplier to input the password when protected documents are being loaded
|
boolean |
undoLastAction()
Undoes the last action initiated by the user or the API
|
CompletableFuture<Void> load(File file)
file
- the xlsx File
to be loadedCompletableFuture
CompletableFuture<Void> load(File file, IPasswordInput setting)
file
- the xlsx File
to be loadedsetting
- the workbook protection settings (IPasswordInput
)CompletableFuture
CompletableFuture<Void> load(InputStream source, String title)
source
- the InputStream of the xlsx-content to be openedtitle
- the document titleCompletableFuture<Void> load(InputStream source, boolean tryOpenAsCsv, String title)
source
- the InputStream of the xlsx-content to be openedtryOpenAsCsv
- if true
, it will try to open incoming stream as a CSVtitle
- the document titleCompletableFuture<Void> load(InputStream source, String title, IPasswordInput passwordHandler)
source
- the InputStream of the xlsx-content to be openedtitle
- the document titlepasswordHandler
- the workbook protection password input handler (IPasswordInput
)CompletableFuture<Void> load(InputStream source, boolean tryOpenAsCsv, String title, IPasswordInput passwordHandler)
source
- the InputStream of the xlsx-content to be openedtryOpenAsCsv
- if true
, it will try to open incoming stream as a CSVtitle
- the document titlepasswordHandler
- the workbook protection password input handler (IPasswordInput
)void setPasswordInput(IPasswordInput value)
value
- the workbook protection password input handler (IPasswordInput
)void clear()
IWorksheet getActiveWorksheet()
IWorksheet
@Deprecated IWorkbook getCoreApi()
IWorkbook getWorkbook()
boolean undoLastAction()
true
value if the undo command was successfulboolean redoLastAction()
undoLastAction()
true
value if the redo command was successfulCompletableFuture<Void> copy()
CompletableFuture<Void> paste()
CompletableFuture<Void> cut()
Copyright © 2025. All rights reserved.