https://bugs.documentfoundation.org/show_bug.cgi?id=96412

            Bug ID: 96412
           Summary: There is something wrong with the cell
                    UserDefinedAttributes after save as .odt.
           Product: LibreOffice
           Version: 5.2.0.0.alpha0+ Master
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 121222
  --> https://bugs.documentfoundation.org/attachment.cgi?id=121222&action=edit
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/

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to