/// <summary> /// used when they right click then select "map to" /// </summary> /// <param name="odType"></param> private void mapToSelectedControl( OpenDopeType odType) { openDopeRightClickHandler.mapToSelectedControl(odType, this, GetMainControl(), CurrentDocument, CurrentPart, //OwnerDocument, _PictureContentControlsReplace); }
/// <summary> /// Create a content control mapped to the selected XML node. /// </summary> /// <param name="CCType">A WdContentControlType value specifying the type of control to create.</param> private void CreateMappedControl(Word.WdContentControlType CCType, OpenDopeType odType) { openDopeCreateMappedControl.CreateMappedControl(CCType, odType, this, GetMainControl(), CurrentDocument, CurrentPart, //OwnerDocument, _PictureContentControlsReplace); }