public class NiceXWPFDocument
extends org.apache.poi.xwpf.usermodel.XWPFDocument
| 限定符和类型 | 字段和说明 |
|---|---|
protected List<org.apache.poi.xwpf.usermodel.XWPFTable> |
allTables |
bodyElements, charts, comments, contentControls, endnotes, footers, footnotes, headers, hyperlinks, numbering, packagePictures, paragraphs, pictures, styles, tables| 构造器和说明 |
|---|
NiceXWPFDocument() |
NiceXWPFDocument(InputStream in) |
| 限定符和类型 | 方法和说明 |
|---|---|
BigInteger |
addNewNumbericId(org.apache.commons.lang3.tuple.Pair<org.openxmlformats.schemas.wordprocessingml.x2006.main.STNumberFormat.Enum,String> numFmt) |
NiceXWPFDocument |
generate() |
org.apache.poi.xwpf.usermodel.XWPFTable |
getTableByCTTbl(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTbl ctTbl) |
static org.apache.poi.xwpf.usermodel.XWPFRun |
insertNewHyperLinkRun(org.apache.poi.xwpf.usermodel.XWPFRun run,
String link) |
org.apache.poi.xwpf.usermodel.XWPFParagraph |
insertNewParagraph(org.apache.poi.xwpf.usermodel.XWPFRun run) |
org.apache.poi.xwpf.usermodel.XWPFTable |
insertNewTable(org.apache.poi.xwpf.usermodel.XWPFRun run,
int row,
int col) |
NiceXWPFDocument |
merge(List<NiceXWPFDocument> docMerges,
org.apache.poi.xwpf.usermodel.XWPFRun run) |
NiceXWPFDocument |
merge(NiceXWPFDocument docMerge) |
protected void |
onDocumentCreate() |
void |
widthTable(org.apache.poi.xwpf.usermodel.XWPFTable table,
float widthCM,
int rows,
int cols) |
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
public NiceXWPFDocument()
public NiceXWPFDocument(InputStream in) throws IOException
protected void onDocumentCreate()
public org.apache.poi.xwpf.usermodel.XWPFTable getTableByCTTbl(org.openxmlformats.schemas.wordprocessingml.x2006.main.CTTbl ctTbl)
public org.apache.poi.xwpf.usermodel.XWPFTable insertNewTable(org.apache.poi.xwpf.usermodel.XWPFRun run,
int row,
int col)
public void widthTable(org.apache.poi.xwpf.usermodel.XWPFTable table,
float widthCM,
int rows,
int cols)
public org.apache.poi.xwpf.usermodel.XWPFParagraph insertNewParagraph(org.apache.poi.xwpf.usermodel.XWPFRun run)
public static org.apache.poi.xwpf.usermodel.XWPFRun insertNewHyperLinkRun(org.apache.poi.xwpf.usermodel.XWPFRun run,
String link)
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 merge(List<NiceXWPFDocument> docMerges, org.apache.poi.xwpf.usermodel.XWPFRun run) throws Exception
public NiceXWPFDocument merge(NiceXWPFDocument docMerge) throws Exception
Copyright © 2019. All rights reserved.