I have a template (.xlsx) with 1 formatting cell (aligment, height, width, wrap). It is perfectly displayed in Excel (2010) and Calc (18.104.22.168).
Set value to second cell by C# code and EPPlus (test Console App .NET 4.7.1 and last EPPlus 22.214.171.124). Finally document is perfectly displayed only in Excel, but in Calc without good formatting. If open it in Excel and Save then new document is displayed perfectly in Calc too. I unpacking .xlsx and compared xl/styles.xml after epplus file and after excel saving. I find significant changes in block <cellXfs><xf PARAMS ... />, namely in the order of parameters. If get block <cellXfs> from Excel file and set it to epplus file, pack to .xlsx then it is displayed perfectly in Calc.
Faced with this problem on a large template in production, this is a test example. Checked it on some machines. Later I will report a bug in EPPlus.
Steps to Reproduce:
1. Create new .xlsx document in Excel
2. Format "A2" cell - height, width, wrap, aligment, etc.
3. Set value to "A1" cell by EPPlus (and C# for example)
Formatting "A2" cell is preserved in Excel, but no in Calc
Formatting "A2" cell is preserved in Excel and Calc
User Profile Reset: Yes
I don't find "Add an Attachment", all files in cloud https://1drv.ms/f/s!ArAS3ailIBF4iexR4-0LtWwE3SFOQA
Версия: 126.96.36.199 (x64)
ID сборки: 65905a128db06ba48db947242809d14d3f9a93fe
Потоков ЦП: 8; ОС:Windows 10.0; Отрисовка ИП: по умолчанию;
Локаль: ru-RU (ru_RU); Calc: group threaded
Created attachment 146304 [details]
Original document, result document, result document after excel saving, test program and source code for test program
Thank you for reporting the bug.
it seems you're using an old version of LibreOffice.
Could you please try to reproduce it with the latest version of LibreOffice
from https://www.libreoffice.org/download/libreoffice-fresh/ ?
I have set the bug's status to 'NEEDINFO'. Please change it back to
'UNCONFIRMED' if the bug is still present in the latest version.
Dear Appik Ma,
This bug has been in NEEDINFO status with no change for at least
6 months. Please provide the requested information as soon as
possible and mark the bug as UNCONFIRMED. Due to regular bug
tracker maintenance, if the bug is still in NEEDINFO status with
no change in 30 days the QA team will close the bug as INSUFFICIENTDATA
due to lack of needed information.
For more information about our NEEDINFO policy please read the
wiki located here:
If you have already provided the requested information, please
mark the bug as UNCONFIRMED so that the QA team knows that the
bug is ready to be confirmed.
Thank you for helping us make LibreOffice even better for everyone!
Dear Appik Ma,
Please read this message in its entirety before proceeding.
Your bug report is being closed as INSUFFICIENTDATA due to inactivity and
a lack of information which is needed in order to accurately
reproduce and confirm the problem. We encourage you to retest
your bug against the latest release. If the issue is still
present in the latest stable release, we need the following
information (please ignore any that you've already provided):
a) Provide details of your system including your operating
system and the latest version of LibreOffice that you have
confirmed the bug to be present
b) Provide easy to reproduce steps – the simpler the better
c) Provide any test case(s) which will help us confirm the problem
d) Provide screenshots of the problem if you think it might help
e) Read all comments and provide any requested information
Once all of this is done, please set the bug back to UNCONFIRMED
and we will attempt to reproduce the issue. Please do not:
a) respond via email
b) update the version field in the bug or any of the other details
on the top section of our bug tracker