Move and size with cell option for images

Topics: Developer Forum
Jul 25, 2013 at 1:51 PM

I want to make my images to move and size with cell. Currently, move but don't size with cell option is selected when i add my pictures on xlsx file.

Is there a way to change the default option for drawings ?

I want that option in order to hide unmatched rows when i apply some filters on columns.


Andrei Kun
Jul 25, 2013 at 10:30 PM
Is there an option to have that for all images? I mean, it should be and it should have the option to set it but i don't know how and i couldn't fid anywhere in documentation specified.

Can someone from developers community to help me with that? I need it pretty fast and it seems that i'm stuck
Jul 26, 2013 at 10:49 AM
In order to have it, i changed 0x01 and 0x02 to 0x00 in Excel5.php.

$spContainer->setSpFlag(0x00); - will make it to be "move and size with cell".

But, i mean, it should be a way to configure it without changing the core code.


Andrei Kun