public FormStyleChooser()
        {
            InitializeComponent();

            styleDefaultPFont = Globals.ThisAddIn.Application.ActiveDocument.Styles[Word.WdBuiltinStyle.wdStyleDefaultParagraphFont];

            cc = ContentControlMaker.getActiveContentControl(Globals.ThisAddIn.Application.ActiveDocument, Globals.ThisAddIn.Application.Selection);
            if (cc == null)
            {
                // Shouldn't happen
                log.Error("Which content control?");
                this.Close();
            }


            dynamic d = cc.get_DefaultTextStyle(); // actually returns the PARAGRAPH style!

            if (d == null)
            {
                // Nothing selected
                log.Error("No current style!");
            }
            else
            {
                //log.Debug(((Object)d).GetType().FullName);
                // System.__ComObject

                //string typeName = ComHelper.GetTypeName(d);
                //log.Debug(typeName);
                //Marshal.ReleaseComObject(selection);

                existingStyle = d as Word.Style;
                log.Debug(existingStyle.NameLocal); // eg Heading 6 ie the PARAGRAPH style!
            }



            foreach (Word.Style s in Globals.ThisAddIn.Application.ActiveDocument.Styles)
            {
                try
                {
                    if (s.Type.Equals(Word.WdStyleType.wdStyleTypeParagraph) && s.Linked)
                    {
                        //log.Debug(s.NameLocal);
                        //log.Debug(".. linked to " + linkedS.NameLocal);

                        WrappedStyle wrapped = new WrappedStyle(s);
                        listBox1.Items.Add(wrapped);

                        if (existingStyle != null &&
                            wrapped.ToString().Equals(existingStyle.NameLocal))
                        {
                            //log.Debug(" found  " + existingStyle.NameLocal);

                            listBox1.SelectedItem = wrapped;
                        }
                    }
                }
                catch (System.Runtime.InteropServices.COMException) { }
            }



            // events click, doubleclick, mouseXXX
            //this.listBox1.SelectedIndexChanged += new System.EventHandler(listBox1_SelectedIndexChanged);
            this.listBox1.SelectedValueChanged += new System.EventHandler(listBox1_SelectedValueChanged);
        }
        object styleDefaultPFont = null; //Word.Style

        #endregion Fields

        #region Constructors

        public FormStyleChooser()
        {
            InitializeComponent();

            styleDefaultPFont = Globals.ThisAddIn.Application.ActiveDocument.Styles[Word.WdBuiltinStyle.wdStyleDefaultParagraphFont];

            cc = ContentControlMaker.getActiveContentControl(Globals.ThisAddIn.Application.ActiveDocument, Globals.ThisAddIn.Application.Selection);
            if (cc == null)
            {
                // Shouldn't happen
                log.Error("Which content control?");
                this.Close();
            }

            dynamic d = cc.get_DefaultTextStyle(); // actually returns the PARAGRAPH style!
            if (d == null)
            {
                // Nothing selected
                log.Error("No current style!");

            }
            else
            {
                //log.Debug(((Object)d).GetType().FullName);
                // System.__ComObject

                //string typeName = ComHelper.GetTypeName(d);
                //log.Debug(typeName);
                //Marshal.ReleaseComObject(selection);

                existingStyle = d as Word.Style;
                log.Debug(existingStyle.NameLocal); // eg Heading 6 ie the PARAGRAPH style!

            }

            foreach (Word.Style s in Globals.ThisAddIn.Application.ActiveDocument.Styles) {

                try
                {

                    if (s.Type.Equals(Word.WdStyleType.wdStyleTypeParagraph) && s.Linked)
                    {
                        //log.Debug(s.NameLocal);
                        //log.Debug(".. linked to " + linkedS.NameLocal);

                        WrappedStyle wrapped = new WrappedStyle(s);
                        listBox1.Items.Add(wrapped);

                        if (existingStyle!=null
                            && wrapped.ToString().Equals(existingStyle.NameLocal))
                        {
                            //log.Debug(" found  " + existingStyle.NameLocal);

                            listBox1.SelectedItem = wrapped;
                        }

                    }
                }
                catch (System.Runtime.InteropServices.COMException) { }

            }

            // events click, doubleclick, mouseXXX
            //this.listBox1.SelectedIndexChanged += new System.EventHandler(listBox1_SelectedIndexChanged);
            this.listBox1.SelectedValueChanged += new System.EventHandler(listBox1_SelectedValueChanged);
        }