Open files read-only in OO

Is it possible, or can anyone point me in the direction modify it, to have OO or CDS (community-document-server) open files read-only by default. (ie without the editing facilities - same as you get if you actually don’t have NC edit permissions for the file).

In the ideal world I would like a simple click on the file to always open it read-only, and a right click menu option to open it for editing if the user has permission.

But simply always opening files read-only and having to download to edit would be acceptable.