private bool setBoolProperty(string name, bool value)
        {
            if (OoUtils.GetBooleanProperty(Shape as XPropertySet, name).Equals(value))
            {
                return(true);
            }
            OoUtils.SetPropertyUndoable(Shape as XPropertySet, name, value, GetDocument() as XUndoManagerSupplier);
            bool newVal = getBoolProperty(name);

            return(newVal.Equals(value));
        }