private void headingStripMenuItem_Click(object sender, EventArgs e)
        {
            InsertHeadingDialog dlgInsertHeading = new InsertHeadingDialog();

            dlgInsertHeading.ShowDialog();

            if (dlgInsertHeading.DialogResult == DialogResult.OK)
            {
                string headingText = dlgInsertHeading.HeadingText;
                int    headingSize = dlgInsertHeading.HeadingSize;
                builder.InsertHeading(headingText, headingSize);
                modifiedDocument = true;
            }
        }
        private void headingStripMenuItem_Click(object sender, EventArgs e)
        {
            InsertHeadingDialog dlgInsertHeading = new InsertHeadingDialog();
            dlgInsertHeading.ShowDialog();

            if (dlgInsertHeading.DialogResult == DialogResult.OK)
            {
                string headingText = dlgInsertHeading.HeadingText;
                int headingSize = dlgInsertHeading.HeadingSize;
                builder.InsertHeading(headingText, headingSize);
                modifiedDocument = true;
            }
        }