/// <summary>
        /// This function execute the code for word template fill-in. Call this after calling the Init() function
        /// </summary>
        public static void Run()
        {
            try
            {
                WordprocessingDocument document = WordprocessingDocument.Open(StaticValues.word_template_path, true);
                WordTemplateManager    manager  = new WordTemplateManager(document);
                manager.Process();
                Helper_WordBase.PostProcessorFixLineBreaks(document);
                Helper_WordBase.DeleteAllSQLQueryInWord(document);
                document.Save();
                document.Close();
            }
            catch (Exception ex)
            {
                //StaticValues.logs += ex.Message + Environment.NewLine;
                StaticValues.logs      += ex.ToString() + Environment.NewLine;
                StaticValues.is_success = false;

                // Write to debug screen on VS
                System.Diagnostics.Debug.WriteLine(StaticValues.logs);
            }
        }
 static void Main(string[] args)
 {
     WordTemplateManager.Run();
     Console.WriteLine(StaticValues.logs);
 }