Modifier and Type | Method and Description |
---|---|
protected PackagePart |
POIXMLDocument.getCorePart() |
PackagePart |
POIXMLDocumentPart.getPackagePart()
Provides access to the underlying PackagePart
|
protected PackagePart[] |
POIXMLDocument.getRelatedByType(String contentType)
Retrieves all the PackageParts which are defined as
relationships of the base document with the
specified content type.
|
protected PackagePart |
POIXMLDocumentPart.getTargetPart(PackageRelationship rel)
Get the PackagePart that is the target of a relationship from this Part.
|
Modifier and Type | Method and Description |
---|---|
abstract List<PackagePart> |
POIXMLDocument.getAllEmbedds()
Get the document's embedded files.
|
Modifier and Type | Method and Description |
---|---|
protected void |
POIXMLDocumentPart.clearMemoryPackagePart(PackagePart part) |
abstract POIXMLDocumentPart |
POIXMLFactory.createDocumentPart(POIXMLDocumentPart parent,
PackageRelationship rel,
PackagePart part)
Create a POIXMLDocumentPart from existing package part and relation.
|
Modifier and Type | Method and Description |
---|---|
protected void |
POIXMLDocumentPart.onSave(Set<PackagePart> alreadySaved)
Save changes in the underlying OOXML package.
|
protected void |
POIXMLDocumentPart.read(POIXMLFactory factory,
Map<PackagePart,POIXMLDocumentPart> context)
Iterate through the underlying PackagePart and create child POIXMLFactory instances
using the specified factory
|
Constructor and Description |
---|
POIXMLDocumentPart(PackagePart part,
PackageRelationship rel)
Creates an POIXMLDocumentPart representing the given package part and relationship.
|
POIXMLDocumentPart(POIXMLDocumentPart parent,
PackagePart part,
PackageRelationship rel)
Creates an POIXMLDocumentPart representing the given package part, relationship and parent
Called by
POIXMLDocumentPart.read(POIXMLFactory, java.util.Map) when reading in an exisiting file. |
Modifier and Type | Method and Description |
---|---|
static long |
OOXMLLister.getSize(PackagePart part)
Figures out how big a given PackagePart is.
|
Modifier and Type | Class and Description |
---|---|
class |
ZipPackagePart
Zip implementation of a PackagePart.
|
Modifier and Type | Method and Description |
---|---|
protected PackagePart |
OPCPackage.addPackagePart(PackagePart part)
Add the specified part to the package.
|
PackagePart |
OPCPackage.createPart(PackagePartName partName,
String contentType)
Create and add a part, with the specified name and content type, to the
package.
|
PackagePart |
OPCPackage.createPart(PackagePartName partName,
String contentType,
ByteArrayOutputStream content)
Add a part to the package.
|
protected PackagePart |
ZipPackage.createPartImpl(PackagePartName partName,
String contentType,
boolean loadRelationships)
Create a new MemoryPackagePart from the specified URI and content type
aram partName The part URI.
|
protected abstract PackagePart |
OPCPackage.createPartImpl(PackagePartName partName,
String contentType,
boolean loadRelationships)
Core method to create a package part.
|
PackagePart |
OPCPackage.getPart(PackagePartName partName)
Retrieve a part identified by its name.
|
PackagePart |
OPCPackage.getPart(PackageRelationship partRel)
Get the target part from the specified relationship.
|
protected PackagePart |
ZipPackage.getPartImpl(PackagePartName partName)
Implement the getPart() method to retrieve a part from its URI in the
current package
|
protected abstract PackagePart |
OPCPackage.getPartImpl(PackagePartName partName)
Get the package part mapped to the specified URI.
|
protected PackagePart[] |
ZipPackage.getPartsImpl()
Retrieves the parts from this package.
|
protected abstract PackagePart[] |
OPCPackage.getPartsImpl()
Get all parts link to the package.
|
PackagePart |
PackagePart.getRelatedPart(PackageRelationship rel)
Get the PackagePart that is the target of a relationship.
|
PackagePart |
PackageRelationship.getSource() |
PackagePart |
PackagePartCollection.put(PackagePartName partName,
PackagePart part)
Check rule [M1.11]: a package implementer shall neither create nor
recognize a part with a part name derived from another part name by
appending segments to it.
|
PackagePart |
PackagePartCollection.remove(Object key) |
Modifier and Type | Method and Description |
---|---|
ArrayList<PackagePart> |
OPCPackage.getParts()
Load the parts of the archive if it has not been done yet.
|
ArrayList<PackagePart> |
OPCPackage.getPartsByContentType(String contentType)
Retrieve parts by content type.
|
List<PackagePart> |
OPCPackage.getPartsByName(Pattern namePattern) |
ArrayList<PackagePart> |
OPCPackage.getPartsByRelationshipType(String relationshipType)
Retrieve parts by relationship type.
|
Modifier and Type | Method and Description |
---|---|
protected PackagePart |
OPCPackage.addPackagePart(PackagePart part)
Add the specified part to the package.
|
static PackagePartName |
PackagingURIHelper.createPartName(String partName,
PackagePart relativePart)
Create an OPC compliant part name by resolving it using a base part.
|
static PackagePartName |
PackagingURIHelper.createPartName(URI partName,
PackagePart relativePart)
Create an OPC compliant part name by resolving it using a base part.
|
PackagePart |
PackagePartCollection.put(PackagePartName partName,
PackagePart part)
Check rule [M1.11]: a package implementer shall neither create nor
recognize a part with a part name derived from another part name by
appending segments to it.
|
void |
OPCPackage.removePart(PackagePart part)
Remove the specified part in this package.
|
Constructor and Description |
---|
PackageRelationship(OPCPackage pkg,
PackagePart sourcePart,
URI targetUri,
TargetMode targetMode,
String relationshipType,
String id)
Constructor.
|
PackageRelationshipCollection(OPCPackage container,
PackagePart part)
Constructor.
|
PackageRelationshipCollection(PackagePart part)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
MemoryPackagePart
Memory version of a package part.
|
class |
PackagePropertiesPart
Represents the core properties part of a package.
|
Modifier and Type | Method and Description |
---|---|
PackagePart |
PartUnmarshaller.unmarshall(UnmarshallContext context,
InputStream in)
Save the content of the package in the stream
|
Modifier and Type | Method and Description |
---|---|
boolean |
PartMarshaller.marshall(PackagePart part,
OutputStream out)
Save the content of the package in the stream
|
Modifier and Type | Method and Description |
---|---|
boolean |
ZipPartMarshaller.marshall(PackagePart part,
OutputStream os)
Save the specified part.
|
boolean |
ZipPackagePropertiesMarshaller.marshall(PackagePart part,
OutputStream out) |
boolean |
PackagePropertiesMarshaller.marshall(PackagePart part,
OutputStream out)
Marshall package core properties to an XML document.
|
boolean |
DefaultMarshaller.marshall(PackagePart part,
OutputStream out)
Save part in the output stream by using the save() method of the part.
|
Modifier and Type | Class and Description |
---|---|
class |
DigitalCertificatePart
Digital certificate part.
|
Modifier and Type | Method and Description |
---|---|
PackagePart |
PackagePropertiesUnmarshaller.unmarshall(UnmarshallContext context,
InputStream in) |
Modifier and Type | Class and Description |
---|---|
class |
PackageDigitalSignature |
Modifier and Type | Method and Description |
---|---|
PackagePart |
XSLFSlideShow.getNodesPart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry parentSlide)
Gets the PackagePart of the notes for the
given slide, or null if there isn't one.
|
PackagePart |
XSLFSlideShow.getSlideMasterPart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMasterIdListEntry master) |
PackagePart |
XSLFSlideShow.getSlidePart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry slide) |
Modifier and Type | Method and Description |
---|---|
List<PackagePart> |
XSLFSlideShow.getAllEmbedds()
Get the document's embedded files.
|
Modifier and Type | Method and Description |
---|---|
List<PackagePart> |
XMLSlideShow.getAllEmbedds()
Get the document's embedded files.
|
Modifier and Type | Method and Description |
---|---|
POIXMLDocumentPart |
XSLFFactory.createDocumentPart(POIXMLDocumentPart parent,
PackageRelationship rel,
PackagePart part) |
BufferedImage |
XSLFImageRenderer.readImage(PackagePart packagePart)
Create a buffered image from the supplied package part.
|
Constructor and Description |
---|
XSLFChart(PackagePart part,
PackageRelationship rel)
Construct a chart from a package part.
|
XSLFNotesMaster(PackagePart part,
PackageRelationship rel) |
XSLFPictureData(PackagePart part,
PackageRelationship rel)
Construct XSLFPictureData from a package part
|
XSLFSheet(PackagePart part,
PackageRelationship rel) |
XSLFSlideLayout(PackagePart part,
PackageRelationship rel) |
XSLFSlideMaster(PackagePart part,
PackageRelationship rel) |
XSLFTableStyles(PackagePart part,
PackageRelationship rel) |
XSLFTheme(PackagePart part,
PackageRelationship rel) |
Modifier and Type | Method and Description |
---|---|
PackagePart |
XSSFReader.getExternalLink(String relId)
Returns an ExternalLinkPart with the specified relationId.
|
PackagePart |
XSSFReader.SheetIterator.getSheetPart() |
Constructor and Description |
---|
ReadOnlySharedStringsTable(PackagePart part,
PackageRelationship rel_ignored)
Like POIXMLDocumentPart constructor
|
Constructor and Description |
---|
CalculationChain(PackagePart part,
PackageRelationship rel) |
CommentsTable(PackagePart part,
PackageRelationship rel) |
ExternalLink(PackagePart part,
PackageRelationship rel) |
MapInfo(PackagePart part,
PackageRelationship rel) |
SharedStringsTable(PackagePart part,
PackageRelationship rel) |
SingleXmlCells(PackagePart part,
PackageRelationship rel) |
StylesTable(PackagePart part,
PackageRelationship rel) |
ThemesTable(PackagePart part,
PackageRelationship rel) |
Modifier and Type | Method and Description |
---|---|
List<PackagePart> |
XSSFWorkbook.getAllEmbedds()
Get the document's embedded files.
|
Modifier and Type | Method and Description |
---|---|
POIXMLDocumentPart |
XSSFFactory.createDocumentPart(POIXMLDocumentPart parent,
PackageRelationship rel,
PackagePart part) |
protected void |
XSSFHyperlink.generateRelationIfNeeded(PackagePart sheetPart)
Generates the relation if required
|
InputStream |
XSSFRelation.getContents(PackagePart corePart)
Fetches the InputStream to read the contents, based
of the specified core part, for which we are defined
as a suitable relationship
|
protected static Dimension |
XSSFPicture.getImageDimension(PackagePart part,
int type)
Return the dimension of this image
|
Constructor and Description |
---|
XSSFAutoFilter(PackagePart part,
PackageRelationship rel) |
XSSFChart(PackagePart part,
PackageRelationship rel)
Construct a SpreadsheetML chart from a package part.
|
XSSFChartSheet(PackagePart part,
PackageRelationship rel) |
XSSFDrawing(PackagePart part,
PackageRelationship rel)
Construct a SpreadsheetML drawing from a package part
|
XSSFPictureData(PackagePart part,
PackageRelationship rel)
Construct XSSFPictureData from a package part
|
XSSFPivotCache(long cacheId,
POIXMLDocumentPart parent,
PackagePart part,
PackageRelationship rel) |
XSSFPivotCache(PackagePart part,
PackageRelationship rel) |
XSSFPivotTable(PackagePart part,
PackageRelationship rel,
List<PivotCache> pivotCaches) |
XSSFSheet(PackagePart part,
PackageRelationship rel)
Creates an XSSFSheet representing the given package part and relationship.
|
XSSFTable(PackagePart part,
PackageRelationship rel) |
XSSFVMLDrawing(PackagePart part,
PackageRelationship rel)
Construct a SpreadsheetML drawing from a package part
|
Modifier and Type | Method and Description |
---|---|
PackagePart |
XWPFDocument.getPartById(String id)
Get the document part that's defined as the
given relationship of the core document.
|
Modifier and Type | Method and Description |
---|---|
List<PackagePart> |
XWPFDocument.getAllEmbedds()
Get the document's embedded files.
|
Modifier and Type | Method and Description |
---|---|
POIXMLDocumentPart |
XWPFFactory.createDocumentPart(POIXMLDocumentPart parent,
PackageRelationship rel,
PackagePart part) |
Constructor and Description |
---|
XWPFFooter(POIXMLDocumentPart parent,
PackagePart part,
PackageRelationship rel) |
XWPFFootnotes(PackagePart part,
PackageRelationship rel)
Construct XWPFFootnotes from a package part
|
XWPFHeader(POIXMLDocumentPart parent,
PackagePart part,
PackageRelationship rel) |
XWPFHeaderFooter(POIXMLDocumentPart parent,
PackagePart part,
PackageRelationship rel) |
XWPFNumbering(PackagePart part,
PackageRelationship rel)
create a new styles object with an existing document
|
XWPFPictureData(PackagePart part,
PackageRelationship rel)
Construct XWPFPictureData from a package part
|
XWPFSettings(PackagePart part,
PackageRelationship rel) |
XWPFStyles(PackagePart part,
PackageRelationship rel)
Construct XWPFStyles from a package part
|
Copyright © 2020. All rights reserved.