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
20fc404d
Commit
20fc404d
authored
Mar 22, 2017
by
Sergey Luzyanin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug 34474
parent
82943fd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
11 deletions
+17
-11
common/Drawings/Format/Format.js
common/Drawings/Format/Format.js
+17
-11
No files found.
common/Drawings/Format/Format.js
View file @
20fc404d
...
...
@@ -8831,8 +8831,8 @@ function GenerateDefaultSlide(layout)
function
CreateDefaultTextRectStyle
()
{
var
style
=
new
CShapeStyle
();
style
.
setLnRef
(
new
StyleRef
()
);
style
.
lnRef
.
setIdx
(
0
);
var
lnRef
=
new
StyleRef
(
);
lnRef
.
setIdx
(
0
);
var
unicolor
=
new
CUniColor
();
unicolor
.
setColor
(
new
CSchemeColor
());
...
...
@@ -8842,29 +8842,35 @@ function CreateDefaultTextRectStyle()
mod
.
setVal
(
50000
);
unicolor
.
setMods
(
new
CColorModifiers
());
unicolor
.
Mods
.
addMod
(
mod
);
style
.
lnRef
.
setColor
(
unicolor
);
lnRef
.
setColor
(
unicolor
);
style
.
setLnRef
(
lnRef
);
style
.
setFillRef
(
new
StyleRef
());
style
.
fillRef
.
setIdx
(
0
);
var
fillRef
=
new
StyleRef
();
fillRef
.
setIdx
(
0
);
unicolor
=
new
CUniColor
();
unicolor
.
setColor
(
new
CSchemeColor
());
unicolor
.
color
.
setId
(
g_clr_accent1
);
style
.
fillRef
.
setColor
(
unicolor
);
fillRef
.
setColor
(
unicolor
);
style
.
setFillRef
(
fillRef
);
style
.
setEffectRef
(
new
StyleRef
());
style
.
effectRef
.
setIdx
(
0
);
var
effectRef
=
new
StyleRef
();
effectRef
.
setIdx
(
0
);
unicolor
=
new
CUniColor
();
unicolor
.
setColor
(
new
CSchemeColor
());
unicolor
.
color
.
setId
(
g_clr_accent1
);
effectRef
.
setColor
(
unicolor
);
style
.
setEffectRef
(
effectRef
);
style
.
setFontRef
(
new
FontRef
()
);
style
.
fontRef
.
setIdx
(
AscFormat
.
fntStyleInd_minor
);
var
fontRef
=
new
FontRef
(
);
fontRef
.
setIdx
(
AscFormat
.
fntStyleInd_minor
);
unicolor
=
new
CUniColor
();
unicolor
.
setColor
(
new
CSchemeColor
());
unicolor
.
color
.
setId
(
8
);
style
.
fontRef
.
setColor
(
unicolor
);
fontRef
.
setColor
(
unicolor
);
style
.
setFontRef
(
fontRef
);
return
style
;
}
...
...
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