public HtmlEditorMarshallingHandler(IHtmlMarshallingTarget editorContext) { this.editorContext = editorContext; dataFormatRegistry = new DataFormatHandlerRegistry(); dataFormatRegistry.Register(CreateDataFormatFactories()); }
internal ExtendedHtmlEditorMashallingHandler(IHtmlMarshallingTarget editorContext, IContentSourceSite sourceSite, IHtmlEditorHost blogEditor, OpenLiveWriter.Interop.Com.IDropTarget unhandledDropTarget) : base(editorContext) { _insertionSite = sourceSite; _blogEditor = blogEditor; _unhandledDropTarget = unhandledDropTarget; }
internal ExtendedHtmlEditorMashallingHandler(IHtmlMarshallingTarget editorContext, IContentSourceSite sourceSite, IHtmlEditorHost blogEditor, OpenLiveWriter.Interop.Com.IDropTarget unhandledDropTarget) : base(editorContext) { _insertionSite = sourceSite; _blogEditor = blogEditor; _unhandledDropTarget = unhandledDropTarget; }
public HtmlEditorMarshallingHandler(IHtmlMarshallingTarget editorContext) { this.editorContext = editorContext; dataFormatRegistry = new DataFormatHandlerRegistry(); dataFormatRegistry.Register(CreateDataFormatFactories()); }
protected HtmlEditorDataFormatHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext) : base(dataObject, handlerContext) { this.editorContext = editorContext; }
public UrlHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext) : base(dataObject, handlerContext, editorContext) { _url = ExtractUrl(dataObject); _title = ExtractTitle(dataObject); }
public FileHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext) : base(dataObject, handlerContext, editorContext) { }
public ImageClipboardFormatHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext, IHtmlEditorHost blogEditor) : base(dataObject, handlerContext, editorContext) { _blogEditor = blogEditor; }
public ImageFileFormatHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext, IHtmlEditorHost blogEditor) : base(dataObject, handlerContext, editorContext, blogEditor) { }
public UrlContentSourcelFormatHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext, IContentSourceSite sourceSite) : base(dataObject, handlerContext, editorContext) { _contentSourceSite = sourceSite; }
protected HtmlEditorDataFormatHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext) : base(dataObject, handlerContext) { this.editorContext = editorContext; }
public FileHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext) : base(dataObject, handlerContext, editorContext) { }
protected FreeTextHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext) : base(dataObject, handlerContext, editorContext) { caretPointer = editorContext.MarkupServices.CreateMarkupPointer(); }
/// <summary> /// Initialize the drag and drop manager with its context. Note that this object /// is initialized in the 3 stages: construction, replacement of MSHTML DropTarget /// implementation, and finally installation of drag and drop event handlers for /// the drag target control. The 3-step initialization is required because MSHTML /// also initializes in stages and our initialization must correspond to its/ /// </summary> /// <param name="context">presentation editor context</param> public MshtmlEditorDragAndDropTarget(IHtmlMarshallingTarget context, IDataFormatHandlerFactory dataFormats) : base(dataFormats) { // store reference to context htmlMarshallingTarget = context; }
public EmbedFormatHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext, IContentSourceSite sourceSite) : base(dataObject, handlerContext, editorContext) { _contentSourceSite = sourceSite; }
public ImageClipboardFormatHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext, IHtmlEditorHost blogEditor) : base(dataObject, handlerContext, editorContext) { _blogEditor = blogEditor; }
public ImageFileFormatHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext, IHtmlEditorHost blogEditor) : base(dataObject, handlerContext, editorContext, blogEditor) { }
protected FreeTextHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext) : base(dataObject, handlerContext, editorContext) { caretPointer = editorContext.MarkupServices.CreateMarkupPointer(); }
/// <summary> /// Initialize the drag and drop manager with its context. Note that this object /// is initialized in the 3 stages: construction, replacement of MSHTML DropTarget /// implementation, and finally installation of drag and drop event handlers for /// the drag target control. The 3-step initialization is required because MSHTML /// also initializes in stages and our initialization must correspond to its/ /// </summary> /// <param name="context">presentation editor context</param> public MshtmlEditorDragAndDropTarget(IHtmlMarshallingTarget context, IDataFormatHandlerFactory dataFormats) : base(dataFormats) { // store reference to context htmlMarshallingTarget = context; }
public UrlHandler(DataObjectMeister dataObject, DataFormatHandlerContext handlerContext, IHtmlMarshallingTarget editorContext) : base(dataObject, handlerContext, editorContext) { _url = ExtractUrl(dataObject); _title = ExtractTitle(dataObject); }