Exemple #1
0
        public void End()
        {
            ContainerIO cio = (ContainerIO)stkContainers.Pop();                 // this pop should empty the stack

            cio.WriteAttribute(">");
            tw.WriteLine(cio.attribute_sb);
            tw.WriteLine(cio.subelement_sb);
            tw.WriteLine("</" + r.ReportDefinition.DataElementName + ">");

            return;
        }
Exemple #2
0
        void PopContainer(string name)
        {
            ContainerIO cio = (ContainerIO)this.stkContainers.Pop();

            if (cio.bEmpty)
            {
                return;
            }
            cio.WriteAttribute(">");
            WriteElementLine(cio.attribute_sb.ToString());
            WriteElementLine(cio.subelement_sb.ToString());
            if (name != null)
            {
                WriteElementLine("</{0}>", name);
            }
        }
Exemple #3
0
        void WriteAttribute(string format, params object[] arg)
        {
            ContainerIO cio = (ContainerIO)this.stkContainers.Peek();

            cio.WriteAttribute(format, arg);
        }
Exemple #4
0
        void WriteAttribute(string format)
        {
            ContainerIO cio = (ContainerIO)this.stkContainers.Peek();

            cio.WriteAttribute(format);
        }