Modifier and Type | Method and Description |
---|---|
static OpcPackage |
Docx4J.load(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 |
---|---|
OpcPackage |
FlatOpcXmlImporter.get() |
Modifier and Type | Method and Description |
---|---|
OpcPackage |
AbstractConversionSettings.getWmlPackage() |
Modifier and Type | Method and Description |
---|---|
protected static void |
ConversionFeatures.checkParams(OpcPackage opcPackage,
Set<String> features)
Check the package and requested features and append defaults if necessary
|
Element |
ConversionHTMLScriptElementHandler.createScriptElement(OpcPackage opcPackage,
Document document,
String scriptDefinition) |
Element |
ConversionHTMLStyleElementHandler.createStyleElement(OpcPackage opcPackage,
Document document,
String styleDefinition) |
void |
ConversionHyperlinkHandler.handleHyperlink(ConversionHyperlinkHandler.Model hyperlinkModel,
OpcPackage opcPackage,
Part currentPart) |
void |
AbstractConversionSettings.setWmlPackage(OpcPackage wmlPackage) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractExporter<CS extends AbstractConversionSettings,CC extends AbstractConversionContext,PK extends OpcPackage>
Exporter are responsible to create the environment for the export process.
|
Modifier and Type | Method and Description |
---|---|
protected OpcPackage |
AbstractConversionContext.getOpcPackage() |
protected OpcPackage |
AbstractConversionContext.initializeOpcPackage(AbstractConversionSettings settings,
OpcPackage opcPackage) |
protected OpcPackage |
AbstractWmlConversionContext.initializeOpcPackage(AbstractConversionSettings conversionSettings,
OpcPackage opcPackage) |
static OpcPackage |
Preprocess.process(OpcPackage opcPackage,
Set<String> features)
This method applies those features in the preprocessing, that may be used with an
OpcPackage.
Features processed: PP_COMMON_DEEP_COPY |
Modifier and Type | Method and Description |
---|---|
protected OpcPackage |
AbstractConversionContext.initializeOpcPackage(AbstractConversionSettings settings,
OpcPackage opcPackage) |
protected OpcPackage |
AbstractWmlConversionContext.initializeOpcPackage(AbstractConversionSettings conversionSettings,
OpcPackage opcPackage) |
protected void |
AbstractConversionContext.initializeSettings(AbstractConversionSettings settings,
OpcPackage localOpcPackage) |
static OpcPackage |
Preprocess.process(OpcPackage opcPackage,
Set<String> features)
This method applies those features in the preprocessing, that may be used with an
OpcPackage.
Features processed: PP_COMMON_DEEP_COPY |
Constructor and Description |
---|
AbstractConversionContext(AbstractMessageWriter messageWriter,
AbstractConversionSettings conversionSettings,
OpcPackage localOpcPackage) |
Modifier and Type | Method and Description |
---|---|
protected static OpcPackage |
PartialDeepCopy.createPackage(OpcPackage opcPackage) |
static OpcPackage |
PartialDeepCopy.process(OpcPackage opcPackage,
Set<String> relationshipTypes) |
Modifier and Type | Method and Description |
---|---|
protected static Part |
PartialDeepCopy.copyPart(Part part,
OpcPackage targetPackage,
boolean deepCopy) |
protected static OpcPackage |
PartialDeepCopy.createPackage(OpcPackage opcPackage) |
protected static Part |
PartialDeepCopy.deepCopyPart(OpcPackage opcPackage,
Base targetParent,
Part sourcePart,
Set<String> relationshipTypes) |
protected static void |
PartialDeepCopy.deepCopyRelationships(OpcPackage opcPackage,
Base sourcePart,
Base targetPart,
Set<String> relationshipTypes) |
static OpcPackage |
PartialDeepCopy.process(OpcPackage opcPackage,
Set<String> relationshipTypes) |
Modifier and Type | Field and Description |
---|---|
OpcPackage |
FlatOpcXmlCreator.packageIn |
Constructor and Description |
---|
FlatOpcXmlCreator(OpcPackage p) |
Modifier and Type | Method and Description |
---|---|
static void |
HtmlCssHelper.createCss(OpcPackage opcPackage,
PPr pPr,
StringBuilder result,
boolean ignoreBorders,
boolean isListItem) |
static void |
HtmlCssHelper.createCss(OpcPackage opcPackage,
RPr rPr,
StringBuilder result) |
static void |
HtmlCssHelper.createCssForStyles(OpcPackage opcPackage,
StyleTree styleTree,
StringBuilder result) |
protected void |
HTMLConversionContext.initializeSettings(AbstractConversionSettings settings,
OpcPackage localOpcPackage) |
Modifier and Type | Method and Description |
---|---|
static String |
PhysicalFonts.getPhysicalFont(OpcPackage wmlPackage,
String fontName) |
Modifier and Type | Method and Description |
---|---|
Object |
BindingTraverserXSLT.traverseToBind(JaxbXmlPart part,
OpcPackage pkg,
Map<String,Xpaths.Xpath> xpathsMap) |
Object |
BindingTraverserNonXSLT.traverseToBind(JaxbXmlPart part,
OpcPackage pkg,
Map<String,Xpaths.Xpath> xpathsMap) |
Object |
BindingTraverserInterface.traverseToBind(JaxbXmlPart part,
OpcPackage pkg,
Map<String,Xpaths.Xpath> xpathsMap) |
abstract Object |
BindingTraverserCommonImpl.traverseToBind(JaxbXmlPart part,
OpcPackage pkg,
Map<String,Xpaths.Xpath> xpathsMap) |
Modifier and Type | Method and Description |
---|---|
static List<Property> |
PropertyFactory.createProperties(OpcPackage wmlPackage,
ParaRPr rPr) |
static List<Property> |
PropertyFactory.createProperties(OpcPackage wmlPackage,
PPr pPr) |
static List<Property> |
PropertyFactory.createProperties(OpcPackage wmlPackage,
RPr rPr) |
Modifier and Type | Method and Description |
---|---|
abstract OpcPackage |
Base.getPackage() |
Modifier and Type | Method and Description |
---|---|
OpcPackage |
ContentTypeManager.createPackage(String pkgContentType)
Return a package of the appropriate type.
|
Modifier and Type | Field and Description |
---|---|
OpcPackage |
SaveToZipFile.p
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
OpcPackage |
LoadFromZipNG.get(File f)
Deprecated.
|
OpcPackage |
LoadFromZipNG.get(InputStream is)
Deprecated.
|
OpcPackage |
LoadFromZipNG.get(String filepath)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static void |
Load.registerCustomXmlDataStorageParts(OpcPackage pkg)
Deprecated.
Find any /customXml/itemN.xml which have a props part
which specifies a data store item ID.
|
Constructor and Description |
---|
SaveToZipFile(OpcPackage p)
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
OpcPackage |
Save.p |
Modifier and Type | Method and Description |
---|---|
OpcPackage |
Load3.get() |
Modifier and Type | Method and Description |
---|---|
void |
Load3.reuseExistingOpcPackage(OpcPackage existingPkg)
By setting this, you can load the contents into
this existing package (ie instead of returning a new one).
|
Constructor and Description |
---|
Save(OpcPackage p) |
Save(OpcPackage p,
PartStore targetPartStore) |
Modifier and Type | Class and Description |
---|---|
class |
DefaultPackage |
class |
PresentationMLPackage |
class |
SpreadsheetMLPackage |
class |
WordprocessingMLPackage |
class |
WordprocessingMLTemplatePackage |
Modifier and Type | Field and Description |
---|---|
protected OpcPackage |
ProtectionSettings.pkg |
Modifier and Type | Method and Description |
---|---|
OpcPackage |
OpcPackage.clone() |
OpcPackage |
OpcPackage.cloneAs(String targetContentType) |
OpcPackage |
OpcPackage.getPackage() |
static OpcPackage |
OpcPackage.load(File docxFile)
Convenience method to create a WordprocessingMLPackage
or PresentationMLPackage
from an existing File (.docx/.docxm, .ppxtx or Flat OPC .xml).
|
static OpcPackage |
OpcPackage.load(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(File file,
Filetype type,
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(File docxFile,
String password)
Convenience method to create a WordprocessingMLPackage
or PresentationMLPackage
from an existing File (.docx/.docxm, .ppxtx or Flat OPC .xml).
|
static OpcPackage |
OpcPackage.load(InputStream inputStream)
Convenience method to create a WordprocessingMLPackage
or PresentationMLPackage
from an inputstream (.docx/.docxm, .ppxtx or Flat OPC .xml).
|
static OpcPackage |
OpcPackage.load(InputStream is,
boolean docxFormat)
Deprecated.
|
static OpcPackage |
OpcPackage.load(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(InputStream is,
Filetype type,
String password)
convenience method to load a word2007 document
from an existing inputstream (.docx/.docxm, .ppxtx or Flat OPC .xml).
|
static OpcPackage |
OpcPackage.load(InputStream inputStream,
String password)
Convenience method to create a WordprocessingMLPackage
or PresentationMLPackage
from an inputstream (.docx/.docxm, .ppxtx or Flat OPC .xml).
|
static OpcPackage |
OpcPackage.load(PackageIdentifier pkgIdentifier,
File docxFile)
Convenience method to create a WordprocessingMLPackage
or PresentationMLPackage
from an existing File (.docx/.docxm, .ppxtx or Flat OPC .xml).
|
static OpcPackage |
OpcPackage.load(PackageIdentifier pkgIdentifier,
File docxFile,
String password)
Convenience method to create a WordprocessingMLPackage
or PresentationMLPackage
from an existing File (.docx/.docxm, .ppxtx or Flat OPC .xml).
|
static OpcPackage |
OpcPackage.load(PackageIdentifier pkgIdentifier,
InputStream inputStream)
Convenience method to create a WordprocessingMLPackage
or PresentationMLPackage
from an inputstream (.docx/.docxm, .ppxtx or Flat OPC .xml).
|
Constructor and Description |
---|
ProtectionSettings(OpcPackage pkg) |
Modifier and Type | Field and Description |
---|---|
protected OpcPackage |
Part.pack |
Modifier and Type | Method and Description |
---|---|
OpcPackage |
Part.getPackage() |
Modifier and Type | Method and Description |
---|---|
void |
Part.setPackage(OpcPackage pack) |
Modifier and Type | Method and Description |
---|---|
OpcPackage |
EmbeddedPackagePart.extractPackage() |
Modifier and Type | Method and Description |
---|---|
static String |
BinaryPartAbstractImage.createImageName(OpcPackage opcPackage,
Base sourcePart,
String proposedRelId,
String ext) |
static BinaryPartAbstractImage |
BinaryPartAbstractImage.createImagePart(OpcPackage opcPackage,
Part sourcePart,
byte[] bytes)
Create an image part from the provided byte array, attach it to the source part
(eg the main document part, a header part etc), and return it.
|
static BinaryPartAbstractImage |
BinaryPartAbstractImage.createImagePart(OpcPackage opcPackage,
Part sourcePart,
byte[] bytes,
String mime)
Create an image part from the provided byte array, attach it to the source part
(eg the main document part, a header part etc), and return it.
|
static BinaryPartAbstractImage |
BinaryPartAbstractImage.createImagePart(OpcPackage opcPackage,
Part sourcePart,
byte[] bytes,
String mime,
String ext)
Deprecated.
|
static BinaryPartAbstractImage |
BinaryPartAbstractImage.createImagePart(OpcPackage opcPackage,
Part sourcePart,
File imageFile)
Create an image part from the provided filePath image, attach it to the source part
(eg the main document part, a header part etc), and return it.
|
static BinaryPartAbstractImage |
BinaryPartAbstractImage.createLinkedImagePart(OpcPackage opcPackage,
Part sourcePart,
URL url)
Create a linked image part, and attach it as a rel of the specified source part
(eg a header part).
|
Modifier and Type | Method and Description |
---|---|
static void |
PartsList.handlePkg(OpcPackage opcPackage,
boolean printContentTypes) |
static void |
PartsList.printContentTypes(OpcPackage p)
It is often useful to see this [Content_Types].xml
|
static void |
PartsList.traverseRelationships(OpcPackage wordMLPackage,
RelationshipsPart rp,
StringBuilder sb,
String indent) |
Modifier and Type | Class and Description |
---|---|
class |
GloxPackage |
Modifier and Type | Method and Description |
---|---|
protected OpcPackage |
AbstractPmlConversionContext.initializeOpcPackage(AbstractConversionSettings settings,
OpcPackage opcPackage) |
Modifier and Type | Method and Description |
---|---|
protected OpcPackage |
AbstractPmlConversionContext.initializeOpcPackage(AbstractConversionSettings settings,
OpcPackage opcPackage) |
protected void |
AbstractPmlConversionContext.initializeSettings(AbstractConversionSettings settings,
OpcPackage opcPackage) |
Copyright © 2007-2019. All Rights Reserved.