Ask Your Question

Where are general defaults stored?

asked 2019-03-13 11:30:56 +0200

Lupp gravatar image

There are defaults for which no obvious way is offered to modify them though the respective values are editable.
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?

edit retag flag offensive close merge delete


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 gravatar imageajlittoz ( 2019-03-13 12:29:50 +0200 )edit

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

Lupp gravatar imageLupp ( 2019-03-13 13:35:11 +0200 )edit

@Lupp: danke schön

ajlittoz gravatar imageajlittoz ( 2019-03-13 14:55:15 +0200 )edit

1 Answer

Sort by » oldest newest most voted

answered 2019-03-13 12:26:29 +0200

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


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.

edit flag offensive delete link more


Quoting @Mike Kaganski: "Why?"
Because I considered it bad style in my arrogant naivety.

Lupp gravatar imageLupp ( 2019-03-13 12:59:56 +0200 )edit

:-) unfortunately we have really too much of such bad style throughout the code... and this is not among the worst ;-)

Mike Kaganski gravatar imageMike Kaganski ( 2019-03-13 13:02:26 +0200 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2019-03-13 11:30:56 +0200

Seen: 127 times

Last updated: Mar 13