Ask Your Question

problem when numbering the headings 1-2-3 in docx format upon restarting the document [closed]

asked 2020-02-04 01:57:12 +0200

sid gravatar image

Hello everyone, thanks for serving the commmunity. I'm having problem when numbering the headings 1-2-3, as described here in this screenshot video

problem description according to what is shown in video: on reopening the doc, i achieved the numbers 3 and 3.1 only after clicking the update button, but that too didnt work the next time on reopening as numbering wasnt present and after i switched on the numbering again manually it was the number 4 for every outline level ie heading 1-2-3

happens everytime, create any doc and reopen office once and twice for both observations in succession

problem occurs only with docx and not odt, using tools->chapter numbering still has issue though a little different.

after numbering using tools->chapter numbering for docx format: on first doc restart- numbering updates after clicking 'update selected style' and same number gets stuck for every level newly entered as can be seen in this video

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by sid
close date 2020-07-06 07:33:09.838164



As I already told you on IRC: don't use DOCX for storing your data; use ODT, and only export to DOCX when need to send to someone unable to open ODT (and even then, prefer (hybrid) PDF when possible).

Mike Kaganski gravatar imageMike Kaganski ( 2020-02-04 05:38:31 +0200 )edit

The main problem I experienced with .docx compatibility was related to list numbering. And chapter numbering is just another special list. Added to that you have a faulty usage of the "Update Selected Style" button (according to your videos). Contrary to what you think, this button will not reapply the style to the paragraph, but the present (direct) formatting in the paragraph will update the style definition. Without full explanation of what you're doing (no sound track nor explanation on screen), I'd say you're messing up the style dictionary. Added to that, you have double conversions (one to .docx when saving, the second one when reloading from .docx).

Instead of "Update Selected Style" button, have you tried Tools>Update>Update All which is much safer for style sanity?

Anyway, follow the usual advice, save native, i.e. .odt.

ajlittoz gravatar imageajlittoz ( 2020-02-04 18:24:22 +0200 )edit

Tools>Update>Update All did not bring any change.

sid gravatar imagesid ( 2020-02-05 01:46:15 +0200 )edit

please do inform me if a workaround is found

sid gravatar imagesid ( 2020-02-05 01:48:21 +0200 )edit

bug submitted fdo#130446

sid gravatar imagesid ( 2020-02-05 07:37:33 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2020-02-07 03:29:12 +0200

sid gravatar image

updated 2020-07-16 14:37:41 +0200

I got a workaround fortunately. Idea clicked through Mike Kaganski sir mentioning its a simple numbered list and not a style generated numbering. But this is far from a good alternative being tedious and needs to be done everytime and at each site:

Right click to open context menu>bullets and numbering>continue previous numbering. Do this at the earliest site of wrong numbering and repeat at each next entry including every outline level without missing any entry.

Is there a shortcut for not doing at each entry after the first one? Selecting all the contents and then doing this workaround isnt proper when there are normal unnumbered contents in between the headings, as those too will get numbered otherwise.



it was bug fdo#130446, got fixed, will be available from version 7.

edit flag offensive delete link more



Caution! Caution! Mixing commands for lists with chapter (outline) numbering will mess up everything and worsen the problem.

Chapter numbering is one of the most used and stable features. You bump into problems with .docx if you define a complex and sophisticated numbering style (with numbers and letters, fancy indents, ...).

Otherwise, it is likely you don't use the feature as it should.

ajlittoz gravatar imageajlittoz ( 2020-02-07 06:55:06 +0200 )edit

Question Tools

1 follower


Asked: 2020-02-04 01:57:12 +0200

Seen: 181 times

Last updated: Jul 16