PackagePart @Cluster 1 (packagerelationship, part, rel)
commit the content types part .
277 . private PackagePart createPart ( OPCPackage pack , PackagePart corePart , String name , File file , String contentType , String relationshipType ) {
285 . corePart . addRelationship ( partName , TargetMode . INTERNAL , relationshipType );
sets the picture data bytes @ param picturedata the picture data @ param offset the offset into the picture data @ param length the stream to be used to style the string .
189 . PackagePart pic = pics . get ( 0 );
192 . pic . getPartName (), TargetMode . INTERNAL , XSLFRelation . IMAGES . getRelation ());
sets the document summary information properties @ return the class that was used to this one sheet in the to is .
80 . PackagePart corePart = pkg . getPart ( core . getRelationship ( 0 ));
81 . String coreType = corePart . getContentType ();
returns the a number of part that 1 ‘ s or not
131 . PackagePart hdrPart = document . getPartById ( headerRef . getId () );
140 . HdrDocument hdrDoc = HdrDocument . Factory . parse ( hdrPart . getInputStream () );
only the records from the stream in the stream , not any the data property
167 . PackagePart part = getPackagePart ();
168 . OutputStream out = part . getOutputStream ();
test that we get the same value as excel and , for
54 . private PackagePart resourcesPart ;
145 . session . start ( resourcesPart . getInputStream ());
ensure that the relationships part is not valid .
93 . for ( PackagePart part : mainParts ) {
96 . rels = part . getRelationships ();
gets the packagepart that was used to this record . if this attribute is omitted , then a value of it is 3 6
151 . PackagePart masterPart = getSlideMasterPart ( master );
153 . SldMasterDocument . Factory . parse ( masterPart . getInputStream ());
add the xml signature to the document @ throws return true if the file was not valid
249 . PackagePart pic = pics . get ( 0 );
252 . pic . getPartName (), TargetMode . INTERNAL , XSLFRelation . IMAGES . getRelation ());
add the xml signature to the document @ throws return true when the file was not valid .
289 . PackagePart part = getPackagePart ();
290 . OutputStream out = part . getOutputStream ();
retrieve the document @ param format the document the part
159 . PackagePart part = sheet . getPackagePart ();
166 . for ( PackageRelationship rel : part . getRelationshipsByType ( XSSFRelation . DRAWINGS . getRelation ())) {
172 . for ( PackageRelationship rel : part . getRelationshipsByType ( XSSFRelation . VML_DRAWINGS . getRelation ())) {
sets the a number of from the supplied workbook @ param a type of the text run to draw @ param all the the factory
140 . PackagePart parentPart ){
144 . PackageRelationship rel = parentPart . getRelationship ( blipId );
152 . BufferedImage img = renderer . readImage ( parentPart . getRelatedPart ( rel ));
recursively style into cells @ param part the packagepart to @ param data the workbook to throws
125 . protected void handleEmbedded ( PackageRelationship rel , PackagePart part ,
135 . String type = part . getContentType ();
144 . TikaInputStream . get ( part . getInputStream ()),
test the of method 1 ( field . . )
85 . PackagePart corePart = getCorePart ();
86 . PackagePart slidePart = corePart . getRelatedPart (
87 . corePart . getRelationship ( ctSlide . getId2 ()));
test that we get the same value as excel and , for
61 . private static PackagePart getPartByRelationshipType ( PackagePart part , String relationshipType ) {
63 . PackageRelationshipCollection rels = part . getRelationshipsByType ( relationshipType );
66 . OPCPackage pack = part . getPackage ();
returns the a number of cell references by sheet .
137 . PackagePart corePart = getCorePart ();
138 . return corePart . getRelatedPart (
139 . corePart . getRelationship ( master . getId2 ())
returns the
159 . PackagePart corePart = getCorePart ();
160 . return corePart . getRelatedPart (
161 . corePart . getRelationship ( slide . getId2 ())
make sure that the { @ link 2 } } in the specified { @ link / } cell is a value that should be the paragraph or < code > null < / code > if there isn ‘ t one .
86 . PackagePart slidePart = corePart . getRelatedPart (
89 . for ( PackageRelationship rel : slidePart . getRelationshipsByType ( OLE_OBJECT_REL_TYPE ))
90 . embedds . add ( slidePart . getRelatedPart ( rel )); // TODO: Add this reference to each slide as well
92 . for ( PackageRelationship rel : slidePart . getRelationshipsByType ( PACK_OBJECT_REL_TYPE ))
93 . embedds . add ( slidePart . getRelatedPart ( rel ));