Commit 741e7b33 authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

git-svn-id:...

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@55670 954022d7-b5bf-4e40-9824-e11837661b57
parent 21efa6b2
...@@ -30,10 +30,14 @@ function CDocumentContent(Parent, DrawingDocument, X, Y, XLimit, YLimit, Split, ...@@ -30,10 +30,14 @@ function CDocumentContent(Parent, DrawingDocument, X, Y, XLimit, YLimit, Split,
if ( undefined !== DrawingDocument && null !== DrawingDocument ) if ( undefined !== DrawingDocument && null !== DrawingDocument )
{ {
this.DrawingDocument = DrawingDocument; this.DrawingDocument = DrawingDocument;
this.LogicDocument = DrawingDocument.m_oLogicDocument;
this.Styles = DrawingDocument.m_oLogicDocument.Get_Styles(); if ( undefined !== editor && true === editor.isDocumentEditor )
this.Numbering = DrawingDocument.m_oLogicDocument.Get_Numbering(); {
this.DrawingObjects = DrawingDocument.m_oLogicDocument.DrawingObjects; // Массив укзателей на все инлайновые графические объекты this.LogicDocument = DrawingDocument.m_oLogicDocument;
this.Styles = DrawingDocument.m_oLogicDocument.Get_Styles();
this.Numbering = DrawingDocument.m_oLogicDocument.Get_Numbering();
this.DrawingObjects = DrawingDocument.m_oLogicDocument.DrawingObjects; // Массив укзателей на все инлайновые графические объекты
}
} }
if ( "undefined" === typeof(TurnOffInnerWrap) ) if ( "undefined" === typeof(TurnOffInnerWrap) )
...@@ -8352,10 +8356,14 @@ CDocumentContent.prototype = ...@@ -8352,10 +8356,14 @@ CDocumentContent.prototype =
if ( undefined !== DrawingDocument && null !== DrawingDocument ) if ( undefined !== DrawingDocument && null !== DrawingDocument )
{ {
this.DrawingDocument = DrawingDocument; this.DrawingDocument = DrawingDocument;
this.LogicDocument = DrawingDocument.m_oLogicDocument;
this.Styles = DrawingDocument.m_oLogicDocument.Get_Styles(); if ( undefined !== editor && true === editor.isDocumentEditor )
this.Numbering = DrawingDocument.m_oLogicDocument.Get_Numbering(); {
this.DrawingObjects = DrawingDocument.m_oLogicDocument.DrawingObjects; // Массив укзателей на все инлайновые графические объекты this.LogicDocument = DrawingDocument.m_oLogicDocument;
this.Styles = DrawingDocument.m_oLogicDocument.Get_Styles();
this.Numbering = DrawingDocument.m_oLogicDocument.Get_Numbering();
this.DrawingObjects = DrawingDocument.m_oLogicDocument.DrawingObjects; // Массив укзателей на все инлайновые графические объекты
}
} }
}, },
......
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