Skip to content

Commit

Permalink
Feature/prt 1774 (#42)
Browse files Browse the repository at this point in the history
* feat: add replaceCommand true

* feat: add callback to finishReport

* feat: add sdk method to copy
  • Loading branch information
ItalloDornelas authored Dec 20, 2023
1 parent 06a271a commit f746a8d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/syncfusion/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,12 @@ export class IaraSyncfusionAdapter
if (wrapper) wrapper.style.cursor = status ? "not-allowed" : "auto";
}

copyReport(): void {
async copyReport(): Promise<void> {
this._editor.documentEditor.focusIn();
this._selectionManager.selection.selectAll();
this._selectionManager.selection.copySelectedContent(false);
this._recognition.automation.copyText(
...(await this._contentManager.getContent())
);
}

clearReport(): void {
Expand Down

0 comments on commit f746a8d

Please sign in to comment.