Skip to content

Commit

Permalink
- Bug fix: when reconnecting, it controlls old ppt show.
Browse files Browse the repository at this point in the history
- Support for PPT 2007, 2010, 2013
  • Loading branch information
SeongTae Jeong committed Sep 26, 2013
1 parent af26446 commit f8594eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions Server/DocumentController/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -205,6 +205,7 @@ private void ProcessDocument(string path, string tempPath, int width)

foreach (var item in _pptController)
{
item.Clear();
if (item.Load(path, newTempPath) == true)
{
int height = (int)(width * _pptSlideHeightRatio);
Expand Down
3 changes: 3 additions & 0 deletions Server/OfficePPT2010/OfficePPT2010.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
<WrapperTool>primary</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>
<Private>True</Private>
</COMReference>
<COMReference Include="Microsoft.Office.Interop.PowerPoint">
<Guid>{91493440-5A91-11CF-8700-00AA0060263B}</Guid>
Expand All @@ -70,6 +71,7 @@
<WrapperTool>primary</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>
<Private>True</Private>
</COMReference>
<COMReference Include="VBIDE">
<Guid>{0002E157-0000-0000-C000-000000000046}</Guid>
Expand All @@ -79,6 +81,7 @@
<WrapperTool>primary</WrapperTool>
<Isolated>False</Isolated>
<EmbedInteropTypes>True</EmbedInteropTypes>
<Private>True</Private>
</COMReference>
</ItemGroup>
<ItemGroup>
Expand Down

0 comments on commit f8594eb

Please sign in to comment.