incubator-odf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devin...@apache.org
Subject svn commit: r1291683 [3/5] - in /incubator/odf/trunk/odfdom: ./ src/codegen/resources/ src/codegen/resources/dom/ src/codegen/resources/dom/template/ src/codegen/resources/pkg/template/ src/main/java/org/odftoolkit/odfdom/dom/attribute/draw/ src/main/j...
Date Tue, 21 Feb 2012 10:06:57 GMT
Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPathElement.java Tue Feb 21 10:06:53 2012
@@ -145,12 +145,12 @@ public class DrawContourPathElement exte
 	 *
 	 * Attribute is mandatory.
 	 *
-	 * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
+	 * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
 	 */
-	public String getSvgViewBoxAttribute() {
+	public Integer getSvgViewBoxAttribute() {
 		SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox");
 		if (attr != null) {
-			return String.valueOf(attr.getValue());
+			return Integer.valueOf(attr.intValue());
 		}
 		return null;
 	}
@@ -158,12 +158,12 @@ public class DrawContourPathElement exte
 	/**
 	 * Sets the value of ODFDOM attribute representation <code>SvgViewBoxAttribute</code> , See {@odf.attribute svg:viewBox}
 	 *
-	 * @param svgViewBoxValue   The type is <code>String</code>
+	 * @param svgViewBoxValue   The type is <code>Integer</code>
 	 */
-	public void setSvgViewBoxAttribute(String svgViewBoxValue) {
+	public void setSvgViewBoxAttribute(Integer svgViewBoxValue) {
 		SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument);
 		setOdfAttribute(attr);
-		attr.setValue(svgViewBoxValue);
+		attr.setIntValue(svgViewBoxValue.intValue());
 	}
 
 	/**

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawContourPolygonElement.java Tue Feb 21 10:06:53 2012
@@ -145,12 +145,12 @@ public class DrawContourPolygonElement e
 	 *
 	 * Attribute is mandatory.
 	 *
-	 * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
+	 * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
 	 */
-	public String getSvgViewBoxAttribute() {
+	public Integer getSvgViewBoxAttribute() {
 		SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox");
 		if (attr != null) {
-			return String.valueOf(attr.getValue());
+			return Integer.valueOf(attr.intValue());
 		}
 		return null;
 	}
@@ -158,12 +158,12 @@ public class DrawContourPolygonElement e
 	/**
 	 * Sets the value of ODFDOM attribute representation <code>SvgViewBoxAttribute</code> , See {@odf.attribute svg:viewBox}
 	 *
-	 * @param svgViewBoxValue   The type is <code>String</code>
+	 * @param svgViewBoxValue   The type is <code>Integer</code>
 	 */
-	public void setSvgViewBoxAttribute(String svgViewBoxValue) {
+	public void setSvgViewBoxAttribute(Integer svgViewBoxValue) {
 		SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument);
 		setOdfAttribute(attr);
-		attr.setValue(svgViewBoxValue);
+		attr.setIntValue(svgViewBoxValue.intValue());
 	}
 
 	/**

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawEnhancedGeometryElement.java Tue Feb 21 10:06:53 2012
@@ -489,25 +489,25 @@ public class DrawEnhancedGeometryElement
 	/**
 	 * Receives the value of the ODFDOM attribute representation <code>DrawExtrusionOriginAttribute</code> , See {@odf.attribute draw:extrusion-origin}
 	 *
-	 * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
+	 * @return - the <code>Double</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
 	 */
-	public String getDrawExtrusionOriginAttribute() {
+	public Double getDrawExtrusionOriginAttribute() {
 		DrawExtrusionOriginAttribute attr = (DrawExtrusionOriginAttribute) getOdfAttribute(OdfDocumentNamespace.DRAW, "extrusion-origin");
 		if (attr != null) {
-			return String.valueOf(attr.getValue());
+			return Double.valueOf(attr.doubleValue());
 		}
-		return DrawExtrusionOriginAttribute.DEFAULT_VALUE;
+		return Double.valueOf(DrawExtrusionOriginAttribute.DEFAULT_VALUE);
 	}
 
 	/**
 	 * Sets the value of ODFDOM attribute representation <code>DrawExtrusionOriginAttribute</code> , See {@odf.attribute draw:extrusion-origin}
 	 *
-	 * @param drawExtrusionOriginValue   The type is <code>String</code>
+	 * @param drawExtrusionOriginValue   The type is <code>Double</code>
 	 */
-	public void setDrawExtrusionOriginAttribute(String drawExtrusionOriginValue) {
+	public void setDrawExtrusionOriginAttribute(Double drawExtrusionOriginValue) {
 		DrawExtrusionOriginAttribute attr = new DrawExtrusionOriginAttribute((OdfFileDom) this.ownerDocument);
 		setOdfAttribute(attr);
-		attr.setValue(drawExtrusionOriginValue);
+		attr.setDoubleValue(drawExtrusionOriginValue.doubleValue());
 	}
 
 	/**
@@ -1113,12 +1113,12 @@ public class DrawEnhancedGeometryElement
 	/**
 	 * Receives the value of the ODFDOM attribute representation <code>SvgViewBoxAttribute</code> , See {@odf.attribute svg:viewBox}
 	 *
-	 * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
+	 * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
 	 */
-	public String getSvgViewBoxAttribute() {
+	public Integer getSvgViewBoxAttribute() {
 		SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox");
 		if (attr != null) {
-			return String.valueOf(attr.getValue());
+			return Integer.valueOf(attr.intValue());
 		}
 		return null;
 	}
@@ -1126,12 +1126,12 @@ public class DrawEnhancedGeometryElement
 	/**
 	 * Sets the value of ODFDOM attribute representation <code>SvgViewBoxAttribute</code> , See {@odf.attribute svg:viewBox}
 	 *
-	 * @param svgViewBoxValue   The type is <code>String</code>
+	 * @param svgViewBoxValue   The type is <code>Integer</code>
 	 */
-	public void setSvgViewBoxAttribute(String svgViewBoxValue) {
+	public void setSvgViewBoxAttribute(Integer svgViewBoxValue) {
 		SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument);
 		setOdfAttribute(attr);
-		attr.setValue(svgViewBoxValue);
+		attr.setIntValue(svgViewBoxValue.intValue());
 	}
 
 	/**

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawFrameElement.java Tue Feb 21 10:06:53 2012
@@ -431,10 +431,10 @@ public class DrawFrameElement extends Dr
 	 *
 	 * @param drawRecreateOnEditValue  the <code>Boolean</code> value of <code>DrawRecreateOnEditAttribute</code>, see {@odf.attribute  draw:recreate-on-edit} at specification
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:contour-path}
 	 */
-	 public DrawContourPathElement newDrawContourPathElement(boolean drawRecreateOnEditValue, String svgDValue, String svgViewBoxValue) {
+	 public DrawContourPathElement newDrawContourPathElement(boolean drawRecreateOnEditValue, String svgDValue, int svgViewBoxValue) {
 		DrawContourPathElement drawContourPath = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawContourPathElement.class);
 		drawContourPath.setDrawRecreateOnEditAttribute(drawRecreateOnEditValue);
 		drawContourPath.setSvgDAttribute(svgDValue);
@@ -448,10 +448,10 @@ public class DrawFrameElement extends Dr
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
 	 * @param drawRecreateOnEditValue  the <code>Boolean</code> value of <code>DrawRecreateOnEditAttribute</code>, see {@odf.attribute  draw:recreate-on-edit} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:contour-polygon}
 	 */
-	 public DrawContourPolygonElement newDrawContourPolygonElement(String drawPointsValue, boolean drawRecreateOnEditValue, String svgViewBoxValue) {
+	 public DrawContourPolygonElement newDrawContourPolygonElement(String drawPointsValue, boolean drawRecreateOnEditValue, int svgViewBoxValue) {
 		DrawContourPolygonElement drawContourPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawContourPolygonElement.class);
 		drawContourPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawContourPolygon.setDrawRecreateOnEditAttribute(drawRecreateOnEditValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawGElement.java Tue Feb 21 10:06:53 2012
@@ -168,10 +168,10 @@ public class DrawGElement extends DrawSh
 	/**
 	 * Create child element {@odf.element draw:connector}.
 	 *
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:connector}
 	 */
-	 public DrawConnectorElement newDrawConnectorElement(String svgViewBoxValue) {
+	 public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue) {
 		DrawConnectorElement drawConnector = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawConnectorElement.class);
 		drawConnector.setSvgViewBoxAttribute(svgViewBoxValue);
 		this.appendChild(drawConnector);
@@ -307,10 +307,10 @@ public class DrawGElement extends DrawSh
 	 * Create child element {@odf.element draw:path}.
 	 *
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:path}
 	 */
-	 public DrawPathElement newDrawPathElement(String svgDValue, String svgViewBoxValue) {
+	 public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue) {
 		DrawPathElement drawPath = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPathElement.class);
 		drawPath.setSvgDAttribute(svgDValue);
 		drawPath.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -322,10 +322,10 @@ public class DrawGElement extends DrawSh
 	 * Create child element {@odf.element draw:polygon}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polygon}
 	 */
-	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolygonElement drawPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolygonElement.class);
 		drawPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawPolygon.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -337,10 +337,10 @@ public class DrawGElement extends DrawSh
 	 * Create child element {@odf.element draw:polyline}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polyline}
 	 */
-	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolylineElement drawPolyline = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolylineElement.class);
 		drawPolyline.setDrawPointsAttribute(drawPointsValue);
 		drawPolyline.setSvgViewBoxAttribute(svgViewBoxValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawImageMapElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawImageMapElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawImageMapElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawImageMapElement.java Tue Feb 21 10:06:53 2012
@@ -81,13 +81,13 @@ public class DrawImageMapElement extends
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
 	 * @param svgHeightValue  the <code>String</code> value of <code>SvgHeightAttribute</code>, see {@odf.attribute  svg:height} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @param svgWidthValue  the <code>String</code> value of <code>SvgWidthAttribute</code>, see {@odf.attribute  svg:width} at specification
 	 * @param svgXValue  the <code>String</code> value of <code>SvgXAttribute</code>, see {@odf.attribute  svg:x} at specification
 	 * @param svgYValue  the <code>String</code> value of <code>SvgYAttribute</code>, see {@odf.attribute  svg:y} at specification
 	 * @return the element {@odf.element draw:area-polygon}
 	 */
-	 public DrawAreaPolygonElement newDrawAreaPolygonElement(String drawPointsValue, String svgHeightValue, String svgViewBoxValue, String svgWidthValue, String svgXValue, String svgYValue) {
+	 public DrawAreaPolygonElement newDrawAreaPolygonElement(String drawPointsValue, String svgHeightValue, int svgViewBoxValue, String svgWidthValue, String svgXValue, String svgYValue) {
 		DrawAreaPolygonElement drawAreaPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawAreaPolygonElement.class);
 		drawAreaPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawAreaPolygon.setSvgHeightAttribute(svgHeightValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawMarkerElement.java Tue Feb 21 10:06:53 2012
@@ -144,12 +144,12 @@ public class DrawMarkerElement extends O
 	 *
 	 * Attribute is mandatory.
 	 *
-	 * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
+	 * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
 	 */
-	public String getSvgViewBoxAttribute() {
+	public Integer getSvgViewBoxAttribute() {
 		SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox");
 		if (attr != null) {
-			return String.valueOf(attr.getValue());
+			return Integer.valueOf(attr.intValue());
 		}
 		return null;
 	}
@@ -157,12 +157,12 @@ public class DrawMarkerElement extends O
 	/**
 	 * Sets the value of ODFDOM attribute representation <code>SvgViewBoxAttribute</code> , See {@odf.attribute svg:viewBox}
 	 *
-	 * @param svgViewBoxValue   The type is <code>String</code>
+	 * @param svgViewBoxValue   The type is <code>Integer</code>
 	 */
-	public void setSvgViewBoxAttribute(String svgViewBoxValue) {
+	public void setSvgViewBoxAttribute(Integer svgViewBoxValue) {
 		SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument);
 		setOdfAttribute(attr);
-		attr.setValue(svgViewBoxValue);
+		attr.setIntValue(svgViewBoxValue.intValue());
 	}
 
 	@Override

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPageElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPageElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPageElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPageElement.java Tue Feb 21 10:06:53 2012
@@ -520,10 +520,10 @@ public class DrawPageElement extends Odf
 	/**
 	 * Create child element {@odf.element draw:connector}.
 	 *
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:connector}
 	 */
-	 public DrawConnectorElement newDrawConnectorElement(String svgViewBoxValue) {
+	 public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue) {
 		DrawConnectorElement drawConnector = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawConnectorElement.class);
 		drawConnector.setSvgViewBoxAttribute(svgViewBoxValue);
 		this.appendChild(drawConnector);
@@ -653,10 +653,10 @@ public class DrawPageElement extends Odf
 	 * Create child element {@odf.element draw:path}.
 	 *
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:path}
 	 */
-	 public DrawPathElement newDrawPathElement(String svgDValue, String svgViewBoxValue) {
+	 public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue) {
 		DrawPathElement drawPath = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPathElement.class);
 		drawPath.setSvgDAttribute(svgDValue);
 		drawPath.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -668,10 +668,10 @@ public class DrawPageElement extends Odf
 	 * Create child element {@odf.element draw:polygon}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polygon}
 	 */
-	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolygonElement drawPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolygonElement.class);
 		drawPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawPolygon.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -683,10 +683,10 @@ public class DrawPageElement extends Odf
 	 * Create child element {@odf.element draw:polyline}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polyline}
 	 */
-	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolylineElement drawPolyline = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolylineElement.class);
 		drawPolyline.setDrawPointsAttribute(drawPointsValue);
 		drawPolyline.setSvgViewBoxAttribute(svgViewBoxValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPathElement.java Tue Feb 21 10:06:53 2012
@@ -227,12 +227,12 @@ public class DrawPathElement extends Dra
 	 *
 	 * Attribute is mandatory.
 	 *
-	 * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
+	 * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
 	 */
-	public String getSvgViewBoxAttribute() {
+	public Integer getSvgViewBoxAttribute() {
 		SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox");
 		if (attr != null) {
-			return String.valueOf(attr.getValue());
+			return Integer.valueOf(attr.intValue());
 		}
 		return null;
 	}
@@ -240,12 +240,12 @@ public class DrawPathElement extends Dra
 	/**
 	 * Sets the value of ODFDOM attribute representation <code>SvgViewBoxAttribute</code> , See {@odf.attribute svg:viewBox}
 	 *
-	 * @param svgViewBoxValue   The type is <code>String</code>
+	 * @param svgViewBoxValue   The type is <code>Integer</code>
 	 */
-	public void setSvgViewBoxAttribute(String svgViewBoxValue) {
+	public void setSvgViewBoxAttribute(Integer svgViewBoxValue) {
 		SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument);
 		setOdfAttribute(attr);
-		attr.setValue(svgViewBoxValue);
+		attr.setIntValue(svgViewBoxValue.intValue());
 	}
 
 	/**

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolygonElement.java Tue Feb 21 10:06:53 2012
@@ -227,12 +227,12 @@ public class DrawPolygonElement extends 
 	 *
 	 * Attribute is mandatory.
 	 *
-	 * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
+	 * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
 	 */
-	public String getSvgViewBoxAttribute() {
+	public Integer getSvgViewBoxAttribute() {
 		SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox");
 		if (attr != null) {
-			return String.valueOf(attr.getValue());
+			return Integer.valueOf(attr.intValue());
 		}
 		return null;
 	}
@@ -240,12 +240,12 @@ public class DrawPolygonElement extends 
 	/**
 	 * Sets the value of ODFDOM attribute representation <code>SvgViewBoxAttribute</code> , See {@odf.attribute svg:viewBox}
 	 *
-	 * @param svgViewBoxValue   The type is <code>String</code>
+	 * @param svgViewBoxValue   The type is <code>Integer</code>
 	 */
-	public void setSvgViewBoxAttribute(String svgViewBoxValue) {
+	public void setSvgViewBoxAttribute(Integer svgViewBoxValue) {
 		SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument);
 		setOdfAttribute(attr);
-		attr.setValue(svgViewBoxValue);
+		attr.setIntValue(svgViewBoxValue.intValue());
 	}
 
 	/**

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawPolylineElement.java Tue Feb 21 10:06:53 2012
@@ -227,12 +227,12 @@ public class DrawPolylineElement extends
 	 *
 	 * Attribute is mandatory.
 	 *
-	 * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
+	 * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
 	 */
-	public String getSvgViewBoxAttribute() {
+	public Integer getSvgViewBoxAttribute() {
 		SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox");
 		if (attr != null) {
-			return String.valueOf(attr.getValue());
+			return Integer.valueOf(attr.intValue());
 		}
 		return null;
 	}
@@ -240,12 +240,12 @@ public class DrawPolylineElement extends
 	/**
 	 * Sets the value of ODFDOM attribute representation <code>SvgViewBoxAttribute</code> , See {@odf.attribute svg:viewBox}
 	 *
-	 * @param svgViewBoxValue   The type is <code>String</code>
+	 * @param svgViewBoxValue   The type is <code>Integer</code>
 	 */
-	public void setSvgViewBoxAttribute(String svgViewBoxValue) {
+	public void setSvgViewBoxAttribute(Integer svgViewBoxValue) {
 		SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument);
 		setOdfAttribute(attr);
-		attr.setValue(svgViewBoxValue);
+		attr.setIntValue(svgViewBoxValue.intValue());
 	}
 
 	/**

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawShapeElementBase.java Tue Feb 21 10:06:53 2012
@@ -30,6 +30,10 @@ package org.odftoolkit.odfdom.dom.elemen
 import org.odftoolkit.odfdom.pkg.OdfFileDom;
 import org.odftoolkit.odfdom.pkg.OdfName;
 import org.odftoolkit.odfdom.dom.OdfDocumentNamespace;
+import org.odftoolkit.odfdom.pkg.OdfElement;
+import org.odftoolkit.odfdom.dom.element.OdfStyleBase;
+import org.odftoolkit.odfdom.dom.element.OdfStylableElement;
+import org.odftoolkit.odfdom.dom.style.OdfStyleFamily;
 import org.odftoolkit.odfdom.dom.element.OdfStyleableShapeElement;
 import org.odftoolkit.odfdom.dom.attribute.draw.DrawClassNamesAttribute;
 import org.odftoolkit.odfdom.dom.attribute.draw.DrawIdAttribute;

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawTextBoxElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawTextBoxElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawTextBoxElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/draw/DrawTextBoxElement.java Tue Feb 21 10:06:53 2012
@@ -328,10 +328,10 @@ public class DrawTextBoxElement extends 
 	/**
 	 * Create child element {@odf.element draw:connector}.
 	 *
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:connector}
 	 */
-	 public DrawConnectorElement newDrawConnectorElement(String svgViewBoxValue) {
+	 public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue) {
 		DrawConnectorElement drawConnector = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawConnectorElement.class);
 		drawConnector.setSvgViewBoxAttribute(svgViewBoxValue);
 		this.appendChild(drawConnector);
@@ -448,10 +448,10 @@ public class DrawTextBoxElement extends 
 	 * Create child element {@odf.element draw:path}.
 	 *
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:path}
 	 */
-	 public DrawPathElement newDrawPathElement(String svgDValue, String svgViewBoxValue) {
+	 public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue) {
 		DrawPathElement drawPath = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPathElement.class);
 		drawPath.setSvgDAttribute(svgDValue);
 		drawPath.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -463,10 +463,10 @@ public class DrawTextBoxElement extends 
 	 * Create child element {@odf.element draw:polygon}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polygon}
 	 */
-	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolygonElement drawPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolygonElement.class);
 		drawPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawPolygon.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -478,10 +478,10 @@ public class DrawTextBoxElement extends 
 	 * Create child element {@odf.element draw:polyline}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polyline}
 	 */
-	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolylineElement drawPolyline = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolylineElement.class);
 		drawPolyline.setDrawPointsAttribute(drawPointsValue);
 		drawPolyline.setSvgViewBoxAttribute(svgViewBoxValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeMasterStylesElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeMasterStylesElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeMasterStylesElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeMasterStylesElement.java Tue Feb 21 10:06:53 2012
@@ -26,6 +26,7 @@
  */
 package org.odftoolkit.odfdom.dom.element.office;
 
+import org.odftoolkit.odfdom.pkg.OdfElement;
 import org.odftoolkit.odfdom.pkg.ElementVisitor;
 import org.odftoolkit.odfdom.pkg.OdfFileDom;
 import org.odftoolkit.odfdom.pkg.OdfName;

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeStylesElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeStylesElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeStylesElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeStylesElement.java Tue Feb 21 10:06:53 2012
@@ -135,10 +135,10 @@ public class OfficeStylesElement extends
 	 *
 	 * @param drawNameValue  the <code>String</code> value of <code>DrawNameAttribute</code>, see {@odf.attribute  draw:name} at specification
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:marker}
 	 */
-	 public DrawMarkerElement newDrawMarkerElement(String drawNameValue, String svgDValue, String svgViewBoxValue) {
+	 public DrawMarkerElement newDrawMarkerElement(String drawNameValue, String svgDValue, int svgViewBoxValue) {
 		DrawMarkerElement drawMarker = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawMarkerElement.class);
 		drawMarker.setDrawNameAttribute(drawNameValue);
 		drawMarker.setSvgDAttribute(svgDValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/office/OfficeTextElement.java Tue Feb 21 10:06:53 2012
@@ -210,10 +210,10 @@ public class OfficeTextElement extends O
 	/**
 	 * Create child element {@odf.element draw:connector}.
 	 *
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:connector}
 	 */
-	 public DrawConnectorElement newDrawConnectorElement(String svgViewBoxValue) {
+	 public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue) {
 		DrawConnectorElement drawConnector = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawConnectorElement.class);
 		drawConnector.setSvgViewBoxAttribute(svgViewBoxValue);
 		this.appendChild(drawConnector);
@@ -330,10 +330,10 @@ public class OfficeTextElement extends O
 	 * Create child element {@odf.element draw:path}.
 	 *
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:path}
 	 */
-	 public DrawPathElement newDrawPathElement(String svgDValue, String svgViewBoxValue) {
+	 public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue) {
 		DrawPathElement drawPath = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPathElement.class);
 		drawPath.setSvgDAttribute(svgDValue);
 		drawPath.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -345,10 +345,10 @@ public class OfficeTextElement extends O
 	 * Create child element {@odf.element draw:polygon}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polygon}
 	 */
-	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolygonElement drawPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolygonElement.class);
 		drawPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawPolygon.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -360,10 +360,10 @@ public class OfficeTextElement extends O
 	 * Create child element {@odf.element draw:polyline}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polyline}
 	 */
-	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolylineElement drawPolyline = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolylineElement.class);
 		drawPolyline.setDrawPointsAttribute(drawPointsValue);
 		drawPolyline.setSvgViewBoxAttribute(svgViewBoxValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationNotesElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationNotesElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationNotesElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/presentation/PresentationNotesElement.java Tue Feb 21 10:06:53 2012
@@ -258,10 +258,10 @@ public class PresentationNotesElement ex
 	/**
 	 * Create child element {@odf.element draw:connector}.
 	 *
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:connector}
 	 */
-	 public DrawConnectorElement newDrawConnectorElement(String svgViewBoxValue) {
+	 public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue) {
 		DrawConnectorElement drawConnector = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawConnectorElement.class);
 		drawConnector.setSvgViewBoxAttribute(svgViewBoxValue);
 		this.appendChild(drawConnector);
@@ -378,10 +378,10 @@ public class PresentationNotesElement ex
 	 * Create child element {@odf.element draw:path}.
 	 *
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:path}
 	 */
-	 public DrawPathElement newDrawPathElement(String svgDValue, String svgViewBoxValue) {
+	 public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue) {
 		DrawPathElement drawPath = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPathElement.class);
 		drawPath.setSvgDAttribute(svgDValue);
 		drawPath.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -393,10 +393,10 @@ public class PresentationNotesElement ex
 	 * Create child element {@odf.element draw:polygon}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polygon}
 	 */
-	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolygonElement drawPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolygonElement.class);
 		drawPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawPolygon.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -408,10 +408,10 @@ public class PresentationNotesElement ex
 	 * Create child element {@odf.element draw:polyline}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polyline}
 	 */
-	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolylineElement drawPolyline = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolylineElement.class);
 		drawPolyline.setDrawPointsAttribute(drawPointsValue);
 		drawPolyline.setSvgViewBoxAttribute(svgViewBoxValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterStyleElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterStyleElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterStyleElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleFooterStyleElement.java Tue Feb 21 10:06:53 2012
@@ -32,13 +32,12 @@ import org.odftoolkit.odfdom.pkg.OdfFile
 import org.odftoolkit.odfdom.pkg.OdfName;
 import org.odftoolkit.odfdom.dom.OdfDocumentNamespace;
 import org.odftoolkit.odfdom.dom.DefaultElementVisitor;
-import org.odftoolkit.odfdom.dom.element.OdfStyleBase;
 
 /**
  * DOM implementation of OpenDocument element  {@odf.element style:footer-style}.
  *
  */
-public class StyleFooterStyleElement extends OdfStyleBase {
+public class StyleFooterStyleElement extends OdfElement {
 
 	public static final OdfName ELEMENT_NAME = OdfName.newName(OdfDocumentNamespace.STYLE, "footer-style");
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHandoutMasterElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHandoutMasterElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHandoutMasterElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHandoutMasterElement.java Tue Feb 21 10:06:53 2012
@@ -284,10 +284,10 @@ public class StyleHandoutMasterElement e
 	/**
 	 * Create child element {@odf.element draw:connector}.
 	 *
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:connector}
 	 */
-	 public DrawConnectorElement newDrawConnectorElement(String svgViewBoxValue) {
+	 public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue) {
 		DrawConnectorElement drawConnector = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawConnectorElement.class);
 		drawConnector.setSvgViewBoxAttribute(svgViewBoxValue);
 		this.appendChild(drawConnector);
@@ -404,10 +404,10 @@ public class StyleHandoutMasterElement e
 	 * Create child element {@odf.element draw:path}.
 	 *
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:path}
 	 */
-	 public DrawPathElement newDrawPathElement(String svgDValue, String svgViewBoxValue) {
+	 public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue) {
 		DrawPathElement drawPath = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPathElement.class);
 		drawPath.setSvgDAttribute(svgDValue);
 		drawPath.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -419,10 +419,10 @@ public class StyleHandoutMasterElement e
 	 * Create child element {@odf.element draw:polygon}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polygon}
 	 */
-	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolygonElement drawPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolygonElement.class);
 		drawPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawPolygon.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -434,10 +434,10 @@ public class StyleHandoutMasterElement e
 	 * Create child element {@odf.element draw:polyline}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polyline}
 	 */
-	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolylineElement drawPolyline = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolylineElement.class);
 		drawPolyline.setDrawPointsAttribute(drawPointsValue);
 		drawPolyline.setSvgViewBoxAttribute(svgViewBoxValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderFooterPropertiesElement.java Tue Feb 21 10:06:53 2012
@@ -26,6 +26,7 @@
  */
 package org.odftoolkit.odfdom.dom.element.style;
 
+import org.odftoolkit.odfdom.pkg.OdfElement;
 import org.odftoolkit.odfdom.dom.style.props.OdfStyleProperty;
 import org.odftoolkit.odfdom.dom.style.props.OdfStylePropertiesSet;
 import org.odftoolkit.odfdom.pkg.ElementVisitor;

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderStyleElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderStyleElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderStyleElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleHeaderStyleElement.java Tue Feb 21 10:06:53 2012
@@ -32,13 +32,12 @@ import org.odftoolkit.odfdom.pkg.OdfFile
 import org.odftoolkit.odfdom.pkg.OdfName;
 import org.odftoolkit.odfdom.dom.OdfDocumentNamespace;
 import org.odftoolkit.odfdom.dom.DefaultElementVisitor;
-import org.odftoolkit.odfdom.dom.element.OdfStyleBase;
 
 /**
  * DOM implementation of OpenDocument element  {@odf.element style:header-style}.
  *
  */
-public class StyleHeaderStyleElement extends OdfStyleBase {
+public class StyleHeaderStyleElement extends OdfElement {
 
 	public static final OdfName ELEMENT_NAME = OdfName.newName(OdfDocumentNamespace.STYLE, "header-style");
 

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleMasterPageElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleMasterPageElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleMasterPageElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/style/StyleMasterPageElement.java Tue Feb 21 10:06:53 2012
@@ -434,10 +434,10 @@ public class StyleMasterPageElement exte
 	/**
 	 * Create child element {@odf.element draw:connector}.
 	 *
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:connector}
 	 */
-	 public DrawConnectorElement newDrawConnectorElement(String svgViewBoxValue) {
+	 public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue) {
 		DrawConnectorElement drawConnector = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawConnectorElement.class);
 		drawConnector.setSvgViewBoxAttribute(svgViewBoxValue);
 		this.appendChild(drawConnector);
@@ -567,10 +567,10 @@ public class StyleMasterPageElement exte
 	 * Create child element {@odf.element draw:path}.
 	 *
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:path}
 	 */
-	 public DrawPathElement newDrawPathElement(String svgDValue, String svgViewBoxValue) {
+	 public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue) {
 		DrawPathElement drawPath = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPathElement.class);
 		drawPath.setSvgDAttribute(svgDValue);
 		drawPath.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -582,10 +582,10 @@ public class StyleMasterPageElement exte
 	 * Create child element {@odf.element draw:polygon}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polygon}
 	 */
-	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolygonElement drawPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolygonElement.class);
 		drawPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawPolygon.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -597,10 +597,10 @@ public class StyleMasterPageElement exte
 	 * Create child element {@odf.element draw:polyline}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polyline}
 	 */
-	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolylineElement drawPolyline = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolylineElement.class);
 		drawPolyline.setDrawPointsAttribute(drawPointsValue);
 		drawPolyline.setSvgViewBoxAttribute(svgViewBoxValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCoveredTableCellElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCoveredTableCellElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCoveredTableCellElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableCoveredTableCellElement.java Tue Feb 21 10:06:53 2012
@@ -69,7 +69,6 @@ import org.odftoolkit.odfdom.dom.element
 import org.odftoolkit.odfdom.dom.element.text.TextTableIndexElement;
 import org.odftoolkit.odfdom.dom.element.text.TextTableOfContentElement;
 import org.odftoolkit.odfdom.dom.element.text.TextUserIndexElement;
-import org.odftoolkit.odfdom.dom.attribute.office.OfficeValueTypeAttribute;
 
 /**
  * DOM implementation of OpenDocument element  {@odf.element table:covered-table-cell}.
@@ -98,32 +97,6 @@ public class TableCoveredTableCellElemen
 	}
 
 	/**
-	 * Receives the value of the ODFDOM attribute representation <code>OfficeValueTypeAttribute</code> , See {@odf.attribute office:value-type}
-	 *
-	 * Attribute is mandatory.
-	 *
-	 * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
-	 */
-	public String getOfficeValueTypeAttribute() {
-		OfficeValueTypeAttribute attr = (OfficeValueTypeAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value-type");
-		if (attr != null) {
-			return String.valueOf(attr.getValue());
-		}
-		return null;
-	}
-
-	/**
-	 * Sets the value of ODFDOM attribute representation <code>OfficeValueTypeAttribute</code> , See {@odf.attribute office:value-type}
-	 *
-	 * @param officeValueTypeValue   The type is <code>String</code>
-	 */
-	public void setOfficeValueTypeAttribute(String officeValueTypeValue) {
-		OfficeValueTypeAttribute attr = new OfficeValueTypeAttribute((OdfFileDom) this.ownerDocument);
-		setOdfAttribute(attr);
-		attr.setValue(officeValueTypeValue);
-	}
-
-	/**
 	 * Create child element {@odf.element dr3d:scene}.
 	 *
 	 * @return the element {@odf.element dr3d:scene}
@@ -174,10 +147,10 @@ public class TableCoveredTableCellElemen
 	/**
 	 * Create child element {@odf.element draw:connector}.
 	 *
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:connector}
 	 */
-	 public DrawConnectorElement newDrawConnectorElement(String svgViewBoxValue) {
+	 public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue) {
 		DrawConnectorElement drawConnector = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawConnectorElement.class);
 		drawConnector.setSvgViewBoxAttribute(svgViewBoxValue);
 		this.appendChild(drawConnector);
@@ -294,10 +267,10 @@ public class TableCoveredTableCellElemen
 	 * Create child element {@odf.element draw:path}.
 	 *
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:path}
 	 */
-	 public DrawPathElement newDrawPathElement(String svgDValue, String svgViewBoxValue) {
+	 public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue) {
 		DrawPathElement drawPath = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPathElement.class);
 		drawPath.setSvgDAttribute(svgDValue);
 		drawPath.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -309,10 +282,10 @@ public class TableCoveredTableCellElemen
 	 * Create child element {@odf.element draw:polygon}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polygon}
 	 */
-	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolygonElement drawPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolygonElement.class);
 		drawPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawPolygon.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -324,10 +297,10 @@ public class TableCoveredTableCellElemen
 	 * Create child element {@odf.element draw:polyline}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polyline}
 	 */
-	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolylineElement drawPolyline = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolylineElement.class);
 		drawPolyline.setDrawPointsAttribute(drawPointsValue);
 		drawPolyline.setSvgViewBoxAttribute(svgViewBoxValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableShapesElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableShapesElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableShapesElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableShapesElement.java Tue Feb 21 10:06:53 2012
@@ -130,10 +130,10 @@ public class TableShapesElement extends 
 	/**
 	 * Create child element {@odf.element draw:connector}.
 	 *
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:connector}
 	 */
-	 public DrawConnectorElement newDrawConnectorElement(String svgViewBoxValue) {
+	 public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue) {
 		DrawConnectorElement drawConnector = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawConnectorElement.class);
 		drawConnector.setSvgViewBoxAttribute(svgViewBoxValue);
 		this.appendChild(drawConnector);
@@ -250,10 +250,10 @@ public class TableShapesElement extends 
 	 * Create child element {@odf.element draw:path}.
 	 *
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:path}
 	 */
-	 public DrawPathElement newDrawPathElement(String svgDValue, String svgViewBoxValue) {
+	 public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue) {
 		DrawPathElement drawPath = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPathElement.class);
 		drawPath.setSvgDAttribute(svgDValue);
 		drawPath.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -265,10 +265,10 @@ public class TableShapesElement extends 
 	 * Create child element {@odf.element draw:polygon}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polygon}
 	 */
-	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolygonElement drawPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolygonElement.class);
 		drawPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawPolygon.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -280,10 +280,10 @@ public class TableShapesElement extends 
 	 * Create child element {@odf.element draw:polyline}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polyline}
 	 */
-	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolylineElement drawPolyline = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolylineElement.class);
 		drawPolyline.setDrawPointsAttribute(drawPointsValue);
 		drawPolyline.setSvgViewBoxAttribute(svgViewBoxValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/table/TableTableCellElement.java Tue Feb 21 10:06:53 2012
@@ -69,7 +69,6 @@ import org.odftoolkit.odfdom.dom.element
 import org.odftoolkit.odfdom.dom.element.text.TextTableIndexElement;
 import org.odftoolkit.odfdom.dom.element.text.TextTableOfContentElement;
 import org.odftoolkit.odfdom.dom.element.text.TextUserIndexElement;
-import org.odftoolkit.odfdom.dom.attribute.office.OfficeValueTypeAttribute;
 import org.odftoolkit.odfdom.dom.attribute.table.TableNumberColumnsSpannedAttribute;
 import org.odftoolkit.odfdom.dom.attribute.table.TableNumberMatrixColumnsSpannedAttribute;
 import org.odftoolkit.odfdom.dom.attribute.table.TableNumberMatrixRowsSpannedAttribute;
@@ -102,32 +101,6 @@ public class TableTableCellElement exten
 	}
 
 	/**
-	 * Receives the value of the ODFDOM attribute representation <code>OfficeValueTypeAttribute</code> , See {@odf.attribute office:value-type}
-	 *
-	 * Attribute is mandatory.
-	 *
-	 * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
-	 */
-	public String getOfficeValueTypeAttribute() {
-		OfficeValueTypeAttribute attr = (OfficeValueTypeAttribute) getOdfAttribute(OdfDocumentNamespace.OFFICE, "value-type");
-		if (attr != null) {
-			return String.valueOf(attr.getValue());
-		}
-		return null;
-	}
-
-	/**
-	 * Sets the value of ODFDOM attribute representation <code>OfficeValueTypeAttribute</code> , See {@odf.attribute office:value-type}
-	 *
-	 * @param officeValueTypeValue   The type is <code>String</code>
-	 */
-	public void setOfficeValueTypeAttribute(String officeValueTypeValue) {
-		OfficeValueTypeAttribute attr = new OfficeValueTypeAttribute((OdfFileDom) this.ownerDocument);
-		setOdfAttribute(attr);
-		attr.setValue(officeValueTypeValue);
-	}
-
-	/**
 	 * Receives the value of the ODFDOM attribute representation <code>TableNumberColumnsSpannedAttribute</code> , See {@odf.attribute table:number-columns-spanned}
 	 *
 	 * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
@@ -274,10 +247,10 @@ public class TableTableCellElement exten
 	/**
 	 * Create child element {@odf.element draw:connector}.
 	 *
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:connector}
 	 */
-	 public DrawConnectorElement newDrawConnectorElement(String svgViewBoxValue) {
+	 public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue) {
 		DrawConnectorElement drawConnector = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawConnectorElement.class);
 		drawConnector.setSvgViewBoxAttribute(svgViewBoxValue);
 		this.appendChild(drawConnector);
@@ -394,10 +367,10 @@ public class TableTableCellElement exten
 	 * Create child element {@odf.element draw:path}.
 	 *
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:path}
 	 */
-	 public DrawPathElement newDrawPathElement(String svgDValue, String svgViewBoxValue) {
+	 public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue) {
 		DrawPathElement drawPath = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPathElement.class);
 		drawPath.setSvgDAttribute(svgDValue);
 		drawPath.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -409,10 +382,10 @@ public class TableTableCellElement exten
 	 * Create child element {@odf.element draw:polygon}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polygon}
 	 */
-	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolygonElement drawPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolygonElement.class);
 		drawPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawPolygon.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -424,10 +397,10 @@ public class TableTableCellElement exten
 	 * Create child element {@odf.element draw:polyline}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polyline}
 	 */
-	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolylineElement drawPolyline = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolylineElement.class);
 		drawPolyline.setDrawPointsAttribute(drawPointsValue);
 		drawPolyline.setSvgViewBoxAttribute(svgViewBoxValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextAElement.java Tue Feb 21 10:06:53 2012
@@ -365,10 +365,10 @@ public class TextAElement extends OdfSty
 	/**
 	 * Create child element {@odf.element draw:connector}.
 	 *
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:connector}
 	 */
-	 public DrawConnectorElement newDrawConnectorElement(String svgViewBoxValue) {
+	 public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue) {
 		DrawConnectorElement drawConnector = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawConnectorElement.class);
 		drawConnector.setSvgViewBoxAttribute(svgViewBoxValue);
 		this.appendChild(drawConnector);
@@ -485,10 +485,10 @@ public class TextAElement extends OdfSty
 	 * Create child element {@odf.element draw:path}.
 	 *
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:path}
 	 */
-	 public DrawPathElement newDrawPathElement(String svgDValue, String svgViewBoxValue) {
+	 public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue) {
 		DrawPathElement drawPath = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPathElement.class);
 		drawPath.setSvgDAttribute(svgDValue);
 		drawPath.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -500,10 +500,10 @@ public class TextAElement extends OdfSty
 	 * Create child element {@odf.element draw:polygon}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polygon}
 	 */
-	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolygonElement drawPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolygonElement.class);
 		drawPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawPolygon.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -515,10 +515,10 @@ public class TextAElement extends OdfSty
 	 * Create child element {@odf.element draw:polyline}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polyline}
 	 */
-	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolylineElement drawPolyline = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolylineElement.class);
 		drawPolyline.setDrawPointsAttribute(drawPointsValue);
 		drawPolyline.setSvgViewBoxAttribute(svgViewBoxValue);

Modified: incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDeletionElement.java
URL: http://svn.apache.org/viewvc/incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDeletionElement.java?rev=1291683&r1=1291682&r2=1291683&view=diff
==============================================================================
--- incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDeletionElement.java (original)
+++ incubator/odf/trunk/odfdom/src/main/java/org/odftoolkit/odfdom/dom/element/text/TextDeletionElement.java Tue Feb 21 10:06:53 2012
@@ -130,10 +130,10 @@ public class TextDeletionElement extends
 	/**
 	 * Create child element {@odf.element draw:connector}.
 	 *
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:connector}
 	 */
-	 public DrawConnectorElement newDrawConnectorElement(String svgViewBoxValue) {
+	 public DrawConnectorElement newDrawConnectorElement(int svgViewBoxValue) {
 		DrawConnectorElement drawConnector = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawConnectorElement.class);
 		drawConnector.setSvgViewBoxAttribute(svgViewBoxValue);
 		this.appendChild(drawConnector);
@@ -250,10 +250,10 @@ public class TextDeletionElement extends
 	 * Create child element {@odf.element draw:path}.
 	 *
 	 * @param svgDValue  the <code>String</code> value of <code>SvgDAttribute</code>, see {@odf.attribute  svg:d} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:path}
 	 */
-	 public DrawPathElement newDrawPathElement(String svgDValue, String svgViewBoxValue) {
+	 public DrawPathElement newDrawPathElement(String svgDValue, int svgViewBoxValue) {
 		DrawPathElement drawPath = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPathElement.class);
 		drawPath.setSvgDAttribute(svgDValue);
 		drawPath.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -265,10 +265,10 @@ public class TextDeletionElement extends
 	 * Create child element {@odf.element draw:polygon}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polygon}
 	 */
-	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolygonElement newDrawPolygonElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolygonElement drawPolygon = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolygonElement.class);
 		drawPolygon.setDrawPointsAttribute(drawPointsValue);
 		drawPolygon.setSvgViewBoxAttribute(svgViewBoxValue);
@@ -280,10 +280,10 @@ public class TextDeletionElement extends
 	 * Create child element {@odf.element draw:polyline}.
 	 *
 	 * @param drawPointsValue  the <code>String</code> value of <code>DrawPointsAttribute</code>, see {@odf.attribute  draw:points} at specification
-	 * @param svgViewBoxValue  the <code>String</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
+	 * @param svgViewBoxValue  the <code>Integer</code> value of <code>SvgViewBoxAttribute</code>, see {@odf.attribute  svg:viewBox} at specification
 	 * @return the element {@odf.element draw:polyline}
 	 */
-	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, String svgViewBoxValue) {
+	 public DrawPolylineElement newDrawPolylineElement(String drawPointsValue, int svgViewBoxValue) {
 		DrawPolylineElement drawPolyline = ((OdfFileDom) this.ownerDocument).newOdfElement(DrawPolylineElement.class);
 		drawPolyline.setDrawPointsAttribute(drawPointsValue);
 		drawPolyline.setSvgViewBoxAttribute(svgViewBoxValue);



Mime
View raw message