Apache OpenOffice (AOO) Bugzilla – Issue 54832
TextTable in TextSection loses cells / columns after reopening the document
Last modified: 2017-05-20 11:13:44 UTC
I can only reproduce this with the TextSection configuration in the attached document. The document structure itself seems to be alright, because when you copy the created sections in to a new document you will have the same effect. To get the TextSections I refer to please - open the document - put the text cursor somewhere in the document - in the toolbar choose the drop down menu "Sonstige Felder" and choose "Fertiger Kursblock mit kursen Aktiv und Kündigung und Kündigungsdatum falls vorhanden (7 Zeilen) - save the document - open it again and see the difference (the table is partly damaged) As said, you can also copy the seven created sections with their seven included tables into a new document and experience the same damage of the tables. Best regards Helge
Created attachment 29688 [details] Document to get damaged tables
MRU->FME: When acting in the document as described, a table will be inserted via macro. But when saving & reopening the document, the table has lost two of its columns.
FME->FLR: As discussed, you can use this simple macro to reproduce the bug: Textfeld = ThisComponent.createInstance("com.sun.star.text.TextTable") Textfeld.initialize(1,5) Textfeld.isWidthRelative = True Textfeld.RelativeWidth = 100 ThisComponent.getCurrentController().getViewCursor().getText.InsertTextContent(ThisComponent.getCurrentController().getViewCursor(), Textfeld, False) The critical line is Textfeld.isWidthRelative = True. The resulting content.xml contains cells with colspan = 0 FME: Same effect in OOo 1.1
flr: Only important for macro writers.
flr: Set to 2.0.2 because of time constraints.
Oliver, who could take this over? Due to missing resources I change the target to 3.0
You wanted to set the target to 2.03, didn't you???
Target adjusted
Hi Oliver, just wanted to ask if this issue is still on the agenda and if you can roughly estimate in months or quarters when you will find time to have a look on this? Thanks a lot! Helge
target 3.x
Reset assigne to the default "issues@openoffice.apache.org".