nessalc / MSWordToolbox

0 stars 0 forks source link

Add Settings dialog #5

Open nessalc opened 4 years ago

nessalc commented 4 years ago

Some user settings exist in the project so far, but there is currently no way to edit them.

  1. CustomUnits (a string, regex, allowing custom units to be included in the "Fix Units" macro
  2. IncludeVariables (a bool, whether or not to include document variables in "Export Properties" macro and in "Edit Properties" dialog
  3. PreferDocumentVariable (a bool, perhaps an "advanced" setting, on whether the function SetDocumentValue first attempts to assign a key/value pair to a Variable before a Property. Perhaps this should be removed altogether?)
  4. IconSize (an int, defines the size of the icons in the character gallery)
  5. FontSize (an int, defines the font size in dialog boxes)
  6. IncludeBookmarks (a bool, see 2)
  7. SpecialCharacters (a System.Collections.Specialized.StringDictionary that should hold the special characters for the character gallery.

Should offer a toggle to use a Format 1 or Format 2 for "Fix Units":

  1. 15 m ± 1 m
  2. (15 ± 1) m
nessalc commented 4 years ago

Commit 22f64cb505d2678837ae4f110456e83585416275 is a good start for this, but more work is needed.