-
Methods in org.docx4j with parameters of type Filetype
| Modifier and Type |
Method |
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.
|
-
Methods in org.docx4j.openpackaging.packages that return Filetype
| Modifier and Type |
Method |
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.
|
Methods in org.docx4j.openpackaging.packages with parameters of type Filetype
| Modifier and Type |
Method |
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).
|