pythonicrubyist / creek

Ruby library for parsing large Excel files.
http://rubygems.org/gems/creek
MIT License
386 stars 109 forks source link

Support for parsing one cell anchored images #107

Closed PavitKaur05 closed 1 year ago

PavitKaur05 commented 1 year ago

Currently, if images are positioning within a Spreadsheet with One Cell Anchoring instead of Two Cell Anchoring, they are not parsed even with loading sheets using with_images. These changes would find elements also in addition to in drawing file xml. But since there is no child element for , able to return those image only for anchored cell.

PavitKaur05 commented 1 year ago

@pythonicrubyist I faced issue when parsing generated xlsx with images from google sheets since on adding images in google sheets, they are positioned with One Cell Anchoring. And these changes fixes that for me.

I would be happy to work on any iterations you require for this PR. Please let me know your thoughts about this.