Skip to Content
0

how can i hide PDF TOOLBAR

Sep 14, 2017 at 04:04 PM

61

avatar image
Former Member

I Can display a PDF file using cl_gui_html_viewer ,

But i want hide 'SAVE AS ' , 'PRINT' BUTTON , HOW CAN I DO ?

THANKS ALL.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Krishna Murthy Sep 15, 2017 at 07:07 AM
0

hi

i think that facility is not available in cl_gui_html_viewer but. one solution is there.

some software are there in internet restricting pdf files. using cmd commands u can run those software on presentation server to that pdf file.

and upload that file into sap and display it using above class cl_gui_html_viewer.

Share
10 |10000 characters needed characters left characters exceeded
Horst Keller
Sep 15, 2017 at 07:14 AM
0

Check, if the importing parameter uiflag of CL_GUI_HTML_VIEWER's constructor can help you in that case.

You can pass constants of the class, e.g. cl_gui_html_viewer=>uiflag_noiemenu.

Share
10 |10000 characters needed characters left characters exceeded