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
65251b52
Commit
65251b52
authored
Oct 24, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Debug equations.
parent
381e886e
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
8 deletions
+7
-8
apps/spreadsheeteditor/main/app/controller/DocumentHolder.js
apps/spreadsheeteditor/main/app/controller/DocumentHolder.js
+2
-3
apps/spreadsheeteditor/main/app/view/DocumentHolder.js
apps/spreadsheeteditor/main/app/view/DocumentHolder.js
+0
-5
apps/spreadsheeteditor/main/resources/img/toolbar/math.png
apps/spreadsheeteditor/main/resources/img/toolbar/math.png
+0
-0
apps/spreadsheeteditor/main/resources/img/toolbar/math@2x.png
.../spreadsheeteditor/main/resources/img/toolbar/math@2x.png
+0
-0
apps/spreadsheeteditor/main/resources/less/toolbar.less
apps/spreadsheeteditor/main/resources/less/toolbar.less
+5
-0
No files found.
apps/spreadsheeteditor/main/app/controller/DocumentHolder.js
View file @
65251b52
...
...
@@ -1243,12 +1243,11 @@ define([
eqlen
=
this
.
addEquationMenu
(
4
);
}
else
this
.
clearEquationMenu
(
4
);
documentHolder
.
menuEquationSeparator
.
setVisible
(
isEquation
&&
eqlen
>
0
);
if
(
showMenu
)
this
.
showPopupMenu
(
documentHolder
.
textInShapeMenu
,
{},
event
);
documentHolder
.
textInShapeMenu
.
items
[
3
].
setVisible
(
documentHolder
.
menuHyperlinkShape
.
isVisible
()
||
documentHolder
.
menuAddHyperlinkShape
.
isVisible
()
||
documentHolder
.
menuParagraphVAlign
.
isVisible
());
documentHolder
.
menuParagraphVAlign
.
isVisible
()
||
isEquation
);
}
else
if
(
!
this
.
permissions
.
isEditMailMerge
&&
!
this
.
permissions
.
isEditDiagram
||
(
seltype
!==
Asc
.
c_oAscSelectionType
.
RangeImage
&&
seltype
!==
Asc
.
c_oAscSelectionType
.
RangeShape
&&
seltype
!==
Asc
.
c_oAscSelectionType
.
RangeChart
&&
seltype
!==
Asc
.
c_oAscSelectionType
.
RangeChartText
&&
seltype
!==
Asc
.
c_oAscSelectionType
.
RangeShapeText
))
{
if
(
!
showMenu
&&
!
documentHolder
.
ssMenu
.
isVisible
())
return
;
...
...
@@ -1561,7 +1560,7 @@ define([
},
initEquationMenu
:
function
()
{
if
(
!
me
.
_currentMathObj
)
return
;
if
(
!
this
.
_currentMathObj
)
return
;
var
me
=
this
,
type
=
me
.
_currentMathObj
.
get_Type
(),
value
=
me
.
_currentMathObj
,
...
...
apps/spreadsheeteditor/main/app/view/DocumentHolder.js
View file @
65251b52
...
...
@@ -558,17 +558,12 @@ define([
value
:
'
paste
'
});
me
.
menuEquationSeparator
=
new
Common
.
UI
.
MenuItem
({
caption
:
'
--
'
});
this
.
textInShapeMenu
=
new
Common
.
UI
.
Menu
({
items
:
[
me
.
pmiTextCut
,
me
.
pmiTextCopy
,
me
.
pmiTextPaste
,
{
caption
:
'
--
'
},
me
.
menuEquationSeparator
,
me
.
menuParagraphVAlign
,
me
.
menuParagraphDirection
,
me
.
menuAddHyperlinkShape
,
...
...
apps/spreadsheeteditor/main/resources/img/toolbar/math.png
0 → 100644
View file @
65251b52
38.1 KB
apps/spreadsheeteditor/main/resources/img/toolbar/math@2x.png
0 → 100644
View file @
65251b52
95.3 KB
apps/spreadsheeteditor/main/resources/less/toolbar.less
View file @
65251b52
...
...
@@ -253,3 +253,8 @@
margin-bottom: -2px;
}
}
.item-equation {
border: 1px solid @gray;
.background-ximage('@{app-image-path}/toolbar/math.png', '@{app-image-path}/toolbar/math@2x.png', 1500px);
}
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