|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectorg.apache.poi.POIXMLDocumentPart
org.apache.poi.POIXMLDocument
org.apache.poi.xwpf.usermodel.XWPFDocument
org.jeecgframework.poi.word.entity.MyXWPFDocument
public class MyXWPFDocument
扩充document,修复图片插入失败问题问题
| 字段摘要 |
|---|
| 从类 org.apache.poi.xwpf.usermodel.XWPFDocument 继承的字段 |
|---|
bodyElements, comments, endnotes, footers, footnotes, headers, hyperlinks, numbering, packagePictures, paragraphs, pictures, styles, tables |
| 从类 org.apache.poi.POIXMLDocument 继承的字段 |
|---|
DOCUMENT_CREATOR, OLE_OBJECT_REL_TYPE, PACK_OBJECT_REL_TYPE |
| 从类 org.apache.poi.POIXMLDocumentPart 继承的字段 |
|---|
DEFAULT_XML_OPTIONS |
| 从接口 org.apache.poi.xwpf.usermodel.Document 继承的字段 |
|---|
PICTURE_TYPE_BMP, PICTURE_TYPE_DIB, PICTURE_TYPE_EMF, PICTURE_TYPE_EPS, PICTURE_TYPE_GIF, PICTURE_TYPE_JPEG, PICTURE_TYPE_PICT, PICTURE_TYPE_PNG, PICTURE_TYPE_TIFF, PICTURE_TYPE_WMF, PICTURE_TYPE_WPG |
| 构造方法摘要 | |
|---|---|
MyXWPFDocument()
|
|
MyXWPFDocument(InputStream in)
|
|
MyXWPFDocument(org.apache.poi.openxml4j.opc.OPCPackage opcPackage)
|
|
| 方法摘要 | |
|---|---|
void |
createPicture(String blipId,
int id,
int width,
int height)
|
void |
createPicture(org.apache.poi.xwpf.usermodel.XWPFRun run,
String blipId,
int id,
int width,
int height)
|
| 从类 org.apache.poi.xwpf.usermodel.XWPFDocument 继承的方法 |
|---|
addEndnote, addFootnote, addPictureData, addPictureData, commit, createFootnotes, createNumbering, createParagraph, createStyles, createTable, createTable, createTOC, enforceCommentsProtection, enforceFillingFormsProtection, enforceReadonlyProtection, 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, insertNewParagraph, insertNewTbl, insertTable, isEnforcedCommentsProtection, isEnforcedFillingFormsProtection, isEnforcedReadonlyProtection, isEnforcedTrackedChangesProtection, isEnforcedUpdateFields, newPackage, onDocumentCreate, onDocumentRead, removeBodyElement, removeProtectionEnforcement, setParagraph, setTable |
| 从类 org.apache.poi.POIXMLDocument 继承的方法 |
|---|
getCorePart, getPackage, getProperties, getRelatedByType, hasOOXMLHeader, load, openPackage, write |
| 从类 org.apache.poi.POIXMLDocumentPart 继承的方法 |
|---|
addRelation, createRelationship, createRelationship, createRelationship, getPackagePart, getPackageRelationship, getParent, getRelationById, getRelationId, getRelations, getTargetPart, onDocumentRemove, onSave, read, rebase, removeRelation, removeRelation, toString |
| 从类 java.lang.Object 继承的方法 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| 构造方法详细信息 |
|---|
public MyXWPFDocument()
public MyXWPFDocument(InputStream in)
throws Exception
Exception
public MyXWPFDocument(org.apache.poi.openxml4j.opc.OPCPackage opcPackage)
throws Exception
Exception| 方法详细信息 |
|---|
public void createPicture(String blipId,
int id,
int width,
int height)
public void createPicture(org.apache.poi.xwpf.usermodel.XWPFRun run,
String blipId,
int id,
int width,
int height)
|
||||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||