In my application, I read a spreadsheet file using fpspreadsheet, I modify the text content of a number of cells and write the spreadsheet to another file.
I do not change the formatting of any cell, so I assumed the format in the output file would be consistent with the input.
Some formatting, such as word wrap, is handled as expected. But foreground and background colors are not consistent. For some cells these are ok; for others, I get white letters on a black background. Same for vertical alignment. I assume this may be somehow related to the way the input spreadsheet was formatted before (by cell, by column, etc).
Since this is a rather simple (though long) spreadsheet I can set the format in my application cell by cell, but this blows up the output file size and makes the application very slow.
Do I miss something here?
Thanks,