Commit a7b26691 authored by Oleg Korshul's avatar Oleg Korshul

refactoring

parent 4120ea4d
...@@ -142,8 +142,8 @@ function CTableOutlineDr() ...@@ -142,8 +142,8 @@ function CTableOutlineDr()
// TABLE_STYLES // TABLE_STYLES
this.TableStylesLastLook = null; this.TableStylesLastLook = null;
this.TableStylesSheckLook = null; this.TableStylesСheckLook = null;
this.TableStylesSheckLookFlag = false; this.TableStylesСheckLookFlag = false;
this.TableStylesSendOne = false; this.TableStylesSendOne = false;
...@@ -2040,16 +2040,16 @@ CDrawingDocument.prototype = ...@@ -2040,16 +2040,16 @@ CDrawingDocument.prototype =
/////////////////////////////////////////// ///////////////////////////////////////////
StartTableStylesCheck : function() StartTableStylesCheck : function()
{ {
this.TableStylesSheckLookFlag = true; this.TableStylesСheckLookFlag = true;
}, },
EndTableStylesCheck : function() EndTableStylesCheck : function()
{ {
this.TableStylesSheckLookFlag = false; this.TableStylesСheckLookFlag = false;
if (this.TableStylesSheckLook != null) if (this.TableStylesСheckLook != null)
{ {
this.CheckTableStyles(this.TableStylesSheckLook); this.CheckTableStyles(this.TableStylesСheckLook);
this.TableStylesSheckLook = null; this.TableStylesСheckLook = null;
} }
}, },
...@@ -2071,9 +2071,9 @@ CDrawingDocument.prototype = ...@@ -2071,9 +2071,9 @@ CDrawingDocument.prototype =
if (true === this.TableStylesSendOne) if (true === this.TableStylesSendOne)
return; return;
if (this.TableStylesSheckLookFlag) if (this.TableStylesСheckLookFlag)
{ {
this.TableStylesSheckLook = tableLook; this.TableStylesСheckLook = tableLook;
return; return;
} }
......
...@@ -2093,8 +2093,8 @@ function CDrawingDocument() ...@@ -2093,8 +2093,8 @@ function CDrawingDocument()
this.TableStylesLastLook = null; this.TableStylesLastLook = null;
this.LastParagraphMargins = null; this.LastParagraphMargins = null;
this.TableStylesSheckLook = null; this.TableStylesСheckLook = null;
this.TableStylesSheckLookFlag = false; this.TableStylesСheckLookFlag = false;
this.InlineTextTrackEnabled = false; this.InlineTextTrackEnabled = false;
this.InlineTextTrack = null; this.InlineTextTrack = null;
...@@ -5765,24 +5765,24 @@ function CDrawingDocument() ...@@ -5765,24 +5765,24 @@ function CDrawingDocument()
this.StartTableStylesCheck = function () this.StartTableStylesCheck = function ()
{ {
this.TableStylesSheckLookFlag = true; this.TableStylesСheckLookFlag = true;
} }
this.EndTableStylesCheck = function () this.EndTableStylesCheck = function ()
{ {
this.TableStylesSheckLookFlag = false; this.TableStylesСheckLookFlag = false;
if (this.TableStylesSheckLook != null) if (this.TableStylesСheckLook != null)
{ {
this.CheckTableStyles(this.TableStylesSheckLook); this.CheckTableStyles(this.TableStylesСheckLook);
this.TableStylesSheckLook = null; this.TableStylesСheckLook = null;
} }
} }
this.CheckTableStyles = function (tableLook) this.CheckTableStyles = function (tableLook)
{ {
if (this.TableStylesSheckLookFlag) if (this.TableStylesСheckLookFlag)
{ {
this.TableStylesSheckLook = tableLook; this.TableStylesСheckLook = tableLook;
return; return;
} }
......
...@@ -2510,10 +2510,10 @@ background-repeat: no-repeat;\ ...@@ -2510,10 +2510,10 @@ background-repeat: no-repeat;\
return; return;
this.WordControl.m_oDrawingDocument.StartTableStylesCheck(); this.WordControl.m_oDrawingDocument.StartTableStylesCheck();
this.WordControl.m_oDrawingDocument.TableStylesSheckLook = new Asc.CTablePropLook(); this.WordControl.m_oDrawingDocument.TableStylesСheckLook = new Asc.CTablePropLook();
this.WordControl.m_oDrawingDocument.TableStylesSheckLook.FirstCol = true; this.WordControl.m_oDrawingDocument.TableStylesСheckLook.FirstCol = true;
this.WordControl.m_oDrawingDocument.TableStylesSheckLook.FirstRow = true; this.WordControl.m_oDrawingDocument.TableStylesСheckLook.FirstRow = true;
this.WordControl.m_oDrawingDocument.TableStylesSheckLook.BandHor = true; this.WordControl.m_oDrawingDocument.TableStylesСheckLook.BandHor = true;
this.WordControl.m_oDrawingDocument.EndTableStylesCheck(); this.WordControl.m_oDrawingDocument.EndTableStylesCheck();
}; };
......
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