[Libreoffice-bugs] [Bug 116655] Paragraph style is automatically set to "Default" after exiting table with Alt+Enter
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Thu Nov 29 07:54:28 UTC 2018
https://bugs.documentfoundation.org/show_bug.cgi?id=116655
--- Comment #4 from Mike Kaganski <mikekaganski at hotmail.com> ---
Also this is reproducible when you add a paragraph *before* a table which
doesn't have a prior normal paragraph.
1. In a new text document, set everything to use "Text Body" paragraph style.
2. When in the very first position, insert a new table. Check that there's no
paragraph before the table; check that the paragraph after the table has "Text
Body" paragraph style.
3. Put cursor to the beginning of the table; press "Alt"+"Enter" to add a
paragraph in front of it.
=> the new paragraph has "Default Style".
4. Set this new first paragraph to have "Text Body" paragraph style.
5. Put cursor to the beginning of the table; press "Alt"+"Enter" to add a
paragraph in front of it.
=> the new paragraph has "Text Body" paragraph style.
6. Put cursor to the paragraph immediately following the (first) table.
7. Add another table. Make sure there's no paragraphs between the two tables.
8. Put cursor to the beginning of the second table; press "Alt"+"Enter" to add
a paragraph in front of it.
=> the new paragraph between tables has "Default Style".
9. Set this new paragraph between tables to have "Text Body" paragraph style.
10. Put cursor to the beginning of the second table; press "Alt"+"Enter" to add
a paragraph in front of it.
=> the new paragraph has "Text Body" paragraph style.
So this shows that the inserted paragraph inherits the paragraph style of a
free paragraph on the same nesting level and immediately above the newly
inserted; if there's no such paragraph, it defaults to "Default Style".
Also this is clearly must be the same problem when we create a new document
without using any templates, that the very first paragraph has that "Default
Style".
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20181129/760f79a8/attachment.html>
More information about the Libreoffice-bugs
mailing list