Commit 73dde3eb authored by Elen.Subbotina's avatar Elen.Subbotina Committed by Alexander Trofimov

.. к rev 68840

git-svn-id: svn://fileserver/activex/AVS/Sources/TeamlabOffice/trunk/ServerComponents@68848 954022d7-b5bf-4e40-9824-e11837661b57
parent 884b0eb5
...@@ -136,7 +136,7 @@ OfficeArtFOPTEPtr OfficeArtFOPTE::load_and_create(XLS::CFRecord& record) ...@@ -136,7 +136,7 @@ OfficeArtFOPTEPtr OfficeArtFOPTE::load_and_create(XLS::CFRecord& record)
case NSOfficeDrawing::gtextSpacing: case NSOfficeDrawing::gtextSpacing:
fopte = OfficeArtFOPTEPtr(new FixedPoint); fopte = OfficeArtFOPTEPtr(new FixedPoint);
break; break;
case NSOfficeDrawing::fFitTextToShape: case NSOfficeDrawing::textBoolean:
fopte = OfficeArtFOPTEPtr(new TextBooleanProperties); fopte = OfficeArtFOPTEPtr(new TextBooleanProperties);
break; break;
case NSOfficeDrawing::gtextUNICODE: case NSOfficeDrawing::gtextUNICODE:
......
...@@ -1022,7 +1022,7 @@ void XlsConverter::convert_fill_style(std::vector<ODRAW::OfficeArtFOPTEPtr> & pr ...@@ -1022,7 +1022,7 @@ void XlsConverter::convert_fill_style(std::vector<ODRAW::OfficeArtFOPTEPtr> & pr
case NSOfficeDrawing::fillShadeType: case NSOfficeDrawing::fillShadeType:
{ {
}break; }break;
case NSOfficeDrawing::fNoFillHitTest: case NSOfficeDrawing::fillBoolean:
{ {
ODRAW::FillStyleBooleanProperties * bools = (ODRAW::FillStyleBooleanProperties *)(props[i].get()); ODRAW::FillStyleBooleanProperties * bools = (ODRAW::FillStyleBooleanProperties *)(props[i].get());
if (bools) if (bools)
...@@ -1079,7 +1079,7 @@ void XlsConverter::convert_line_style(std::vector<ODRAW::OfficeArtFOPTEPtr> & pr ...@@ -1079,7 +1079,7 @@ void XlsConverter::convert_line_style(std::vector<ODRAW::OfficeArtFOPTEPtr> & pr
{ {
xlsx_context->get_drawing_context().set_line_dash(props[i]->op); xlsx_context->get_drawing_context().set_line_dash(props[i]->op);
}break; }break;
case NSOfficeDrawing::fNoLineDrawDash: case NSOfficeDrawing::lineBoolean:
{ {
ODRAW::LineStyleBooleanProperties * bools = (ODRAW::LineStyleBooleanProperties *)(props[i].get()); ODRAW::LineStyleBooleanProperties * bools = (ODRAW::LineStyleBooleanProperties *)(props[i].get());
if (bools) if (bools)
...@@ -1267,7 +1267,7 @@ void XlsConverter::convert_text(std::vector<ODRAW::OfficeArtFOPTEPtr> & props) ...@@ -1267,7 +1267,7 @@ void XlsConverter::convert_text(std::vector<ODRAW::OfficeArtFOPTEPtr> & props)
{ {
xlsx_context->get_drawing_context().set_text_vertical(props[i]->op); xlsx_context->get_drawing_context().set_text_vertical(props[i]->op);
}break; }break;
case NSOfficeDrawing::fFitTextToShape: case NSOfficeDrawing::textBoolean:
{ {
ODRAW::TextBooleanProperties *bools = dynamic_cast<ODRAW::TextBooleanProperties*>(props[i].get()); ODRAW::TextBooleanProperties *bools = dynamic_cast<ODRAW::TextBooleanProperties*>(props[i].get());
if (bools) if (bools)
......
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