Commit 6e4b63d2 authored by Sergey.Luzyanin's avatar Sergey.Luzyanin Committed by Alexander.Trofimov

выравнивание текста по вертикали в таблицах

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@68242 954022d7-b5bf-4e40-9824-e11837661b57
parent c5a72cc3
...@@ -1722,7 +1722,7 @@ CShape.prototype = ...@@ -1722,7 +1722,7 @@ CShape.prototype =
_vertical_shift = 0; _vertical_shift = 0;
} }
else { else {
if (!(this.bWordShape ) || _content_height < _text_rect_height) { if (!(this.bWordShape || this.worksheet ) || _content_height < _text_rect_height) {
switch (oBodyPr.anchor) { switch (oBodyPr.anchor) {
case 0: //b case 0: //b
{ // (Text Anchor Enum ( Bottom )) { // (Text Anchor Enum ( Bottom ))
...@@ -1778,7 +1778,7 @@ CShape.prototype = ...@@ -1778,7 +1778,7 @@ CShape.prototype =
_vertical_shift = 0; _vertical_shift = 0;
} }
else { else {
if (!(this.bWordShape) || _content_height < _text_rect_width) { if (!(this.bWordShape || this.worksheet) || _content_height < _text_rect_width) {
switch (oBodyPr.anchor) { switch (oBodyPr.anchor) {
case 0: //b case 0: //b
{ // (Text Anchor Enum ( Bottom )) { // (Text Anchor Enum ( Bottom ))
...@@ -1896,7 +1896,7 @@ CShape.prototype = ...@@ -1896,7 +1896,7 @@ CShape.prototype =
_vertical_shift = 0; _vertical_shift = 0;
} }
else { else {
if (!(this.bWordShape) || _content_height < content_height2) { if (!(this.bWordShape || this.worksheet) || _content_height < content_height2) {
switch (oBodyPr.anchor) { switch (oBodyPr.anchor) {
case 0: //b case 0: //b
{ // (Text Anchor Enum ( Bottom )) { // (Text Anchor Enum ( Bottom ))
......
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