sal_Bool SwVbaFormFieldCheckBox::getDefault()
{ if (!getValid()) returnfalse;
return getValue();
}
void SwVbaFormFieldCheckBox::setDefault(sal_Bool bSet)
{ if (!getValid()) return;
// Hard to know what to do here, since LO doesn't have a default property for checkboxes. // Setting this really only makes sense when macro-adding a checkbox. // In that case, we want it to affect the actual checkbox. // However, if the checkbox has already been set by the user, then this shouldn't do anything. // Assuming this is only ever called when adding a checkbox seems the sanest approach.
setValue(bSet);
}
// Returns the size of a check box, in points
sal_Int32 SwVbaFormFieldCheckBox::getSize()
{ if (!getValid()) return0;
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.