Skip to main content
Participant
September 1, 2023
Answered

Finding Overrides in Body Page

  • September 1, 2023
  • 1 reply
  • 735 views

Is there a way to find overrides in the Body page when you get the Keep/Remove Overrides message?

    This topic has been closed for replies.
    Correct answer frameexpert

    You already know about switching from the master pages to body pages and the Overrides dialog box will be displayed. I don't know of any other way of doing this in the FrameMaker interface. This could be scripted by comparing each body page's flow text frames with those on the corresponding master page. You would have to at least check the following text frame properties: LocX, LocY, Height, and Width.

    1 reply

    frameexpert
    Community Expert
    frameexpertCommunity ExpertCorrect answer
    Community Expert
    September 1, 2023

    You already know about switching from the master pages to body pages and the Overrides dialog box will be displayed. I don't know of any other way of doing this in the FrameMaker interface. This could be scripted by comparing each body page's flow text frames with those on the corresponding master page. You would have to at least check the following text frame properties: LocX, LocY, Height, and Width.

    www.frameexpert.com
    Bob_Niland
    Community Expert
    Community Expert
    September 2, 2023

    From a document architect's point of view, that MP⇢BP Overrides warning is not welcome.

    Save off a copy of the document.
    Re-open, nav to the page, go to MP, and back, accepting Overides.
    See what happens.
    Try the cycle again to be sure it cleared.

     

    It could be just an accidental tug on the text frame,
    but might be something more interesting.

    K.Daube
    Community Expert
    Community Expert
    September 4, 2023

    OK, this line:

    (bpFrame.Color!== mpFrame.Color) ||

    had to be changed to this:

    (bpFrame.Color.Name !== mpFrame.Color.Name) ||

     

    That eliminates the false positives and now I get this result for Klaus's file:

    Page 3 has overrides.
    Page 5 has overrides.
    Page 9 has overrides.
    Page 11 has overrides.
    Page 13 has overrides.
    Page 15 has overrides.

     

    This matches the page count that FrameMaker reports but I am not sure about each page. I will try to isolate the exact override property on each page.


    "I will try to isolate the exact override property on each page"

    Rick, this would be great, because visually I have no clue what could be the override.