WordPress.org

Ready to get started?Download WordPress

Forums

Google Doc Embedder
[resolved] show the PRINT button & RTL issue (10 posts)

  1. Karem
    Member
    Posted 1 year ago #

    i want to show the "PRINT" button in the toolbar - as its display on google docs
    is it possible - or maybe you keep the button only for Gdocs?

    Also -
    My language is RTL
    i want to set LTR for toolbar to display on Right side without change the language of he interface to English
    TNX

    http://wordpress.org/extend/plugins/google-document-embedder/

  2. k3davis
    Member
    Plugin Author

    Posted 1 year ago #

    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

  3. Karem
    Member
    Posted 1 year ago #

    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?

  4. k3davis
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  5. Karem
    Member
    Posted 1 year ago #

    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

  6. k3davis
    Member
    Plugin Author

    Posted 1 year ago #

    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

  7. Karem
    Member
    Posted 1 year ago #

    Hello Kevin

    I would love to know how to do it to use a custom CSS Value
    What is your email address please?

  8. k3davis
    Member
    Plugin Author

    Posted 1 year ago #

    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.

  9. Karem
    Member
    Posted 1 year ago #

    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

  10. k3davis
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic