Exemplo n.º 1
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.setNumberDepth(numberDepth);
   return section;
 }
Exemplo n.º 2
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.setIndentation(indentation);
   return section;
 }