-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
598f8b1
commit 18660ea
Showing
5 changed files
with
150 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
namespace Clippit.PowerPoint; | ||
|
||
public class SlideSource | ||
{ | ||
public PmlDocument PmlDocument { get; set; } | ||
public int Start { get; set; } | ||
public int Count { get; set; } | ||
public bool KeepMaster { get; set; } | ||
|
||
public SlideSource(PmlDocument source, bool keepMaster) | ||
{ | ||
PmlDocument = source; | ||
Start = 0; | ||
Count = int.MaxValue; | ||
KeepMaster = keepMaster; | ||
} | ||
|
||
public SlideSource(string fileName, bool keepMaster) | ||
{ | ||
PmlDocument = new PmlDocument(fileName); | ||
Start = 0; | ||
Count = int.MaxValue; | ||
KeepMaster = keepMaster; | ||
} | ||
|
||
public SlideSource(PmlDocument source, int start, bool keepMaster) | ||
{ | ||
PmlDocument = source; | ||
Start = start; | ||
Count = int.MaxValue; | ||
KeepMaster = keepMaster; | ||
} | ||
|
||
public SlideSource(string fileName, int start, bool keepMaster) | ||
{ | ||
PmlDocument = new PmlDocument(fileName); | ||
Start = start; | ||
Count = int.MaxValue; | ||
KeepMaster = keepMaster; | ||
} | ||
|
||
public SlideSource(PmlDocument source, int start, int count, bool keepMaster) | ||
{ | ||
PmlDocument = source; | ||
Start = start; | ||
Count = count; | ||
KeepMaster = keepMaster; | ||
} | ||
|
||
public SlideSource(string fileName, int start, int count, bool keepMaster) | ||
{ | ||
PmlDocument = new PmlDocument(fileName); | ||
Start = start; | ||
Count = count; | ||
KeepMaster = keepMaster; | ||
} | ||
} |