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

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

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

import com.hfg.xml.XMLTag;


public class WmlDrawingObjNonVisualProperties  extends XMLTag
{
   private static int sIdSrc = 1;

   //---------------------------------------------------------------------------
   public WmlDrawingObjNonVisualProperties()
   {
      super(WmlXML.DRAWING_OBJ_NON_VISUAL_PROPS);
      init();
   }

   //---------------------------------------------------------------------------
   private void init()
   {
      setId(assignId() + "");
   }

   //---------------------------------------------------------------------------
   private static synchronized int assignId()
   {
      return sIdSrc++;
   }

   //---------------------------------------------------------------------------
   public WmlDrawingObjNonVisualProperties setName(String inValue)
   {
      setAttribute("name", inValue);
      return this;
   }

   //---------------------------------------------------------------------------
   public WmlDrawingObjNonVisualProperties setDescription(String inValue)
   {
      setAttribute("descr", inValue);
      return this;
   }

   //---------------------------------------------------------------------------
   public WmlDrawingObjNonVisualProperties setTitle(String inValue)
   {
      setAttribute("title", inValue);
      return this;
   }

   //---------------------------------------------------------------------------
   public WmlDrawingObjNonVisualProperties setId(String inValue)
   {
      setAttribute("id", inValue);
      return this;
   }

   //---------------------------------------------------------------------------
   public WmlDrawingObjNonVisualProperties setHidden(boolean inValue)
   {
      setAttribute("hidden", inValue);
      return this;
   }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy