You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@poi.apache.org by ni...@apache.org on 2015/04/24 04:07:02 UTC

svn commit: r1675744 - in /poi/trunk/src/java/org/apache/poi/ss/formula/ptg: Area3DPxg.java Pxg3D.java Ref3DPxg.java

Author: nick
Date: Fri Apr 24 02:07:01 2015
New Revision: 1675744

URL: http://svn.apache.org/r1675744
Log:
Add a common interface for 3D Pxg's

Added:
    poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Pxg3D.java
Modified:
    poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area3DPxg.java
    poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref3DPxg.java

Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area3DPxg.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area3DPxg.java?rev=1675744&r1=1675743&r2=1675744&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area3DPxg.java (original)
+++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Area3DPxg.java Fri Apr 24 02:07:01 2015
@@ -31,7 +31,7 @@ import org.apache.poi.util.LittleEndianO
  * <p>This is XSSF only, as it stores the sheet / book references
  *  in String form. The HSSF equivalent using indexes is {@link Area3DPtg}</p>
  */
-public final class Area3DPxg extends AreaPtgBase implements Pxg {
+public final class Area3DPxg extends AreaPtgBase implements Pxg3D {
     private int externalWorkbookNumber = -1;
     private String firstSheetName;
     private String lastSheetName;

Added: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Pxg3D.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Pxg3D.java?rev=1675744&view=auto
==============================================================================
--- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Pxg3D.java (added)
+++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Pxg3D.java Fri Apr 24 02:07:01 2015
@@ -0,0 +1,27 @@
+/* ====================================================================
+   Licensed to the Apache Software Foundation (ASF) under one or more
+   contributor license agreements.  See the NOTICE file distributed with
+   this work for additional information regarding copyright ownership.
+   The ASF licenses this file to You under the Apache License, Version 2.0
+   (the "License"); you may not use this file except in compliance with
+   the License.  You may obtain a copy of the License at
+
+       http://www.apache.org/licenses/LICENSE-2.0
+
+   Unless required by applicable law or agreed to in writing, software
+   distributed under the License is distributed on an "AS IS" BASIS,
+   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+   See the License for the specific language governing permissions and
+   limitations under the License.
+==================================================================== */
+
+package org.apache.poi.ss.formula.ptg;
+
+/**
+ * An XSSF only special kind of Ptg, which stores a range of 
+ *  sheet / book references in string form.
+ */
+public interface Pxg3D extends Pxg {
+    public String getLastSheetName();
+    public void setLastSheetName(String sheetName);
+}

Modified: poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref3DPxg.java
URL: http://svn.apache.org/viewvc/poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref3DPxg.java?rev=1675744&r1=1675743&r2=1675744&view=diff
==============================================================================
--- poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref3DPxg.java (original)
+++ poi/trunk/src/java/org/apache/poi/ss/formula/ptg/Ref3DPxg.java Fri Apr 24 02:07:01 2015
@@ -31,7 +31,7 @@ import org.apache.poi.util.LittleEndianO
  * <p>This is XSSF only, as it stores the sheet / book references
  *  in String form. The HSSF equivalent using indexes is {@link Ref3DPtg}</p>
  */
-public final class Ref3DPxg extends RefPtgBase implements Pxg {
+public final class Ref3DPxg extends RefPtgBase implements Pxg3D {
     private int externalWorkbookNumber = -1;
     private String firstSheetName;
     private String lastSheetName;



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