poi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From n...@apache.org
Subject svn commit: r996506 - in /poi/trunk/src: documentation/content/xdocs/status.xml ooxml/java/org/apache/poi/xslf/usermodel/XSLFRelation.java
Date Mon, 13 Sep 2010 11:45:35 GMT
Author: nick
Date: Mon Sep 13 11:45:34 2010
New Revision: 996506

URL: http://svn.apache.org/viewvc?rev=996506&view=rev
Log:
More XSLFRelation entries for common .pptx file parts

Modified:
    poi/trunk/src/documentation/content/xdocs/status.xml
    poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFRelation.java

Modified: poi/trunk/src/documentation/content/xdocs/status.xml
URL: http://svn.apache.org/viewvc/poi/trunk/src/documentation/content/xdocs/status.xml?rev=996506&r1=996505&r2=996506&view=diff
==============================================================================
--- poi/trunk/src/documentation/content/xdocs/status.xml (original)
+++ poi/trunk/src/documentation/content/xdocs/status.xml Mon Sep 13 11:45:34 2010
@@ -34,6 +34,7 @@
 
     <changes>
         <release version="3.7-beta3" date="2010-??-??">
+           <action dev="poi-developers" type="add">More XSLFRelation entries for common
.pptx file parts</action>
            <action dev="poi-developers" type="fix">49872 - avoid exception in XSSFFormulaEvaluator.evaluateInCell
when evaluating shared formulas</action>
            <action dev="poi-developers" type="fix">49895 - avoid corruption of XSSFWorkbook
after removing all merged cells from sheet</action>
            <action dev="poi-developers" type="fix">49907 - fixed inconsistent behaviour
between HSSF and XSSF when creating consecutive names</action>

Modified: poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFRelation.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFRelation.java?rev=996506&r1=996505&r2=996506&view=diff
==============================================================================
--- poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFRelation.java (original)
+++ poi/trunk/src/ooxml/java/org/apache/poi/xslf/usermodel/XSLFRelation.java Mon Sep 13 11:45:34
2010
@@ -76,13 +76,16 @@ public class XSLFRelation extends POIXML
    
    public static final XSLFRelation SLIDE = new XSLFRelation(
            "application/vnd.openxmlformats-officedocument.presentationml.slide+xml",
-           null, null, null
+           "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slide", 
+           "/ppt/slides/slide#.xml", 
+           null
    );
    
    public static final XSLFRelation SLIDE_LAYOUT = new XSLFRelation(
          "application/vnd.openxmlformats-officedocument.presentationml.slideLayout+xml",
          "http://schemas.openxmlformats.org/officeDocument/2006/relationships/slideLayout",
-         null, null
+         "/ppt/slideLayouts/slideLayout#.xml", 
+         null
    );
    
    public static final XSLFRelation COMMENTS = new XSLFRelation(
@@ -91,6 +94,20 @@ public class XSLFRelation extends POIXML
          null, null
    );
    
+   public static final XSLFRelation THEME = new XSLFRelation(
+         "application/vnd.openxmlformats-officedocument.theme+xml",
+         "http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",
+         "/ppt/theme/theme#.xml", 
+         null
+   );
+   
+   public static final XSLFRelation VML_DRAWING = new XSLFRelation(
+         "application/vnd.openxmlformats-officedocument.vmlDrawing",
+         "http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",
+         "/ppt/drawings/vmlDrawing#.vml", 
+         null
+   );
+   
 
    private XSLFRelation(String type, String rel, String defaultName, Class<? extends POIXMLDocumentPart>
cls) {
       super(type, rel, defaultName, cls);



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@poi.apache.org
For additional commands, e-mail: commits-help@poi.apache.org


Mime
View raw message