Examples of newTextTimeElement()


Examples of org.odftoolkit.odfdom.dom.element.text.TextSpanElement.newTextTimeElement()

  // package constructor, only called by Fields.
  TimeField(OdfElement odfElement) {
    TextSpanElement spanElement = ((OdfFileDom) odfElement.getOwnerDocument()).newOdfElement(TextSpanElement.class);
    odfElement.appendChild(spanElement);
    timeElement = spanElement.newTextTimeElement();
    OdfNumberTimeStyle timeStyle = newTimeStyle();
    String timeStyleName = timeStyle.getStyleNameAttribute();
    timeStyle.buildFromFormat(DEFAULT_TIME_FORMAT);
    timeStyle.setStyleNameAttribute(timeStyleName);
    timeElement.setStyleDataStyleNameAttribute(timeStyle.getStyleNameAttribute());
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.