private ContentAccessor getListForRun() { if (attachmentPointH!=null) return attachmentPointH; return getCurrentParagraph(true); }
getCurrentParagraph(false), this.contentContextStack.peek()); bookmarkHelper.attachBookmarkEnd(markupRangeForID, getCurrentParagraph(false), this.contentContextStack.peek());
if (this.getCurrentParagraph(false).getPPr()!=null && this.getCurrentParagraph(false).getPPr().getPStyle()!=null) { pStyleId = this.getCurrentParagraph(false).getPPr().getPStyle().getVal();
CTMarkupRange inlineMarkupRange = bookmarkHelper.anchorToBookmark(s.getElement(), bookmarkNamePrefix, getCurrentParagraph(false), this.contentContextStack.peek()); if (inlineMarkupRange!=null) { bookmarkHelper.attachBookmarkEnd( inlineMarkupRange, getCurrentParagraph(false), this.contentContextStack.peek() ); markuprange = null; P p = this.getCurrentParagraph(true); if (p.getPPr()==null) { PPr pPr = Context.getWmlObjectFactory().createPPr(); markuprange = bookmarkHelper.anchorToBookmark(s.getElement(), bookmarkNamePrefix, getCurrentParagraph(false), this.contentContextStack.peek()); if (markuprange!=null) { bookmarkHelper.attachBookmarkEnd(markuprange, getCurrentParagraph(false), this.contentContextStack.peek()); markuprange = null; rPr, inlineBox.getText(), rp); this.getCurrentParagraph(false).getContent().add(h); bookmarkHelper.attachBookmarkEnd(markuprange, getCurrentParagraph(false), this.contentContextStack.peek()); markuprange = null; rPr, href, rp); this.getCurrentParagraph(false).getContent().add(h); bookmarkHelper.attachBookmarkEnd(markuprange, getCurrentParagraph(false), this.contentContextStack.peek()); markuprange = null;
P currentP = getCurrentParagraph(false);
getCurrentParagraph(false), this.contentContextStack.peek()); && this.getCurrentParagraph(false)!=null && this.getCurrentParagraph(false).getPPr()!=null && this.getCurrentParagraph(false).getPPr().getNumPr()!=null ) { NumPr numPr = this.getCurrentParagraph(false).getPPr().getNumPr(); this.getCurrentParagraph(true).setPPr(this.getPPr(blockBox, cssMap)); this.getCurrentParagraph(false).getPPr().setNumPr(numPr); this.getCurrentParagraph(true).setPPr(this.getPPr(blockBox, cssMap)); P currentP = getCurrentParagraph(false); if (currentP!=null && currentP.getContent().size()==0) { P currentP = getCurrentParagraph(false); if (currentP!=null && currentP.getContent().size()==0) { this.getCurrentParagraph(true).setPPr(pPr); listHelper.addNumbering(this.getCurrentParagraph(true), blockBox.getElement(), cssMap); addParagraphProperties(pPr, blockBox, cssMap ); listHelper.addNumbering(this.getCurrentParagraph(true), blockBox.getElement(), cssMap); addParagraphProperties(pPr, blockBox, cssMap ); listHelper.addNumbering(this.getCurrentParagraph(true), blockBox.getElement(), cssMap);
if (this.getCurrentParagraph(false).getPPr()!=null && this.getCurrentParagraph(false).getPPr().getPStyle()!=null) { String styleId = this.getCurrentParagraph(false).getPPr().getPStyle().getVal(); stylePPr = propertyResolver.getEffectivePPr(styleId); PPrCleanser.removeRedundantProperties(stylePPr, pPr);
this.getCurrentParagraph(true), box.getElement(), cx, cy);