0 votes

Export to Pdf using Aspose.Words

Umbraco ‘Export to Pdf’ macro allow users to export online content into Pdf document using Aspose.Words. This macro makes it very easy and simple to have an offline copy of your favorite online content for sharing and printing etc. in popular Pdf format. It adds a simple ‘Export to Pdf’ button at any desired location on the page and clicking it dynamically exports the content of the page to a Pdf document and then automatically downloads the file to the disk location selected by the user in just couple of seconds.

Detailed instructions
Please check http://www.aspose.com/blogs/aspose-products/aspose-words-product-family/archive/2014/01/22/umbraco-export-to-pdf-using-aspose.words.html for details

Video
Please check the video below to see this macro in action
http://www.youtube.com/watch?v=EcZZzswqybc

How to use ‘Export to Pdf’ macro?
After you have installed ‘Export to Pdf’ macro it is really simple to start using it on your website. Please follow these simple steps to get started

  1. Make sure you are logged-in to Umbraco Developer section e.g. http://www.myblog.com/umbraco/
  2. Click on ‘Settings’ from the list of Sections in left bottom of the screen
  3. Expand the ‘Templates’ node and select the template that you want to add ‘Export to Pdf’ feature e.g. Blog post
  4. Select the place in the selected template where you want to export button to be added. Usually you may want to add it to top right of the page at the bottom of the page.
  5. Click on ‘Insert Macro’ from the top ribbon
  6. From ‘Choose a macro’ select recently installed ‘Export to Pdf using Aspose.Words’ macro and click OK. Please check the screenshot below for details.

 

Note: You may get ‘Maximum request length exceeded’ error while installing. You can easily fix this issue by updating ‘maxRequestLength’ value in your Umbraco web.config

<httpRuntime requestValidationMode="2.0" enableVersionHeader="false"
             maxRequestLength="25000" />

You have successfully added ‘Export to Pdf’ to your template. A button titled ‘Export to Pdf’ will now appear on all pages created using this template. Anyone can simply click on this button and export the content of the page into a Word document.

Screenshots

Package owner

Aspose Marketplace

Aspose Marketplace

Aspose has 71 karma points

Package Compatibility

This package is compatible with the following versions as reported by community members who have downloaded this package:
Untested or doesn't work on Umbraco Cloud
Version 8.18.x (untested)

You must login before you can report on package compatibility.

Previously reported to work on versions:

Package Information

  • Package owner: Aspose Marketplace
  • Created: 22/01/2014
  • Current version 1.0.0
  • License The MIT License (MIT)
  • Downloads on Our: 640