Commit 7f7bf38c authored by Ilya.Kirillov's avatar Ilya.Kirillov Committed by Alexander.Trofimov

В класс CTableProp добавлены функции и поле для работы с направлением текста внутри ячеек.

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68382 954022d7-b5bf-4e40-9824-e11837661b57
parent 3a72f4d8
...@@ -4104,6 +4104,7 @@ function CTableProp (tblProp) ...@@ -4104,6 +4104,7 @@ function CTableProp (tblProp)
this.CellsVAlign = (undefined != tblProp.CellsVAlign) ? tblProp.CellsVAlign :c_oAscVertAlignJc.Top; this.CellsVAlign = (undefined != tblProp.CellsVAlign) ? tblProp.CellsVAlign :c_oAscVertAlignJc.Top;
this.AllowOverlap = (undefined != tblProp.AllowOverlap) ? tblProp.AllowOverlap : undefined; this.AllowOverlap = (undefined != tblProp.AllowOverlap) ? tblProp.AllowOverlap : undefined;
this.TableLayout = tblProp.TableLayout; this.TableLayout = tblProp.TableLayout;
this.CellsTextDirection = tblProp.CellsTextDirection;
this.Locked = (undefined != tblProp.Locked) ? tblProp.Locked : false; this.Locked = (undefined != tblProp.Locked) ? tblProp.Locked : false;
} }
else else
...@@ -4184,6 +4185,8 @@ CTableProp.prototype.get_AllowOverlap = function() {return this.AllowOverlap;}; ...@@ -4184,6 +4185,8 @@ CTableProp.prototype.get_AllowOverlap = function() {return this.AllowOverlap;};
CTableProp.prototype.put_AllowOverlap = function(v){this.AllowOverlap = v;}; CTableProp.prototype.put_AllowOverlap = function(v){this.AllowOverlap = v;};
CTableProp.prototype.get_TableLayout = function() {return this.TableLayout;}; CTableProp.prototype.get_TableLayout = function() {return this.TableLayout;};
CTableProp.prototype.put_TableLayout = function(v){this.TableLayout = v;}; CTableProp.prototype.put_TableLayout = function(v){this.TableLayout = v;};
CTableProp.prototype.get_CellsTextDirection = function(){return this.CellsTextDirection;};
CTableProp.prototype.put_CellsTextDirection = function(v){this.CellsTextDirection = v;};
function CBorders (obj) function CBorders (obj)
{ {
......
...@@ -653,6 +653,8 @@ CTableProp.prototype['get_AllowOverlap'] = CTableProp.prototype.get_AllowOverlap ...@@ -653,6 +653,8 @@ CTableProp.prototype['get_AllowOverlap'] = CTableProp.prototype.get_AllowOverlap
CTableProp.prototype['put_AllowOverlap'] = CTableProp.prototype.put_AllowOverlap; CTableProp.prototype['put_AllowOverlap'] = CTableProp.prototype.put_AllowOverlap;
CTableProp.prototype['get_TableLayout'] = CTableProp.prototype.get_TableLayout; CTableProp.prototype['get_TableLayout'] = CTableProp.prototype.get_TableLayout;
CTableProp.prototype['put_TableLayout'] = CTableProp.prototype.put_TableLayout; CTableProp.prototype['put_TableLayout'] = CTableProp.prototype.put_TableLayout;
CTableProp.prototype['get_CellsTextDirection'] = CTableProp.prototype.get_CellsTextDirection;
CTableProp.prototype['put_CellsTextDirection'] = CTableProp.prototype.put_CellsTextDirection;
window['CBorders'] = CBorders; window['CBorders'] = CBorders;
CBorders.prototype['get_Left'] = CBorders.prototype.get_Left; CBorders.prototype['get_Left'] = CBorders.prototype.get_Left;
CBorders.prototype['put_Left'] = CBorders.prototype.put_Left; CBorders.prototype['put_Left'] = CBorders.prototype.put_Left;
......
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