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

com.hfg.xml.msofficexml.docx.wordprocessingml.WmlCommonDrawingMLNonVisualProperties Maven / Gradle / Ivy

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


import com.hfg.xml.XMLTag;
import com.hfg.xml.msofficexml.docx.drawingml.DmlGraphicFrameLocks;
import com.hfg.xml.msofficexml.docx.drawingml.DmlXML;

public class WmlCommonDrawingMLNonVisualProperties  extends XMLTag
{
   private DmlGraphicFrameLocks mGraphicFrameLocks;

   //---------------------------------------------------------------------------
   public WmlCommonDrawingMLNonVisualProperties()
   {
      super(WmlXML.COMMON_DRAWINGML_NON_VISUAL_PROPS);
   }

   //---------------------------------------------------------------------------
   /**
    * Returns the pic tag if one exists or else instantiates a new one.
    * @return the pic tag for this graphic data
    */
   public DmlGraphicFrameLocks getGraphicFrameLocks()
   {
      if (null == mGraphicFrameLocks)
      {
         // Check if it has been added via addSubtag()...
         mGraphicFrameLocks = getOptionalSubtagByName(DmlXML.GRAPHIC_FRAME_LOCKS);
         if (null == mGraphicFrameLocks)
         {
            mGraphicFrameLocks = new DmlGraphicFrameLocks();
            addSubtag(mGraphicFrameLocks);
         }
      }

      return mGraphicFrameLocks;
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy