using System; using System.Collections.Generic; using System.Text; using System.Windows.Forms; using FastReport.Design; using FastReport.Utils; using FastReport.Forms; namespace FastReport { /// /// The class introduces some menu items specific to the TextObject. /// public class HtmlObjectMenu : TextObjectBaseMenu { #region Fields private SelectedTextBaseObjects htmlObjects; #endregion /// /// Initializes a new instance of the TextObjectMenu /// class with default settings. /// /// The reference to a report designer. public HtmlObjectMenu(Designer designer) : base(designer) { htmlObjects = new SelectedTextBaseObjects(designer); htmlObjects.Update(); MyRes res = new MyRes("ComponentMenu,HtmlObject"); miAllowExpressions.BeginGroup = false; int insertPos = Items.IndexOf(miFormat) + 1; insertPos = Items.IndexOf(miAllowExpressions); bool enabled = htmlObjects.Enabled; HtmlObject obj = htmlObjects.First as HtmlObject; } } }