Added the possibility to have a link to e.g. the original website when exporting to Outlook or Word.

git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2444 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
RKrom 2013-01-25 11:44:23 +00:00
commit 609075f8d1
5 changed files with 91 additions and 19 deletions

View file

@ -142,12 +142,12 @@ namespace GreenshotOfficePlugin {
}
}
try {
WordExporter.InsertIntoNewDocument(tmpFile);
WordExporter.InsertIntoNewDocument(tmpFile, null);
exportInformation.ExportMade = true;
} catch(Exception) {
// Retry once, just in case
try {
WordExporter.InsertIntoNewDocument(tmpFile);
WordExporter.InsertIntoNewDocument(tmpFile, null);
exportInformation.ExportMade = true;
} catch (Exception ex) {
LOG.Error(ex);