Examples of StyleStyleAttribute


Examples of org.odftoolkit.odfdom.dom.attribute.style.StyleStyleAttribute

   * Receives the value of the ODFDOM attribute representation <code>StyleStyleAttribute</code> , See {@odf.attribute style:style}
   *
   * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set and no default value defined.
   */
  public String getStyleStyleAttribute() {
    StyleStyleAttribute attr = (StyleStyleAttribute) getOdfAttribute(OdfDocumentNamespace.STYLE, "style");
    if (attr != null) {
      return String.valueOf(attr.getValue());
    }
    return StyleStyleAttribute.DEFAULT_VALUE;
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.style.StyleStyleAttribute

   * Sets the value of ODFDOM attribute representation <code>StyleStyleAttribute</code> , See {@odf.attribute style:style}
   *
   * @param styleStyleValue   The type is <code>String</code>
   */
  public void setStyleStyleAttribute(String styleStyleValue) {
    StyleStyleAttribute attr = new StyleStyleAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setValue(styleStyleValue);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.