예제 #1
0
 /**
  * Receives the value of the ODFDOM attribute representation <code>
  * PresentationUserTransformedAttribute</code> , See {@odf.attribute
  * presentation:user-transformed}
  *
  * @return - the <code>Boolean</code> , the value or <code>null</code>, if the attribute is not
  *     set and no default value defined.
  */
 public Boolean getPresentationUserTransformedAttribute() {
   PresentationUserTransformedAttribute attr =
       (PresentationUserTransformedAttribute)
           getOdfAttribute(
               OdfName.get(OdfNamespace.get(OdfNamespaceNames.PRESENTATION), "user-transformed"));
   if (attr != null) {
     return Boolean.valueOf(attr.booleanValue());
   }
   return null;
 }
예제 #2
0
 /**
  * Sets the value of ODFDOM attribute representation <code>PresentationUserTransformedAttribute
  * </code> , See {@odf.attribute presentation:user-transformed}
  *
  * @param presentationUserTransformedValue The type is <code>Boolean</code>
  */
 public void setPresentationUserTransformedAttribute(Boolean presentationUserTransformedValue) {
   PresentationUserTransformedAttribute attr =
       new PresentationUserTransformedAttribute((OdfFileDom) this.ownerDocument);
   setOdfAttribute(attr);
   attr.setBooleanValue(presentationUserTransformedValue.booleanValue());
 }