public interface IUiContentManager
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
clear()
Clears all existing content of the SCell control.
|
CompletableFuture<Void> |
copy()
Copies the cells to the clipboard
|
CompletableFuture<Void> |
cut()
Cuts cells to the clipboard
|
CompletableFuture<IWorksheet> |
getActiveWorksheet() |
CompletableFuture<IWorkbook> |
getCoreApi()
Deprecated.
|
CompletableFuture<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 inputStream,
String title)
Loads the spreadsheet document as a stream
|
CompletableFuture<Void> |
load(InputStream inputStream,
String title,
IPasswordInput setting)
Loads the spreadsheet document as a stream
|
CompletableFuture<Void> |
paste()
Pastes the cells from the clipboard
|
CompletableFuture<Boolean> |
redoLastAction()
Redoes the last action performed after the
undoLastAction() |
void |
setPasswordInput(IPasswordInput passwordInput)
Sets the users custom password supplier to input the password when protected documents are being loaded
|
CompletableFuture<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 inputStream, String title)
inputStream
- the InputStream of the xlsx-content to be openedtitle
- the document titleCompletableFuture<Void> load(InputStream inputStream, String title, IPasswordInput setting)
inputStream
- the InputStream of the xlsx-content to be openedtitle
- the document titlesetting
- the workbook protection settings (IPasswordInput
)void setPasswordInput(IPasswordInput passwordInput)
passwordInput
- the workbook protection settings (IPasswordInput
)CompletableFuture<Void> clear()
CompletableFuture
CompletableFuture<IWorksheet> getActiveWorksheet()
IWorksheet
@Deprecated CompletableFuture<IWorkbook> getCoreApi()
CompletableFuture<IWorkbook> getWorkbook()
CompletableFuture<Boolean> undoLastAction()
true
value if the undo command was successfulCompletableFuture<Boolean> redoLastAction()
undoLastAction()
true
value if the redo command was successfulCompletableFuture<Void> copy()
CompletableFuture<Void> paste()
CompletableFuture<Void> cut()
Copyright © 2024. All rights reserved.