com.hfg.xml.msofficexml.docx.wordprocessingml.WmlDrawingObjNonVisualProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of com_hfg Show documentation
Show all versions of com_hfg Show documentation
com.hfg xml, html, svg, and bioinformatics utility library
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;
}
}