From ee49ee42d03e404d29ea3d446b7bb65814e788aa Mon Sep 17 00:00:00 2001 From: Gonzalo Odiard Date: Tue, 09 Nov 2010 14:07:15 +0000 Subject: Add the option to export to PDF - SL #1458 Signed-Off-By: iwikiwi --- diff --git a/toolbar.py b/toolbar.py index e1d4b63..e610806 100644 --- a/toolbar.py +++ b/toolbar.py @@ -58,7 +58,8 @@ class WriteActivityToolbarExtension: # file mime type, abiword exporter properties, drop down name, journal entry postfix _EXPORT_FORMATS = [['application/rtf', _('Rich Text (RTF)'), _('RTF'), ""], ['text/html', _('Hypertext (HTML)'), _('HTML'), "html4:yes; declare-xml:no; embed-css:yes; embed-images:yes;"], - ['text/plain', _('Plain Text (TXT)'), _('TXT'), ""]] + ['text/plain', _('Plain Text (TXT)'), _('TXT'), ""], + ['application/pdf',_('Portable Document Format (PDF)'),_('PDF'),'']] def __init__(self, activity, toolbox, abiword_canvas): -- cgit v0.9.1