Modifier and Type | Method and Description |
---|---|
protected PackagePart |
POIXMLDocument.getCorePart() |
PackagePart |
POIXMLDocumentPart.getPackagePart()
Provides access to the underlying PackagePart
|
protected PackagePart[] |
POIXMLDocument.getRelatedByType(java.lang.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 java.util.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(java.util.Set<PackagePart> alreadySaved)
Save changes in the underlying OOXML package.
|
protected void |
POIXMLDocumentPart.read(POIXMLFactory factory,
java.util.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,
java.lang.String contentType)
Create and add a part, with the specified name and content type, to the
package.
|
PackagePart |
OPCPackage.createPart(PackagePartName partName,
java.lang.String contentType,
java.io.ByteArrayOutputStream content)
Add a part to the package.
|
protected PackagePart |
ZipPackage.createPartImpl(PackagePartName partName,
java.lang.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,
java.lang.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(java.lang.Object key) |
Modifier and Type | Method and Description |
---|---|
java.util.ArrayList<PackagePart> |
OPCPackage.getParts()
Load the parts of the archive if it has not been done yet.
|
java.util.ArrayList<PackagePart> |
OPCPackage.getPartsByContentType(java.lang.String contentType)
Retrieve parts by content type.
|
java.util.List<PackagePart> |
OPCPackage.getPartsByName(java.util.regex.Pattern namePattern) |
java.util.ArrayList<PackagePart> |
OPCPackage.getPartsByRelationshipType(java.lang.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(java.lang.String partName,
PackagePart relativePart)
Create an OPC compliant part name by resolving it using a base part.
|
static PackagePartName |
PackagingURIHelper.createPartName(java.net.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,
java.net.URI targetUri,
TargetMode targetMode,
java.lang.String relationshipType,
java.lang.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,
java.io.InputStream in)
Save the content of the package in the stream
|
Modifier and Type | Method and Description |
---|---|
boolean |
PartMarshaller.marshall(PackagePart part,
java.io.OutputStream out)
Save the content of the package in the stream
|
Modifier and Type | Method and Description |
---|---|
boolean |
ZipPartMarshaller.marshall(PackagePart part,
java.io.OutputStream os)
Save the specified part.
|
boolean |
ZipPackagePropertiesMarshaller.marshall(PackagePart part,
java.io.OutputStream out) |
boolean |
PackagePropertiesMarshaller.marshall(PackagePart part,
java.io.OutputStream out)
Marshall package core properties to an XML document.
|
boolean |
DefaultMarshaller.marshall(PackagePart part,
java.io.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,
java.io.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 |
---|---|
java.util.List<PackagePart> |
XSLFSlideShow.getAllEmbedds()
Get the document's embedded files.
|
Modifier and Type | Method and Description |
---|---|
java.util.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) |
java.awt.image.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(java.lang.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 |
---|---|
java.util.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
|
java.io.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 java.awt.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,
java.util.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(java.lang.String id)
Get the document part that's defined as the
given relationship of the core document.
|
Modifier and Type | Method and Description |
---|---|
java.util.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 © 2005-2010 Potix Corporation. All Rights Reserved.