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
fe4aedf1
Commit
fe4aedf1
authored
Jun 07, 2017
by
SergeyLuzyanin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix Bug 35073
parent
ea0fabf6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
11 deletions
+11
-11
slide/Editor/Format/NotesMaster.js
slide/Editor/Format/NotesMaster.js
+6
-6
slide/Editor/Format/ShapePrototype.js
slide/Editor/Format/ShapePrototype.js
+5
-5
No files found.
slide/Editor/Format/NotesMaster.js
View file @
fe4aedf1
...
...
@@ -194,7 +194,7 @@
var
oTxLstStyle
=
new
AscFormat
.
TextListStyle
();
oTxLstStyle
.
levels
[
0
]
=
new
CParaPr
();
oTxLstStyle
.
levels
[
0
].
Jc
=
AscCommon
.
align_Left
;
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
=
new
AscCommon
.
CTextPr
();
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
=
new
AscCommon
Word
.
CTextPr
();
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
.
FontSize
=
12
;
oSp
.
txBody
.
setLstStyle
(
oTxLstStyle
);
oSp
.
setParent
(
oNM
);
...
...
@@ -235,7 +235,7 @@
oTxLstStyle
=
new
AscFormat
.
TextListStyle
();
oTxLstStyle
.
levels
[
0
]
=
new
CParaPr
();
oTxLstStyle
.
levels
[
0
].
Jc
=
AscCommon
.
align_Right
;
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
=
new
AscCommon
.
CTextPr
();
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
=
new
AscCommon
Word
.
CTextPr
();
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
.
FontSize
=
12
;
//endParaPr
oSp
.
txBody
.
setLstStyle
(
oTxLstStyle
);
...
...
@@ -276,7 +276,7 @@
oTxLstStyle
=
new
AscFormat
.
TextListStyle
();
oTxLstStyle
.
levels
[
0
]
=
new
CParaPr
();
oTxLstStyle
.
levels
[
0
].
Jc
=
AscCommon
.
align_Right
;
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
=
new
AscCommon
.
CTextPr
();
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
=
new
AscCommon
Word
.
CTextPr
();
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
.
FontSize
=
12
;
//endParaPr
oSp
.
txBody
.
setLstStyle
(
oTxLstStyle
);
...
...
@@ -356,7 +356,7 @@
oTxLstStyle
=
new
AscFormat
.
TextListStyle
();
oTxLstStyle
.
levels
[
0
]
=
new
CParaPr
();
oTxLstStyle
.
levels
[
0
].
Jc
=
AscCommon
.
align_Left
;
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
=
new
AscCommon
.
CTextPr
();
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
=
new
AscCommon
Word
.
CTextPr
();
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
.
FontSize
=
12
;
//endParaPr
oSp
.
txBody
.
setLstStyle
(
oTxLstStyle
);
...
...
@@ -398,7 +398,7 @@
oTxLstStyle
=
new
AscFormat
.
TextListStyle
();
oTxLstStyle
.
levels
[
0
]
=
new
CParaPr
();
oTxLstStyle
.
levels
[
0
].
Jc
=
AscCommon
.
align_Right
;
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
=
new
AscCommon
.
CTextPr
();
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
=
new
AscCommon
Word
.
CTextPr
();
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
.
FontSize
=
12
;
//endParaPr
oSp
.
txBody
.
setLstStyle
(
oTxLstStyle
);
...
...
@@ -426,7 +426,7 @@
oTxLstStyle
.
levels
[
0
].
Jc
=
AscCommon
.
align_Left
;
oTxLstStyle
.
levels
[
0
].
DefaultTabSize
=
914400
/
36000
;
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
=
new
AscCommon
.
CTextPr
();
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
=
new
AscCommon
Word
.
CTextPr
();
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
.
FontSize
=
12
;
oTxLstStyle
.
levels
[
0
].
DefaultRunPr
.
Unifill
=
AscFormat
.
CreateUniFillSchemeColorWidthTint
(
15
,
0
);
...
...
slide/Editor/Format/ShapePrototype.js
View file @
fe4aedf1
...
...
@@ -679,11 +679,11 @@ CShape.prototype.recalculateContent2 = function()
var
content_
=
this
.
getDocContent
();
if
(
content_
&&
content_
.
Content
[
0
])
{
content
.
Content
[
0
].
Pr
=
content_
.
Content
[
0
].
Pr
;
var
para_text_pr
=
new
ParaTextPr
(
content_
.
Content
[
0
].
Get_FirstRunPr
());
content
.
Set_ApplyToAll
(
true
);
content
.
AddToParagraph
(
para_text_pr
);
content
.
Set_ApplyToAll
(
false
);
content
.
Content
[
0
].
Pr
=
content_
.
Content
[
0
].
Pr
.
Copy
()
;
if
(
!
content
.
Content
[
0
].
Pr
.
DefaultRunPr
){
content
.
Content
[
0
].
Pr
.
DefaultRunPr
=
new
AscCommonWord
.
CTextPr
(
);
}
content
.
Content
[
0
].
Pr
.
DefaultRunPr
.
Merge
(
content_
.
Content
[
0
].
Get_FirstRunPr
()
);
}
content
.
Set_StartPage
(
0
);
content
.
Reset
(
0
,
0
,
w
,
20000
);
...
...
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