For a Selection field, how do I get from the (translated) human-readable value to the value to be put into the field?
I’m implementing a custom importer reading xslx-files in a very special format. When importing data, user expect to be able to put the (translated) human-readable value into the sheet. Now when creating the objects, I need to convert this into the “machine-readable” value.
I’m aware of Selection.get_selection() and Selection.get_selection_string. Anyhow I wonder whether there is some standardized way already available.
Aah, my bad. I don’t think there is a standard way for doing this. Sometimes you make the values of the Selection global so you can import them or use them in several classes. Or you are using the methods you already aware of.