@Override protected void endVisitParagraph( CTP paragraph, IITextContainer pdfParentContainer, IITextContainer pdfParagraphContainer ) throws Exception { // add the iText paragraph in the current parent container. ExtendedParagraph pdfParagraph = (ExtendedParagraph) pdfParagraphContainer; pdfParentContainer.addElement( pdfParagraph.getElement() ); }
@Override protected void endVisitParagraph(XWPFParagraph docxParagraph, IITextContainer pdfParentContainer, IITextContainer pdfParagraphContainer) throws Exception { // add the iText paragraph in the current parent container. ExtendedParagraph pdfParagraph = (ExtendedParagraph) pdfParagraphContainer; pdfParentContainer.addElement(pdfParagraph.getElement()); this.currentRunX = null; }
@Override protected void endVisitParagraph(XWPFParagraph docxParagraph, IITextContainer pdfParentContainer, IITextContainer pdfParagraphContainer) throws Exception { // add the iText paragraph in the current parent container. ExtendedParagraph pdfParagraph = (ExtendedParagraph) pdfParagraphContainer; pdfParentContainer.addElement(pdfParagraph.getElement()); this.currentRunX = null; }
@Override protected void endVisitParagraph( CTP paragraph, IITextContainer pdfParentContainer, IITextContainer pdfParagraphContainer ) throws Exception { // add the iText paragraph in the current parent container. ExtendedParagraph pdfParagraph = (ExtendedParagraph) pdfParagraphContainer; pdfParentContainer.addElement( pdfParagraph.getElement() ); }
@Override public Element getElement() { if ( !elementPostProcessed ) { elementPostProcessed = true; postProcessEmptyParagraph(); postProcessBookmarks(); postProcessLineHeightAndBaseline(); } return super.getElement(); }
@Override public Element getElement() { if ( !elementPostProcessed ) { elementPostProcessed = true; postProcessEmptyParagraph(); postProcessBookmarks(); postProcessLineHeightAndBaseline(); } return super.getElement(); }