OUString SwVbaFormFieldTextInput::getDefault()
{ if (!getValid()) return OUString();
return m_rTextInput.GetContent();
}
void SwVbaFormFieldTextInput::setDefault(const OUString& sSet)
{ // Hard to know what to do here, since LO doesn't have a default property for text input. // This really only makes sense when macro-adding a text input. // In that case, we want it to affect the actual text content. // However, if the text has already been set by the user, then this shouldn't do anything. // Assuming this is only ever set when adding a text input seems the sanest approach. if (!getValid() || getDefault() == sSet) return;
m_rTextInput.ReplaceContent(sSet);
}
OUString SwVbaFormFieldTextInput::getFormat()
{ if (!getValid()) return OUString();
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.