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

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

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


import com.hfg.xml.XMLTag;

/**
  Sequence [1..1]

    1. a:picLocks [0..1]    Picture Locks
    2. a:extLst [0..1]
 */
public class DmlNonVisualPictureDrawingProperties extends XMLTag
{
   private DmlPictureLocks mPictureLocks;

   //---------------------------------------------------------------------------
   public DmlNonVisualPictureDrawingProperties()
   {
      super(DmlXML.NON_VISUAL_PIC_DRAWING_PROPS);
   }

   //---------------------------------------------------------------------------
   /**
    * Returns the picLocks tag if one exists or else instantiates a new one.
    * @return the picLocks tag
    */
   public DmlPictureLocks getPictureLocks()
   {
      if (null == mPictureLocks)
      {
         // Check if it has been added via addSubtag()...
         mPictureLocks = getOptionalSubtagByName(DmlXML.PIC_LOCKS);
         if (null == mPictureLocks)
         {
            mPictureLocks = new DmlPictureLocks();
            addSubtag(0, mPictureLocks);
         }
      }

      return mPictureLocks;
   }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy