The office connector plugin also handles the pdf files in Confluence, since you have specific needs to remove the online function there is one approach you could take.
Go to Confluence Admin > Manage Add ons, in the drop down select all add ons and search for office connector, expand the plugin and scroll down until you see the following modules:
Disable the view doc modules and the Edit modules and see if that suit your needs.
Hello Community, Jessica here from the Confluence product marketing team! Today I wanted to get your takes on project planning –– what works, what doesn’t, how do you know if you’re doing it r...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs