类 XmlXWPFDocumentMerge
java.lang.Object
com.deepoove.poi.xwpf.AbstractXWPFDocumentMerge
com.deepoove.poi.xwpf.XmlXWPFDocumentMerge
- 所有已实现的接口:
DocumentMerge<NiceXWPFDocument>
-
字段概要
从类继承的字段 com.deepoove.poi.xwpf.AbstractXWPFDocumentMerge
logger -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected StringcreateMergeableString(NiceXWPFDocument source, NiceXWPFDocument merged, Map<String, String> styleIdsMap) createMergeableStrings(NiceXWPFDocument source, Iterator<NiceXWPFDocument> iterator) booleanmerge(NiceXWPFDocument source, Iterator<NiceXWPFDocument> mergeIterator, org.apache.poi.xwpf.usermodel.XWPFRun run) mergeAttachment(NiceXWPFDocument source, NiceXWPFDocument merged) mergeChart(NiceXWPFDocument source, NiceXWPFDocument merged) mergeExternalPicture(NiceXWPFDocument source, NiceXWPFDocument merged) mergeHyperlink(NiceXWPFDocument source, NiceXWPFDocument merged) protected voidmergeNamespaces(NiceXWPFDocument source, NiceXWPFDocument docMerge) mergeNumbering(NiceXWPFDocument source, NiceXWPFDocument merged) mergePicture(NiceXWPFDocument source, NiceXWPFDocument merged) mergeStyles(NiceXWPFDocument source, NiceXWPFDocument merged) protected StringvoidsetRenameAndMergeExistsStyle(boolean renameAndMergeExistsStyle) protected booleantoStartCursor(org.apache.xmlbeans.XmlCursor newCursor) protected StringtruncatedOverlapWP(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBody body) protected String[]truncatedStartEndXmlFragment(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBody body) 从类继承的方法 com.deepoove.poi.xwpf.AbstractXWPFDocumentMerge
merge, merge
-
构造器详细资料
-
XmlXWPFDocumentMerge
public XmlXWPFDocumentMerge() -
XmlXWPFDocumentMerge
public XmlXWPFDocumentMerge(boolean renameAndMergeExistsStyle)
-
-
方法详细资料
-
merge
public NiceXWPFDocument merge(NiceXWPFDocument source, Iterator<NiceXWPFDocument> mergeIterator, org.apache.poi.xwpf.usermodel.XWPFRun run) throws Exception -
truncatedOverlapWP
protected String truncatedOverlapWP(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBody body) -
truncatedStartEndXmlFragment
protected String[] truncatedStartEndXmlFragment(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTBody body) -
createMergeableStrings
protected List<String> createMergeableStrings(NiceXWPFDocument source, Iterator<NiceXWPFDocument> iterator) throws org.apache.poi.openxml4j.exceptions.InvalidFormatException, IOException -
mergeNamespaces
-
toStartCursor
protected boolean toStartCursor(org.apache.xmlbeans.XmlCursor newCursor) -
createMergeableString
protected String createMergeableString(NiceXWPFDocument source, NiceXWPFDocument merged, Map<String, String> styleIdsMap) throws org.apache.poi.openxml4j.exceptions.InvalidFormatException, IOException -
ridSectPr
-
mergePicture
protected Map<String,String> mergePicture(NiceXWPFDocument source, NiceXWPFDocument merged) throws org.apache.poi.openxml4j.exceptions.InvalidFormatException -
mergeExternalPicture
protected Map<String,String> mergeExternalPicture(NiceXWPFDocument source, NiceXWPFDocument merged) throws org.apache.poi.openxml4j.exceptions.InvalidFormatException -
mergeNumbering
-
mergeStyles
-
mergeHyperlink
protected Map<String,String> mergeHyperlink(NiceXWPFDocument source, NiceXWPFDocument merged) throws org.apache.poi.openxml4j.exceptions.InvalidFormatException -
mergeChart
protected Map<String,String> mergeChart(NiceXWPFDocument source, NiceXWPFDocument merged) throws org.apache.poi.openxml4j.exceptions.InvalidFormatException, IOException -
mergeAttachment
protected Map<String,String> mergeAttachment(NiceXWPFDocument source, NiceXWPFDocument merged) throws org.apache.poi.openxml4j.exceptions.InvalidFormatException, IOException -
getRenameAndMergeExistsStyle
public boolean getRenameAndMergeExistsStyle() -
setRenameAndMergeExistsStyle
public void setRenameAndMergeExistsStyle(boolean renameAndMergeExistsStyle)
-