Merge pull request 'Fix bug #72375' (#163) from fix/bug72375 into release/v8.3.0

Reviewed-on: https://git.onlyoffice.com/ONLYOFFICE/core/pulls/163
This commit is contained in:
Elena Subbotina
2025-01-20 18:04:21 +00:00
2 changed files with 16 additions and 0 deletions

View File

@ -3328,6 +3328,13 @@ void odf_drawing_context::end_image()
else
impl_->current_graphic_properties->style_mirror_ = std::wstring(L"horizontal");
}
if (impl_->current_drawing_state_.flipV_)
{
if (impl_->current_graphic_properties->style_mirror_)
impl_->current_graphic_properties->style_mirror_ = *impl_->current_graphic_properties->style_mirror_ + std::wstring(L" vertical");
else
impl_->current_graphic_properties->style_mirror_ = std::wstring(L"vertical");
}
end_element();
end_frame();
}