Perhaps it is a bug, but I still hope that I am doing something wrong.
I configured styles for section, subsection, and a plain text in a file, and saved the file separately.
After that I am opening a copy of the file without styles being configured, and with Wiki steps I am loading styles from the file saved in previous paragraph. With disregard whether I selected a text, or not — styles from the other file never being applied.
UPD1: I found a weird thing: I unpacked both «.odt» files, and found there styles.xml
which are absolutely the same in both files, and does contain my styles. Then I changed style of a plain text, and unpacked that again, and… styles.xml
haven’t change!
UPD2: okay, I found that the currently used paragraph style is being saved in the content.xml
file. And loading a style simply doesn’t work — paragraphs are still using the same style as before.