Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
onlyoffice_core
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
onlyoffice_core
Commits
7eb4f5d0
Commit
7eb4f5d0
authored
Nov 07, 2016
by
Alexey.Musinov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
mobile-coautoring
parent
1ffc2893
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
2 deletions
+52
-2
DesktopEditor/Word_Api/Editor_Api.h
DesktopEditor/Word_Api/Editor_Api.h
+48
-0
DesktopEditor/Word_Api/Editor_Defines.h
DesktopEditor/Word_Api/Editor_Defines.h
+4
-2
No files found.
DesktopEditor/Word_Api/Editor_Api.h
View file @
7eb4f5d0
...
...
@@ -2708,4 +2708,52 @@ namespace NSEditorApi
};
}
namespace
NSEditorApi
{
class
CAscUser
:
public
IMenuEventDataBase
{
public:
CAscUser
()
{
}
virtual
~
CAscUser
()
{
}
LINK_PROPERTY_STRING_JS
(
Id
)
LINK_PROPERTY_STRING_JS
(
FirstName
)
LINK_PROPERTY_STRING_JS
(
LastName
)
LINK_PROPERTY_STRING_JS
(
UserName
)
LINK_PROPERTY_BOOL_JS
(
IsView
)
LINK_PROPERTY_OBJECT_JS
(
CAscColor
,
Color
)
private:
js_wrapper
<
std
::
wstring
>
m_sId
;
js_wrapper
<
std
::
wstring
>
m_sFirstName
;
js_wrapper
<
std
::
wstring
>
m_sLastName
;
js_wrapper
<
std
::
wstring
>
m_sUserName
;
js_wrapper
<
bool
>
m_bIsView
;
js_wrapper
<
CAscColor
>
m_oColor
;
};
class
CAscUsers
:
public
IMenuEventDataBase
{
public:
CAscUsers
()
{
}
virtual
~
CAscUsers
()
{
}
inline
std
::
vector
<
CAscUser
>&
GetUsers
()
{
return
m_oUsers
;}
inline
void
AddUser
(
const
CAscUser
&
oSheet
)
{
m_oUsers
.
push_back
(
oSheet
);}
private:
std
::
vector
<
CAscUser
>
m_oUsers
;
};
}
#endif //_BUILD_EDITOR_API_CROSSPLATFORM_H_
DesktopEditor/Word_Api/Editor_Defines.h
View file @
7eb4f5d0
...
...
@@ -745,8 +745,10 @@
#define ASC_MENU_EVENT_TYPE_ERROR 500
#define ASC_MENU_EVENT_TYPE_COLOR_SCHEMES 2404 // CAscColorSchemes
#define ASC_MENU_EVENT_TYPE_CHANGE_COLOR_SCHEME 2415 // SET(int)
#define ASC_MENU_EVENT_TYPE_COLOR_SCHEMES 2404 // CAscColorSchemes
#define ASC_MENU_EVENT_TYPE_CHANGE_COLOR_SCHEME 2415 // SET(int)
#define ASC_MENU_EVENT_TYPE_AUTH_PARTICIPANTS_CHANGED 2416
#endif //_BUILD_EDITOR_DEFINES_CROSSPLATFORM_H_
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