All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hfg.xml.msofficexml.docx.drawingml.DmlPictureLocks Maven / Gradle / Ivy

There is a newer version: 20240423
Show newest version
package com.hfg.xml.msofficexml.docx.drawingml;


import com.hfg.xml.XMLTag;

public class DmlPictureLocks extends XMLTag
{

   //---------------------------------------------------------------------------
   public DmlPictureLocks()
   {
      super(DmlXML.PIC_LOCKS);
   }

   //---------------------------------------------------------------------------
   /**
    * Specifies whether or not to disallow aspect ratio change.
    */
   public DmlPictureLocks setDisallowAspectRatioChange(boolean inValue)
   {
      setAttribute(DmlXML.NO_CHANGE_ASPECT_ATT, inValue ? "1" : "0");
      return this;
   }

   //---------------------------------------------------------------------------
   /**
    * Specifies whether or not to disallow arrowhead changes.
    */
   public DmlPictureLocks setDisallowArrowheadChanges(boolean inValue)
   {
      setAttribute(DmlXML.NO_CHANGE_ARROWHEADS_ATT, inValue ? "1" : "0");
      return this;
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy