Exemple #1
0
        private void BrowsPDF(DoxyType doxyType)
        {
            string s = _doxySettings.activeDocumentationFolder;

            s = s.Replace('/', '\\');
            s = s + "\\" + doxyType.ToString() + "Documentation.pdf";
            if (File.Exists(@s))
            {
                _msgToUser = "";
                System.Diagnostics.Process.Start(@s);
            }
            else
            {
                _msgToUser = doxyType.ToString() + "Documentation.pdf where not found in " + @s;
            }
        }
Exemple #2
0
        private void EditDoxygen(DoxyType doxyType)
        {
            string arg = _doxySettings.activeDocumentationFolder;

            arg = arg.Replace('/', '\\');
            arg = arg + "\\" + doxyType.ToString() + "Doxyfile";

            string doxyWizard = _doxySettings.fullDoxygenPath.Replace("doxygen.exe", "doxywizard.exe");

            doxyWizard = doxyWizard.Replace('/', '\\');


            if (File.Exists(doxyWizard) && File.Exists(arg))
            {
                _msgToUser = "";
                System.Diagnostics.Process.Start("\"" + doxyWizard + "\"", "\"" + arg + "\"");
            }
            else
            {
                _msgToUser = "";
                if (!File.Exists(doxyWizard))
                {
                    _msgToUser = "******" + doxyWizard;
                }
                if (!File.Exists(arg))
                {
                    _msgToUser += "Did not find the doxyfile at:" + arg;
                }
            }
        }
Exemple #3
0
        /*!
         * \breif Test if dxygen file exist
         */
        public static bool DoxygenFileExist(DoxyType doxyType, DoxySettings doxySettings)
        {
            string activeDocumentationFolder = doxySettings.activeDocumentationFolder.Replace('/', '\\');

            if (File.Exists(activeDocumentationFolder + @"\" + doxyType.ToString() + "Doxyfile"))
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }