yair,
Adding a print button is easy enough, but getting it to actually work is an altogether different problem. The embedded version of the viewer does not contain code to enable this function.
Not sure I understand your second point – you want the toolbar to be LTR in your language, even though your language is RTL? If not please try explaining that a bit further. Thanks.
Kevin
Thread Starter
Karem
(@yair)
I mean that, I want the directional toolbar according to the direction of reading
So I will set it as English language to align the toolbar to right
Otherwise, in The current situation if I use my language [Hebrew RTL] so the toolbar will float to the left
Maybe you should give the option for toolbar to appear on the right or left
So how I can add the print button?
I will see about changing the direction of the toolbar for RTL languages. It may be possible. However, adding a print button is not currently possible. It is easy to add the button itself, but the viewer does some resizing in the background (to make the viewer change size and clarity when you resize the page). Even adding my own print function does not work because it cannot account for this resizing. I have gotten it to work but only to print a very small portion of one page. It is not useful. I will try again in the future and see if there is anything I can do, but right now there is not.
Thread Starter
Karem
(@yair)
Hello k3davis
thanks for the update with print Button 🙂 its realy nice
1. i want to show the print on the Embed toolbar [not only in the fullscreen]
2. i use RTL language but i want to set the Scroll bar in right
How can i do that
Hi yair,
You can do #2 by specifying your own CSS file. Find the div where the toolbar is located and set it in CSS to float to the right. If you need specific help with this, please send me a message via email or the support form.
#1 is still not possible at this time. I am “cheating” by loading the full Google Drive version of the viewer in the full screen view, and stripping out other parts of the page. If I do this on the embedded view, the document sizing is badly messed up. The print feature is experimental until I can come up with a better solution.
Thanks,
Kevin
Thread Starter
Karem
(@yair)
Hello Kevin
I would love to know how to do it to use a custom CSS Value
What is your email address please?
Please use the support tab in GDE Settings or find my email address in the GPL statement at the top of the gviewer.php file in the plugin. Thanks.
Thread Starter
Karem
(@yair)
OK
or maybe you can tell me if there is a file from the plugin files can be use for RTL in “Custom CSS File” text box in plugin setting
There is no plugin setting specific to RTL. You have to set that style in an external CSS file and load that CSS file into the “Custom CSS File” setting in your profile.