diff options
author | Gonzalo Odiard <godiard@sugarlabs.org> | 2010-11-09 14:07:15 (GMT) |
---|---|---|
committer | Gonzalo Odiard <godiard@sugarlabs.org> | 2010-11-09 14:07:15 (GMT) |
commit | ee49ee42d03e404d29ea3d446b7bb65814e788aa (patch) | |
tree | d46d7becb5a4a6a9a65c5a5b79d20ed491093cf7 | |
parent | 3a191f54252fcc907225a511da35a6aaa8908f2a (diff) |
Add the option to export to PDF - SL #1458
Signed-Off-By: iwikiwi <vamsi.davuluri@gmail.com>
-rw-r--r-- | toolbar.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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): |