| Package | Description |
|---|---|
| org.docx4j | |
| org.docx4j.openpackaging.packages |
| Modifier and Type | Method and Description |
|---|---|
static OpcPackage |
Docx4J.load(java.io.File inFile,
Filetype type)
Load a docx/pptx/xlsx from a File, where you know in advance what type (zip, compound, flat opc)
it is.
|
| Modifier and Type | Method and Description |
|---|---|
static Filetype |
Filetype.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Filetype[] |
Filetype.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
static OpcPackage |
OpcPackage.load(java.io.File file,
Filetype type)
convenience method to load from a file, where you know the Filetype
(if it is Filetype.ZippedPackage, ZipFile will be used instead of ZipArchiveInputStream)
|
static OpcPackage |
OpcPackage.load(java.io.File file,
Filetype type,
java.lang.String password)
convenience method to load from a file, where you know the Filetype
(if it is Filetype.ZippedPackage, ZipFile will be used instead of ZipArchiveInputStream)
|
static OpcPackage |
OpcPackage.load(java.io.InputStream is,
Filetype type)
convenience method to load a word2007 document
from an existing inputstream (.docx/.docxm, .ppxtx or Flat OPC .xml).
|
static OpcPackage |
OpcPackage.load(java.io.InputStream is,
Filetype type,
java.lang.String password)
convenience method to load a word2007 document
from an existing inputstream (.docx/.docxm, .ppxtx or Flat OPC .xml).
|
Copyright © 2007–2023. All rights reserved.