Example #1
0
 CTTextParagraphProperties getDefaultParagraphStyle(int level) {
   XmlObject[] o =
       _presentation.selectPath(
           "declare namespace p='http://schemas.openxmlformats.org/presentationml/2006/main' "
               + "declare namespace a='http://schemas.openxmlformats.org/drawingml/2006/main' "
               + ".//p:defaultTextStyle/a:lvl"
               + (level + 1)
               + "pPr");
   if (o.length == 1) {
     return (CTTextParagraphProperties) o[0];
   }
   return null;
 }