Uses of Class
org.apache.poi.openxml4j.opc.PackagePart
-
Packages that use PackagePart Package Description org.apache.poi.ooxml org.apache.poi.ooxml.dev org.apache.poi.openxml4j.opc org.apache.poi.openxml4j.opc.internal org.apache.poi.openxml4j.opc.internal.marshallers org.apache.poi.openxml4j.opc.internal.unmarshallers org.apache.poi.poifs.crypt.dsig org.apache.poi.xddf.usermodel.chart org.apache.poi.xddf.usermodel.text org.apache.poi.xdgf.usermodel org.apache.poi.xdgf.xml org.apache.poi.xslf.usermodel org.apache.poi.xssf.binary The org.apache.poi.xssf.binary package includes necessary underlying components for streaming/read-only processing of xlsb files.org.apache.poi.xssf.eventusermodel org.apache.poi.xssf.model org.apache.poi.xssf.streaming org.apache.poi.xssf.usermodel org.apache.poi.xwpf.usermodel -
-
Uses of PackagePart in org.apache.poi.ooxml
Methods in org.apache.poi.ooxml that return PackagePart Modifier and Type Method Description protected PackagePartPOIXMLDocument. getCorePart()PackagePartPOIXMLDocumentPart. getPackagePart()Provides access to the underlying PackagePartprotected PackagePart[]POIXMLDocument. getRelatedByType(String contentType)Retrieves all the PackageParts which are defined as relationships of the base document with the specified content type.protected PackagePartPOIXMLDocumentPart. getTargetPart(PackageRelationship rel)Get the PackagePart that is the target of a relationship from this Part.protected PackagePartPOIXMLProperties. getThumbnailPart()Returns thePackagePartfor the Document Thumbnail, ornullif there isn't oneMethods in org.apache.poi.ooxml that return types with arguments of type PackagePart Modifier and Type Method Description abstract List<PackagePart>POIXMLDocument. getAllEmbeddedParts()Get the document's embedded files.Methods in org.apache.poi.ooxml with parameters of type PackagePart Modifier and Type Method Description POIXMLDocumentPartPOIXMLFactory. createDocumentPart(POIXMLDocumentPart parent, PackagePart part)Create a POIXMLDocumentPart from existing package part and relation.InputStreamPOIXMLRelation. getContents(PackagePart corePart)Fetches the InputStream to read the contents, based of the specified core part, for which we are defined as a suitable relationshipprotected PackageRelationshipPOIXMLFactory. getPackageRelationship(POIXMLDocumentPart parent, PackagePart part)Retrieves the package relationship of the child part within the parentPOIXMLDocumentPartPOIXMLRelation.PackagePartConstructor. init(PackagePart part)POIXMLDocumentPartPOIXMLRelation.ParentPartConstructor. init(POIXMLDocumentPart parent, PackagePart part)Method parameters in org.apache.poi.ooxml with type arguments of type PackagePart Modifier and Type Method Description protected voidPOIXMLDocumentPart. onSave(Set<PackagePart> alreadySaved)Save changes in the underlying OOXML package.protected voidPOIXMLDocumentPart. read(POIXMLFactory factory, Map<PackagePart,POIXMLDocumentPart> context)Iterate through the underlying PackagePart and create child POIXMLFactory instances using the specified factoryConstructors in org.apache.poi.ooxml with parameters of type PackagePart Constructor Description POIXMLDocumentPart(POIXMLDocumentPart parent, PackagePart part)Creates an POIXMLDocumentPart representing the given package part, relationship and parent Called byPOIXMLDocumentPart.read(POIXMLFactory, Map)when reading in an existing file.POIXMLDocumentPart(PackagePart part)Creates an POIXMLDocumentPart representing the given package part and relationship. -
Uses of PackagePart in org.apache.poi.ooxml.dev
Methods in org.apache.poi.ooxml.dev with parameters of type PackagePart Modifier and Type Method Description static longOOXMLLister. getSize(PackagePart part)Figures out how big a given PackagePart is. -
Uses of PackagePart in org.apache.poi.openxml4j.opc
Subclasses of PackagePart in org.apache.poi.openxml4j.opc Modifier and Type Class Description classZipPackagePartZip implementation of a PackagePart.Methods in org.apache.poi.openxml4j.opc that return PackagePart Modifier and Type Method Description protected PackagePartOPCPackage. addPackagePart(PackagePart part)Add the specified part to the package.PackagePartOPCPackage. createPart(PackagePartName partName, String contentType)Create and add a part, with the specified name and content type, to the package.PackagePartOPCPackage. createPart(PackagePartName partName, String contentType, ByteArrayOutputStream content)Add a part to the package.protected abstract PackagePartOPCPackage. createPartImpl(PackagePartName partName, String contentType, boolean loadRelationships)Core method to create a package part.protected PackagePartZipPackage. createPartImpl(PackagePartName partName, String contentType, boolean loadRelationships)Create a new MemoryPackagePart from the specified URI and content typePackagePartPackagePartCollection. get(PackagePartName partName)PackagePartOPCPackage. getPart(PackagePartName partName)Retrieve a part identified by its name.PackagePartOPCPackage. getPart(PackageRelationship partRel)Get the target part from the specified relationship.PackagePartPackagePart. getRelatedPart(PackageRelationship rel)Get the PackagePart that is the target of a relationship.PackagePartPackageRelationship. getSource()PackagePartPackagePartCollection. 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.PackagePartPackagePartCollection. remove(PackagePartName key)Methods in org.apache.poi.openxml4j.opc that return types with arguments of type PackagePart Modifier and Type Method 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)Retrieve parts by nameArrayList<PackagePart>OPCPackage. getPartsByRelationshipType(String relationshipType)Retrieve parts by relationship type.Collection<PackagePart>PackagePartCollection. sortedValues()The values themselves should be returned in sorted order.Methods in org.apache.poi.openxml4j.opc with parameters of type PackagePart Modifier and Type Method Description protected PackagePartOPCPackage. addPackagePart(PackagePart part)Add the specified part to the package.intPackagePart. compareTo(PackagePart other)Compare based on the package part name, using a natural sort orderstatic PackagePartNamePackagingURIHelper. createPartName(String partName, PackagePart relativePart)Create an OPC compliant part name by resolving it using a base part.static PackagePartNamePackagingURIHelper. createPartName(URI partName, PackagePart relativePart)Create an OPC compliant part name by resolving it using a base part.PackageRelationshipPackageRelationshipCollection. findExistingInternalRelation(PackagePart packagePart)PackageRelationshipPackagePart. findExistingRelation(PackagePart packagePart)Check if the new part was already added before via PackagePart.addRelationship()voidPackageRelationshipCollection. parseRelationshipsPart(PackagePart relPart)Parse the relationship part and add all relationship in this collection.PackagePartPackagePartCollection. 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.voidOPCPackage. registerPartAndContentType(PackagePart part)Add the specified part, and register its content type with the content type manager.voidOPCPackage. removePart(PackagePart part)Remove the specified part in this package.Constructors in org.apache.poi.openxml4j.opc with parameters of type PackagePart Constructor 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. -
Uses of PackagePart in org.apache.poi.openxml4j.opc.internal
Subclasses of PackagePart in org.apache.poi.openxml4j.opc.internal Modifier and Type Class Description classEncryptedTempFilePackagePart(Experimental) Encrypted Temp File version of a package part.classMemoryPackagePartMemory version of a package part.classPackagePropertiesPartRepresents the core properties part of a package.classTempFilePackagePart(Experimental) Temp File version of a package part.Methods in org.apache.poi.openxml4j.opc.internal that return PackagePart Modifier and Type Method Description PackagePartPartUnmarshaller. unmarshall(UnmarshallContext context, InputStream in)Save the content of the package in the streamMethods in org.apache.poi.openxml4j.opc.internal with parameters of type PackagePart Modifier and Type Method Description booleanPartMarshaller. marshall(PackagePart part, OutputStream out)Save the content of the package in the stream -
Uses of PackagePart in org.apache.poi.openxml4j.opc.internal.marshallers
Methods in org.apache.poi.openxml4j.opc.internal.marshallers with parameters of type PackagePart Modifier and Type Method Description booleanDefaultMarshaller. marshall(PackagePart part, OutputStream out)Save the given part in the output stream by using the save() method of the part.booleanPackagePropertiesMarshaller. marshall(PackagePart part, OutputStream out)Marshall package core properties to an XML document.booleanZipPackagePropertiesMarshaller. marshall(PackagePart part, OutputStream out)booleanZipPartMarshaller. marshall(PackagePart part, OutputStream os)Save the specified part to the given stream. -
Uses of PackagePart in org.apache.poi.openxml4j.opc.internal.unmarshallers
Methods in org.apache.poi.openxml4j.opc.internal.unmarshallers that return PackagePart Modifier and Type Method Description PackagePartPackagePropertiesUnmarshaller. unmarshall(UnmarshallContext context, InputStream in) -
Uses of PackagePart in org.apache.poi.poifs.crypt.dsig
Methods in org.apache.poi.poifs.crypt.dsig that return PackagePart Modifier and Type Method Description PackagePartSignaturePart. getPackagePart() -
Uses of PackagePart in org.apache.poi.xddf.usermodel.chart
Constructors in org.apache.poi.xddf.usermodel.chart with parameters of type PackagePart Constructor Description XDDFChart(PackagePart part)Construct a DrawingML chart from a package part. -
Uses of PackagePart in org.apache.poi.xddf.usermodel.text
Methods in org.apache.poi.xddf.usermodel.text with parameters of type PackagePart Modifier and Type Method Description XDDFHyperlinkXDDFTextRun. linkToExternal(String url, PackagePart localPart, POIXMLRelation relation)XDDFHyperlinkXDDFTextRun. linkToInternal(String action, PackagePart localPart, POIXMLRelation relation, PackagePartName target) -
Uses of PackagePart in org.apache.poi.xdgf.usermodel
Methods in org.apache.poi.xdgf.usermodel that return types with arguments of type PackagePart Modifier and Type Method Description List<PackagePart>XmlVisioDocument. getAllEmbeddedParts()Not currently implementedMethods in org.apache.poi.xdgf.usermodel with parameters of type PackagePart Modifier and Type Method Description POIXMLDocumentPartXDGFFactory. createDocumentPart(POIXMLDocumentPart parent, PackagePart part)Constructors in org.apache.poi.xdgf.usermodel with parameters of type PackagePart Constructor Description XDGFBaseContents(PackagePart part)XDGFMasterContents(PackagePart part)XDGFMasters(PackagePart part)XDGFPageContents(PackagePart part)XDGFPages(PackagePart part) -
Uses of PackagePart in org.apache.poi.xdgf.xml
Constructors in org.apache.poi.xdgf.xml with parameters of type PackagePart Constructor Description XDGFXMLDocumentPart(PackagePart part) -
Uses of PackagePart in org.apache.poi.xslf.usermodel
Methods in org.apache.poi.xslf.usermodel that return PackagePart Modifier and Type Method Description PackagePartXSLFSlideShow. 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.PackagePartXSLFSlideShow. getSlideMasterPart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideMasterIdListEntry master)PackagePartXSLFSlideShow. getSlidePart(org.openxmlformats.schemas.presentationml.x2006.main.CTSlideIdListEntry slide)Methods in org.apache.poi.xslf.usermodel that return types with arguments of type PackagePart Modifier and Type Method Description List<PackagePart>XMLSlideShow. getAllEmbeddedParts()Get the document's embedded files.List<PackagePart>XSLFSlideShow. getAllEmbeddedParts()Get the document's embedded files.Methods in org.apache.poi.xslf.usermodel with parameters of type PackagePart Modifier and Type Method Description protected PaintStyleXSLFShape. selectPaint(XSLFPropertiesDelegate.XSLFFillProperties fp, org.openxmlformats.schemas.drawingml.x2006.main.CTSchemeColor phClr, PackagePart parentPart, XSLFTheme theme, boolean hasPlaceholder)Convert shape fill into java.awt.Paint.protected PaintStyleXSLFShape. selectPaint(org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties blipFill, PackagePart parentPart, org.openxmlformats.schemas.drawingml.x2006.main.CTSchemeColor phClr, XSLFTheme theme)Constructors in org.apache.poi.xslf.usermodel with parameters of type PackagePart Constructor Description XSLFChart(PackagePart part)Construct a PresentationML chart from a package part.XSLFFontData(PackagePart part)Construct XSLFFontData from a package partXSLFNotesMaster(PackagePart part)XSLFObjectData(PackagePart part)Construct XSLFObjectData from a package partXSLFPictureData(PackagePart part)Construct XSLFPictureData from a package partXSLFSheet(PackagePart part)XSLFSlideLayout(PackagePart part)XSLFSlideMaster(PackagePart part)XSLFTableStyles(PackagePart part)XSLFTexturePaint(XSLFShape shape, org.openxmlformats.schemas.drawingml.x2006.main.CTBlipFillProperties blipFill, PackagePart parentPart, org.openxmlformats.schemas.drawingml.x2006.main.CTSchemeColor phClr, XSLFTheme theme, XSLFSheet sheet)XSLFTheme(PackagePart part) -
Uses of PackagePart in org.apache.poi.xssf.binary
Constructors in org.apache.poi.xssf.binary with parameters of type PackagePart Constructor Description XSSFBHyperlinksTable(PackagePart sheetPart) -
Uses of PackagePart in org.apache.poi.xssf.eventusermodel
Fields in org.apache.poi.xssf.eventusermodel declared as PackagePart Modifier and Type Field Description protected PackagePartXSSFReader. workbookPartFields in org.apache.poi.xssf.eventusermodel with type parameters of type PackagePart Modifier and Type Field Description protected Map<String,PackagePart>XSSFReader.SheetIterator. sheetMapMaps relId and the corresponding PackagePartMethods in org.apache.poi.xssf.eventusermodel that return PackagePart Modifier and Type Method Description PackagePartXSSFReader.SheetIterator. getSheetPart()Methods in org.apache.poi.xssf.eventusermodel with parameters of type PackagePart Modifier and Type Method Description protected Iterator<XSSFReader.XSSFSheetRef>XSSFBReader.SheetIterator. createSheetIteratorFromWB(PackagePart wb)protected Iterator<XSSFReader.XSSFSheetRef>XSSFReader.SheetIterator. createSheetIteratorFromWB(PackagePart wb)protected CommentsXSSFReader.SheetIterator. parseComments(PackagePart commentsPart)Constructors in org.apache.poi.xssf.eventusermodel with parameters of type PackagePart Constructor Description ReadOnlySharedStringsTable(PackagePart part)Like POIXMLDocumentPart constructor CallsReadOnlySharedStringsTable(PackagePart, boolean), with a value oftrueto include phonetic runs.ReadOnlySharedStringsTable(PackagePart part, boolean includePhoneticRuns)SheetIterator(PackagePart wb)Construct a new SheetIterator -
Uses of PackagePart in org.apache.poi.xssf.model
Constructors in org.apache.poi.xssf.model with parameters of type PackagePart Constructor Description CalculationChain(PackagePart part)CommentsTable(PackagePart part)ExternalLinksTable(PackagePart part)MapInfo(PackagePart part)SharedStringsTable(PackagePart part)SingleXmlCells(PackagePart part)StylesTable(PackagePart part)ThemesTable(PackagePart part)Construct a ThemesTable. -
Uses of PackagePart in org.apache.poi.xssf.streaming
Methods in org.apache.poi.xssf.streaming with parameters of type PackagePart Modifier and Type Method Description protected static DimensionSXSSFPicture. getImageDimension(PackagePart part, int type)Return the dimension of this image -
Uses of PackagePart in org.apache.poi.xssf.usermodel
Methods in org.apache.poi.xssf.usermodel that return PackagePart Modifier and Type Method Description PackagePartXSSFObjectData. getObjectPart()Methods in org.apache.poi.xssf.usermodel that return types with arguments of type PackagePart Modifier and Type Method Description List<PackagePart>XSSFWorkbook. getAllEmbeddedParts()Get the document's embedded files.Methods in org.apache.poi.xssf.usermodel with parameters of type PackagePart Modifier and Type Method Description protected voidXSSFHyperlink. generateRelationIfNeeded(PackagePart sheetPart)Generates the relation if requiredprotected static DimensionXSSFPicture. getImageDimension(PackagePart part, int type)Return the dimension of this imageConstructors in org.apache.poi.xssf.usermodel with parameters of type PackagePart Constructor Description XSSFChart(PackagePart part)Construct a SpreadsheetML chart from a package part.XSSFChartSheet(PackagePart part)XSSFDrawing(PackagePart part)Construct a SpreadsheetML drawing from a package partXSSFPictureData(PackagePart part)Construct XSSFPictureData from a package partXSSFPivotCache(PackagePart part)Creates n XSSFPivotCache representing the given package part and relationship.XSSFPivotCacheDefinition(PackagePart part)Creates an XSSFPivotCacheDefintion representing the given package part and relationship.XSSFPivotCacheRecords(PackagePart part)Creates an XSSFPivotCacheRecords representing the given package part and relationship.XSSFPivotTable(PackagePart part)Creates an XSSFPivotTable representing the given package part and relationship.XSSFSheet(PackagePart part)Creates an XSSFSheet representing the given package part and relationship.XSSFTable(PackagePart part)XSSFVBAPart(PackagePart part)Construct XSSFVBAPart from a package partXSSFVMLDrawing(PackagePart part)Construct a SpreadsheetML drawing from a package partXSSFWorkbook(PackagePart part)Constructs a XSSFWorkbook object using Package Part. -
Uses of PackagePart in org.apache.poi.xwpf.usermodel
Methods in org.apache.poi.xwpf.usermodel that return PackagePart Modifier and Type Method Description PackagePartXWPFDocument. getPartById(String id)Get the document part that's defined as the given relationship of the core document.Methods in org.apache.poi.xwpf.usermodel that return types with arguments of type PackagePart Modifier and Type Method Description List<PackagePart>XWPFDocument. getAllEmbeddedParts()Get the document's embedded files.Constructors in org.apache.poi.xwpf.usermodel with parameters of type PackagePart Constructor Description XWPFAbstractFootnotesEndnotes(POIXMLDocumentPart parent, PackagePart part)XWPFAbstractFootnotesEndnotes(PackagePart part)XWPFChart(PackagePart part)Construct a chart from a package part.XWPFComments(POIXMLDocumentPart parent, PackagePart part)Construct XWPFComments from a package partXWPFEndnotes(PackagePart part)Construct XWPFEndnotes from a package partXWPFFooter(POIXMLDocumentPart parent, PackagePart part)XWPFFootnotes(PackagePart part)Construct XWPFFootnotes from a package partXWPFHeader(POIXMLDocumentPart parent, PackagePart part)XWPFHeaderFooter(POIXMLDocumentPart parent, PackagePart part)XWPFNumbering(PackagePart part)create a new styles object with an existing documentXWPFPictureData(PackagePart part)Construct XWPFPictureData from a package partXWPFSettings(PackagePart part)XWPFStyles(PackagePart part)Construct XWPFStyles from a package part
-