internal HtmlDocument(HtmlBoxes.HtmlHost host, UniqueStringTable sharedUniqueStringTable) : base(sharedUniqueStringTable) { this.Host = host; //default root this.SetRootElement(new HtmlRootElement(this)); //TODO: test only #if DEBUG this.RegisterCustomElement("custom_div", CustomBoxGenSample1.CreateCssBox); #endif }
public void Bind(HtmlBoxes.HtmlHost htmlHost) { this.htmlHost = htmlHost; this.htmlHost.AttachEssentailHandlers( //1. image req (s, e) => { foreach (ImageContentManager key in imageContentManList.Keys) { key.AddRequestImage(e.ImageBinder); } }, //2. stylesheet request (s, e) => { }); }
public void Bind(HtmlBoxes.HtmlHost htmlHost) { this.htmlHost = htmlHost; this.htmlHost.AttachEssentailHandlers( //1. image req (s, e) => { foreach (ImageContentManager key in imageContentManList.Keys) { key.AddRequestImage(e.ImageBinder); } }, //2. stylesheet request (s, e) => { }); }
public void Bind(HtmlBoxes.HtmlHost htmlHost) { _htmlHost = htmlHost; _htmlHost.AttachEssentailHandlers( //1. image req (s, e) => { //------ //only 1 manager that handle the img req //------ //TODO: review if (ImgLoadingQueue != null) { ImgLoadingQueue.AddRequestImage(e.ImageBinder); } }, //2. stylesheet request (s, e) => { }); }
public MyCustomCssBoxGenerator(HtmlBoxes.HtmlHost myHost) { this.myHost = myHost; }
public MyCustomCssBoxGenerator(HtmlBoxes.HtmlHost myHost) { _myHost = myHost; _textboxSwitcher = new TextBoxSwitcher(); }
internal HtmlDocument(HtmlBoxes.HtmlHost host) { this.Host = host; this.SetRootElement(new HtmlRootElement(this)); }
internal HtmlShadowDocument(HtmlBoxes.HtmlHost host, HtmlDocument primaryHtmlDoc) : base(host, primaryHtmlDoc.UniqueStringTable) { //share string table with primary html doc _primaryHtmlDoc = primaryHtmlDoc; }
public MyCustomCssBoxGenerator(HtmlBoxes.HtmlHost myHost) { this.myHost = myHost; }
public void StartModule(HtmlBoxes.HtmlHost htmlHost, SampleViewport viewport) { this.htmlHost = htmlHost; this.viewport = viewport; OnStartModule(); }
public void StartModule(HtmlBoxes.HtmlHost htmlHost, SampleViewport viewport) { this.htmlHost = htmlHost; this.viewport = viewport; OnStartModule(); }