Hi,
I need to implement the following information in running headers
throughout a portion of a document.
Different Odd / Even hearder (easy)
On Odd pages
if no headings (level 1, 2,3,or 4) no text
if any of heading level 1,2,3,4 first occurrence on page of the
heading number
On even pages
if no headings (level 1, 2,3,or 4) no text
if any of heading level 1,2,3,4 last occurrence on page of the heading
number
I have explored Styleref but, because it remembers the heading numbers
from previous pages, it does not support all the requirements.
I was thing about the following approach
setup standard headers and use styleref to point EarContent style
iterate through each page
Search through the page
depending on even or odd page, extract the correct outline number
extract the ear test (eg. 1.2.a.ii) for a level 4
write the text to the page at the end and style it with a character
style (EarContent) (the style is white and small pt size)
next page
This way the simple styleref picks up my text,
is there a non vba solution?
Thanks,
Bob