Quote:
Originally Posted by Charles Kenyon
You might want to start using Page Break Before formatting for that style so it will always be the first line of a page.
|
No, that's not the result I'm looking for. I want the header to reflect the number of the chapter to which the first line of the page belongs to.
Unless that first line is in itself a heading 1 or 2 (which means the first line of "real" text belongs to the chapter of said heading).
Actually there are a couple of things I would want to combine. For that to work, they must of course be possible on their own...
- Is it possible to create some kind of "IF" formula in which the criterion is that the first line of a page is in a certain style?
- Is it possible to somehow (maybe using Visual Basic?) get {STYLEREF "Kop 1;REGEL;Rule" \n \t} of "PAGE -1"?
- If #2 is possible, is it possible to run this "formula" on every instance of e.g. "$". A "replace all" if you will.