Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/************************************************************************
*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* Copyright 2008, 2010 Oracle and/or its affiliates. All rights reserved.
*
* Use is subject to license terms.
*
* Licensed 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. You can also
* obtain a copy of the License at http://odftoolkit.org/docs/license.txt
*
* 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.
*
************************************************************************/
/*
* This file is automatically generated.
* Don't edit manually.
*/
package org.odftoolkit.odfdom.dom.element.style;
import org.odftoolkit.odfdom.pkg.OdfElement;
import org.odftoolkit.odfdom.pkg.ElementVisitor;
import org.odftoolkit.odfdom.pkg.OdfFileDom;
import org.odftoolkit.odfdom.pkg.OdfName;
import org.odftoolkit.odfdom.dom.OdfDocumentNamespace;
import org.odftoolkit.odfdom.dom.DefaultElementVisitor;
import org.odftoolkit.odfdom.dom.element.svg.SvgDefinitionSrcElement;
import org.odftoolkit.odfdom.dom.element.svg.SvgFontFaceSrcElement;
import org.odftoolkit.odfdom.dom.attribute.style.StyleFontAdornmentsAttribute;
import org.odftoolkit.odfdom.dom.attribute.style.StyleFontCharsetAttribute;
import org.odftoolkit.odfdom.dom.attribute.style.StyleFontFamilyGenericAttribute;
import org.odftoolkit.odfdom.dom.attribute.style.StyleFontPitchAttribute;
import org.odftoolkit.odfdom.dom.attribute.style.StyleNameAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgAccentHeightAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgAlphabeticAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgAscentAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgBboxAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgCapHeightAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgDescentAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgFontFamilyAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgFontSizeAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgFontStretchAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgFontStyleAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgFontVariantAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgFontWeightAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgHangingAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgIdeographicAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgMathematicalAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgOverlinePositionAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgOverlineThicknessAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgPanose1Attribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgSlopeAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgStemhAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgStemvAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgStrikethroughPositionAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgStrikethroughThicknessAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgUnderlinePositionAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgUnderlineThicknessAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgUnicodeRangeAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgUnitsPerEmAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgVAlphabeticAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgVHangingAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgVIdeographicAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgVMathematicalAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgWidthsAttribute;
import org.odftoolkit.odfdom.dom.attribute.svg.SvgXHeightAttribute;
/**
* DOM implementation of OpenDocument element {@odf.element style:font-face}.
*
*/
public class StyleFontFaceElement extends OdfElement {
public static final OdfName ELEMENT_NAME = OdfName.newName(OdfDocumentNamespace.STYLE, "font-face");
/**
* Create the instance of StyleFontFaceElement
*
* @param ownerDoc The type is OdfFileDom
*/
public StyleFontFaceElement(OdfFileDom ownerDoc) {
super(ownerDoc, ELEMENT_NAME);
}
/**
* Get the element name
*
* @return return OdfName the name of element {@odf.element style:font-face}.
*/
public OdfName getOdfName() {
return ELEMENT_NAME;
}
/**
* Receives the value of the ODFDOM attribute representation StyleFontAdornmentsAttribute , See {@odf.attribute style:font-adornments}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getStyleFontAdornmentsAttribute() {
StyleFontAdornmentsAttribute attr = (StyleFontAdornmentsAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "font-adornments");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation StyleFontAdornmentsAttribute , See {@odf.attribute style:font-adornments}
*
* @param styleFontAdornmentsValue The type is String
*/
public void setStyleFontAdornmentsAttribute(String styleFontAdornmentsValue) {
StyleFontAdornmentsAttribute attr = new StyleFontAdornmentsAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(styleFontAdornmentsValue);
}
/**
* Receives the value of the ODFDOM attribute representation StyleFontCharsetAttribute , See {@odf.attribute style:font-charset}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getStyleFontCharsetAttribute() {
StyleFontCharsetAttribute attr = (StyleFontCharsetAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "font-charset");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation StyleFontCharsetAttribute , See {@odf.attribute style:font-charset}
*
* @param styleFontCharsetValue The type is String
*/
public void setStyleFontCharsetAttribute(String styleFontCharsetValue) {
StyleFontCharsetAttribute attr = new StyleFontCharsetAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(styleFontCharsetValue);
}
/**
* Receives the value of the ODFDOM attribute representation StyleFontFamilyGenericAttribute , See {@odf.attribute style:font-family-generic}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getStyleFontFamilyGenericAttribute() {
StyleFontFamilyGenericAttribute attr = (StyleFontFamilyGenericAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "font-family-generic");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation StyleFontFamilyGenericAttribute , See {@odf.attribute style:font-family-generic}
*
* @param styleFontFamilyGenericValue The type is String
*/
public void setStyleFontFamilyGenericAttribute(String styleFontFamilyGenericValue) {
StyleFontFamilyGenericAttribute attr = new StyleFontFamilyGenericAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(styleFontFamilyGenericValue);
}
/**
* Receives the value of the ODFDOM attribute representation StyleFontPitchAttribute , See {@odf.attribute style:font-pitch}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getStyleFontPitchAttribute() {
StyleFontPitchAttribute attr = (StyleFontPitchAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "font-pitch");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation StyleFontPitchAttribute , See {@odf.attribute style:font-pitch}
*
* @param styleFontPitchValue The type is String
*/
public void setStyleFontPitchAttribute(String styleFontPitchValue) {
StyleFontPitchAttribute attr = new StyleFontPitchAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(styleFontPitchValue);
}
/**
* Receives the value of the ODFDOM attribute representation StyleNameAttribute , See {@odf.attribute style:name}
*
* Attribute is mandatory.
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getStyleNameAttribute() {
StyleNameAttribute attr = (StyleNameAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "name");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation StyleNameAttribute , See {@odf.attribute style:name}
*
* @param styleNameValue The type is String
*/
public void setStyleNameAttribute(String styleNameValue) {
StyleNameAttribute attr = new StyleNameAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(styleNameValue);
}
/**
* Receives the value of the ODFDOM attribute representation SvgAccentHeightAttribute , See {@odf.attribute svg:accent-height}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgAccentHeightAttribute() {
SvgAccentHeightAttribute attr = (SvgAccentHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "accent-height");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgAccentHeightAttribute , See {@odf.attribute svg:accent-height}
*
* @param svgAccentHeightValue The type is Integer
*/
public void setSvgAccentHeightAttribute(Integer svgAccentHeightValue) {
SvgAccentHeightAttribute attr = new SvgAccentHeightAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgAccentHeightValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgAlphabeticAttribute , See {@odf.attribute svg:alphabetic}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgAlphabeticAttribute() {
SvgAlphabeticAttribute attr = (SvgAlphabeticAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "alphabetic");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgAlphabeticAttribute , See {@odf.attribute svg:alphabetic}
*
* @param svgAlphabeticValue The type is Integer
*/
public void setSvgAlphabeticAttribute(Integer svgAlphabeticValue) {
SvgAlphabeticAttribute attr = new SvgAlphabeticAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgAlphabeticValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgAscentAttribute , See {@odf.attribute svg:ascent}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgAscentAttribute() {
SvgAscentAttribute attr = (SvgAscentAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "ascent");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgAscentAttribute , See {@odf.attribute svg:ascent}
*
* @param svgAscentValue The type is Integer
*/
public void setSvgAscentAttribute(Integer svgAscentValue) {
SvgAscentAttribute attr = new SvgAscentAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgAscentValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgBboxAttribute , See {@odf.attribute svg:bbox}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getSvgBboxAttribute() {
SvgBboxAttribute attr = (SvgBboxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "bbox");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgBboxAttribute , See {@odf.attribute svg:bbox}
*
* @param svgBboxValue The type is String
*/
public void setSvgBboxAttribute(String svgBboxValue) {
SvgBboxAttribute attr = new SvgBboxAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(svgBboxValue);
}
/**
* Receives the value of the ODFDOM attribute representation SvgCapHeightAttribute , See {@odf.attribute svg:cap-height}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgCapHeightAttribute() {
SvgCapHeightAttribute attr = (SvgCapHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "cap-height");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgCapHeightAttribute , See {@odf.attribute svg:cap-height}
*
* @param svgCapHeightValue The type is Integer
*/
public void setSvgCapHeightAttribute(Integer svgCapHeightValue) {
SvgCapHeightAttribute attr = new SvgCapHeightAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgCapHeightValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgDescentAttribute , See {@odf.attribute svg:descent}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgDescentAttribute() {
SvgDescentAttribute attr = (SvgDescentAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "descent");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgDescentAttribute , See {@odf.attribute svg:descent}
*
* @param svgDescentValue The type is Integer
*/
public void setSvgDescentAttribute(Integer svgDescentValue) {
SvgDescentAttribute attr = new SvgDescentAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgDescentValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgFontFamilyAttribute , See {@odf.attribute svg:font-family}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getSvgFontFamilyAttribute() {
SvgFontFamilyAttribute attr = (SvgFontFamilyAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "font-family");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgFontFamilyAttribute , See {@odf.attribute svg:font-family}
*
* @param svgFontFamilyValue The type is String
*/
public void setSvgFontFamilyAttribute(String svgFontFamilyValue) {
SvgFontFamilyAttribute attr = new SvgFontFamilyAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(svgFontFamilyValue);
}
/**
* Receives the value of the ODFDOM attribute representation SvgFontSizeAttribute , See {@odf.attribute svg:font-size}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getSvgFontSizeAttribute() {
SvgFontSizeAttribute attr = (SvgFontSizeAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "font-size");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgFontSizeAttribute , See {@odf.attribute svg:font-size}
*
* @param svgFontSizeValue The type is String
*/
public void setSvgFontSizeAttribute(String svgFontSizeValue) {
SvgFontSizeAttribute attr = new SvgFontSizeAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(svgFontSizeValue);
}
/**
* Receives the value of the ODFDOM attribute representation SvgFontStretchAttribute , See {@odf.attribute svg:font-stretch}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getSvgFontStretchAttribute() {
SvgFontStretchAttribute attr = (SvgFontStretchAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "font-stretch");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgFontStretchAttribute , See {@odf.attribute svg:font-stretch}
*
* @param svgFontStretchValue The type is String
*/
public void setSvgFontStretchAttribute(String svgFontStretchValue) {
SvgFontStretchAttribute attr = new SvgFontStretchAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(svgFontStretchValue);
}
/**
* Receives the value of the ODFDOM attribute representation SvgFontStyleAttribute , See {@odf.attribute svg:font-style}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getSvgFontStyleAttribute() {
SvgFontStyleAttribute attr = (SvgFontStyleAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "font-style");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgFontStyleAttribute , See {@odf.attribute svg:font-style}
*
* @param svgFontStyleValue The type is String
*/
public void setSvgFontStyleAttribute(String svgFontStyleValue) {
SvgFontStyleAttribute attr = new SvgFontStyleAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(svgFontStyleValue);
}
/**
* Receives the value of the ODFDOM attribute representation SvgFontVariantAttribute , See {@odf.attribute svg:font-variant}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getSvgFontVariantAttribute() {
SvgFontVariantAttribute attr = (SvgFontVariantAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "font-variant");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgFontVariantAttribute , See {@odf.attribute svg:font-variant}
*
* @param svgFontVariantValue The type is String
*/
public void setSvgFontVariantAttribute(String svgFontVariantValue) {
SvgFontVariantAttribute attr = new SvgFontVariantAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(svgFontVariantValue);
}
/**
* Receives the value of the ODFDOM attribute representation SvgFontWeightAttribute , See {@odf.attribute svg:font-weight}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getSvgFontWeightAttribute() {
SvgFontWeightAttribute attr = (SvgFontWeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "font-weight");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgFontWeightAttribute , See {@odf.attribute svg:font-weight}
*
* @param svgFontWeightValue The type is String
*/
public void setSvgFontWeightAttribute(String svgFontWeightValue) {
SvgFontWeightAttribute attr = new SvgFontWeightAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(svgFontWeightValue);
}
/**
* Receives the value of the ODFDOM attribute representation SvgHangingAttribute , See {@odf.attribute svg:hanging}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgHangingAttribute() {
SvgHangingAttribute attr = (SvgHangingAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "hanging");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgHangingAttribute , See {@odf.attribute svg:hanging}
*
* @param svgHangingValue The type is Integer
*/
public void setSvgHangingAttribute(Integer svgHangingValue) {
SvgHangingAttribute attr = new SvgHangingAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgHangingValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgIdeographicAttribute , See {@odf.attribute svg:ideographic}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgIdeographicAttribute() {
SvgIdeographicAttribute attr = (SvgIdeographicAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "ideographic");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgIdeographicAttribute , See {@odf.attribute svg:ideographic}
*
* @param svgIdeographicValue The type is Integer
*/
public void setSvgIdeographicAttribute(Integer svgIdeographicValue) {
SvgIdeographicAttribute attr = new SvgIdeographicAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgIdeographicValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgMathematicalAttribute , See {@odf.attribute svg:mathematical}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgMathematicalAttribute() {
SvgMathematicalAttribute attr = (SvgMathematicalAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "mathematical");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgMathematicalAttribute , See {@odf.attribute svg:mathematical}
*
* @param svgMathematicalValue The type is Integer
*/
public void setSvgMathematicalAttribute(Integer svgMathematicalValue) {
SvgMathematicalAttribute attr = new SvgMathematicalAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgMathematicalValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgOverlinePositionAttribute , See {@odf.attribute svg:overline-position}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgOverlinePositionAttribute() {
SvgOverlinePositionAttribute attr = (SvgOverlinePositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "overline-position");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgOverlinePositionAttribute , See {@odf.attribute svg:overline-position}
*
* @param svgOverlinePositionValue The type is Integer
*/
public void setSvgOverlinePositionAttribute(Integer svgOverlinePositionValue) {
SvgOverlinePositionAttribute attr = new SvgOverlinePositionAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgOverlinePositionValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgOverlineThicknessAttribute , See {@odf.attribute svg:overline-thickness}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgOverlineThicknessAttribute() {
SvgOverlineThicknessAttribute attr = (SvgOverlineThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "overline-thickness");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgOverlineThicknessAttribute , See {@odf.attribute svg:overline-thickness}
*
* @param svgOverlineThicknessValue The type is Integer
*/
public void setSvgOverlineThicknessAttribute(Integer svgOverlineThicknessValue) {
SvgOverlineThicknessAttribute attr = new SvgOverlineThicknessAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgOverlineThicknessValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgPanose1Attribute , See {@odf.attribute svg:panose-1}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getSvgPanose1Attribute() {
SvgPanose1Attribute attr = (SvgPanose1Attribute) getOdfAttribute(OdfDocumentNamespace.SVG, "panose-1");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgPanose1Attribute , See {@odf.attribute svg:panose-1}
*
* @param svgPanose1Value The type is String
*/
public void setSvgPanose1Attribute(String svgPanose1Value) {
SvgPanose1Attribute attr = new SvgPanose1Attribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(svgPanose1Value);
}
/**
* Receives the value of the ODFDOM attribute representation SvgSlopeAttribute , See {@odf.attribute svg:slope}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgSlopeAttribute() {
SvgSlopeAttribute attr = (SvgSlopeAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "slope");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgSlopeAttribute , See {@odf.attribute svg:slope}
*
* @param svgSlopeValue The type is Integer
*/
public void setSvgSlopeAttribute(Integer svgSlopeValue) {
SvgSlopeAttribute attr = new SvgSlopeAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgSlopeValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgStemhAttribute , See {@odf.attribute svg:stemh}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgStemhAttribute() {
SvgStemhAttribute attr = (SvgStemhAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stemh");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgStemhAttribute , See {@odf.attribute svg:stemh}
*
* @param svgStemhValue The type is Integer
*/
public void setSvgStemhAttribute(Integer svgStemhValue) {
SvgStemhAttribute attr = new SvgStemhAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgStemhValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgStemvAttribute , See {@odf.attribute svg:stemv}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgStemvAttribute() {
SvgStemvAttribute attr = (SvgStemvAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "stemv");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgStemvAttribute , See {@odf.attribute svg:stemv}
*
* @param svgStemvValue The type is Integer
*/
public void setSvgStemvAttribute(Integer svgStemvValue) {
SvgStemvAttribute attr = new SvgStemvAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgStemvValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgStrikethroughPositionAttribute , See {@odf.attribute svg:strikethrough-position}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgStrikethroughPositionAttribute() {
SvgStrikethroughPositionAttribute attr = (SvgStrikethroughPositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "strikethrough-position");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgStrikethroughPositionAttribute , See {@odf.attribute svg:strikethrough-position}
*
* @param svgStrikethroughPositionValue The type is Integer
*/
public void setSvgStrikethroughPositionAttribute(Integer svgStrikethroughPositionValue) {
SvgStrikethroughPositionAttribute attr = new SvgStrikethroughPositionAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgStrikethroughPositionValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgStrikethroughThicknessAttribute , See {@odf.attribute svg:strikethrough-thickness}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgStrikethroughThicknessAttribute() {
SvgStrikethroughThicknessAttribute attr = (SvgStrikethroughThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "strikethrough-thickness");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgStrikethroughThicknessAttribute , See {@odf.attribute svg:strikethrough-thickness}
*
* @param svgStrikethroughThicknessValue The type is Integer
*/
public void setSvgStrikethroughThicknessAttribute(Integer svgStrikethroughThicknessValue) {
SvgStrikethroughThicknessAttribute attr = new SvgStrikethroughThicknessAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgStrikethroughThicknessValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgUnderlinePositionAttribute , See {@odf.attribute svg:underline-position}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgUnderlinePositionAttribute() {
SvgUnderlinePositionAttribute attr = (SvgUnderlinePositionAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "underline-position");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgUnderlinePositionAttribute , See {@odf.attribute svg:underline-position}
*
* @param svgUnderlinePositionValue The type is Integer
*/
public void setSvgUnderlinePositionAttribute(Integer svgUnderlinePositionValue) {
SvgUnderlinePositionAttribute attr = new SvgUnderlinePositionAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgUnderlinePositionValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgUnderlineThicknessAttribute , See {@odf.attribute svg:underline-thickness}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgUnderlineThicknessAttribute() {
SvgUnderlineThicknessAttribute attr = (SvgUnderlineThicknessAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "underline-thickness");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgUnderlineThicknessAttribute , See {@odf.attribute svg:underline-thickness}
*
* @param svgUnderlineThicknessValue The type is Integer
*/
public void setSvgUnderlineThicknessAttribute(Integer svgUnderlineThicknessValue) {
SvgUnderlineThicknessAttribute attr = new SvgUnderlineThicknessAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgUnderlineThicknessValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgUnicodeRangeAttribute , See {@odf.attribute svg:unicode-range}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getSvgUnicodeRangeAttribute() {
SvgUnicodeRangeAttribute attr = (SvgUnicodeRangeAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "unicode-range");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgUnicodeRangeAttribute , See {@odf.attribute svg:unicode-range}
*
* @param svgUnicodeRangeValue The type is String
*/
public void setSvgUnicodeRangeAttribute(String svgUnicodeRangeValue) {
SvgUnicodeRangeAttribute attr = new SvgUnicodeRangeAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(svgUnicodeRangeValue);
}
/**
* Receives the value of the ODFDOM attribute representation SvgUnitsPerEmAttribute , See {@odf.attribute svg:units-per-em}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgUnitsPerEmAttribute() {
SvgUnitsPerEmAttribute attr = (SvgUnitsPerEmAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "units-per-em");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgUnitsPerEmAttribute , See {@odf.attribute svg:units-per-em}
*
* @param svgUnitsPerEmValue The type is Integer
*/
public void setSvgUnitsPerEmAttribute(Integer svgUnitsPerEmValue) {
SvgUnitsPerEmAttribute attr = new SvgUnitsPerEmAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgUnitsPerEmValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgVAlphabeticAttribute , See {@odf.attribute svg:v-alphabetic}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgVAlphabeticAttribute() {
SvgVAlphabeticAttribute attr = (SvgVAlphabeticAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-alphabetic");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgVAlphabeticAttribute , See {@odf.attribute svg:v-alphabetic}
*
* @param svgVAlphabeticValue The type is Integer
*/
public void setSvgVAlphabeticAttribute(Integer svgVAlphabeticValue) {
SvgVAlphabeticAttribute attr = new SvgVAlphabeticAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgVAlphabeticValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgVHangingAttribute , See {@odf.attribute svg:v-hanging}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgVHangingAttribute() {
SvgVHangingAttribute attr = (SvgVHangingAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-hanging");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgVHangingAttribute , See {@odf.attribute svg:v-hanging}
*
* @param svgVHangingValue The type is Integer
*/
public void setSvgVHangingAttribute(Integer svgVHangingValue) {
SvgVHangingAttribute attr = new SvgVHangingAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgVHangingValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgVIdeographicAttribute , See {@odf.attribute svg:v-ideographic}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgVIdeographicAttribute() {
SvgVIdeographicAttribute attr = (SvgVIdeographicAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-ideographic");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgVIdeographicAttribute , See {@odf.attribute svg:v-ideographic}
*
* @param svgVIdeographicValue The type is Integer
*/
public void setSvgVIdeographicAttribute(Integer svgVIdeographicValue) {
SvgVIdeographicAttribute attr = new SvgVIdeographicAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgVIdeographicValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgVMathematicalAttribute , See {@odf.attribute svg:v-mathematical}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgVMathematicalAttribute() {
SvgVMathematicalAttribute attr = (SvgVMathematicalAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "v-mathematical");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgVMathematicalAttribute , See {@odf.attribute svg:v-mathematical}
*
* @param svgVMathematicalValue The type is Integer
*/
public void setSvgVMathematicalAttribute(Integer svgVMathematicalValue) {
SvgVMathematicalAttribute attr = new SvgVMathematicalAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgVMathematicalValue.intValue());
}
/**
* Receives the value of the ODFDOM attribute representation SvgWidthsAttribute , See {@odf.attribute svg:widths}
*
* @return - the String , the value or null, if the attribute is not set and no default value defined.
*/
public String getSvgWidthsAttribute() {
SvgWidthsAttribute attr = (SvgWidthsAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "widths");
if (attr != null) {
return String.valueOf(attr.getValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgWidthsAttribute , See {@odf.attribute svg:widths}
*
* @param svgWidthsValue The type is String
*/
public void setSvgWidthsAttribute(String svgWidthsValue) {
SvgWidthsAttribute attr = new SvgWidthsAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setValue(svgWidthsValue);
}
/**
* Receives the value of the ODFDOM attribute representation SvgXHeightAttribute , See {@odf.attribute svg:x-height}
*
* @return - the Integer , the value or null, if the attribute is not set and no default value defined.
*/
public Integer getSvgXHeightAttribute() {
SvgXHeightAttribute attr = (SvgXHeightAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "x-height");
if (attr != null) {
return Integer.valueOf(attr.intValue());
}
return null;
}
/**
* Sets the value of ODFDOM attribute representation SvgXHeightAttribute , See {@odf.attribute svg:x-height}
*
* @param svgXHeightValue The type is Integer
*/
public void setSvgXHeightAttribute(Integer svgXHeightValue) {
SvgXHeightAttribute attr = new SvgXHeightAttribute((OdfFileDom) this.ownerDocument);
setOdfAttribute(attr);
attr.setIntValue(svgXHeightValue.intValue());
}
/**
* Create child element {@odf.element svg:definition-src}.
*
* @param xlinkHrefValue the String value of XlinkHrefAttribute, see {@odf.attribute xlink:href} at specification
* @param xlinkTypeValue the String value of XlinkTypeAttribute, see {@odf.attribute xlink:type} at specification
* @return the element {@odf.element svg:definition-src}
*/
public SvgDefinitionSrcElement newSvgDefinitionSrcElement(String xlinkHrefValue, String xlinkTypeValue) {
SvgDefinitionSrcElement svgDefinitionSrc = ((OdfFileDom) this.ownerDocument).newOdfElement(SvgDefinitionSrcElement.class);
svgDefinitionSrc.setXlinkHrefAttribute(xlinkHrefValue);
svgDefinitionSrc.setXlinkTypeAttribute(xlinkTypeValue);
this.appendChild(svgDefinitionSrc);
return svgDefinitionSrc;
}
/**
* Create child element {@odf.element svg:font-face-src}.
*
* @return the element {@odf.element svg:font-face-src}
*/
public SvgFontFaceSrcElement newSvgFontFaceSrcElement() {
SvgFontFaceSrcElement svgFontFaceSrc = ((OdfFileDom) this.ownerDocument).newOdfElement(SvgFontFaceSrcElement.class);
this.appendChild(svgFontFaceSrc);
return svgFontFaceSrc;
}
@Override
public void accept(ElementVisitor visitor) {
if (visitor instanceof DefaultElementVisitor) {
DefaultElementVisitor defaultVisitor = (DefaultElementVisitor) visitor;
defaultVisitor.visit(this);
} else {
visitor.visit(this);
}
}
}