Examples of OfficeTargetFrameAttribute


Examples of org.odftoolkit.odfdom.dom.attribute.office.OfficeTargetFrameAttribute

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

Examples of org.odftoolkit.odfdom.dom.attribute.office.OfficeTargetFrameAttribute

   * Sets the value of ODFDOM attribute representation <code>OfficeTargetFrameAttribute</code> , See {@odf.attribute office:target-frame}
   *
   * @param officeTargetFrameValue   The type is <code>String</code>
   */
  public void setOfficeTargetFrameAttribute(String officeTargetFrameValue) {
    OfficeTargetFrameAttribute attr = new OfficeTargetFrameAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setValue(officeTargetFrameValue);
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.office.OfficeTargetFrameAttribute

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

Examples of org.odftoolkit.odfdom.dom.attribute.office.OfficeTargetFrameAttribute

   * Sets the value of ODFDOM attribute representation <code>OfficeTargetFrameAttribute</code> , See {@odf.attribute office:target-frame}
   *
   * @param officeTargetFrameValue   The type is <code>String</code>
   */
  public void setOfficeTargetFrameAttribute(String officeTargetFrameValue) {
    OfficeTargetFrameAttribute attr = new OfficeTargetFrameAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setValue(officeTargetFrameValue);
  }
View Full Code Here

Examples of org.odftoolkit.odfdom.dom.attribute.office.OfficeTargetFrameAttribute

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

Examples of org.odftoolkit.odfdom.dom.attribute.office.OfficeTargetFrameAttribute

   * Sets the value of ODFDOM attribute representation <code>OfficeTargetFrameAttribute</code> , See {@odf.attribute office:target-frame}
   *
   * @param officeTargetFrameValue   The type is <code>String</code>
   */
  public void setOfficeTargetFrameAttribute(String officeTargetFrameValue) {
    OfficeTargetFrameAttribute attr = new OfficeTargetFrameAttribute((OdfFileDom) this.ownerDocument);
    setOdfAttribute(attr);
    attr.setValue(officeTargetFrameValue);
  }
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.