Docxpresso

Description

If you are used to write all your documents using a Office Suite Word Processor or Spreadsheets like the ones available in MS Office, Libre Office or Open Office Docxpresso is the WordPress plugin you are looking for!

This plugin will allow you to publish content that has been generated with your favourite Office Suite (MS, Libre or Open Office) preserving all of its structure, design and format:

Nicely formatted text

Titres (h1, h2…)

Tables (sortable and responsive)

Links and bookmarks

Nested lists with sophisticated numberings

Images

Charts

Textboxes

Footnotes and endnotes

Headers and Footers

Tables of contents (TOCs)

Commentaires

Math equations

Drop caps

Office SmartArt and forms (partial)

Support for Right-To-Left languages

You may even create sortable tables or even export your charts in a browser friendly manner.

This plugin is a spin-off of our Docxpresso API library designed to generate all kind of dynamical documents on your web server (PDF, Word, ODT, RTF).

If you use our plugin we would be very thankful if you fulfill this simple online survery.

How to use it

NOTE: If you have updated to WP5.* or you are using the Gutenberg editor plugin you should also have a look at the Gutenberg – WP5 Block editor section of this page.

Create a standard document with the content that you want to insert in your Post or Page using your favourite Word Processor or Spreadsheet (MS Word, Libre Office or Open Office).

IMPORTANT: Save your document in .odt (or .ods format for spreadsheets) format. In MS Word choose OpenDocument (.odt) in your Save As dialogue (in Libre or Open Office is the default format). If you are working with Excel you may equivalently save it in Open Document Format (.ods in this case).

Create or edit a Post or Page in your WordPress interface.

Click the Insert Document button located over the text editor.

A standard WordPress media window will open. You may upload a new document with the required contents or use a previously uploaded document.

After choosing a file click on the Insert button.

A [docxpresso] shortcode will be included within your text editor.

You may then add or not any additional content to your post but do not try to modify by hand the contents of the Docxpresso shortcode unless you really know what you are doing.

You may insert as many documents as you wish in a single Post or Page.

NOTE: You may use also Docxpresso plugin in conjunction with other plugins that allow to retrieve documents from cloud storage repositories like Amazon S3.

Check this video tutorial where you will find a detailed example of all the above:

In case you want to make any of your tables sortable you also should:

Declare the first row of your table as a header row within your Office document

insert a « @ » symbol as the first character in every column that you wish to be sortable

If you want to sort columns by numbers that do not follow the en-US standard, i.e. 3,576.45, you should modify the number format for sorting in your plugin options panel under the Settings section of your WordPress installation

You may check how to do it with the help of this video:

Since v2.1 you may also insert in your document a link to a yotube video, a Google form or a Google doc to render it in your WordPress post or page:

By default the videos are fluid and the forms and docs take all available width space. But you can set custom width and height by adding, for example, ‘?width=600&height=400’ to the link URL

You may see an example in the following video:

Gutenberg – WP5 Block editor

Since v2.3 this plugin is compatible with the new « WP block editor », also known as Gutenberg:

Click on the Docxpresso block that is available together with all the standard widget blocks within your block editor interface.

A new block will appear in the editor interface with a button inviting you to select a file.

Clicking on that button a standard WordPress media window will open. You may upload a new document with the required contents or use a previously uploaded document.

After clicking on the « Select button » a shortcode will be inserted in your editor.

As before, if you wish, you may insert multiple documents with Docxpresso in the same page or post and combine them with all other available blocks.

NOTE: With this new editor you need to save the edition before being able to visualize the uploaded document in the preview page.

If you prefer to use the « Classical editor » in your WP5 installation you may proceed as described in the previous section.

Licence

This work is licensed under GPLv2 or later.

This plugin comes bundled with the D3 and C3 JavaScript libraries for chart rendering, the webui-popover library for comment rendering and the MathJax library for rendering of math equations in a web browser. D3 (http://d3js.org) is distributed under the BSD license, MathJax (https://www.mathjax.org/) and dropcap.js (https://github.com/adobe-webplatform/dropcap.js) under the Apache license v2.0 , C3 (http://c3js.org/) and webui-popover (https://github.com/sandywalker/webui-popover) are distributed under the MIT license .

Captures d’écran

Docxpresso button - just clicking on it you will be able to upload or choose a document from the media popup window. A shortcode will be inserted into your text editor with all the required data.

Sample post - this is just a sample result of a document with charts and formatted text.

Avis

The plugin installs easily and does exactly as advertised and the document appears in the post perfectly formated. Unfortunately all you see in the editor is the shortcode.
I would, however, find it more useful if there was an option, or a version, that actually pasted the converted file in to the WP post or page.
One of the things lacking in WP is the possibility to easily enter formated text. This goes part of the way there but if I then want to insert images into the text I can't do it because it just inserts the shortcode for the document.

I have never come across such a functional and beautiful plugin on WordPress. It creates excellent interactive charts and without any hassle! IMO the plugin is underrated, it should have gotten a lot more traction. And the Support? It is a free plugin and yet the support is WORLD CLASS.

I can see that this has worked for many people, but the information should say specifically that it cannot handle large .odt files.
I can't beta test it to find out what the cutoff point is, but I can report this conclusively:
• Using an odt file of 5.6 MB, saving as draft, and then trying to preview, I get nothing but a blank white page. In other words, it doesn't even show my WordPress blog logo, menus, and structure, much less anything where the post is supposed to appear!
• Using a larger odt file, one that is 10.1 MB, when I save draft and go to preview, my basis WordPress blog logo and menu bar are there, but none of my sidebars. In the space where the post should be, there is instead this:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 72462702 bytes) in /home1/XXXXXX [domain name removed by me for this post]/public_html/chaletreports/wp-content/plugins/docxpresso/classes/ODF2HTML5/ODF2HTML5.inc on line 4604
This renders the plugin useless for what I am trying to do.

It did what it promised to do, but did it so much better than I expected! After hours trying to figure out how to post a text with multiple fonts, multiple fonts sizes and colors, I installed this plugin. It warned me that it has not been tested with the last wordpress version. The original post was created in libre office. I followed the instructions and It worked! and is awesome! Strongly recommended for rich text documents. Thank you!!