Commit 817dbefd authored by Oleg.Korshul's avatar Oleg.Korshul

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@54409 954022d7-b5bf-4e40-9824-e11837661b57
parent 2785b088
...@@ -16,6 +16,11 @@ ...@@ -16,6 +16,11 @@
CDrawingDocument.prototype = CDrawingDocument.prototype =
{ {
RenderPage : function(nPageIndex)
{
var _graphics = new CDrawingStream();
this.LogicDocument.DrawPage(nPageIndex, _graphics);
},
// init lock objects draw // init lock objects draw
Start_CollaborationEditing : function() Start_CollaborationEditing : function()
{ {
......
function CDrawingStream() function CDrawingStream()
{ {
this.Native = null; this.Native = window.native;
this.m_oTextPr = null; this.m_oTextPr = null;
this.m_oLastFont = new CFontSetup(); this.m_oLastFont = new CFontSetup();
......
...@@ -341,6 +341,12 @@ function GetNativePageBase64(pageIndex) ...@@ -341,6 +341,12 @@ function GetNativePageBase64(pageIndex)
return window.memory1; return window.memory1;
} }
function GetNativePageMeta(pageIndex)
{
_api.WordControl.m_oDrawingDocument.LogicDocument = _api.WordControl.m_oDrawingDocument.m_oLogicDocument;
_api.WordControl.m_oDrawingDocument.RenderPage(pageIndex);
}
function GetNativeId() function GetNativeId()
{ {
return window.native.GetFileId(); return window.native.GetFileId();
......
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