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
eb20b49e
Commit
eb20b49e
authored
Apr 06, 2016
by
Oleg Korshul
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
линейки с дюймами
parent
316cc020
Changes
4
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
397 additions
and
188 deletions
+397
-188
common/commonDefines.js
common/commonDefines.js
+6
-1
slide/api.js
slide/api.js
+8
-0
word/Drawing/Rulers.js
word/Drawing/Rulers.js
+374
-187
word/api.js
word/api.js
+9
-0
No files found.
common/commonDefines.js
View file @
eb20b49e
...
...
@@ -815,4 +815,9 @@ var changestype_2_AdditionalTypes = 6; // Дополнительные п
var
contentchanges_Add
=
1
;
var
contentchanges_Remove
=
2
;
var
offlineMode
=
'
_offline_
'
;
\ No newline at end of file
var
offlineMode
=
'
_offline_
'
;
var
c_oAscRulerUnits
=
{
Millimeter
:
0
,
Inch
:
1
};
\ No newline at end of file
slide/api.js
View file @
eb20b49e
...
...
@@ -3812,6 +3812,14 @@ asc_docs_api.prototype.asc_GetViewRulers = function()
{
return
this
.
WordControl
.
m_bIsRuler
;
};
asc_docs_api
.
prototype
.
asc_SetDocumentUnits
=
function
(
_units
)
{
if
(
this
.
WordControl
&&
this
.
WordControl
.
m_oHorRuler
&&
this
.
WordControl
.
m_oVerRuler
)
{
this
.
WordControl
.
m_oHorRuler
.
Units
=
_units
;
this
.
WordControl
.
m_oVerRuler
.
Units
=
_units
;
}
};
asc_docs_api
.
prototype
.
SetMobileVersion
=
function
(
val
)
{
...
...
word/Drawing/Rulers.js
View file @
eb20b49e
This diff is collapsed.
Click to expand it.
word/api.js
View file @
eb20b49e
...
...
@@ -6351,6 +6351,15 @@ asc_docs_api.prototype.asc_GetViewRulers = function()
return
this
.
WordControl
.
m_bIsRuler
;
};
asc_docs_api
.
prototype
.
asc_SetDocumentUnits
=
function
(
_units
)
{
if
(
this
.
WordControl
&&
this
.
WordControl
.
m_oHorRuler
&&
this
.
WordControl
.
m_oVerRuler
)
{
this
.
WordControl
.
m_oHorRuler
.
Units
=
_units
;
this
.
WordControl
.
m_oVerRuler
.
Units
=
_units
;
}
};
asc_docs_api
.
prototype
.
SetMobileVersion
=
function
(
val
)
{
this
.
isMobileVersion
=
val
;
...
...
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