Title: Simple Google Docs Viewer
Author: Maor Chasen
Published: <strong>20 dezembro, 2012</strong>
Last modified: 22 março, 2017

---

Pesquisar plugins

![](https://ps.w.org/simple-google-docs-viewer/assets/banner-772x250.jpg?rev=1582610)

Este plugin **não foi testado com os 3 lançamentos principais mais recentes do WordPress**.
Ele pode não ser mais mantido ou suportado e pode ter problemas de compatibilidade
quando usado com versões mais recentes do WordPress.

![](https://s.w.org/plugins/geopattern-icon/simple-google-docs-viewer_ffffff.svg)

# Simple Google Docs Viewer

 Por [Maor Chasen](https://profiles.wordpress.org/maor/)

[Baixar](https://downloads.wordpress.org/plugin/simple-google-docs-viewer.zip)

 * [Detalhes](https://br.wordpress.org/plugins/simple-google-docs-viewer/#description)
 * [Avaliações](https://br.wordpress.org/plugins/simple-google-docs-viewer/#reviews)
 *  [Instalação](https://br.wordpress.org/plugins/simple-google-docs-viewer/#installation)
 * [Desenvolvimento](https://br.wordpress.org/plugins/simple-google-docs-viewer/#developers)

 [Suporte](https://wordpress.org/support/plugin/simple-google-docs-viewer/)

## Descrição

Easily embed documents supported by Google Docs (PDF/DOC/DOCX/PPTX/etc)with a simple
shortcode `[gviewer]`

Ex. [gviewer file=”https://example.com/thisismyfile.pdf”]

A full list of attributes:

 * `file` — **Required**. The URL of the file you wish to show
 * `width` — Optional. The desired width of the viewer in pixels. If no width is
   set, the value of the theme’s `$content_width` will be used. If no value is set,
   the width will default to 600 px.
 * `height` — Optional. The desired height of the viewer in pixels. If height is
   set, the height will 1.2 times the width. For example, if the width is 100 px,
   the height will be 120 px.
 * `language` — The language of the document. If the document is written in a right-
   to-left (RTL) language (like Hebrew and Arabic), specifying the language will
   apply RTL settings.

Another way to embed a Google Document is by using the template tag provided by 
the plugin in the source code. Here’s an example:

    ```
    <?php

    echo simple_gviewer_embed( 'https://.../file.pdf', $args );
    ```

The second argument, `$args`, is an associative array. Keys can be found in the 
list above.

#### Short Demonstration

## Capturas de tela

[⌊How an embedded document looks in the front-end.⌉⌊How an embedded document looks
in the front-end.⌉[

How an embedded document looks in the front-end.

[⌊A sample use of the "gviewer" shortcode.⌉⌊A sample use of the "gviewer" shortcode
.⌉[

A sample use of the “gviewer” shortcode.

## Instalação

Add via the plugin installer, or download the ZIP file and upload from the “Upload”
tab.

## Avaliações

![](https://secure.gravatar.com/avatar/3af6aaf1990e955286126a79f622586359fc37e3adbee6e113ceb393405e7dc8?
s=60&d=retro&r=g)

### 󠀁[congrats for this crap](https://wordpress.org/support/topic/congrats-for-this-crap-should-be-deleted/)󠁿

 [imfreednb](https://profiles.wordpress.org/imfreednb/) 11 setembro, 2018 1 resposta

not working

 [ Leia todas as 8 avaliações ](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/)

## Colaboradores e desenvolvedores

“Simple Google Docs Viewer” é um programa de código aberto. As seguintes pessoas
contribuíram para este plugin.

Colaboradores

 *   [ Maor Chasen ](https://profiles.wordpress.org/maor/)
 *   [ Miriam Schwab ](https://profiles.wordpress.org/illuminea/)

[Traduzir o “Simple Google Docs Viewer” para seu idioma.](https://translate.wordpress.org/projects/wp-plugins/simple-google-docs-viewer)

### Interessado no desenvolvimento?

[Navegue pelo código](https://plugins.trac.wordpress.org/browser/simple-google-docs-viewer/),
consulte o [repositório SVN](https://plugins.svn.wordpress.org/simple-google-docs-viewer/)
ou assine o [registro de desenvolvimento](https://plugins.trac.wordpress.org/log/simple-google-docs-viewer/)
por [RSS](https://plugins.trac.wordpress.org/log/simple-google-docs-viewer/?limit=100&mode=stop_on_copy&format=rss).

## Registro de alterações

#### 1.2

 * Fix width shortcode attribute

#### 1.1

 * Added support for https
 * iframes are now responsive out of the box

#### 1.0

 * Initial release

## Meta

 *  Versão **1.2**
 *  Última atualização **9 anos atrás**
 *  Instalações ativas **300+**
 *  Versão do WordPress ** 3.0 ou superior **
 *  Testado até **4.7.33**
 *  Idioma
 * [English (US)](https://wordpress.org/plugins/simple-google-docs-viewer/)
 * Tags
 * [documents](https://br.wordpress.org/plugins/tags/documents/)[embed pdf](https://br.wordpress.org/plugins/tags/embed-pdf/)
   [google docs](https://br.wordpress.org/plugins/tags/google-docs/)[pdf viewer](https://br.wordpress.org/plugins/tags/pdf-viewer/)
 *  [Visualização avançada](https://br.wordpress.org/plugins/simple-google-docs-viewer/advanced/)

## Classificações

 3.1 de 5 estrelas.

 *  [  3 avaliações com 5 estrelas     ](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/?filter=5)
 *  [  1 avaliação com 4 estrela     ](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/?filter=4)
 *  [  0 avaliação com 3 estrela     ](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/?filter=3)
 *  [  2 avaliações com 2 estrelas     ](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/?filter=2)
 *  [  2 avaliações com 1 estrelas     ](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/#new-post)

[Ver todas avaliações](https://wordpress.org/support/plugin/simple-google-docs-viewer/reviews/)

## Colaboradores

 *   [ Maor Chasen ](https://profiles.wordpress.org/maor/)
 *   [ Miriam Schwab ](https://profiles.wordpress.org/illuminea/)

## Suporte

Tem algo a dizer? Precisa de ajuda?

 [Ver fórum de suporte](https://wordpress.org/support/plugin/simple-google-docs-viewer/)