Home › Forums › DITA and XMetaL Discussion › On_Document_Open_View not fired for DITA maps? › Reply To: On_Document_Open_View not fired for DITA maps?
mag3737 December 9, 2008 at 9:54 pm
Reply to: On_Document_Open_View not fired for DITA maps?December 9, 2008 at 9:54 pm
As Derek mentions, the problem here really is that the map editor is kind of a closed system embedded within XMetaL, and so doesn't trigger any of the ordinary XMetaL events.
A workaround: If you don't mind opening maps initially in “XML view”, all the usual events will fire normally.
Even there, though, On_Document_Open_View, doesn't seem to fire for maps. I'll ask about that.
Meanwhile, there are two other (undocumented) event macros that may be useful:
Both of these events fire in the XML view both for maps and topics.