https://bugs.documentfoundation.org/show_bug.cgi?id=120241
--- Comment #2 from Bernard TREMBLAY <[email protected]> ---
Hi,
I can join an example of document but I don't understand how this can be
useful.
The reason is that it is the process which is involved.
Then what I would need to provide is a video which shows the whole process.
It seems to me that is shorter to create each one an example mode easy to
manipulate.
More without following the process nothing can be shown. The html that I
provide has only a list of headers which contents begins by a number generated
by the function "numbering chapter"
More if there are several ways to process to have several example will lead to
a better confirmation and documentation of the problem.
Anybody can create a very simple example following the steps :
1- create HTML new document, LO writer switches to web mode.
2- in this document create a quick content with a headers hierarchy
3- use tool "numbering chapters", you get a document with chapters (Hx tags)
that you can modify dynamically (add new header will change numbering).
4- save the file and close
5- reopen
6- you get the same view but
- numbers (can verify in html mode or any editor) are hard coded into the
headers contents
- the "numbering header" previously set values are forgotten
- naturally if you re-define the "numbering header" you will get duplicate
numbering
- you need to clear old numbering using replace with a regular expression
(must chose an easy identification numbering as for "9.9.9...-"
/\d+[\.\d+]*\-\s*/ replace by nothing
Remark : this is quite normal but lead to complex operation for numbering.
There are way "quite easy" to manage dynamic numbering by saving parameters
into the html file and treat the file when re-open and initialize "numbering
headers to previous configuration.
Trebly
--
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs