Created attachment 121222 [details] script of python to get/set attributes of text table cell There is something wrong with the 'UserDefinedAttributes' of the text table when save as .odt. I write a script of Python to show the bug. Follow by step: 1. Put the Python script to {LOROOT}/share/Scripts/python/pythonSamples/TableCellProperty.py 2. Open an empty doc on writer. 3. Insert table with have 6 cloums. 4. Tools->Macros->OrgnizeMacros->Pythons... 5. Select LibreOfficeDev Macros |-pythonSamples |-TableCellProperty |-SetPropertyPython on the pop dialog. 6. Then GetPropertyPython (for show the atrributes) 7. Save file. (There is something wring here ?) 8. Open the file. 9. GetPropertyPython again, the attribute of the cell('D1', 'E1') changed. the result: http://7xjcd4.com1.z0.glb.clouddn.com/cell_attrs_1.png http://7xjcd4.com1.z0.glb.clouddn.com/cell_attrs_2.png voido of steps: http://7xjcd4.com1.z0.glb.clouddn.com/lo_bug_cell_attr.mp4 more: http://www.aqcoder.com/blog/detail/id/e470a588-a009-11e5-801f-2a06cd74bd52/
I have submit the patch, and wait for code review. https://gerrit.libreoffice.org/#/c/20765/
aqcoder committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=d3e57ccf2e56a75bd4f004de53793f1742e34bc4 tdf#96412 Fix export text table cell UserDefinedAttributes to xml. It will be available in 5.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
jan iversen committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=da5d3f0fc8edc38f3830644aee0507c7675b37b3 Revert "tdf#96412 Fix export text table cell UserDefinedAttributes to xml." It will be available in 5.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
aqcoder committed a patch related to this issue. It has been pushed to "master": http://cgit.freedesktop.org/libreoffice/core/commit/?id=a16cef75e829cd48445905fc67de625640bf6398 tdf#96412 Fix export text table cell UserDefinedAttributes to xml. It will be available in 5.2.0. The patch should be included in the daily builds available at http://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: http://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.