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) |
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) |
void |
mergeCellsHorizonal(org.apache.poi.xwpf.usermodel.XWPFTable table,
int row,
int fromCol,
int toCol) |
void |
mergeCellsVertically(org.apache.poi.xwpf.usermodel.XWPFTable table,
int col,
int fromRow,
int toRow) |
void |
spanCellsAcrossRow(org.apache.poi.xwpf.usermodel.XWPFTable table,
int rowNum,
int colNum,
int span)
已过时。
|
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 void mergeCellsHorizonal(org.apache.poi.xwpf.usermodel.XWPFTable table,
int row,
int fromCol,
int toCol)
public void mergeCellsVertically(org.apache.poi.xwpf.usermodel.XWPFTable table,
int col,
int fromRow,
int toRow)
@Deprecated public void spanCellsAcrossRow(org.apache.poi.xwpf.usermodel.XWPFTable table, int rowNum, int colNum, int span)
public org.apache.poi.xwpf.usermodel.XWPFTable insertNewTable(org.apache.poi.xwpf.usermodel.XWPFRun run,
int row,
int col)
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)
Copyright © 2017. All rights reserved.