예제 #1
0
        private void btnPublish_Click(object sender, EventArgs e)
        {
            A3Environment.StartUp();

            A3Log log = new A3Log(A3Log.Operations.Publish);

            A3Presentation presentation = new A3Presentation(Globals.ThisAddIn.Application.ActivePresentation);
            A3Outline      outline      = presentation.GenerateOutline(log);

            if (chkPNG.Checked)
            {
                presentation.PublishPNGs();
            }
            if (chkMarkdown.Checked)
            {
                presentation.PublishMarkdown();
            }
            if (chkPDF.Checked)
            {
                presentation.PublishPDF();
            }
            if (chkYAML.Checked)
            {
                presentation.PublishYaml();
            }

            Dispose();
        }