• How to dsiable or hide print and copy button in preview

  • We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
We tried to make OpenKM as intuitive as possible, but an advice is always welcome.
Forum rules: Please, before asking something see the documentation wiki or use the search feature of the forum. And remember we don't have a crystal ball or mental readers, so if you post about an issue tell us which OpenKM are you using and also the browser and operating system version. For more info read How to Report Bugs Effectively.
 #6433  by jllort
 
I don't know if it's possible, first must take a look at oficial viewer website at http://swfviewer.blogspot.com/ to know if there's some param to hide it.

If it's possible then it's only needed to make minimal changes on UI code at Util.java class where's defined the component.
 #6448  by riephone
 
jllort wrote:I don't know if it's possible, first must take a look at oficial viewer website at http://swfviewer.blogspot.com/ to know if there's some param to hide it.

If it's possible then it's only needed to make minimal changes on UI code at Util.java class where's defined the component.
thanks jllort! i find a way. It may not so good. I use SWiX to edit zviewer.swf and delete print and copy button from it, then ues this
new to replace the old zviewer.swf.
 #6449  by jllort
 
it's great

Only a question because I'm not a flash developer, could be easily added some popup warning - text or similar - meanwhile document is not yet downloading ?
 #6585  by riephone
 
jllort wrote:it's great

Only a question because I'm not a flash developer, could be easily added some popup warning - text or similar - meanwhile document is not yet downloading ?
I did not see this form these days,sorry to be so late! I am not a flash guy too, so i can not reply your question. i give you the zviewer.swf i update. i try to use FlexPaperViewer.swf now,it has more parameter to control those buttons in the view.
Attachments
zviewer.swf
(9.7 KiB) Downloaded 510 times
 #8598  by epvaldez
 
I'm not sure if it's implemented on version 5.1 or in 5.0.1 ? take a look at profile it must be there.
Hello,
I tried it with both Openkm 5.0 and 5.0.1 and only found the file: js/flexpaper/flexpaper_flash.js, but how I can configure it to disable or hide printing and copy buttons? or Should I configure Openkm.cfg?

best regards,

Elvis V.
 #8608  by jllort
 
The features is only in version 5.1 that's not yet released, sorry. For doing it with flexpaper you might compile it ... to much work for some minimal change. I suggest to download the file zviewer_del_button.rar, use zviewer and replace the original file into OpenKM for this.

It's possible on version 5.0.2 we include it, but it'll be because some customer has demanded, if not might be specting on 5.1 that's yet included by default. Sorry for it.
 #41162  by lancyld
 
Dear riephone,
zviewer thing worked like a breeze. OpnKM is marvellous. Hats off to the Team. One small query.

Can you please modify the zviewer a little more so that "PrintScreen" & "Alt+PrintScreen" until the viewer is ON

Also I found out a new problem with zviewer powerpoint files some open but most of them do not open.

I also reverted back the original extensions of zviewer and flexpaper. But then too facing powerpoint problems (check attachment). Where as all these files are opening in LibreOffice.

I'm still testing for other file types. This started only when I replaced the swfs
Attachments
LibreOfficeFiles.PNG
LibreOfficeFiles.PNG (91.88 KiB) Viewed 6829 times
PDF.PNG
PDF.PNG (135.04 KiB) Viewed 6829 times
(827.35 KiB) Downloaded 205 times
 #41168  by jllort
 
Check if power point can be converted to pdf by openoffice ( use latest openoffice version that could be the problem or also could be a problem with the powerpoint format, latest version could not be totally compatible with openoffice supported formats ).

About Us

OpenKM is part of the management software. A management software is a program that facilitates the accomplishment of administrative tasks. OpenKM is a document management system that allows you to manage business content and workflow in a more efficient way. Document managers guarantee data protection by establishing information security for business content.