예제 #1
0
 /**
  * Receives the value of the ODFDOM attribute representation <code>
  * TableParagraphStyleNameAttribute</code> , See {@odf.attribute table:paragraph-style-name}
  *
  * @return - the <code>String</code> , the value or <code>null</code>, if the attribute is not set
  *     and no default value defined.
  */
 public String getTableParagraphStyleNameAttribute() {
   TableParagraphStyleNameAttribute attr =
       (TableParagraphStyleNameAttribute)
           getOdfAttribute(OdfDocumentNamespace.TABLE, "paragraph-style-name");
   if (attr != null) {
     return String.valueOf(attr.getValue());
   }
   return null;
 }
예제 #2
0
 /**
  * Sets the value of ODFDOM attribute representation <code>TableParagraphStyleNameAttribute</code>
  * , See {@odf.attribute table:paragraph-style-name}
  *
  * @param tableParagraphStyleNameValue The type is <code>String</code>
  */
 public void setTableParagraphStyleNameAttribute(String tableParagraphStyleNameValue) {
   TableParagraphStyleNameAttribute attr =
       new TableParagraphStyleNameAttribute((OdfFileDom) this.ownerDocument);
   setOdfAttribute(attr);
   attr.setValue(tableParagraphStyleNameValue);
 }