Skip to Content
avatar image
Former Member

how can i hide PDF TOOLBAR

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Sep 15, 2017 at 07:07 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 15, 2017 at 07:14 AM

    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.

    Add comment
    10|10000 characters needed characters exceeded