Where are general defaults stored?

There are defaults for which no obvious way is offered to modify them though the respective values are editable.
Examples:
Width of columns / height of rows in a sheet newly inserted in a spreadsheet document.
Preset font size for a newly created Math formula.

I assume that not all of these defaults are simply hard coded in the soffice / swriter … executables or libraries.
Where are they? How can they be managed / edited?
Is there a way to make them modifiable per user?

It is particularly a shame fro Math. When you change something in the Format menu, this does not even survive close-reopen same document!

@ajlittoz: You may want to study this topic in a different forum which triggered my question here.

@Lupp: danke schön

I assume that not all of these defaults are simply hard coded in the soffice / swriter … executables or libraries

Why?

Specifically Width of columns / height of rows are hardcoded in sc/inc/global.hxx and sc/source/core/data/global.cxx (the height standard value of 256 increases with height of standard font, if required).

Each case should be considered individually (something could be in configuration possibly) - but many defaults are just hardcoded.

Thanks!
Quoting @mikekaganski: “Why?”
Because I considered it bad style in my arrogant naivety.

:slight_smile: unfortunately we have really too much of such bad style throughout the code… and this is not among the worst :wink: