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
f047ee75
Commit
f047ee75
authored
Apr 29, 2016
by
Sergey Luzyanin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Добавил возможность добавлять заголовки серий и названия категори диаграмм.
Добавлены обертки дял цветов.
parent
e8fd4a2d
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
401 additions
and
17 deletions
+401
-17
common/Drawings/CommonController.js
common/Drawings/CommonController.js
+13
-0
word/apiBuilder.js
word/apiBuilder.js
+388
-17
No files found.
common/Drawings/CommonController.js
View file @
f047ee75
...
@@ -8732,6 +8732,18 @@ function getAbsoluteRectBoundsArr(aDrawings)
...
@@ -8732,6 +8732,18 @@ function getAbsoluteRectBoundsArr(aDrawings)
return
{
arrBounds
:
arrBounds
,
minX
:
minX
,
maxX
:
maxX
,
minY
:
minY
,
maxY
:
maxY
};
return
{
arrBounds
:
arrBounds
,
minX
:
minX
,
maxX
:
maxX
,
minY
:
minY
,
maxY
:
maxY
};
}
}
function
CalcLiterByLength
(
aAlphaBet
,
nLength
)
{
var
modulo
=
nLength
;
var
sResultLiter
=
''
;
while
(
modulo
>
0
)
{
sResultLiter
=
aAlphaBet
[
modulo
%
aAlphaBet
.
length
]
+
sResultLiter
;
modulo
=
(
modulo
/
aAlphaBet
.
length
)
>>
0
;
}
return
sResultLiter
;
}
//--------------------------------------------------------export----------------------------------------------------
//--------------------------------------------------------export----------------------------------------------------
window
[
'
AscFormat
'
]
=
window
[
'
AscFormat
'
]
||
{};
window
[
'
AscFormat
'
]
=
window
[
'
AscFormat
'
]
||
{};
window
[
'
AscFormat
'
].
HANDLE_EVENT_MODE_HANDLE
=
HANDLE_EVENT_MODE_HANDLE
;
window
[
'
AscFormat
'
].
HANDLE_EVENT_MODE_HANDLE
=
HANDLE_EVENT_MODE_HANDLE
;
...
@@ -8778,4 +8790,5 @@ function getAbsoluteRectBoundsArr(aDrawings)
...
@@ -8778,4 +8790,5 @@ function getAbsoluteRectBoundsArr(aDrawings)
window
[
'
AscFormat
'
].
GetMinSnapDistanceYObject
=
GetMinSnapDistanceYObject
;
window
[
'
AscFormat
'
].
GetMinSnapDistanceYObject
=
GetMinSnapDistanceYObject
;
window
[
'
AscFormat
'
].
GetMinSnapDistanceXObjectByArrays
=
GetMinSnapDistanceXObjectByArrays
;
window
[
'
AscFormat
'
].
GetMinSnapDistanceXObjectByArrays
=
GetMinSnapDistanceXObjectByArrays
;
window
[
'
AscFormat
'
].
GetMinSnapDistanceYObjectByArrays
=
GetMinSnapDistanceYObjectByArrays
;
window
[
'
AscFormat
'
].
GetMinSnapDistanceYObjectByArrays
=
GetMinSnapDistanceYObjectByArrays
;
window
[
'
AscFormat
'
].
CalcLiterByLength
=
CalcLiterByLength
;
})(
window
);
})(
window
);
word/apiBuilder.js
View file @
f047ee75
This diff is collapsed.
Click to expand it.
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