Only activate a subset of the available features when the part is launched in viewer mode.
In viewer mode the part will now use a different XML GUI file (part-viewermode.rc). Also, some actions won't be created, e.g. those used for exporting stuff, for launching presentation mode, or for selecting parts of the document. The captions of the configuration dialogs also contain the word 'viewer' then.
Showing with 378 additions and 177 deletions