This commit is contained in:
Green
2025-02-01 11:36:52 +03:00
parent 23798f3c96
commit 70b40c46d2

View File

@ -1113,6 +1113,8 @@ void CConverter2OOXML::WriteEqEditShape(const CCtrlEqEdit* pEqEditShape, short s
//TODO:: добавить конвертацию eqn формулы в ooxml
++m_ushEquationCount;
WriteCaption((const CCtrlCommon*)pEqEditShape, oBuilder, oState);
OpenParagraph(shParaShapeID, oBuilder, oState);
oBuilder.WriteString(L"<w:r>");
@ -1147,6 +1149,8 @@ void CConverter2OOXML::WriteOleShape(const CCtrlShapeOle* pOleShape, short shPar
++m_ushShapeCount;
WriteCaption((const CCtrlCommon*)pOleShape, oBuilder, oState);
const std::wstring wsWidth = std::to_wstring(Transform::HWPUINT2OOXML(pOleShape->GetWidth()));
const std::wstring wsHeight = std::to_wstring(Transform::HWPUINT2OOXML(pOleShape->GetHeight()));
const std::wstring wsRelID = AddRelationship(L"chart", L"charts/chart" + std::to_wstring(unChartIndex) + L".xml");