/** * Creates a new instance of OdfNumberPercentageStyle. * @param ownerDoc document that this format belongs to * @param format format string for the date/time * @param styleName name of this style */ public OdfNumberPercentageStyle(OdfFileDom ownerDoc, String format, String styleName) { super(ownerDoc); this.setStyleNameAttribute(styleName); buildFromFormat(format); }
/** * Creates a new instance of OdfNumberPercentageStyle. * @param ownerDoc document that this format belongs to * @param format format string for the date/time * @param styleName name of this style */ public OdfNumberPercentageStyle(OdfFileDom ownerDoc, String format, String styleName) { super(ownerDoc); this.setStyleNameAttribute(styleName); buildFromFormat(format); }
/** * Creates a new instance of OdfNumberPercentageStyle. * @param ownerDoc document that this format belongs to * @param format format string for the date/time * @param styleName name of this style */ public OdfNumberPercentageStyle(OdfFileDom ownerDoc, String format, String styleName) { super(ownerDoc); this.setStyleNameAttribute(styleName); buildFromFormat(format); }