public static void GeneratePdfTest()
        {
            //Title and footer document
            string documentTitle = "Recueil d'informations";

            FoxitPDFGenerator pdfGen = new FoxitPDFGenerator(documentTitle);
            // pdfGen.AddBlueLine(0f,200);
            pdfGen.AddTitle("TITLE", 20);
            pdfGen.AddSubtitle("SUB", 40);
            pdfGen.AddAnswer("Réponse1", 60, 300, 20, 200);
            pdfGen.AddAnswer("Réponse2", 80, 300, 20, 200);
            pdfGen.AddBlueBorder(100);
            pdfGen.AddHeader("Arnaud", "Le " + DateTime.Now.ToShortDateString());

            pdfGen.GeneratePdfToWeb("test.pdf");

        }
        private static void AddRetraitePPTableHeader(FoxitPDFGenerator pdfGen, ref float y, float x = 0)
        {
            var languageDataPP = PageLanguageHelper.GetLanguageContent("User", "PDFReportPP");


            List<string> colsNames = new List<string>() { string.Empty, languageDataPP.GetContent("PdfReportPP_115"), languageDataPP.GetContent("PdfReportPP_126") };
            List<string> rowsNames = new List<string>() { languageDataPP.GetContent("PdfReportPP_208"), languageDataPP.GetContent("PdfReportPP_209") };
            List<float> colsWidth = new List<float>() { 180, 160, 160 };
            string hostCode = SessionManager.GetHostCodeSession();
            if (!string.IsNullOrEmpty(hostCode) && hostCode == "BE")
            {
                rowsNames.Add(languageDataPP.GetContent("PdfReportPP_ass_indiv"));
            }


            Dictionary<int, List<string>> data = new Dictionary<int, List<string>>();
            var dt = new List<string>();
            foreach (string col in colsNames)
            {
                dt.Add(col);
            }
            data.Add(0, dt);

            pdfGen.AddHeader(colsNames, colsWidth, data, ref y, colsWidth.Sum(), height,x);
        }