Exemplo n.º 1
0
        /**
         * Creates a <CODE>Section</CODE>, adds it to this <CODE>Section</CODE> and returns it.
         *
         * @param   indentation the indentation of the new section
         * @return  a new Section object
         */

        public MarkedSection AddSection(float indentation)
        {
            MarkedSection section = ((Section)element).AddMarkedSection();

            section.Indentation = indentation;
            return(section);
        }
Exemplo n.º 2
0
        /**
         * Creates a <CODE>Section</CODE>, add it to this <CODE>Section</CODE> and returns it.
         *
         * @param   numberDepth the numberDepth of the section
         * @return  a new Section object
         */
        public MarkedSection AddSection(int numberDepth)
        {
            MarkedSection section = ((Section)element).AddMarkedSection();

            section.NumberDepth = numberDepth;
            return(section);
        }
Exemplo n.º 3
0
        /**
         * Creates a <CODE>Section</CODE>, adds it to this <CODE>Section</CODE> and returns it.
         *
         * @param   indentation the indentation of the new section
         * @param   numberDepth the numberDepth of the section
         * @return  a new Section object
         */

        public MarkedSection AddSection(float indentation, int numberDepth)
        {
            MarkedSection section = ((Section)element).AddMarkedSection();

            section.Indentation = indentation;
            section.NumberDepth = numberDepth;
            return(section);
        }