Commit 49806304 authored by Sergey Luzyanin's avatar Sergey Luzyanin

fix Bug 33574

parent 3b76e8fe
......@@ -1562,7 +1562,11 @@ CPresentation.prototype =
},
Selection_Remove: function()
{},
{
if(this.Slides[this.CurPage]){
this.Slides[this.CurPage].graphicObjects.resetSelection();
}
},
Edit_Chart : function(binary)
{
......
......@@ -1579,36 +1579,6 @@ background-repeat: no-repeat;\
// -------
// -------
asc_docs_api.prototype.get_ContentCount = function()
{
return this.WordControl.m_oLogicDocument.Content.length;
};
asc_docs_api.prototype.select_Element = function(Index)
{
var Document = this.WordControl.m_oLogicDocument;
if (true === Document.Selection.Use)
Document.Selection_Remove();
Document.DrawingDocument.SelectEnabled(true);
Document.DrawingDocument.TargetEnd();
Document.Selection.Use = true;
Document.Selection.Start = false;
Document.Selection.Flag = AscCommon.selectionflag_Common;
Document.Selection.StartPos = Index;
Document.Selection.EndPos = Index;
Document.Content[Index].Selection.Use = true;
Document.Content[Index].Selection.StartPos = Document.Content[Index].Internal_GetStartPos();
Document.Content[Index].Selection.EndPos = Document.Content[Index].Content.length - 1;
Document.Selection_Draw();
};
asc_docs_api.prototype.UpdateTextPr = function(TextPr)
{
if ("undefined" != typeof(TextPr))
......@@ -6582,7 +6552,6 @@ background-repeat: no-repeat;\
asc_docs_api.prototype['asc_getPropertyEditorTextArts'] = asc_docs_api.prototype.asc_getPropertyEditorTextArts;
asc_docs_api.prototype['get_PropertyEditorThemes'] = asc_docs_api.prototype.get_PropertyEditorThemes;
asc_docs_api.prototype['get_ContentCount'] = asc_docs_api.prototype.get_ContentCount;
asc_docs_api.prototype['select_Element'] = asc_docs_api.prototype.select_Element;
asc_docs_api.prototype['UpdateTextPr'] = asc_docs_api.prototype.UpdateTextPr;
asc_docs_api.prototype['sync_TextSpacing'] = asc_docs_api.prototype.sync_TextSpacing;
asc_docs_api.prototype['sync_TextDStrikeout'] = asc_docs_api.prototype.sync_TextDStrikeout;
......
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