com.hfg.xml.msofficexml.docx.drawingml.DmlPictureLocks 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;
public class DmlPictureLocks extends XMLTag
{
//---------------------------------------------------------------------------
public DmlPictureLocks()
{
super(DmlXML.PIC_LOCKS);
}
//---------------------------------------------------------------------------
/**
* Specifies whether or not to disallow aspect ratio change.
*/
public DmlPictureLocks setDisallowAspectRatioChange(boolean inValue)
{
setAttribute(DmlXML.NO_CHANGE_ASPECT_ATT, inValue ? "1" : "0");
return this;
}
//---------------------------------------------------------------------------
/**
* Specifies whether or not to disallow arrowhead changes.
*/
public DmlPictureLocks setDisallowArrowheadChanges(boolean inValue)
{
setAttribute(DmlXML.NO_CHANGE_ARROWHEADS_ATT, inValue ? "1" : "0");
return this;
}
}