Posted 25 March 2025, 3:13 pm EST
Hello team,
We’ve identified an issue when generating snapshot images using the Spread Java library, where the snapshot does not fully reflect what the user sees in the spreadsheet. This causes a mismatch between the visual representation and the snapshot result, leading to confusion for end users.
Example scenario:
When a cell contains a date value without an explicitly applied format (e.g., Short Date), the snapshot mechanism defaults to the US format (MM/DD/YYYY). However, in our region, the expected format is DD/MM/YYYY. Once we explicitly applied the “Short Date” format to the cell, the snapshot started showing the correct format.
This behavior is not limited to date fields — similar discrepancies were observed in:
Text-type cells
Charts
Other formatted content
Suggested Improvement:
We’d like to propose that the snapshot generation logic should more closely reflect the visual formatting applied to cells, as seen by users in the Spread interface. Many users expect the snapshot to be an exact visual representation of the sheet, and when there are subtle differences (e.g., in date formats or cell styles), it is interpreted as a platform error.
Ensuring that the formatting shown in the UI is preserved in the snapshot would improve consistency and enhance the user experience.
Let us know if this is something currently being considered, or if there are any recommended workarounds beyond explicitly setting all formats manually.
Thank you!
Best regards,