public class MyXWPFDocument
extends org.apache.poi.xwpf.usermodel.XWPFDocument
bodyElements, charts, comments, contentControls, endnotes, footers, footnotes, headers, hyperlinks, numbering, packagePictures, paragraphs, pictures, styles, tables| 构造器和说明 |
|---|
MyXWPFDocument() |
MyXWPFDocument(java.io.InputStream in) |
MyXWPFDocument(org.apache.poi.openxml4j.opc.OPCPackage opcPackage) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
createPicture(java.lang.String blipId,
int id,
int width,
int height) |
void |
createPicture(org.apache.poi.xwpf.usermodel.XWPFRun run,
java.lang.String blipId,
int id,
int width,
int height) |
void |
createPicture(org.apache.poi.xwpf.usermodel.XWPFRun run,
java.lang.String blipId,
int id,
int width,
int height,
boolean isAbove) |
static org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTAnchor |
getAnchorWithGraphic(org.openxmlformats.schemas.drawingml.x2006.main.CTGraphicalObject graphicalObject,
java.lang.String deskFileName,
int width,
int height,
int leftOffset,
int topOffset,
boolean behind) |
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, onDocumentCreate, 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, toStringpublic MyXWPFDocument()
public MyXWPFDocument(java.io.InputStream in)
throws java.lang.Exception
java.lang.Exceptionpublic MyXWPFDocument(org.apache.poi.openxml4j.opc.OPCPackage opcPackage)
throws java.lang.Exception
java.lang.Exceptionpublic void createPicture(java.lang.String blipId,
int id,
int width,
int height)
public void createPicture(org.apache.poi.xwpf.usermodel.XWPFRun run,
java.lang.String blipId,
int id,
int width,
int height)
public void createPicture(org.apache.poi.xwpf.usermodel.XWPFRun run,
java.lang.String blipId,
int id,
int width,
int height,
boolean isAbove)
public static org.openxmlformats.schemas.drawingml.x2006.wordprocessingDrawing.CTAnchor getAnchorWithGraphic(org.openxmlformats.schemas.drawingml.x2006.main.CTGraphicalObject graphicalObject,
java.lang.String deskFileName,
int width,
int height,
int leftOffset,
int topOffset,
boolean behind)
graphicalObject - 图片数据deskFileName - 图片描述width - 宽height - 高leftOffset - 水平偏移 lefttopOffset - 垂直偏移 topbehind - 文字上方,文字下方java.lang.ExceptionCopyright © 2021 悟耘. All Rights Reserved.