To apply the master page mapping table to a single document, use Format > Page Layout > Apply Master Pages.
I should have been more clear in my post. I am trying to accomplish this via ExtendScript.
1 person found this helpful
there is an internal command ApplyMasterPages and in one report I find the FCode to be listed as 21040624 (decimal). But, as this feature is added to FrameMaker via an FDK client (fminit\Plugins\masterpages.dll), I guess the FCode values are assigned dynamically and may be different each time. I guess you could parse the menu command structure to find the command and read the FCode from it… ugly, I know!
The FDK documents (fdkref.pdf) contain a segment about calling clients shipped with FrameMaker, but at least the version I am looking at does not explain the masterpages.dll.
Maybe this helps a little bit,
Thank you, Michael. Your post provided the key I was looking for: