renumber frames in writer

create a multipage document. create a new frame on each page (eg like a header), but start inserting the frames from end to beginning of the document. now put a paragraph style heading1 into each frame and number them. they are now numbered in the order the frames have been inserted and NOT in consecutive order of the document’s pages. the frames have obviously an internal number / sequence.
==> big question: how to put the numbering in the order of the pages? ie how to renumber the frames / resequence the frame order?
regards,
Petr.

Quoting @goodguy00: “… put a paragraph style heading1 into each frame and number them.”
How (by what means) shall I number the headings?

You did not provide much detailed context about your document content. However, I’ll try to answer.

In my conception of documents, frames are used for “auxiliary” information illustrating the main argument(s) of common text flow (the one spreading the whole document from start to end outside the frames). In this concept, frame contents are “independent” from each other. This means I wouldn’t use Heading 1 to number them because it creates a logical link between them. Apparently, Heading 1 exposes some internal details which should never be visible from user.

I usually number my frames with Insert>Caption and I can choose between four series: Drawing, Illustration, Table and Text. Note that if need more series, you can define other counters by creating them beforehand with Insert>Fields>Other, tab Variables, type Number range.

I made an experiment inserting my frames in reverse order and captioning them also in reverse order. The numbering sequence was displayed in ascending order from start to end as expected.

I would then recommend to use the captioning system for your case. Keep Heading x for chapter numbering.

If your need is to enter the frame titles/captions is some table of contents, you can do it with Insert>``Indexes & Tables>Indexes & Tables`. Select Illustration Index from the drop-down menu and the series from the Category drop-down menu.

If this answer helped you, please accept it by clicking the check mark :heavy_check_mark: to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.

(The answer is made not from undoubtable knowledge, but from observations and a bit of “research”. Errors may be contained.)

Frames and any graphical elements may be anchored to paragraph / to page / as character / to a pragraph inside a frame / to cell contents of texttables / contents of textsections …

Independent of these differences they are always inserted into the one and only DrawPage of the Writer document. The frames are automatically named reflecting the order of insertion, independent of the position in the document where they are displayed or anchored. You can change these names using the navigator or a “macro”. The renaming will not change the order by which the frames are indexed / enumerated as elements of the DrawPage. The only way I know to change (more precisely re-create) that order is to ‘Cut’ a frame (of a low internal index e.g.) and to insert it again later by what it will get the highest index and a corresponding new automatic name if the previous one was reused meanwhile.

In the navigator the frames are ordered regarding their position in the visible representation of the document.

well, my point of using these ‘frames’ to place a heading in it, might be based on a misconception of mine. my original intention was to create pages with 2 columns and a spanning header row (simulating a little bit html-tables, if you will). i did not find a template or a property on the pages propsheet to allow for this. so i started using frames with a header paragraph style, which now come in a funny order in the index.