Exemple #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.setIndentation(indentation);
   return section;
 }
Exemple #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
  * @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.setIndentation(indentation);
   section.setNumberDepth(numberDepth);
   return section;
 }