Fix save and encrypt/decrypt file handling
- Give a filename to Save-As dialog as is done for queryClose().
- Do not silently decrypt files on Save-As.
- Respect user selection of extension (or no extension).
- Force Save-As when changing encryption. This avoids silently failing to change encryption of non-modified docs.
Testing: All tests done on words.
-
Remote urls not tested.
-
Gemini not tested.
-
Save empty doc: . File dialog shown with Untitled.odt as default filename.
-
Modify empty doc and save: . Result as above.
-
Encrypt empty doc: . Result as above.
-
Encrypt modified doc: . Result as above.
-
Open unecrypted doc and encrypt: . File dialog shown with filename as default filename. . File saved encrypted.
-
Open encrypted doc and decrypt: . File dialog shown with filename as default filename. . File saved decrypted.
-
Import a docx file and encrypt: . File dialog shown with Untitled.odt as default filename. (Maybe should keep orig filename with .odt extension?) . File saved encrypted.