mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
Creating a branch 1.1 where I will try to make the 1.1.7 build available, this means I need to merge some changes from 2.0 to here.
This commit is contained in:
parent
2a8e2475d8
commit
a03bc31aef
247 changed files with 6986 additions and 8233 deletions
|
@ -46,10 +46,51 @@ namespace GreenshotOfficePlugin {
|
|||
}
|
||||
|
||||
public IEnumerable<IDestination> Destinations() {
|
||||
yield return new ExcelDestination();
|
||||
yield return new PowerpointDestination();
|
||||
yield return new WordDestination();
|
||||
yield return new OutlookDestination();
|
||||
IDestination destination = null;
|
||||
try {
|
||||
destination = new ExcelDestination();
|
||||
} catch {
|
||||
destination = null;
|
||||
}
|
||||
if (destination != null) {
|
||||
yield return destination;
|
||||
}
|
||||
|
||||
try {
|
||||
destination = new PowerpointDestination();
|
||||
} catch {
|
||||
destination = null;
|
||||
}
|
||||
if (destination != null) {
|
||||
yield return destination;
|
||||
}
|
||||
|
||||
try {
|
||||
destination = new WordDestination();
|
||||
} catch {
|
||||
destination = null;
|
||||
}
|
||||
if (destination != null) {
|
||||
yield return destination;
|
||||
}
|
||||
|
||||
try {
|
||||
destination = new OutlookDestination();
|
||||
} catch {
|
||||
destination = null;
|
||||
}
|
||||
if (destination != null) {
|
||||
yield return destination;
|
||||
}
|
||||
|
||||
try {
|
||||
destination = new OneNoteDestination();
|
||||
} catch {
|
||||
destination = null;
|
||||
}
|
||||
if (destination != null) {
|
||||
yield return destination;
|
||||
}
|
||||
}
|
||||
|
||||
public IEnumerable<IProcessor> Processors() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue