Skip to content

Save and load image entries in Cantor worksheet file format

Filipe Saraiva requested to merge save-image-entries into master

This feature allows Cantor to finally save and load image entries in/from Cantor worksheet format.

Currently Cantor only save the Path for image entries, so it is not a good solution both for sharing worksheets and for mid/long-term local file management.

This patch allows Cantor to save the file images inside the worksheet and, after load a worksheet, the images are saved in a temporary folder and loaded inside the worksheet.

The merge request is just to get some feedback and work in the refactoring of Path tag and the respective m_imagePath logic in the changed classes. I will leave the tag there but, if the worksheet has the new FileName tag, I will provide a way to use that instead Path to load the image entries.

Reviewers: @asemke @sirgienko

Edited by Filipe Saraiva

Merge request reports