Home > Back-end >  Springboot openoffice to realize online preview, how to disable the preview page to download and pri
Springboot openoffice to realize online preview, how to disable the preview page to download and pri

Time:09-21

Springboot + openoffice to realize online preview, how to disable the preview page to download and print button?

Currently achieved in this way, but the project requires otherwise interface and permissions, print and download the preview interface can't download, how can I disable or shielding download and print button to make it not show

CodePudding user response:

First in the PDF. Js that folder to find the PDF/web/viewer. Js block eventsBus. On (' download ');
Then in the PDF/web/viewer. In the HTML find this id='download' button, code with style="visibility: hidden;"

CodePudding user response:

The building Lord son finally solve the ban openoffice download?
  • Related