Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
web-apps
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
web-apps
Commits
de4dcb91
Commit
de4dcb91
authored
Nov 18, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Added "Freeze Panes" to the toolbar.
parent
7392d30a
Changes
13
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
29 additions
and
0 deletions
+29
-0
apps/spreadsheeteditor/main/app/controller/Toolbar.js
apps/spreadsheeteditor/main/app/controller/Toolbar.js
+8
-0
apps/spreadsheeteditor/main/app/view/Toolbar.js
apps/spreadsheeteditor/main/app/view/Toolbar.js
+10
-0
apps/spreadsheeteditor/main/locale/cs.json
apps/spreadsheeteditor/main/locale/cs.json
+1
-0
apps/spreadsheeteditor/main/locale/de.json
apps/spreadsheeteditor/main/locale/de.json
+1
-0
apps/spreadsheeteditor/main/locale/en.json
apps/spreadsheeteditor/main/locale/en.json
+1
-0
apps/spreadsheeteditor/main/locale/es.json
apps/spreadsheeteditor/main/locale/es.json
+1
-0
apps/spreadsheeteditor/main/locale/fr.json
apps/spreadsheeteditor/main/locale/fr.json
+1
-0
apps/spreadsheeteditor/main/locale/it.json
apps/spreadsheeteditor/main/locale/it.json
+1
-0
apps/spreadsheeteditor/main/locale/ja.json
apps/spreadsheeteditor/main/locale/ja.json
+1
-0
apps/spreadsheeteditor/main/locale/pt.json
apps/spreadsheeteditor/main/locale/pt.json
+1
-0
apps/spreadsheeteditor/main/locale/ru.json
apps/spreadsheeteditor/main/locale/ru.json
+1
-0
apps/spreadsheeteditor/main/locale/sl.json
apps/spreadsheeteditor/main/locale/sl.json
+1
-0
apps/spreadsheeteditor/main/locale/tr.json
apps/spreadsheeteditor/main/locale/tr.json
+1
-0
No files found.
apps/spreadsheeteditor/main/app/controller/Toolbar.js
View file @
de4dcb91
...
...
@@ -1137,6 +1137,7 @@ define([
case
'
formula
'
:
params
.
formula
=
item
.
checked
;
option
=
'
sse-hidden-formula
'
;
break
;
case
'
headings
'
:
params
.
headings
=
item
.
checked
;
break
;
case
'
gridlines
'
:
params
.
gridlines
=
item
.
checked
;
break
;
case
'
freezepanes
'
:
params
.
freezepanes
=
item
.
checked
;
break
;
}
this
.
hideElements
(
params
);
...
...
@@ -1473,6 +1474,7 @@ define([
var
params
=
this
.
api
.
asc_getSheetViewSettings
();
this
.
toolbar
.
mnuitemHideHeadings
.
setChecked
(
!
params
.
asc_getShowRowColHeaders
());
this
.
toolbar
.
mnuitemHideGridlines
.
setChecked
(
!
params
.
asc_getShowGridLines
());
this
.
toolbar
.
mnuitemFreezePanes
.
setChecked
(
params
.
asc_getIsFreezePane
());
}
},
...
...
@@ -1967,6 +1969,12 @@ define([
}
}
if
(
!
_
.
isUndefined
(
opts
.
freezepanes
))
{
if
(
this
.
api
)
{
this
.
api
.
asc_freezePane
();
}
}
Common
.
NotificationCenter
.
trigger
(
'
edit:complete
'
,
this
.
toolbar
);
},
...
...
apps/spreadsheeteditor/main/app/view/Toolbar.js
View file @
de4dcb91
...
...
@@ -908,6 +908,7 @@ define([
isChecked
:
function
()
{
return
this
.
conf
.
checked
;
}
};
this
.
mnuitemHideGridlines
=
clone
(
this
.
mnuitemHideHeadings
);
this
.
mnuitemFreezePanes
=
clone
(
this
.
mnuitemHideHeadings
);
this
.
mnuZoom
=
{
options
:
{
value
:
100
}
};
...
...
@@ -1323,6 +1324,7 @@ define([
checkable
:
true
,
value
:
'
formula
'
}),
{
caption
:
'
--
'
},
this
.
mnuitemHideHeadings
=
new
Common
.
UI
.
MenuItem
({
caption
:
this
.
textHideHeadings
,
checkable
:
true
,
...
...
@@ -1336,6 +1338,13 @@ define([
value
:
'
gridlines
'
}),
{
caption
:
'
--
'
},
this
.
mnuitemFreezePanes
=
new
Common
.
UI
.
MenuItem
({
caption
:
this
.
textFreezePanes
,
checkable
:
true
,
checked
:
this
.
mnuitemFreezePanes
.
isChecked
(),
value
:
'
freezepanes
'
}),
{
caption
:
'
--
'
},
this
.
mnuZoom
=
new
Common
.
UI
.
MenuItem
({
template
:
_
.
template
([
'
<div id="id-toolbar-menu-zoom" class="menu-zoom" style="height: 25px;"
'
,
...
...
@@ -1991,6 +2000,7 @@ define([
textHideFBar
:
'
Hide Formula Bar
'
,
textHideHeadings
:
'
Hide Headings
'
,
textHideGridlines
:
'
Hide Gridlines
'
,
textFreezePanes
:
'
Freeze Panes
'
,
txtScheme1
:
'
Office
'
,
txtScheme2
:
'
Grayscale
'
,
txtScheme3
:
'
Apex
'
,
...
...
apps/spreadsheeteditor/main/locale/cs.json
View file @
de4dcb91
...
...
@@ -872,6 +872,7 @@
"SSE.Views.Toolbar.textDiagUpBorder"
:
"Ohraničení diagonálně nahoru"
,
"SSE.Views.Toolbar.textEntireCol"
:
"Celý sloupec"
,
"SSE.Views.Toolbar.textEntireRow"
:
"Celý řádek"
,
"SSE.Views.Toolbar.textFreezePanes"
:
"Ukotvit příčky"
,
"SSE.Views.Toolbar.textHideFBar"
:
"Skrýt řádek vzorců"
,
"SSE.Views.Toolbar.textHideGridlines"
:
"Skrýt mřížku"
,
"SSE.Views.Toolbar.textHideHeadings"
:
"Skrýt nadpisy"
,
...
...
apps/spreadsheeteditor/main/locale/de.json
View file @
de4dcb91
...
...
@@ -989,6 +989,7 @@
"SSE.Views.Toolbar.textDiagUpBorder"
:
"Rahmenlinien diagonal nach oben"
,
"SSE.Views.Toolbar.textEntireCol"
:
"Ganze Spalte"
,
"SSE.Views.Toolbar.textEntireRow"
:
"Ganze Zeile"
,
"SSE.Views.Toolbar.textFreezePanes"
:
"Fensterausschnitten fixieren"
,
"SSE.Views.Toolbar.textHideFBar"
:
"Formelleiste vergeben"
,
"SSE.Views.Toolbar.textHideGridlines"
:
"Gitternetzlinien vergeben"
,
"SSE.Views.Toolbar.textHideHeadings"
:
"Überschriften vergeben"
,
...
...
apps/spreadsheeteditor/main/locale/en.json
View file @
de4dcb91
...
...
@@ -1424,6 +1424,7 @@
"SSE.Views.Toolbar.textDiagUpBorder"
:
"Diagonal Up Border"
,
"SSE.Views.Toolbar.textEntireCol"
:
"Entire Column"
,
"SSE.Views.Toolbar.textEntireRow"
:
"Entire Row"
,
"SSE.Views.Toolbar.textFreezePanes"
:
"Freeze Panes"
,
"SSE.Views.Toolbar.textHideFBar"
:
"Hide Formula Bar"
,
"SSE.Views.Toolbar.textHideGridlines"
:
"Hide Gridlines"
,
"SSE.Views.Toolbar.textHideHeadings"
:
"Hide Headings"
,
...
...
apps/spreadsheeteditor/main/locale/es.json
View file @
de4dcb91
...
...
@@ -999,6 +999,7 @@
"SSE.Views.Toolbar.textDiagUpBorder"
:
"Borde diagonal ascendente"
,
"SSE.Views.Toolbar.textEntireCol"
:
"Toda la columna"
,
"SSE.Views.Toolbar.textEntireRow"
:
"Toda la fila"
,
"SSE.Views.Toolbar.textFreezePanes"
:
"Inmovilizar paneles"
,
"SSE.Views.Toolbar.textHideFBar"
:
"Ocultar barra de fórmulas"
,
"SSE.Views.Toolbar.textHideGridlines"
:
"Ocultar cuadrícula"
,
"SSE.Views.Toolbar.textHideHeadings"
:
"Ocultar títulos"
,
...
...
apps/spreadsheeteditor/main/locale/fr.json
View file @
de4dcb91
...
...
@@ -1422,6 +1422,7 @@
"SSE.Views.Toolbar.textDiagUpBorder"
:
"Bordure diagonale haut"
,
"SSE.Views.Toolbar.textEntireCol"
:
"Colonne entière"
,
"SSE.Views.Toolbar.textEntireRow"
:
"Ligne entière"
,
"SSE.Views.Toolbar.textFreezePanes"
:
"Verrouiller les volets"
,
"SSE.Views.Toolbar.textHideFBar"
:
"Masquer la barre de formule"
,
"SSE.Views.Toolbar.textHideGridlines"
:
"Masquer le quadrillage"
,
"SSE.Views.Toolbar.textHideHeadings"
:
"Masquer les en-têtes"
,
...
...
apps/spreadsheeteditor/main/locale/it.json
View file @
de4dcb91
...
...
@@ -872,6 +872,7 @@
"SSE.Views.Toolbar.textDiagUpBorder"
:
"Bordo diagonale superiore"
,
"SSE.Views.Toolbar.textEntireCol"
:
"Colonna intera"
,
"SSE.Views.Toolbar.textEntireRow"
:
"Riga intera"
,
"SSE.Views.Toolbar.textFreezePanes"
:
"Blocca riquadri"
,
"SSE.Views.Toolbar.textHideFBar"
:
"Nascondi barra di formula"
,
"SSE.Views.Toolbar.textHideGridlines"
:
"Nascondi griglia"
,
"SSE.Views.Toolbar.textHideHeadings"
:
"Nascondi titoli"
,
...
...
apps/spreadsheeteditor/main/locale/ja.json
View file @
de4dcb91
...
...
@@ -976,6 +976,7 @@
"SSE.Views.Toolbar.textDiagUpBorder"
:
"斜め罫線 (右上がり)"
,
"SSE.Views.Toolbar.textEntireCol"
:
"列全体"
,
"SSE.Views.Toolbar.textEntireRow"
:
"行全体"
,
"SSE.Views.Toolbar.textFreezePanes"
:
"枠の固定"
,
"SSE.Views.Toolbar.textHideFBar"
:
"数式バーの非表示"
,
"SSE.Views.Toolbar.textHideGridlines"
:
"表のグリッド線を表示しない"
,
"SSE.Views.Toolbar.textHideHeadings"
:
"ヘッダー情報を表示しない"
,
...
...
apps/spreadsheeteditor/main/locale/pt.json
View file @
de4dcb91
...
...
@@ -872,6 +872,7 @@
"SSE.Views.Toolbar.textDiagUpBorder"
:
"Borda superior diagonal"
,
"SSE.Views.Toolbar.textEntireCol"
:
"Coluna inteira"
,
"SSE.Views.Toolbar.textEntireRow"
:
"Linha inteira"
,
"SSE.Views.Toolbar.textFreezePanes"
:
"Congelar painéis"
,
"SSE.Views.Toolbar.textHideFBar"
:
"Ocultar barra de fórmulas"
,
"SSE.Views.Toolbar.textHideGridlines"
:
"Ocultar linhas de grade"
,
"SSE.Views.Toolbar.textHideHeadings"
:
"Ocultar títulos"
,
...
...
apps/spreadsheeteditor/main/locale/ru.json
View file @
de4dcb91
...
...
@@ -1422,6 +1422,7 @@
"SSE.Views.Toolbar.textDiagUpBorder"
:
"Диагональная граница снизу вверх"
,
"SSE.Views.Toolbar.textEntireCol"
:
"Столбец"
,
"SSE.Views.Toolbar.textEntireRow"
:
"Строку"
,
"SSE.Views.Toolbar.textFreezePanes"
:
"Закрепить области"
,
"SSE.Views.Toolbar.textHideFBar"
:
"Скрыть строку формул"
,
"SSE.Views.Toolbar.textHideGridlines"
:
"Скрыть линии сетки"
,
"SSE.Views.Toolbar.textHideHeadings"
:
"Скрыть заголовки"
,
...
...
apps/spreadsheeteditor/main/locale/sl.json
View file @
de4dcb91
...
...
@@ -872,6 +872,7 @@
"SSE.Views.Toolbar.textDiagUpBorder"
:
"Diagonalna zgornja meja"
,
"SSE.Views.Toolbar.textEntireCol"
:
"Cel stolpec"
,
"SSE.Views.Toolbar.textEntireRow"
:
"Cela vrstica"
,
"SSE.Views.Toolbar.textFreezePanes"
:
"Zamrzni plošče"
,
"SSE.Views.Toolbar.textHideFBar"
:
"Skrij vrsto formule"
,
"SSE.Views.Toolbar.textHideGridlines"
:
"Skrij mrežne črte"
,
"SSE.Views.Toolbar.textHideHeadings"
:
"Skrij naslove"
,
...
...
apps/spreadsheeteditor/main/locale/tr.json
View file @
de4dcb91
...
...
@@ -872,6 +872,7 @@
"SSE.Views.Toolbar.textDiagUpBorder"
:
"Diagonal Up Border"
,
"SSE.Views.Toolbar.textEntireCol"
:
"Tüm sütun"
,
"SSE.Views.Toolbar.textEntireRow"
:
"Tüm satır"
,
"SSE.Views.Toolbar.textFreezePanes"
:
"Parçaları Dondur"
,
"SSE.Views.Toolbar.textHideFBar"
:
"Formül Çubuğunu Gizle"
,
"SSE.Views.Toolbar.textHideGridlines"
:
"Kılavuz Çizgileri Gizle"
,
"SSE.Views.Toolbar.textHideHeadings"
:
"Başlıkları Gizle"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment