Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
sdkjs
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
sdkjs
Commits
36c17c9b
Commit
36c17c9b
authored
Jul 06, 2017
by
SergeyLuzyanin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
notes
parent
37458723
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
314 additions
and
188 deletions
+314
-188
slide/Editor/DrawingObjectsController.js
slide/Editor/DrawingObjectsController.js
+11
-6
slide/Editor/Format/Notes.js
slide/Editor/Format/Notes.js
+9
-0
slide/Editor/Format/Presentation.js
slide/Editor/Format/Presentation.js
+290
-182
slide/Editor/Format/Slide.js
slide/Editor/Format/Slide.js
+4
-0
No files found.
slide/Editor/DrawingObjectsController.js
View file @
36c17c9b
...
...
@@ -42,7 +42,7 @@ var History = AscCommon.History;
DrawingObjectsController
.
prototype
.
getTheme
=
function
()
{
return
this
.
drawingObjects
.
Layout
.
Master
.
Theme
;
return
this
.
drawingObjects
.
getTheme
()
;
};
DrawingObjectsController
.
prototype
.
getDrawingArray
=
function
()
...
...
@@ -81,6 +81,13 @@ DrawingObjectsController.prototype.getColorMap = function()
}
}
}
else
if
(
this
.
drawingObjects
.
Master
)
{
if
(
this
.
drawingObjects
.
Master
.
clrMap
)
{
return
this
.
drawingObjects
.
Master
.
clrMap
;
}
}
}
return
AscFormat
.
G_O_DEFAULT_COLOR_MAP
;
};
...
...
@@ -157,11 +164,6 @@ DrawingObjectsController.prototype.getDrawingDocument = function()
{
return
editor
.
WordControl
.
m_oDrawingDocument
;
};
DrawingObjectsController
.
prototype
.
getTheme
=
function
()
{
return
this
.
drawingObjects
.
Layout
.
Master
.
Theme
;
};
DrawingObjectsController
.
prototype
.
onMouseDown
=
function
(
e
,
x
,
y
)
{
...
...
@@ -299,6 +301,9 @@ DrawingObjectsController.prototype.editChart = function(binary)
DrawingObjectsController
.
prototype
.
handleSlideComments
=
function
(
e
,
x
,
y
,
pageIndex
)
{
if
(
!
this
.
drawingObjects
.
slideComments
){
return
;
}
var
comments
=
this
.
drawingObjects
.
slideComments
.
comments
,
i
,
index_selected
=
-
1
;
var
ret
=
{
result
:
null
,
selectedIndex
:
-
1
};
if
(
this
.
handleEventMode
===
HANDLE_EVENT_MODE_HANDLE
)
...
...
slide/Editor/Format/Notes.js
View file @
36c17c9b
...
...
@@ -178,6 +178,15 @@
}
};
CNotes
.
prototype
.
getDrawingDocument
=
function
()
{
return
editor
.
WordControl
.
m_oDrawingDocument
;
};
CNotes
.
prototype
.
getTheme
=
function
(){
return
this
.
Master
.
Theme
;
};
function
CreateNotes
(){
var
oN
=
new
CNotes
();
var
oSp
=
new
AscFormat
.
CShape
();
...
...
slide/Editor/Format/Presentation.js
View file @
36c17c9b
This diff is collapsed.
Click to expand it.
slide/Editor/Format/Slide.js
View file @
36c17c9b
...
...
@@ -1102,6 +1102,10 @@ Slide.prototype =
}
},
getTheme
:
function
(){
return
this
.
Layout
.
Master
.
Theme
;
},
drawSelect
:
function
(
_type
)
{
if
(
_type
===
undefined
)
...
...
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