(In reply to Miklos Vajna from comment #46)
> The task is to track down how the SwTextFormatColl for the only text node in
> a new document is created
I hope it would help with other situations that must be considered to fix this issue: e.g., create a text document; set its only paragraph to Text Body style; add a table; put cursor into the very last cell of the table; press Alt+Enter (this creates a new paragraph after the table) -> that new paragraph is "Default Paragraph Style" currently (bug 116655). Possibly the task could be to track creation of the default item in the item pool?
(In reply to Miklos Vajna from comment #46)
> The task is to track down how the SwTextFormatColl for the only text node in
> a new document is created
I hope it would help with other situations that must be considered to fix this issue: e.g., create a text document; set its only paragraph to Text Body style; add a table; put cursor into the very last cell of the table; press Alt+Enter (this creates a new paragraph after the table) -> that new paragraph is "Default Paragraph Style" currently (bug 116655). Possibly the task could be to track creation of the default item in the item pool?