Frame Styles Disappearing on close down

I’m having issues with custom styles disappearing when I close down LibreWriter, and strange ones appearing.

For example, I created a frame style, so when i create a frame, i apply this custom style to it. This worked fine, and the styling remained when I closed and re-opened the document. However, when i create a new frame, my custom style is no longer listed in the frame styles - it’s not available!

Also, after closing and re-opening the document, I’m finding that there are a number of new items listed in the Character Styles. They are named ListLabel1, ListLabel2, ListLabel3…up to ListLabel18.

No idea where these came from!

Can anyone help please? I’m relatively new to LibreOffice, so please be nice :slight_smile:

BTW. These issues are only with this one document - I’ve only recently created the one!! Said I was new!

I bet you save your document as .doc(x). M$ Word is based on different principles than LO Writer. In particular, Word has absolutely no notion of character, page, frame and list styles. When the document is converted into this alien format, the style formatting is replaced by approximate direct formatting resembling as much as possible the original formatting.

When you reopen the document, an inverse conversion takes place. However since there is no frame style definition in a .doc(x), no frame style can be created.

What you describe as spurious ListLabel99 character styles is an indication of the conversion mess introduced by the round trip to .doc(x).

If you want to work with styles (I encourage you and congratulate you for that), which is the recommended way to work with Writer – and this brings real comfort when tuning formatting --, save your document as .odt.

CAUTION! Since your document has already been “damaged” by multiple conversions, your style dictionary is “polluted” by tons of ersatz definitions in a desperate effort of Writer to make sense with the formatting. To clean the situation, the best way is to create a fresh blank document and to paste your “damaged” file as unformatted text so that no “pollution” is carried over.

Then use the built-in styles to format your text and add the missing ones. Save always as .odt.

If you need to exchange your document with other people, note that M$ Word claims to be able to read ODF (though in its own somewhat incompatible way). In case, this doesn’t work, only export as .docx for exchange. Don’t import back. If there are corrections on the document, ask for them to be clearly marked so in order to type them yourself into your .odt.

You can also export as PDF which guarantees that your formatting will be unaltered. PDF export is a very good solution if the document does not need to be edited.

To show the community your question has been answered, click the ✓ next to the correct answer, and “upvote” by clicking on the ^ arrow of any helpful answers. These are the mechanisms for communicating the quality of the Q&A on this site. Thanks!

In case you need clarification, edit your question (not an answer which is reserved for solutions) or comment the relevant answer.

Wow, that was a great answer! Thank you!!

It makes complete sense now. I will do as you advised and create a new blank document and save all as .odt in the future, rather than (as you correctly guessed) the .doc format!

I appreciate you taking the time to type that answer out and explain it so well. If I had more points, I would gladly upvote you.

Thanks again.

You’re welcome!

According to site policy, feedback (and greatly appreciated thanks) should not go to an Answer which is reserved for solutions. So, please, use the more link under your answer (only you as answer owner can see this link) to repost as a comment under my answer. Thanks.

OP omitted to mention his LO version. Bug report says it should be fixed in 6.3.0.