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