Package org.odftoolkit.odfdom.dom.attribute.svg

Examples of org.odftoolkit.odfdom.dom.attribute.svg.SvgViewBoxAttribute


   * 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 getSvgViewBoxAttribute() {
    SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox");
    if (attr != null) {
      return String.valueOf(attr.getValue());
    }
    return null;
  }
View Full Code Here


   * Sets the value of ODFDOM attribute representation <code>SvgViewBoxAttribute</code> , See {@odf.attribute svg:viewBox}
   *
   * @param svgViewBoxValue   The type is <code>String</code>
   */
  public void setSvgViewBoxAttribute(String svgViewBoxValue) {
    SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setValue(svgViewBoxValue);
  }
View Full Code Here

   * Attribute is mandatory.
   *
   * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Integer getSvgViewBoxAttribute() {
    SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox");
    if (attr != null) {
      return Integer.valueOf(attr.intValue());
    }
    return null;
  }
View Full Code Here

   * Sets the value of ODFDOM attribute representation <code>SvgViewBoxAttribute</code> , See {@odf.attribute svg:viewBox}
   *
   * @param svgViewBoxValue   The type is <code>Integer</code>
   */
  public void setSvgViewBoxAttribute(Integer svgViewBoxValue) {
    SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setIntValue(svgViewBoxValue.intValue());
  }
View Full Code Here

   * Attribute is mandatory.
   *
   * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Integer getSvgViewBoxAttribute() {
    SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox");
    if (attr != null) {
      return Integer.valueOf(attr.intValue());
    }
    return null;
  }
View Full Code Here

   * Sets the value of ODFDOM attribute representation <code>SvgViewBoxAttribute</code> , See {@odf.attribute svg:viewBox}
   *
   * @param svgViewBoxValue   The type is <code>Integer</code>
   */
  public void setSvgViewBoxAttribute(Integer svgViewBoxValue) {
    SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setIntValue(svgViewBoxValue.intValue());
  }
View Full Code Here

   * Attribute is mandatory.
   *
   * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Integer getSvgViewBoxAttribute() {
    SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox");
    if (attr != null) {
      return Integer.valueOf(attr.intValue());
    }
    return null;
  }
View Full Code Here

   * Sets the value of ODFDOM attribute representation <code>SvgViewBoxAttribute</code> , See {@odf.attribute svg:viewBox}
   *
   * @param svgViewBoxValue   The type is <code>Integer</code>
   */
  public void setSvgViewBoxAttribute(Integer svgViewBoxValue) {
    SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setIntValue(svgViewBoxValue.intValue());
  }
View Full Code Here

   * Attribute is mandatory.
   *
   * @return - the <code>Integer</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public Integer getSvgViewBoxAttribute() {
    SvgViewBoxAttribute attr = (SvgViewBoxAttribute) getOdfAttribute(OdfDocumentNamespace.SVG, "viewBox");
    if (attr != null) {
      return Integer.valueOf(attr.intValue());
    }
    return null;
  }
View Full Code Here

   * Sets the value of ODFDOM attribute representation <code>SvgViewBoxAttribute</code> , See {@odf.attribute svg:viewBox}
   *
   * @param svgViewBoxValue   The type is <code>Integer</code>
   */
  public void setSvgViewBoxAttribute(Integer svgViewBoxValue) {
    SvgViewBoxAttribute attr = new SvgViewBoxAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setIntValue(svgViewBoxValue.intValue());
  }
View Full Code Here

TOP

Related Classes of org.odftoolkit.odfdom.dom.attribute.svg.SvgViewBoxAttribute

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.