Move and size with cell option for images

Topics: Developer Forum
Jul 25, 2013 at 12:51 PM
Hello,

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.

Regards,

Andrei Kun
Jul 25, 2013 at 9: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 9: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.

Regards,

Andrei Kun