This repository was archived by the owner on Feb 18, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
libreoffice-core/desktop/wasm Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -34,18 +34,18 @@ type Rectangle = {
34
34
35
35
export type RectanglePx = Rectangle & { } ;
36
36
export type RectangleTwips = Rectangle & { } ;
37
- export type SetClipbaordItem = {
37
+ export type SetClipboardItem = {
38
38
mimeType : string ;
39
39
buffer : string | ArrayBuffer ;
40
40
} ;
41
41
42
- export type GetClipbaordItem =
42
+ export type GetClipboardItem =
43
43
| {
44
- mimeType : 'text/plain' | 'text/html' ;
44
+ mimeType : 'text/plain' | 'text/html' | 'text/rtf' ;
45
45
text : string ;
46
46
}
47
47
| {
48
- mimeType : string ;
48
+ mimeType : 'image/png' ;
49
49
data : Uint8Array ;
50
50
} ;
51
51
@@ -92,8 +92,8 @@ export type DocumentWithViewMethods = {
92
92
modifiers : number
93
93
) : void ;
94
94
setTextSelection ( type : number , x : number , y : Number ) : void ;
95
- setClipboard ( items : SetClipbaordItem [ ] ) : boolean ;
96
- getClipboard ( mimeTypes : string [ ] ) : GetClipbaordItem [ ] ;
95
+ setClipboard ( items : SetClipboardItem [ ] ) : boolean ;
96
+ getClipboard ( mimeTypes : string [ ] ) : GetClipboardItem [ ] ;
97
97
paste ( mimeType : string , data : string | ArrayBuffer ) : void ;
98
98
setGraphicSelection ( type : number , x : number , y : number ) : void ;
99
99
resetSelection ( ) : void ;
You can’t perform that action at this time.
0 commit comments