public override void CreateLatex()
        {
            HeaderFooter.LoadFromFile(string.Format("{0}{1}", TemplatePath, "header-footer/poll-report.tex"));
            Table.LoadFromFile(string.Format("{0}{1}", TemplatePath, "tables/poll-report-portuguese-writing.tex"));
            Chart.LoadFromFile(string.Format("{0}{1}", TemplatePath, "charts/poll-report-portuguese-writing.tex"));

            CheckCreateAttribute("headerFooter", HeaderFooter.ToString());
            CheckCreateAttribute("table", Table.ToString());
            CheckCreateAttribute("chart", Chart.ToString());

            base.CreateLatex();
        }
        public override void CreateLatex()
        {
            HeaderFooter.LoadFromFile(string.Format("{0}{1}", TemplatePath, "header-footer/poll-report.tex"));
            CheckCreateAttribute("headerFooter", HeaderFooter.ToString());

            Table.ItemTemplatePath = string.Format("{0}{1}", TemplatePath, "tables/class/poll-report-math-multiplication-item.tex");
            Table.LoadFromFile(string.Format("{0}{1}", TemplatePath, "tables/class/poll-report-math-multiplication.tex"));
            CheckCreateAttribute("table", Table.ToString());

            for (int i = 0; i < Charts.Count; i++)
            {
                Charts[i].LoadFromFile(string.Format("{0}{1}", TemplatePath, "charts/poll-report-math.tex"));
                CheckCreateAttribute(string.Format("chart{0}", i), Charts[i].ToString());
            }

            base.CreateLatex();
        }
Example #3
0
        public override void CreateLatex()
        {
            HeaderFooter.LoadFromFile(string.Format("{0}{1}", TemplatePath, "header-footer/poll-report.tex"));
            CheckCreateAttribute("headerFooter", HeaderFooter.ToString());

            for (int i = 0; i < Tables.Count; i++)
            {
                Tables[i].LoadFromFile(string.Format("{0}{1}", TemplatePath, "tables/poll-report-math-numbers.tex"));
                CheckCreateAttribute(string.Format("table{0}", i), Tables[i].ToString());
            }

            for (int i = 0; i < Charts.Count; i++)
            {
                Charts[i].LoadFromFile(string.Format("{0}{1}", TemplatePath, "charts/poll-report-math-numbers.tex"));
                CheckCreateAttribute(string.Format("chart{0}", i), Charts[i].ToString());
            }

            Chart2.LoadFromFile(string.Format("{0}{1}", TemplatePath, "charts/poll-report-math-numbers2.tex"));
            CheckCreateAttribute("chart6", Chart2.ToString());

            base.CreateLatex();
        }