com.hfg.xml.msofficexml.docx.wordprocessingml.WmlCommonDrawingMLNonVisualProperties 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;
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;
}
}