Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spreadsheeteditor grab focus fix #3167

Open
wants to merge 461 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
461 commits
Select commit Hold shift + click to select a range
bf4224c
Add formats for opening: pages, keynotes, numbers
JuliaRadzhabova Nov 22, 2024
926d37b
Update translation
JuliaRadzhabova Nov 22, 2024
5aaae8b
Merge branch 'feature/draw-editor' into develop
JuliaRadzhabova Nov 22, 2024
445bad8
fix style zoomup
Nov 22, 2024
d8aceb8
[PDF] Fix bug
JuliaRadzhabova Nov 22, 2024
afcd6b6
Merge pull request 'feature/style-in-statusbar' (#131) from feature/s…
Nov 22, 2024
d59a46c
[VE] Fix loader
JuliaRadzhabova Nov 22, 2024
8a9bae0
[VE] Fix styles
JuliaRadzhabova Nov 22, 2024
0daa6c5
Fix loading not-rtl language
JuliaRadzhabova Nov 22, 2024
45b1162
Update translation
JuliaRadzhabova Nov 22, 2024
80f41d0
Merge pull request 'fix rename slide-master and layout' (#132) from f…
Nov 22, 2024
49ee08f
[PE] Update translation
JuliaRadzhabova Nov 22, 2024
b27c1a1
Merge pull request 'fix checked and visible in active sheet' (#133) f…
Nov 22, 2024
97c07e9
[Embed] Fix deploy version
JuliaRadzhabova Nov 23, 2024
272a4fb
[SSE embed] The sheet-list direction depends on the sheet direction
JuliaRadzhabova Nov 23, 2024
60f123a
[DE embed] Fix hyperlink tooltips
JuliaRadzhabova Nov 23, 2024
8381779
[SSE embed] Disable rtl for ie11
JuliaRadzhabova Nov 23, 2024
555bbdc
[Embed] Fix font for ar-lang
JuliaRadzhabova Nov 23, 2024
bfaf214
[Embed] Add translation for the hyperlink tooltip
JuliaRadzhabova Nov 23, 2024
36aec6b
Merge pull request 'feature/rtl-in-embed' (#136) from feature/rtl-in-…
Nov 23, 2024
96f1f0e
[DE forms] Fix calendar styles
JuliaRadzhabova Nov 23, 2024
cabf945
[DE forms] Fix deploy version
JuliaRadzhabova Nov 23, 2024
a052ea7
Merge pull request 'feature/rtl-in-forms' (#137) from feature/rtl-in-…
Nov 23, 2024
65fe95c
Fix translation
JuliaRadzhabova Nov 23, 2024
7cb7249
fix ResetCrop
Nov 25, 2024
ac7952f
[VE] Fix deploy version
JuliaRadzhabova Nov 25, 2024
c8302be
fix scroll
Nov 25, 2024
cfbb73b
Merge pull request 'fix reset crop' (#134) from feature/reset-crop in…
Nov 25, 2024
01d982a
Refactoring
JuliaRadzhabova Nov 25, 2024
a455d00
[Forms] refactoring
JuliaRadzhabova Nov 25, 2024
8f5530f
[SSE] Redraw the tabbar when changing sheet properties, fix tab visib…
JuliaRadzhabova Nov 25, 2024
5b5df8f
Merge pull request 'fix scroll' (#141) from feature/tabscroll-in-rtl …
Nov 25, 2024
1b5ced0
fix visibility reset crop in context menu
Nov 26, 2024
978087c
Merge pull request 'fix visibility reset crop in context menu' (#142)…
Nov 26, 2024
9afef78
Update translation
JuliaRadzhabova Nov 26, 2024
22e5336
Merge pull request 'hotfix/v8.2.2' (#143) from hotfix/v8.2.2 into dev…
Nov 26, 2024
350eba8
Fix click on blank document
JuliaRadzhabova Nov 26, 2024
c27a10b
Refactoring
JuliaRadzhabova Nov 26, 2024
92b08c3
Merge pull request 'fix/ve-rtl' (#144) from fix/ve-rtl into develop
Nov 26, 2024
747a682
icon-upload
denisdokin Nov 27, 2024
0306583
Merge pull request 'feature-adding-apple-file-format-icons' (#145) fr…
maxkadushkin Nov 27, 2024
a50301f
icons-upload
denisdokin Nov 27, 2024
2c78bb8
Adding shapes merge button
Nov 27, 2024
2d4c909
[mobile] fix flickering on editor launch
maxkadushkin Nov 27, 2024
50637ed
Merge branch 'develop' of https://git.onlyoffice.com/ONLYOFFICE/web-a…
maxkadushkin Nov 27, 2024
9695a4c
icon-upload
denisdokin Nov 27, 2024
4de9ca0
Merge pull request 'fix/boolean-operations-icons' (#147) from fix/boo…
Dmitry-Ilyushechkin Nov 27, 2024
dd1b7ea
[Mobile] Add visio viewer
JuliaRadzhabova Nov 27, 2024
5047d61
Fix mobile
JuliaRadzhabova Nov 27, 2024
7435152
Merge branch 'develop' into feature/ve-mobile
JuliaRadzhabova Nov 27, 2024
8a2464d
[Ve mobile] Change loader
JuliaRadzhabova Nov 27, 2024
18fef50
Fix run with no-utf8 default codepage
K0R0L Nov 28, 2024
b5fede7
Merge pull request 'Fix run with no-utf8 default codepage' (#149) fro…
maxkadushkin Nov 28, 2024
c71215d
[VE] Fix context menu
JuliaRadzhabova Nov 28, 2024
7ca576b
Refactoring
JuliaRadzhabova Nov 28, 2024
1c503c3
Fix translation script
JuliaRadzhabova Nov 28, 2024
8a25d99
Merge pull request 'feature-adding-vsdx-icons' (#146) from feature-ad…
maxkadushkin Nov 28, 2024
90dd7d7
Merge pull request 'feature/ve-mobile' (#150) from feature/ve-mobile …
Nov 28, 2024
772f361
fix shapes merge
Nov 28, 2024
a15234f
Detect delimiter when opening csv
JuliaRadzhabova Nov 28, 2024
eb1b40b
Fix text import
JuliaRadzhabova Nov 28, 2024
add40ac
[SSE] Fix saving to csv
JuliaRadzhabova Nov 28, 2024
e79e315
[VE] draw->visio
JuliaRadzhabova Nov 28, 2024
98358a0
icons-upload
denisdokin Nov 29, 2024
658eec7
icons-to-less
denisdokin Nov 29, 2024
d46ed7b
[VE] Fix styles
JuliaRadzhabova Nov 29, 2024
3d407bb
Merge pull request 'vsd-svg-mobile-icons' (#151) from fix/vsd-svg-mob…
Nov 29, 2024
bdf1275
Update translation
JuliaRadzhabova Nov 29, 2024
067e2da
adding shapes merge in context-menu
Nov 29, 2024
c5fc846
[SSE] Fix custom delimiter
JuliaRadzhabova Nov 29, 2024
85c6106
Merge branch 'feature/refresh-file' into develop
JuliaRadzhabova Nov 29, 2024
c43b103
Update translation
JuliaRadzhabova Nov 29, 2024
0ca0960
[VE] Handle onRefreshFile events
JuliaRadzhabova Nov 29, 2024
88dca17
Merge pull request 'Fix loading plugins' (#153) from hotfix/v8.2.2 in…
Dec 2, 2024
d29a7f6
[VE] Fix styles
JuliaRadzhabova Dec 2, 2024
2aaf892
Merge pull request '[VE] Fix styles' (#154) from fix/bugfix into rele…
Dec 2, 2024
bab43a6
Merge pull request 'fix/custom-property-undo' (#139) from fix/custom-…
Dec 2, 2024
7d7f94d
adding button shapes merge in pdf and fix disabled in context-menu
Dec 2, 2024
c265019
[SSE] Add dialogs for pivot calculated items
Basher0303 Dec 2, 2024
8a1c27b
[ve] Rename draw -> visio
JuliaRadzhabova Dec 4, 2024
4d2e40a
Merge pull request '[ve] Rename draw -> visio' (#156) from feature/dr…
Dec 4, 2024
9bcaf19
[main] for bug 71814
maxkadushkin Dec 4, 2024
91e2c6a
[SSE] Improved error handling
Basher0303 Dec 4, 2024
a959d71
removing logo
Dec 4, 2024
4ba6ddd
[SSE] Fix ole editor
JuliaRadzhabova Dec 4, 2024
3ed4913
Merge pull request '[SSE] Fix ole editor' (#158) from fix/bugfix into…
Dec 4, 2024
028609f
Fix version history
JuliaRadzhabova Dec 4, 2024
3b65851
Merge pull request 'Fix version history' (#159) from fix/bugfix into …
Dec 4, 2024
c844b9a
Add code for run macros
K0R0L Dec 5, 2024
0829e54
fix removing stopLoading
Dec 5, 2024
6b03829
icon-upload
denisdokin Dec 5, 2024
8c28a21
[SSE] Fix Bug 71960
JuliaRadzhabova Dec 5, 2024
977c9dc
Merge pull request '[SSE] Fix Bug 71960' (#160) from fix/bugfix into …
Dec 5, 2024
9bc83a9
Fix Bug 71959
JuliaRadzhabova Dec 5, 2024
bcf76e2
Merge pull request 'Fix Bug 71959' (#161) from fix/bugfix into releas…
Dec 5, 2024
5ca2c1e
Hide new feature tips
JuliaRadzhabova Dec 5, 2024
a1d0f96
Merge pull request 'Hide new feature tips' (#162) from fix/bugfix int…
Dec 5, 2024
f17c4f3
fix removing logo
Dec 6, 2024
33bb457
[SSE] Add keyboard contoll for pivot calculated items dialogs
Basher0303 Dec 6, 2024
97e5bfd
[SSE] Change icon in toolbar for pivot calculated items
Basher0303 Dec 6, 2024
800ef53
Macros: Add handler for run button
Basher0303 Dec 6, 2024
9418bb8
Merge pull request 'Macros: Add handler for run button' (#163) from f…
Dec 6, 2024
3df19a6
Fix Bug 71888
JuliaRadzhabova Dec 6, 2024
6d0f236
Update translation
JuliaRadzhabova Dec 6, 2024
8293c09
Merge pull request 'Update translation' (#164) from fix/translation i…
Dec 6, 2024
d8242fd
Merge pull request 'fix/header-logo' (#165) from fix/header-logo into…
Dec 6, 2024
a6c8c83
Merge pull request 'Fix Bug 71888' (#166) from fix/bug-71888 into rel…
Dec 6, 2024
f48f592
[PDF form] Change message after submitting form
JuliaRadzhabova Dec 6, 2024
ae789f0
[main] fix for IE
maxkadushkin Dec 6, 2024
2eda111
Update apps/common/main/lib/util/docserviceworker.js
maxkadushkin Dec 6, 2024
d229f22
[main] fix for IE
maxkadushkin Dec 7, 2024
97c0f6f
Merge branch 'release/v8.3.0' into fix/main-for-ie
maxkadushkin Dec 7, 2024
c057bb3
[main] debug
maxkadushkin Dec 9, 2024
f1b9b3f
Update apps/common/main/lib/util/docserviceworker.js
maxkadushkin Dec 9, 2024
c361d22
[PDF] Refactoring context menu
JuliaRadzhabova Dec 9, 2024
13665f1
[main] fix for IE
maxkadushkin Dec 9, 2024
42f2883
[PDF] Show annotation bar
JuliaRadzhabova Dec 10, 2024
ed74daa
Merge branch 'release/v8.3.0' into fix/main-for-ie
maxkadushkin Dec 10, 2024
8d61d5c
Merge pull request '[main] fix for IE' (#167) from fix/main-for-ie in…
maxkadushkin Dec 10, 2024
a2a9e24
Submit forms: change default value, handle in the mobile editor
JuliaRadzhabova Dec 10, 2024
30421e3
Fix api
JuliaRadzhabova Dec 10, 2024
c365d66
Merge pull request '[PDF form] Change message after submitting form' …
Dec 10, 2024
36565b7
Add onUserActionRequired event
JuliaRadzhabova Dec 10, 2024
18b7c22
Merge pull request 'Add onUserActionRequired event' (#169) from featu…
Dec 10, 2024
6b2639b
[forms] debug
maxkadushkin Dec 10, 2024
3d6b90f
[deploy] fix for IE
maxkadushkin Dec 10, 2024
ea54976
[forms] fix for IE
maxkadushkin Dec 10, 2024
f11ef19
[PDF] Change annotation color
JuliaRadzhabova Dec 10, 2024
1a67862
Fix bug
JuliaRadzhabova Dec 10, 2024
a76359c
[PDF] Change style of the color button
JuliaRadzhabova Dec 10, 2024
ff716f2
Refactoring
JuliaRadzhabova Dec 10, 2024
19608fd
Refactoring
JuliaRadzhabova Dec 10, 2024
21f59b5
[VE] debug buid for IE
maxkadushkin Dec 11, 2024
60982b9
[main] debug build for IE
maxkadushkin Dec 11, 2024
282107a
Fix language menu
JuliaRadzhabova Dec 11, 2024
68b39b5
Merge pull request 'Fix language menu' (#171) from fix/bugfix into re…
Dec 11, 2024
858179a
[forms] fix stylesheet for IE
maxkadushkin Dec 11, 2024
f5e069b
[Forms] Fix ie styles
JuliaRadzhabova Dec 11, 2024
c1cad8d
Add file types for visio
JuliaRadzhabova Dec 11, 2024
ae42027
Merge pull request 'fix/bugfix' (#172) from fix/bugfix into release/v…
Dec 11, 2024
53c7a4d
[PDF] Fix disconnect
JuliaRadzhabova Dec 11, 2024
f459a9a
Update translation
JuliaRadzhabova Dec 11, 2024
77fc6a2
Adding transparency settings for image
Dec 11, 2024
c973ced
Merge pull request 'feature/pdf-change-annot' (#170) from feature/pdf…
Dec 11, 2024
f64baf0
Merge pull request 'Adding transparency settings for image' (#173) fr…
Dec 12, 2024
58d9f39
[deploy] fix for IE
maxkadushkin Dec 12, 2024
3502950
Merge branch 'release/v8.3.0' of https://git.onlyoffice.com/ONLYOFFIC…
maxkadushkin Dec 12, 2024
2ad4483
fix hint
Dec 12, 2024
946794e
[SSE] For Bug 72019
JuliaRadzhabova Dec 12, 2024
b075161
Merge branch 'feature/shapes-merge' into fix/merge
JuliaRadzhabova Dec 12, 2024
a1c8faa
Update translation
JuliaRadzhabova Dec 12, 2024
7e748a9
Merge pull request 'fix/merge' (#175) from fix/merge into release/v8.3.0
Dec 12, 2024
195cfdd
[SSE] Hide pivot button in the right pane
JuliaRadzhabova Dec 12, 2024
731cb04
[SSE] Move pivot button
JuliaRadzhabova Dec 12, 2024
45367eb
Merge pull request 'feature/sse-hide-pivot-btn' (#176) from feature/s…
Dec 12, 2024
2c6dc27
[DE] Refactoring document holder controller
JuliaRadzhabova Dec 12, 2024
21b724f
[main] debug apps help loading
maxkadushkin Dec 13, 2024
24ebe0c
Merge pull request '[SSE] For Bug 72019' (#177) from fix/bug-72019 in…
Dec 13, 2024
42d2220
Fix Bug 72074
JuliaRadzhabova Dec 13, 2024
0dee7d2
Merge pull request 'Fix Bug 72074' (#178) from fix/bugfix into releas…
Dec 13, 2024
7265b02
[VE] Add embedded viewer
JuliaRadzhabova Dec 13, 2024
c5235e4
[VE] Fix rtl
JuliaRadzhabova Dec 13, 2024
50ef2a9
[VE] Fix loading in embed mode
JuliaRadzhabova Dec 13, 2024
5280512
[VE] Refactoring
JuliaRadzhabova Dec 13, 2024
16c8747
[VE embed] Fix build
JuliaRadzhabova Dec 13, 2024
d710575
[VE] Add translation
JuliaRadzhabova Dec 13, 2024
6a0be66
[VE] Fix translation
JuliaRadzhabova Dec 13, 2024
c46b21b
Fix loading
JuliaRadzhabova Dec 13, 2024
adb4a6f
Merge pull request 'feature/ve-embed' (#179) from feature/ve-embed in…
Dec 13, 2024
fe6ffff
Update translation
JuliaRadzhabova Dec 13, 2024
6dcbbf0
Merge pull request 'Update translation' (#180) from fix/translation i…
Dec 13, 2024
c833c24
[PE] Refactoring document holder controller
JuliaRadzhabova Dec 13, 2024
00a0c7a
[PE] Fix context menu
JuliaRadzhabova Dec 13, 2024
a8a6705
[SSE] Refactoring document holder controller
JuliaRadzhabova Dec 13, 2024
d830603
Refactoring
JuliaRadzhabova Dec 13, 2024
60e616b
[mobile] added SvgIcon component
maxkadushkin Dec 14, 2024
b298f92
Fix plugin's window
JuliaRadzhabova Dec 16, 2024
cc3e1b2
Merge pull request 'Fix plugin's window' (#181) from fix/bugfix into…
Dec 16, 2024
cda129b
[SSE] fix bug 72053
maxkadushkin Dec 16, 2024
6f93027
Fix resizing of the plugin window
JuliaRadzhabova Dec 16, 2024
9e777cb
Merge pull request 'Fix resizing of the plugin window' (#182) from fi…
Dec 16, 2024
95274ff
[mobile] fix build
maxkadushkin Dec 16, 2024
5d90a39
[SSE] Add settings for default sheet direction
JuliaRadzhabova Dec 16, 2024
c9d7803
[PE] Fix bug 71962
Basher0303 Dec 17, 2024
c5de024
Merge pull request '[PE] Fix bug 71962' (#183) from fix/bug-71962 int…
Dec 17, 2024
082e3b4
[PDF] Fix context menu
JuliaRadzhabova Dec 17, 2024
570ee41
Merge pull request '[PDF] Fix context menu' (#184) from fix/bugfix in…
Dec 17, 2024
20cb806
styles update
denisdokin Dec 17, 2024
c238ac4
[PDF] Handle PDFFormsLocked error
JuliaRadzhabova Dec 17, 2024
7f0cdfb
Merge pull request '[PDF] Handle PDFFormsLocked error' (#186) from fi…
Dec 17, 2024
2053d15
Merge pull request 'fix/toolbar-header-color-contrast' (#185) from fi…
Dec 18, 2024
812c33c
Merge pull request '[SSE] Add settings for default sheet direction' (…
Dec 18, 2024
63e3f88
[SSE] Fix for pivot calculated items
Basher0303 Dec 18, 2024
92b750d
[SSE] Add locale for pivot calculated items
Basher0303 Dec 18, 2024
83eb403
Fix Bug 72161
JuliaRadzhabova Dec 18, 2024
514aea6
Merge pull request 'Fix Bug 72161' (#188) from fix/bugfix into releas…
Dec 18, 2024
630455c
Set focus to document after click in the left menu
JuliaRadzhabova Dec 18, 2024
ed9f696
[PDF] Fix context menu
JuliaRadzhabova Dec 18, 2024
3e72e1c
Merge pull request '[PDF] Fix context menu' (#189) from fix/bugfix in…
Dec 18, 2024
2a65945
[all] fix for IE
maxkadushkin Dec 18, 2024
1544d60
Hide loader on refresh/disconnect operations
JuliaRadzhabova Dec 18, 2024
14cfa11
Fix contex menu
JuliaRadzhabova Dec 18, 2024
0f59e0f
Merge branch 'release/v8.3.0' into fix/dh-refactoring
JuliaRadzhabova Dec 18, 2024
218e610
Merge pull request 'fix/dh-refactoring' (#190) from fix/dh-refactorin…
Dec 18, 2024
6d99fca
Merge pull request 'Set focus to document after click in the left men…
Dec 19, 2024
6594e9b
Disable undo/redo on disconnect
JuliaRadzhabova Dec 19, 2024
8e24a24
Refactoring
JuliaRadzhabova Dec 19, 2024
d437688
Fix Bug 72155
JuliaRadzhabova Dec 19, 2024
a932343
Merge pull request 'Fix Bug 72155' (#192) from fix/bugfix into releas…
Dec 19, 2024
52838db
[SSE] Add texts for errors
Basher0303 Dec 19, 2024
acd4d6f
[SSE] Add el locale
Basher0303 Dec 19, 2024
e202cd4
[SSE] Add locale
Basher0303 Dec 19, 2024
0a32b47
Merge branch 'release/v8.3.0' into feature/pivot-calculated-items
Basher0303 Dec 19, 2024
0bccc80
Merge pull request 'feature/pivot-calculated-items' (#193) from featu…
Dec 19, 2024
643b785
For bug 72155
JuliaRadzhabova Dec 20, 2024
ce2ab04
Merge pull request 'For bug 72155' (#194) from fix/bugfix into releas…
Dec 20, 2024
a9cb207
Fix resizing plugin's windows
JuliaRadzhabova Dec 20, 2024
cb573d1
Fix resizing macro dialog
JuliaRadzhabova Dec 20, 2024
e2252bd
icon-upload
denisdokin Dec 20, 2024
0a6433a
Add Serbian translafions
svetlana81 Dec 20, 2024
61abf56
Fix bug 71429
svetlana81 Dec 20, 2024
e09a994
Merge pull request 'feature-stamp' (#195) from feature/stamp into rel…
Dec 20, 2024
37586ea
Update translation
JuliaRadzhabova Dec 20, 2024
f0dd61c
Merge pull request 'Update translation' (#197) from fix/translation i…
Dec 20, 2024
db00c07
Update help. Fix bug 71600
svetlana81 Dec 20, 2024
3085760
Merge pull request 'Update help. Fix bug 71600' (#198) from feature/u…
Dec 20, 2024
8c5ac01
Merge pull request 'feature/csv-delimiter' (#199) from feature/csv-de…
Dec 20, 2024
d073555
[PDF] Set opacity for annotation
JuliaRadzhabova Dec 20, 2024
f4a59df
[PDF] Change annotation opacity from the quick-access toolbar
JuliaRadzhabova Dec 20, 2024
96b55db
Fix palette style
JuliaRadzhabova Dec 20, 2024
54c1fde
[PDF] Fix changing opacity
JuliaRadzhabova Dec 23, 2024
ff1d505
Merge pull request 'feature/pdf-annot-opacity' (#200) from feature/pd…
Dec 23, 2024
c6fbed0
[common mobile] Fix error when empty input for search input
Basher0303 Dec 23, 2024
70fcc94
Merge pull request '[common mobile] Fix error when empty input for se…
maxkadushkin Dec 23, 2024
6c9a1df
[SSE] Bug 72224
JuliaRadzhabova Dec 23, 2024
1f5ac95
[SSE] Fix argument value
JuliaRadzhabova Dec 24, 2024
9686d0a
Merge pull request 'fix/bug-72224' (#202) from fix/bug-72224 into rel…
Dec 24, 2024
1b4d9f9
Fix styles for small buttons in menu (draw, annotation, move-buttons …
JuliaRadzhabova Dec 24, 2024
7371921
Update translation
JuliaRadzhabova Dec 24, 2024
a960cc2
Merge pull request 'fix/bugfix' (#203) from fix/bugfix into release/v…
Dec 24, 2024
ee845ae
Fix updating file: check onOutdatedVersion event
JuliaRadzhabova Dec 24, 2024
b0b8f02
Merge pull request 'fix/update-msg' (#204) from fix/update-msg into r…
Dec 24, 2024
2e469e0
Merge pull request 'Fix updating file: check onOutdatedVersion event'…
Dec 24, 2024
e944e62
Fix Bug 72286
JuliaRadzhabova Dec 24, 2024
2cd20fd
Merge pull request 'Fix Bug 72286' (#206) from fix/bugfix into releas…
Dec 24, 2024
f2d1306
For Bug 70733
JuliaRadzhabova Dec 24, 2024
22f09d0
Fix Bug 70733 (+ fix click on placeholders in PE)
JuliaRadzhabova Dec 24, 2024
154054f
Merge pull request 'fix/bugfix' (#207) from fix/bugfix into release/v…
Dec 24, 2024
9e9723e
Merge pull request 'fix/resize-plugins' (#208) from fix/resize-plugin…
Dec 24, 2024
430d61a
Fix the grabFocus method for spreadsheeteditor
Dec 25, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
36 changes: 28 additions & 8 deletions apps/api/documents/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
type: 'desktop or mobile or embedded',
width: '100% by default',
height: '100% by default',
documentType: 'word' | 'cell' | 'slide' | 'pdf' ,// deprecate 'text' | 'spreadsheet' | 'presentation',
documentType: 'word' | 'cell' | 'slide' | 'pdf' | 'visio' ,// deprecate 'text' | 'spreadsheet' | 'presentation',
token: <string> encrypted signature
document: {
title: 'document title',
Expand Down Expand Up @@ -252,6 +252,10 @@
mobile: {
forceView: true/false (default: true) // turn on/off the 'reader' mode on launch. for mobile document editor only
standardView: true/false (default: false) // open editor in 'Standard view' instead of 'Mobile view'
},
submitForm: {
visible: true/false (default: true)
resultMessage: 'text'/''/null/undefined // if '' - don't show a message after submitting form, null/undefined - show the default message
}
},
coEditing: {
Expand Down Expand Up @@ -284,7 +288,7 @@
'onError': <error callback>,
'onWarning': <warning callback>,
'onInfo': <document open callback>,// send view or edit mode
'onOutdatedVersion': <outdated version callback>,// send when previous version is opened
'onOutdatedVersion': <outdated version callback>,// send when previous version is opened, deprecated: use onRequestRefreshFile/refreshFile instead
'onDownloadAs': <download as callback>,// send url of downloaded file as a response for downloadAs method
'onRequestSaveAs': <try to save copy of the document>,
'onCollaborativeChanges': <co-editing changes callback>,// send when other user co-edit document
Expand All @@ -306,6 +310,8 @@
'onSaveDocument': 'save document from binary',
'onRequestStartFilling': <try to start filling forms> // used in pdf-form edit mode. must call startFilling method
'onSubmit': <filled form is submitted> // send when filled form is submitted successfully
'onRequestRefreshFile': <request new file version> // send when file version is updated. use instead of onOutdatedVersion
'onUserActionRequired': <user action callback> // send if the user needs to enter a password or select encoding/delimiters when opening a file
}
}

Expand Down Expand Up @@ -376,6 +382,8 @@
_config.editorConfig.canRequestReferenceSource = _config.events && !!_config.events.onRequestReferenceSource;
_config.editorConfig.canSaveDocumentToBinary = _config.events && !!_config.events.onSaveDocument;
_config.editorConfig.canStartFilling = _config.events && !!_config.events.onRequestStartFilling;
_config.editorConfig.canRequestRefreshFile = _config.events && !!_config.events.onRequestRefreshFile;
_config.editorConfig.canUpdateVersion = _config.events && !!_config.events.onOutdatedVersion;
_config.frameEditorId = placeholderId;
_config.parentOrigin = window.location.origin;

Expand Down Expand Up @@ -454,11 +462,12 @@
'word': 'docx',
'cell': 'xlsx',
'slide': 'pptx',
'pdf': 'pdf'
'pdf': 'pdf',
'visio': 'vsdx'
}, app;

if (_config.documentType=='text' || _config.documentType=='spreadsheet' ||_config.documentType=='presentation')
console.warn("The \"documentType\" parameter for the config object must take one of the values word/cell/slide/pdf.");
console.warn("The \"documentType\" parameter for the config object must take one of the values word/cell/slide/pdf/visio.");

if (typeof _config.documentType === 'string' && _config.documentType != '') {
app = appMap[_config.documentType.toLowerCase()];
Expand All @@ -472,7 +481,7 @@

if (typeof _config.document.fileType === 'string' && _config.document.fileType != '') {
_config.document.fileType = _config.document.fileType.toLowerCase();
var type = /^(?:(xls|xlsx|ods|csv|gsheet|xlsm|xlt|xltm|xltx|fods|ots|xlsb|sxc|et|ett)|(pps|ppsx|ppt|pptx|odp|gslides|pot|potm|potx|ppsm|pptm|fodp|otp|sxi|dps|dpt)|(pdf|djvu|xps|oxps)|(doc|docx|odt|gdoc|txt|rtf|mht|htm|html|mhtml|epub|docm|dot|dotm|dotx|fodt|ott|fb2|xml|oform|docxf|sxw|stw|wps|wpt))$/
var type = /^(?:(xls|xlsx|ods|csv|gsheet|xlsm|xlt|xltm|xltx|fods|ots|xlsb|sxc|et|ett|numbers)|(pps|ppsx|ppt|pptx|odp|gslides|pot|potm|potx|ppsm|pptm|fodp|otp|sxi|dps|dpt|key)|(pdf|djvu|xps|oxps)|(doc|docx|odt|gdoc|txt|rtf|mht|htm|html|mhtml|epub|docm|dot|dotm|dotx|fodt|ott|fb2|xml|oform|docxf|sxw|stw|wps|wpt|pages)|(vsdx|vssx|vstx|vsdm|vssm|vstm))$/
.exec(_config.document.fileType);
if (!type) {
window.alert("The \"document.fileType\" parameter for the config object is invalid. Please correct it.");
Expand All @@ -481,7 +490,8 @@
if (typeof type[1] === 'string') _config.documentType = 'cell'; else
if (typeof type[2] === 'string') _config.documentType = 'slide'; else
if (typeof type[3] === 'string') _config.documentType = 'pdf'; else
if (typeof type[4] === 'string') _config.documentType = 'word';
if (typeof type[4] === 'string') _config.documentType = 'word'; else
if (typeof type[5] === 'string') _config.documentType = 'visio';
}
}

Expand Down Expand Up @@ -835,6 +845,13 @@
});
};

var _refreshFile = function(data) {
_sendCommand({
command: 'refreshFile',
data: data
});
};

var _serviceCommand = function(command, data) {
_sendCommand({
command: 'internalCommand',
Expand Down Expand Up @@ -871,6 +888,7 @@
grabFocus : _grabFocus,
blurFocus : _blurFocus,
setReferenceData : _setReferenceData,
refreshFile : _refreshFile,
setRequestedDocument: _setRequestedDocument,
setRequestedSpreadsheet: _setRequestedSpreadsheet,
setReferenceSource: _setReferenceSource,
Expand Down Expand Up @@ -1007,6 +1025,7 @@
'cell': 'spreadsheeteditor',
'slide': 'presentationeditor',
'pdf': 'pdfeditor',
'visio': 'visioeditor',
'common': 'common'
},
appType = 'word',
Expand All @@ -1015,7 +1034,7 @@
isForm = false;
if (config.document) {
if (typeof config.document.fileType === 'string')
type = /^(?:(pdf)|(djvu|xps|oxps)|(xls|xlsx|ods|csv|xlst|xlsy|gsheet|xlsm|xlt|xltm|xltx|fods|ots|xlsb)|(pps|ppsx|ppt|pptx|odp|pptt|ppty|gslides|pot|potm|potx|ppsm|pptm|fodp|otp)|(oform|docxf))$/
type = /^(?:(pdf)|(djvu|xps|oxps)|(xls|xlsx|ods|csv|xlst|xlsy|gsheet|xlsm|xlt|xltm|xltx|fods|ots|xlsb|numbers)|(pps|ppsx|ppt|pptx|odp|pptt|ppty|gslides|pot|potm|potx|ppsm|pptm|fodp|otp|key)|(oform|docxf)|(vsdx|vssx|vstx|vsdm|vssm|vstm))$/
.exec(config.document.fileType);

if (config.document.permissions)
Expand All @@ -1037,7 +1056,8 @@
appType = config.documentType.toLowerCase();
else {
if (type && typeof type[3] === 'string') appType = 'cell'; else
if (type && typeof type[4] === 'string') appType = 'slide';
if (type && typeof type[4] === 'string') appType = 'slide'; else
if (type && typeof type[6] === 'string') appType = 'visio';
}
}
if (!(config.editorConfig && config.editorConfig.shardkey && config.document && config.editorConfig.shardkey!==config.document.key))
Expand Down
12 changes: 12 additions & 0 deletions apps/common/Gateway.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,10 @@ if (window.Common === undefined) {
$me.trigger('setreferencedata', data);
},

'refreshFile': function(data) {
$me.trigger('refreshfile', data);
},

'setRequestedDocument': function(data) {
$me.trigger('setrequesteddocument', data);
},
Expand Down Expand Up @@ -406,6 +410,14 @@ if (window.Common === undefined) {
_postMessage({ event: 'onPluginsReady' });
},

requestRefreshFile: function() {
_postMessage({ event: 'onRequestRefreshFile' });
},

userActionRequired: function() {
_postMessage({ event: 'onUserActionRequired' });
},

saveDocument: function(data) {
data && _postMessage({
event: 'onSaveDocument',
Expand Down
42 changes: 42 additions & 0 deletions apps/common/embed/lib/util/htmlutils.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
const isIE = /msie|trident/i.test(navigator.userAgent);

var checkLocalStorage = (function () {
try {
var storage = window['localStorage'];
return true;
}
catch(e) {
return false;
}
})();

if (!window.lang) {
window.lang = (/(?:&|^)lang=([^&]+)&?/i).exec(window.location.search.substring(1));
window.lang = window.lang ? window.lang[1] : '';
}
window.lang && (window.lang = window.lang.split(/[\-\_]/)[0].toLowerCase());

var isLangRtl = function (lang) {
return lang.lastIndexOf('ar', 0) === 0 || lang.lastIndexOf('he', 0) === 0;
}

var ui_rtl = false;
if ( window.nativeprocvars && window.nativeprocvars.rtl !== undefined ) {
ui_rtl = window.nativeprocvars.rtl;
} else {
if ( isLangRtl(lang) )
if ( checkLocalStorage && localStorage.getItem("ui-rtl") !== null )
ui_rtl = localStorage.getItem("ui-rtl") === '1';
else ui_rtl = true;
}

if ( ui_rtl && !isIE ) {
document.body.setAttribute('dir', 'rtl');
document.body.classList.add('rtl');
}
if ( isLangRtl(lang) ) {
document.body.classList.add('rtl-font');
}
document.body.setAttribute('applang', lang);

window.isrtl = window.getComputedStyle(document.body).direction === 'rtl';
3 changes: 2 additions & 1 deletion apps/common/embed/lib/util/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,8 @@
getOffset: getOffset,
setOffset: setOffset,
getPosition: getPosition,
isMac : isMac
isMac : isMac,
isIE: isIE
};
})();
}();
1 change: 0 additions & 1 deletion apps/common/embed/lib/view/SearchBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@ common.view.SearchBar = new(function() {
var $results = $('#search-bar-results'),
$input = $('#search-bar-text');
$results.text(!all || $input.val() === '' ? '0/0' : current + 1 + '/' + all);
$input.css('padding-right', $results.outerWidth() + 'px');
},

textFind: 'Find'
Expand Down
Loading