Example #1
0
        //文書構造解析ボタンをクリック
        private void docStructSurveyButton_Click(object sender, EventArgs e)
        {
            storage = browserControl.DocumentText;
            PreservUtil pu = new PreservUtil(ref browserControl);

            if (docStructParagraphRadio.Checked == true)
            {
                pu.tag_paragraph();
            }
            if (docStructBrRadio.Checked == true)
            {
                pu.tag_br();
            }
            if (docStructHeadingRadio.Checked == true)
            {
                pu.tag_heading();
            }
            if (docStructListRadio.Checked == true)
            {
                pu.tag_list();
            }
            if (docStructTableRadio.Checked == true)
            {
                pu.tag_table();
            }
            if (docStructSemanticRadio.Checked == true)
            {
                pu.tag_semantic();
            }
        }
Example #2
0
        //ラベル解析ボタンをクリック
        private void doLabelCheckButton_Click(object sender, EventArgs e)
        {
            storage = browserControl.DocumentText;
            PreservUtil pu = new PreservUtil(ref browserControl);

            pu.tag_label();
            if (doLabelCheckTitleRadio.Checked == true)
            {
                pu.attr_title();
            }
        }