diff options
author | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-01 14:44:09 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.co.uk> | 2016-04-01 14:23:03 +0000 |
commit | cd1b2f923e0b0be89a5d1c8cbc647133aac09ed5 (patch) | |
tree | 29faef24c35a17efe2d0bd49e599bb7146a332fd /sfx2/UIConfig_sfx.mk | |
parent | d3d45ab54e78fa760860923d0ff5c4692d89c99c (diff) |
tdf#99004 SwAnchoredObjectPosition: handle textboxes when determining surround
Writer TextBoxes are always wrapped "through", so that they can appear
inside their shapes. However, the surround of the shape may influence
its position. So when surround is asked for anchor position purposes,
take the surround of the TextBox's "parent" shape instead of the one of
the TextBox directly.
With this, the TextBox in the bugdoc is properly positioned inside its
parent shape as expected. (The problem only happens when at least two
shapes are anchored to the same paragraph.)
Change-Id: I0cf8a41080e6759aa395c119d862c4be79574d66
Reviewed-on: https://gerrit.libreoffice.org/23720
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
Tested-by: Jenkins <ci@libreoffice.org>
Diffstat (limited to 'sfx2/UIConfig_sfx.mk')
0 files changed, 0 insertions, 0 deletions