private boolean isListItem(PPr pPr) { return (pPr!=null && pPr.getNumPr()!=null ); }
String levelIdStr = null; if (pPr.getNumPr()!=null) { if (pPr.getNumPr().getNumId()!=null) { BigInteger numId = pPr.getNumPr().getNumId().getVal(); if (numId!=null) numIdStr = numId.toString(); if (pPr.getNumPr().getIlvl()!=null) { BigInteger levelId = pPr.getNumPr().getIlvl().getVal(); if (levelId!=null) levelIdStr = levelId.toString();
PPr ppr = propertyResolver.getEffectivePPr(paragraph.getPPr()); NumPr numPr = ppr.getNumPr();
&& style.getPPr().getNumPr()!=null && style.getPPr().getNumPr().getNumId()==null) { && basedOnStyle.getPPr().getNumPr()!=null && basedOnStyle.getPPr().getNumPr().getNumId()!=null) { NumId numId = basedOnStyle.getPPr().getNumPr().getNumId(); style.getPPr().getNumPr().setNumId(numId); log.info("Injected numId " + numId);
if (pPr.getNumPr()!=null && pPr.getNumPr().getNumId()!=null && pPr.getNumPr().getNumId().getVal().longValue()!=0 //zero means no numbering ) { Ind numInd = org.docx4j.model.listnumbering.Emulator.getInd( context.getWmlPackage(), pStyleVal, pPr.getNumPr().getNumId().getVal().toString(), pPr.getNumPr().getIlvl().getVal().toString() ); if (numInd!=null) { Indent indent = new Indent(pPr.getInd(), numInd);
NumPr numPr = ppr.getNumPr();
if (pPrToApply.getNumPr()!=null) { return true;
private boolean isListItem(PPr pPr) { return (pPr!=null && pPr.getNumPr()!=null ); }
CTBorder leftBorder = getCopy(parent.getPBdr().getLeft(), true); final PPrBase.NumPr numPr = styledChild.getNumPr(); if (numPr != null) {
PPrBase.Ind pInd = parent.getInd(); final PPrBase.NumPr numPr = styledChild == null ? null : styledChild.getNumPr(); if (numPr != null) {
String levelIdStr = null; if (pPr.getNumPr()!=null) { if (pPr.getNumPr().getNumId()!=null) { BigInteger numId = pPr.getNumPr().getNumId().getVal(); if (numId!=null) numIdStr = numId.toString(); if (pPr.getNumPr().getIlvl()!=null) { BigInteger levelId = pPr.getNumPr().getIlvl().getVal(); if (levelId!=null) levelIdStr = levelId.toString();
if (pPrToApply.getNumPr()!=null) { return true;