public class NiceXWPFDocument
extends org.apache.poi.xwpf.usermodel.XWPFDocument
| 构造器和说明 |
|---|
NiceXWPFDocument() |
NiceXWPFDocument(InputStream in) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addPicture(String blipId,
int id,
int width,
int height,
org.apache.poi.xwpf.usermodel.XWPFRun run) |
void |
createPicture(String blipId,
int id,
int width,
int height) |
NiceXWPFDocument |
generate() |
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) |
static void |
mergeCellsHorizonal(org.apache.poi.xwpf.usermodel.XWPFTable table,
int row,
int fromCol,
int toCol) |
static void |
mergeCellsVertically(org.apache.poi.xwpf.usermodel.XWPFTable table,
int col,
int fromRow,
int toRow) |
void |
widthTable(org.apache.poi.xwpf.usermodel.XWPFTable table,
float widthCM,
int rows,
int cols) |
addEndnote, addFootnote, addPictureData, addPictureData, commit, createFooter, createFootnotes, createHeader, createHeaderFooterPolicy, createNumbering, createParagraph, createStyles, createTable, createTable, createTOC, enforceCommentsProtection, enforceCommentsProtection, enforceFillingFormsProtection, enforceFillingFormsProtection, enforceReadonlyProtection, enforceReadonlyProtection, enforceTrackedChangesProtection, enforceTrackedChangesProtection, enforceUpdateFields, getAllEmbedds, getAllPackagePictures, getAllPictures, getBodyElements, getBodyElementsIterator, getCommentByID, getComments, getDocument, getEndnoteByID, getFooterArray, getFooterList, getFootnoteByID, getFootnotes, getHeaderArray, getHeaderFooterPolicy, getHeaderList, getHyperlinkByID, getHyperlinks, getLastParagraph, 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, onDocumentCreate, onDocumentRead, removeBodyElement, removeProtectionEnforcement, setParagraph, setTable, setTrackRevisions, setZoomPercent, validateProtectionPasswordclose, getCorePart, getPackage, getProperties, getRelatedByType, hasOOXMLHeader, load, openPackage, write_invokeOnDocumentRead, addRelation, createRelationship, createRelationship, createRelationship, getNextPartNumber, getPackagePart, getParent, getRelationById, getRelationId, getRelationParts, getRelations, getTargetPart, onDocumentRemove, onSave, prepareForCommit, read, rebase, removeRelation, removeRelation, toStringpublic NiceXWPFDocument()
public NiceXWPFDocument(InputStream in) throws IOException
public static void mergeCellsHorizonal(org.apache.poi.xwpf.usermodel.XWPFTable table,
int row,
int fromCol,
int toCol)
public static void mergeCellsVertically(org.apache.poi.xwpf.usermodel.XWPFTable table,
int col,
int fromRow,
int toRow)
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 void createPicture(String blipId, int id, int width, int height)
public void addPicture(String blipId, int id, int width, int height, org.apache.poi.xwpf.usermodel.XWPFRun run)
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 © 2018. All rights reserved.