예제 #1
0
 /**
  * Receives the value of the ODFDOM attribute representation <code>TableStyleNameAttribute</code>
  * , See {@odf.attribute table:style-name}
  *
  * <p>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 getTableStyleNameAttribute() {
   TableStyleNameAttribute attr =
       (TableStyleNameAttribute) getOdfAttribute(OdfDocumentNamespace.TABLE, "style-name");
   if (attr != null) {
     return String.valueOf(attr.getValue());
   }
   return null;
 }
예제 #2
0
 /**
  * Sets the value of ODFDOM attribute representation <code>TableStyleNameAttribute</code> , See
  * {@odf.attribute table:style-name}
  *
  * @param tableStyleNameValue The type is <code>String</code>
  */
 public void setTableStyleNameAttribute(String tableStyleNameValue) {
   TableStyleNameAttribute attr = new TableStyleNameAttribute((OdfFileDom) this.ownerDocument);
   setOdfAttribute(attr);
   attr.setValue(tableStyleNameValue);
 }