Description: In some xlsx documents I cannot modify anchor of image when image is pinned to a cell and configured to change anchor and height Steps to Reproduce: 1. Change image to Anchor (cell and change width with that) 2. Change width of cell 3. Actual Results: Image not change width Expected Results: Image change width Reproducible: Sometimes User Profile Reset: Yes Additional Info: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:57.0) Gecko/20100101 Firefox/57.0
Created attachment 141684 [details] Image Image not resizing
I have reproduced too in: Versión: 6.1.0.0.alpha1 Id. de compilación: cb47f0d320994e001bc38dc2ee9b7d957b15e6ab Subprocs. CPU: 4; SO: Mac OS X 10.11.5; Repres. IU: predet.; Configuración regional: es-ES (es.UTF-8); Calc: group
Created attachment 141703 [details] File that is having trouble
Reproduced back to the initial commit Version: 6.1.0.0.alpha0+ Build ID: acf0bad4e2b8c3c43aaaee8312c8a61d3552fcc2 CPU threads: 4; OS: Linux 4.13; UI render: default; VCL: gtk3; Locale: ca-ES (ca_ES.UTF-8); Calc: group @Samuel, would you mind taking a look at it ?
The image in B2 is larger than its cell (it is partly in B3). If the image is larger than its cell, the behavior is that it always will end in the same cell. So it is not enlarged when enlarging the cell width. Even when it fits into the cell, it will only become as large as the cell is. The main use case for this feature is to have images inside of one cell (and keep them in that cell when resizing). When the image is larger than its cell, we need to take care of the image end anchor as written, and so the behavior is different there. If there are specific proposals what can be improved here, let me know.