inputdoc.docx (332.8 KB)
In a .docx file, it have presented an figure and paragraph consecutively, how it is should to separate them with a line break/paragraph break before a specific startpara (e.g., Fig.). Please fin…...paragraph whose text starts with “Fig” . Insert an empty paragraph...if (para.toString(SaveFormat.TEXT).trim().startsWith("Fig")) {...