Hello, I think there is a bug with automatic cell styles export. When you attach a style to a table then automatic cell styles are exported incorectly. How to reproduce 1. Create new doc. 2. Insert table (any size). 3. Open table autoformat window. 4. Add new format (any name). 5. Click OK (apply newly created style to the table). 5. Export doc. Automatic cell-styles (stored in content.xml) now have following attribute style:vertical-align="" (bad value). Confirmed in 5.1.4 Windows 10 64 bit and 5.0.4.2 OpenSuse 42.1 64 bit
Hello Jakub Trzebiatowski, Thank you for reporting the bug. I can confirm that the bug is present in versions 3.6.0.4 up to master. To reproduce you don't need to create a new autoformat style How to reproduce 1. Create new document. 2. Insert table. 3. Open table autoformat window. 4. Save document. View bad value 1. Unzip content.xml from document. 2. content.xml has an empty style value: style:vertical-align="" btw there is another empty style value: style:master-page-name="" Tested it on Ubuntu 16.04 64bit LibreOffice Version 3.6.0.4 (Build ID: 932b512) and a lot of later versions up to Version: 5.3.0.0.alpha0+ Build ID: eff871de05c5efdac0d0397b539b3b5e999672c9 CPU Threads: 2; OS Version: Linux 4.4; UI Render: default; TinderBox: Linux-rpm_deb-x86_64@70-TDF, Branch:master, Time: 2016-07-06_00:33:49 Locale: nl-NL (nl_NL.UTF-8); Calc: group
** Please read this message in its entirety before responding ** To make sure we're focusing on the bugs that affect our users today, LibreOffice QA is asking bug reporters and confirmers to retest open, confirmed bugs which have not been touched for over a year. There have been thousands of bug fixes and commits since anyone checked on this bug report. During that time, it's possible that the bug has been fixed, or the details of the problem have changed. We'd really appreciate your help in getting confirmation that the bug is still present. If you have time, please do the following: Test to see if the bug is still present on a currently supported version of LibreOffice (5.4.1 or 5.3.6 https://www.libreoffice.org/download/ If the bug is present, please leave a comment that includes the version of LibreOffice and your operating system, and any changes you see in the bug behavior If the bug is NOT present, please set the bug's Status field to RESOLVED-WORKSFORME and leave a short comment that includes your version of LibreOffice and Operating System Please DO NOT Update the version field Reply via email (please reply directly on the bug tracker) Set the bug's Status field to RESOLVED - FIXED (this status has a particular meaning that is not appropriate in this case) If you want to do more to help you can test to see if your issue is a REGRESSION. To do so: 1. Download and install oldest version of LibreOffice (usually 3.3 unless your bug pertains to a feature added after 3.3) http://downloadarchive.documentfoundation.org/libreoffice/old/ 2. Test your bug 3. Leave a comment with your results. 4a. If the bug was present with 3.3 - set version to "inherited from OOo"; 4b. If the bug was not present in 3.3 - add "regression" to keyword Feel free to come ask questions or to say hello in our QA chat: http://webchat.freenode.net/?channels=libreoffice-qa Thank you for helping us make LibreOffice even better for everyone! Warm Regards, QA Team MassPing-UntouchedBug-20170901
There is no attribute style:vertical-align="" neither with the old autoformat nor with the new table styles. The value "" for the attribute style:master-page-name is a valid, the value <empty/> is allowed for "styleNameRef". I have tested it in Version: 6.0.0.0.alpha0+ Build ID: 4c99b8a9de59f3c5280ff2944d9f828822897f4a CPU threads: 4; OS: Windows 6.1; UI render: default; Locale: de-DE (de_DE); Calc: group