Commit 5b642d74 authored by Oleg.Korshul's avatar Oleg.Korshul Committed by Alexander.Trofimov

прокидывание методов меню


git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57714 954022d7-b5bf-4e40-9824-e11837661b57
parent df8cc9bb
asc_docs_api.prototype.Update_ParaInd = function( Ind ) var global_memory_stream_menu = CreateNativeMemoryStream();
asc_docs_api.prototype.Update_ParaInd = function( Ind )
{ {
this.WordControl.m_oDrawingDocument.Update_ParaInd(Ind); this.WordControl.m_oDrawingDocument.Update_ParaInd(Ind);
}; };
...@@ -164,6 +166,16 @@ asc_docs_api.prototype["Call_VR_Table"] = function(_params, _cols, _margins, _ro ...@@ -164,6 +166,16 @@ asc_docs_api.prototype["Call_VR_Table"] = function(_params, _cols, _margins, _ro
} }
}; };
asc_docs_api.prototype["Call_Menu_Event"] = function(type, _params)
{
// TODO:
};
asc_docs_api.prototype["Send_Menu_Event"] = function(type)
{
window.native.OnCallMenuEvent(type, global_memory_stream_menu);
};
function Deserialize_Table_Markup(_params, _cols, _margins, _rows) function Deserialize_Table_Markup(_params, _cols, _margins, _rows)
{ {
var _markup = new CTableMarkup(null); var _markup = new CTableMarkup(null);
......
...@@ -451,4 +451,9 @@ window.native.Call_VR_Header = function(_header_top, _header_bottom) ...@@ -451,4 +451,9 @@ window.native.Call_VR_Header = function(_header_top, _header_bottom)
window.native.Call_VR_Table = function(_params, _cols, _margins, _rows) window.native.Call_VR_Table = function(_params, _cols, _margins, _rows)
{ {
return _api.Call_VR_Table(_params, _cols, _margins, _rows); return _api.Call_VR_Table(_params, _cols, _margins, _rows);
};
window.native.Call_Menu_Event = function(type, _params)
{
return _api.Call_Menu_Event(type, _params);
}; };
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment