public class NiceXWPFDocument
extends org.apache.poi.xwpf.usermodel.XWPFDocument
| 限定符和类型 | 字段和说明 |
|---|---|
protected boolean |
adjustDoc |
protected List<org.apache.poi.xwpf.usermodel.XWPFPicture> |
allPictures |
protected List<org.apache.poi.xwpf.usermodel.XWPFTable> |
allTables |
protected IdenifierManagerWrapper |
idenifierManagerWrapper |
bodyElements, charts, comments, contentControls, endnotes, footers, footnotes, headers, hyperlinks, numbering, packagePictures, paragraphs, pictures, styles, tables| 构造器和说明 |
|---|
NiceXWPFDocument() |
NiceXWPFDocument(InputStream in) |
NiceXWPFDocument(InputStream in,
boolean adjustDoc) |
| 限定符和类型 | 方法和说明 |
|---|---|
BigInteger |
addNewNumbericId(org.apache.commons.lang3.tuple.Pair<org.openxmlformats.schemas.wordprocessingml.x2006.main.STNumberFormat.Enum,String> numFmt) |
NiceXWPFDocument |
generate() |
NiceXWPFDocument |
generateWithAdjust() |
List<org.apache.poi.xwpf.usermodel.XWPFPicture> |
getAllEmbeddedPictures() |
List<org.apache.poi.xwpf.usermodel.XWPFTable> |
getAllTables() |
IdenifierManagerWrapper |
getDocPrIdenifierManager() |
int |
getParaPos(org.apache.poi.xwpf.usermodel.XWPFParagraph insertNewParagraph) |
int |
getPosOfParagraphCTP(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP bodyObj) |
int |
getPosOfTableCTTbl(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTbl bodyObj) |
int |
getTablePos(org.apache.poi.xwpf.usermodel.XWPFTable insertNewTbl) |
NiceXWPFDocument |
merge(Iterator<NiceXWPFDocument> iterator,
org.apache.poi.xwpf.usermodel.XWPFRun run) |
NiceXWPFDocument |
merge(List<NiceXWPFDocument> docMerges,
org.apache.poi.xwpf.usermodel.XWPFRun run) |
NiceXWPFDocument |
merge(NiceXWPFDocument docMerge) |
protected void |
onDocumentCreate() |
void |
updateBodyElements(org.apache.poi.xwpf.usermodel.IBodyElement insertNewParagraph,
org.apache.poi.xwpf.usermodel.IBodyElement copy) |
addEndnote, addFootnote, addPictureData, addPictureData, commit, createChart, createChart, createEndnote, createEndnotes, createFooter, createFootnote, createFootnotes, createHeader, createHeaderFooterPolicy, createNumbering, createParagraph, createStyles, createTable, createTable, createTOC, enforceCommentsProtection, enforceCommentsProtection, enforceFillingFormsProtection, enforceFillingFormsProtection, enforceReadonlyProtection, enforceReadonlyProtection, enforceTrackedChangesProtection, enforceTrackedChangesProtection, enforceUpdateFields, getAllEmbeddedParts, getAllPackagePictures, getAllPictures, getBodyElements, getBodyElementsIterator, getCharts, getCommentByID, getComments, getDocument, getEndnoteByID, getEndnotes, getEvenAndOddHeadings, getFooterArray, getFooterList, getFootnoteByID, getFootnotes, getHeaderArray, getHeaderFooterPolicy, getHeaderList, getHyperlinkByID, getHyperlinks, getLastParagraph, getMirrorMargins, getNextPicNameNumber, getNumbering, getParagraph, getParagraphArray, getParagraphPos, getParagraphs, getParagraphsIterator, getPart, getPartById, getPartType, getPictureDataByID, getPosOfParagraph, getPosOfTable, getStyle, getStyles, getTable, getTableArray, getTableCell, getTablePos, getTables, getTablesIterator, getTblStyle, getXWPFDocument, getZoomPercent, insertNewParagraph, insertNewTbl, insertTable, isEnforcedCommentsProtection, isEnforcedFillingFormsProtection, isEnforcedProtection, isEnforcedReadonlyProtection, isEnforcedTrackedChangesProtection, isEnforcedUpdateFields, isTrackRevisions, newPackage, onDocumentRead, removeBodyElement, removeEndnote, removeFootnote, removeProtectionEnforcement, setEvenAndOddHeadings, setMirrorMargins, setParagraph, setTable, setTrackRevisions, setZoomPercent, validateProtectionPasswordclose, getAllEmbedds, getCorePart, getPackage, getProperties, getRelatedByType, load, openPackage, write_invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationPartById, getRelationParts, getRelations, getTargetPart, isCommited, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, removeRelation, setCommited, toStringprotected List<org.apache.poi.xwpf.usermodel.XWPFTable> allTables
protected List<org.apache.poi.xwpf.usermodel.XWPFPicture> allPictures
protected IdenifierManagerWrapper idenifierManagerWrapper
protected boolean adjustDoc
public NiceXWPFDocument()
public NiceXWPFDocument(InputStream in) throws IOException
public NiceXWPFDocument(InputStream in, boolean adjustDoc) throws IOException
protected void onDocumentCreate()
public List<org.apache.poi.xwpf.usermodel.XWPFPicture> getAllEmbeddedPictures()
public List<org.apache.poi.xwpf.usermodel.XWPFTable> getAllTables()
public IdenifierManagerWrapper getDocPrIdenifierManager()
public BigInteger addNewNumbericId(org.apache.commons.lang3.tuple.Pair<org.openxmlformats.schemas.wordprocessingml.x2006.main.STNumberFormat.Enum,String> numFmt)
public NiceXWPFDocument generate() throws IOException
public NiceXWPFDocument generateWithAdjust() throws IOException
public NiceXWPFDocument merge(Iterator<NiceXWPFDocument> iterator, org.apache.poi.xwpf.usermodel.XWPFRun run) throws Exception
public NiceXWPFDocument merge(NiceXWPFDocument docMerge) throws Exception
public NiceXWPFDocument merge(List<NiceXWPFDocument> docMerges, org.apache.poi.xwpf.usermodel.XWPFRun run) throws Exception
public int getPosOfParagraphCTP(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTP bodyObj)
public int getPosOfTableCTTbl(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTbl bodyObj)
public int getParaPos(org.apache.poi.xwpf.usermodel.XWPFParagraph insertNewParagraph)
public int getTablePos(org.apache.poi.xwpf.usermodel.XWPFTable insertNewTbl)
public void updateBodyElements(org.apache.poi.xwpf.usermodel.IBodyElement insertNewParagraph,
org.apache.poi.xwpf.usermodel.IBodyElement copy)
Copyright © 2020. All rights reserved.