Commit 4d4db894 authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

OfficeDocFile win32(2005) build - WordArt text size

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@64136 954022d7-b5bf-4e40-9824-e11837661b57
parent a0916396
...@@ -685,10 +685,10 @@ namespace DocFileFormat ...@@ -685,10 +685,10 @@ namespace DocFileFormat
nLTxID = (((iter->op) >> 16) & 0xFFFF); nLTxID = (((iter->op) >> 16) & 0xFFFF);
} }
break; break;
case dxTextLeft:{ndxTextLeft = (int)iter->op;break;} case dxTextLeft: {ndxTextLeft = (int)iter->op;break;}
case dyTextTop:{ndyTextTop = (int)iter->op;break;} case dyTextTop: {ndyTextTop = (int)iter->op;break;}
case dxTextRight:{ndxTextRight = (int)iter->op;break;} case dxTextRight: {ndxTextRight = (int)iter->op;break;}
case dyTextBottom:{ndyTextBottom = (int)iter->op;break;} case dyTextBottom: {ndyTextBottom = (int)iter->op;break;}
// TEXT PATH (Word Art) // TEXT PATH (Word Art)
...@@ -707,7 +707,11 @@ namespace DocFileFormat ...@@ -707,7 +707,11 @@ namespace DocFileFormat
font = std::wstring(_T("\"")) + font + std::wstring(_T("\"")); font = std::wstring(_T("\"")) + font + std::wstring(_T("\""));
appendStyleProperty(&m_textPathStyle, L"font-family", font); appendStyleProperty(&m_textPathStyle, L"font-family", font);
}break; }break;
case gtextSize:
{
std::wstring fontSize = FormatUtils::IntToWideString(iter->op/65535);
appendStyleProperty(&m_textPathStyle, L"font-size", fontSize + L"pt");
}break;
case geometryTextBooleanProperties: case geometryTextBooleanProperties:
{ {
GeometryTextBooleanProperties props(iter->op); GeometryTextBooleanProperties props(iter->op);
......
...@@ -2,6 +2,6 @@ ...@@ -2,6 +2,6 @@
//1 //1
//0 //0
//1 //1
//237 //238
#define INTVER 1,0,1,237 #define INTVER 1,0,1,238
#define STRVER "1,0,1,237\0" #define STRVER "1,0,1,238\0"
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