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
6bb74709
Commit
6bb74709
authored
Oct 21, 2016
by
Julia Radzhabova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[SSE] Add equations.
parent
9d8bcd6a
Changes
10
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
1135 additions
and
36 deletions
+1135
-36
apps/common/main/lib/util/define.js
apps/common/main/lib/util/define.js
+416
-0
apps/spreadsheeteditor/main/app/collection/EquationGroups.js
apps/spreadsheeteditor/main/app/collection/EquationGroups.js
+53
-0
apps/spreadsheeteditor/main/app/controller/Main.js
apps/spreadsheeteditor/main/app/controller/Main.js
+1
-0
apps/spreadsheeteditor/main/app/controller/Toolbar.js
apps/spreadsheeteditor/main/app/controller/Toolbar.js
+546
-3
apps/spreadsheeteditor/main/app/model/EquationGroup.js
apps/spreadsheeteditor/main/app/model/EquationGroup.js
+71
-0
apps/spreadsheeteditor/main/app/template/Toolbar.template
apps/spreadsheeteditor/main/app/template/Toolbar.template
+2
-1
apps/spreadsheeteditor/main/app/view/Toolbar.js
apps/spreadsheeteditor/main/app/view/Toolbar.js
+45
-32
apps/spreadsheeteditor/main/resources/img/toolbar-menu.png
apps/spreadsheeteditor/main/resources/img/toolbar-menu.png
+0
-0
apps/spreadsheeteditor/main/resources/img/toolbar-menu@2x.png
.../spreadsheeteditor/main/resources/img/toolbar-menu@2x.png
+0
-0
apps/spreadsheeteditor/main/resources/less/toolbar.less
apps/spreadsheeteditor/main/resources/less/toolbar.less
+1
-0
No files found.
apps/common/main/lib/util/define.js
0 → 100644
View file @
6bb74709
This diff is collapsed.
Click to expand it.
apps/spreadsheeteditor/main/app/collection/EquationGroups.js
0 → 100644
View file @
6bb74709
/*
*
* (c) Copyright Ascensio System Limited 2010-2016
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
/**
* EquationGroups.js
*
* Created by Alexey Musinov on 29/10/14
* Copyright (c) 2014 Ascensio System SIA. All rights reserved.
*
*/
define
([
'
backbone
'
,
'
spreadsheeteditor/main/app/model/EquationGroup
'
],
function
(
Backbone
){
'
use strict
'
;
if
(
Common
===
undefined
)
var
Common
=
{};
Common
.
Collections
=
Common
.
Collections
||
{};
SSE
.
Collections
.
EquationGroups
=
Backbone
.
Collection
.
extend
({
model
:
SSE
.
Models
.
EquationGroup
});
});
apps/spreadsheeteditor/main/app/controller/Main.js
View file @
6bb74709
...
...
@@ -52,6 +52,7 @@ define([
'
common/main/lib/util/LanguageInfo
'
,
'
spreadsheeteditor/main/app/collection/ShapeGroups
'
,
'
spreadsheeteditor/main/app/collection/TableTemplates
'
,
'
spreadsheeteditor/main/app/collection/EquationGroups
'
,
'
spreadsheeteditor/main/app/controller/FormulaDialog
'
,
'
spreadsheeteditor/main/app/view/FormulaLang
'
],
function
()
{
...
...
apps/spreadsheeteditor/main/app/controller/Toolbar.js
View file @
6bb74709
This diff is collapsed.
Click to expand it.
apps/spreadsheeteditor/main/app/model/EquationGroup.js
0 → 100644
View file @
6bb74709
/*
*
* (c) Copyright Ascensio System Limited 2010-2016
*
* This program is a free software product. You can redistribute it and/or
* modify it under the terms of the GNU Affero General Public License (AGPL)
* version 3 as published by the Free Software Foundation. In accordance with
* Section 7(a) of the GNU AGPL its Section 15 shall be amended to the effect
* that Ascensio System SIA expressly excludes the warranty of non-infringement
* of any third-party rights.
*
* This program is distributed WITHOUT ANY WARRANTY; without even the implied
* warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. For
* details, see the GNU AGPL at: http://www.gnu.org/licenses/agpl-3.0.html
*
* You can contact Ascensio System SIA at Lubanas st. 125a-25, Riga, Latvia,
* EU, LV-1021.
*
* The interactive user interfaces in modified source and object code versions
* of the Program must display Appropriate Legal Notices, as required under
* Section 5 of the GNU AGPL version 3.
*
* Pursuant to Section 7(b) of the License you must retain the original Product
* logo when distributing the program. Pursuant to Section 7(e) we decline to
* grant you any rights under trademark law for use of our trademarks.
*
* All the Product's GUI elements, including illustrations and icon sets, as
* well as technical writing content are licensed under the terms of the
* Creative Commons Attribution-ShareAlike 4.0 International. See the License
* terms at http://creativecommons.org/licenses/by-sa/4.0/legalcode
*
*/
/**
* EquationGroup.js
*
* Created by Alexey Musinov on 29/10/14
* Copyright (c) 2014 Ascensio System SIA. All rights reserved.
*
*/
define
([
'
backbone
'
],
function
(
Backbone
){
'
use strict
'
;
SSE
.
Models
=
SSE
.
Models
||
{};
SSE
.
Models
.
EquationModel
=
Backbone
.
Model
.
extend
({
defaults
:
function
()
{
return
{
id
:
Common
.
UI
.
getId
(),
data
:
null
,
width
:
0
,
height
:
0
,
posX
:
0
,
posY
:
0
}
}
});
SSE
.
Models
.
EquationGroup
=
Backbone
.
Model
.
extend
({
defaults
:
function
()
{
return
{
id
:
Common
.
UI
.
getId
(),
groupName
:
null
,
groupId
:
null
,
groupStore
:
null
}
}
});
});
apps/spreadsheeteditor/main/app/template/Toolbar.template
View file @
6bb74709
...
...
@@ -222,7 +222,8 @@
</div>
<div class="toolbar-row">
<span class="btn-placeholder split" id="id-toolbar-full-placeholder-btn-inserthyperlink"></span>
<span class="btn-placeholder " id="id-toolbar-full-placeholder-btn-insertshape"></span>
<span class="btn-placeholder split" id="id-toolbar-full-placeholder-btn-insertshape"></span>
<span class="btn-placeholder hidden" id="id-toolbar-full-placeholder-btn-insertequation"></span>
</div>
</div>
<div class="separator long"></div>
...
...
apps/spreadsheeteditor/main/app/view/Toolbar.js
View file @
6bb74709
This diff is collapsed.
Click to expand it.
apps/spreadsheeteditor/main/resources/img/toolbar-menu.png
View replaced file @
9d8bcd6a
View file @
6bb74709
13.4 KB
|
W:
|
H:
13.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
apps/spreadsheeteditor/main/resources/img/toolbar-menu@2x.png
View replaced file @
9d8bcd6a
View file @
6bb74709
33.9 KB
|
W:
|
H:
34.3 KB
|
W:
|
H:
2-up
Swipe
Onion skin
apps/spreadsheeteditor/main/resources/less/toolbar.less
View file @
6bb74709
...
...
@@ -188,6 +188,7 @@
.toolbar-btn-icon(btn-border-diagdown, 43, @toolbar-icon-size);
.toolbar-btn-icon(btn-named-range, 77, @toolbar-icon-size);
.toolbar-btn-icon(btn-insertequation, 82, @toolbar-icon-size);
@menu-icon-size: 22px;
.menu-btn-icon(mnu-align-center, 0, @menu-icon-size);
...
...
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