Skip to content

Commit b7cdee1

Browse files
Merge pull request #124 from Karan-SF4772/master
986058: Added the import an Excel chart into Presentation in WPF sample
2 parents 5965918 + 97bec63 commit b7cdee1

File tree

13 files changed

+786
-0
lines changed

13 files changed

+786
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
2+
Microsoft Visual Studio Solution File, Format Version 12.00
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.14.36518.9 d17.14
5+
MinimumVisualStudioVersion = 10.0.40219.1
6+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Import-Excel-chart-into-PPTX-in-WPF", "Import-Excel-chart-into-PPTX-in-WPF\Import-Excel-chart-into-PPTX-in-WPF.csproj", "{0ACB70D9-DFE1-4784-A086-A16C2EC7B73A}"
7+
EndProject
8+
Global
9+
GlobalSection(SolutionConfigurationPlatforms) = preSolution
10+
Debug|Any CPU = Debug|Any CPU
11+
Release|Any CPU = Release|Any CPU
12+
EndGlobalSection
13+
GlobalSection(ProjectConfigurationPlatforms) = postSolution
14+
{0ACB70D9-DFE1-4784-A086-A16C2EC7B73A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
15+
{0ACB70D9-DFE1-4784-A086-A16C2EC7B73A}.Debug|Any CPU.Build.0 = Debug|Any CPU
16+
{0ACB70D9-DFE1-4784-A086-A16C2EC7B73A}.Release|Any CPU.ActiveCfg = Release|Any CPU
17+
{0ACB70D9-DFE1-4784-A086-A16C2EC7B73A}.Release|Any CPU.Build.0 = Release|Any CPU
18+
EndGlobalSection
19+
GlobalSection(SolutionProperties) = preSolution
20+
HideSolutionNode = FALSE
21+
EndGlobalSection
22+
GlobalSection(ExtensibilityGlobals) = postSolution
23+
SolutionGuid = {BFA6B418-6283-4195-9749-1914C37EE2FD}
24+
EndGlobalSection
25+
EndGlobal
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0" encoding="utf-8" ?>
2+
<configuration>
3+
<startup>
4+
<supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.7.2" />
5+
</startup>
6+
</configuration>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Application x:Class="Import_Excel_chart_into_PPTX_in_WPF.App"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:local="clr-namespace:Import_Excel_chart_into_PPTX_in_WPF"
5+
StartupUri="MainWindow.xaml">
6+
<Application.Resources>
7+
8+
</Application.Resources>
9+
</Application>
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
using System;
2+
using System.Collections.Generic;
3+
using System.Configuration;
4+
using System.Data;
5+
using System.Linq;
6+
using System.Threading.Tasks;
7+
using System.Windows;
8+
9+
namespace Import_Excel_chart_into_PPTX_in_WPF
10+
{
11+
/// <summary>
12+
/// Interaction logic for App.xaml
13+
/// </summary>
14+
public partial class App : Application
15+
{
16+
}
17+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,115 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
4+
<PropertyGroup>
5+
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
6+
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
7+
<ProjectGuid>{0ACB70D9-DFE1-4784-A086-A16C2EC7B73A}</ProjectGuid>
8+
<OutputType>WinExe</OutputType>
9+
<RootNamespace>Import_Excel_chart_into_PPTX_in_WPF</RootNamespace>
10+
<AssemblyName>Import-Excel-chart-into-PPTX-in-WPF</AssemblyName>
11+
<TargetFrameworkVersion>v4.7.2</TargetFrameworkVersion>
12+
<FileAlignment>512</FileAlignment>
13+
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
14+
<WarningLevel>4</WarningLevel>
15+
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects>
16+
<Deterministic>true</Deterministic>
17+
</PropertyGroup>
18+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
19+
<PlatformTarget>AnyCPU</PlatformTarget>
20+
<DebugSymbols>true</DebugSymbols>
21+
<DebugType>full</DebugType>
22+
<Optimize>false</Optimize>
23+
<OutputPath>bin\Debug\</OutputPath>
24+
<DefineConstants>DEBUG;TRACE</DefineConstants>
25+
<ErrorReport>prompt</ErrorReport>
26+
<WarningLevel>4</WarningLevel>
27+
</PropertyGroup>
28+
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
29+
<PlatformTarget>AnyCPU</PlatformTarget>
30+
<DebugType>pdbonly</DebugType>
31+
<Optimize>true</Optimize>
32+
<OutputPath>bin\Release\</OutputPath>
33+
<DefineConstants>TRACE</DefineConstants>
34+
<ErrorReport>prompt</ErrorReport>
35+
<WarningLevel>4</WarningLevel>
36+
</PropertyGroup>
37+
<ItemGroup>
38+
<Reference Include="Syncfusion.Compression.Base, Version=31.1462.17.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
39+
<HintPath>..\packages\Syncfusion.Compression.Base.31.1.17\lib\net462\Syncfusion.Compression.Base.dll</HintPath>
40+
</Reference>
41+
<Reference Include="Syncfusion.Licensing, Version=31.1462.17.0, Culture=neutral, PublicKeyToken=632609b4d040f6b4, processorArchitecture=MSIL">
42+
<HintPath>..\packages\Syncfusion.Licensing.31.1.17\lib\net462\Syncfusion.Licensing.dll</HintPath>
43+
</Reference>
44+
<Reference Include="Syncfusion.OfficeChart.Base, Version=31.1462.17.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
45+
<HintPath>..\packages\Syncfusion.OfficeChart.Base.31.1.17\lib\net462\Syncfusion.OfficeChart.Base.dll</HintPath>
46+
</Reference>
47+
<Reference Include="Syncfusion.Presentation.Base, Version=31.1462.17.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
48+
<HintPath>..\packages\Syncfusion.Presentation.Wpf.31.1.17\lib\net462\Syncfusion.Presentation.Base.dll</HintPath>
49+
</Reference>
50+
<Reference Include="Syncfusion.XlsIO.Base, Version=31.1462.17.0, Culture=neutral, PublicKeyToken=3d67ed1f87d44c89, processorArchitecture=MSIL">
51+
<HintPath>..\packages\Syncfusion.XlsIO.Wpf.31.1.17\lib\net462\Syncfusion.XlsIO.Base.dll</HintPath>
52+
</Reference>
53+
<Reference Include="System" />
54+
<Reference Include="System.Data" />
55+
<Reference Include="System.Drawing" />
56+
<Reference Include="System.Xml" />
57+
<Reference Include="Microsoft.CSharp" />
58+
<Reference Include="System.Core" />
59+
<Reference Include="System.Xml.Linq" />
60+
<Reference Include="System.Data.DataSetExtensions" />
61+
<Reference Include="System.Net.Http" />
62+
<Reference Include="System.Xaml">
63+
<RequiredTargetFramework>4.0</RequiredTargetFramework>
64+
</Reference>
65+
<Reference Include="WindowsBase" />
66+
<Reference Include="PresentationCore" />
67+
<Reference Include="PresentationFramework" />
68+
</ItemGroup>
69+
<ItemGroup>
70+
<ApplicationDefinition Include="App.xaml">
71+
<Generator>MSBuild:Compile</Generator>
72+
<SubType>Designer</SubType>
73+
</ApplicationDefinition>
74+
<Page Include="MainWindow.xaml">
75+
<Generator>MSBuild:Compile</Generator>
76+
<SubType>Designer</SubType>
77+
</Page>
78+
<Compile Include="App.xaml.cs">
79+
<DependentUpon>App.xaml</DependentUpon>
80+
<SubType>Code</SubType>
81+
</Compile>
82+
<Compile Include="MainWindow.xaml.cs">
83+
<DependentUpon>MainWindow.xaml</DependentUpon>
84+
<SubType>Code</SubType>
85+
</Compile>
86+
</ItemGroup>
87+
<ItemGroup>
88+
<Compile Include="Properties\AssemblyInfo.cs">
89+
<SubType>Code</SubType>
90+
</Compile>
91+
<Compile Include="Properties\Resources.Designer.cs">
92+
<AutoGen>True</AutoGen>
93+
<DesignTime>True</DesignTime>
94+
<DependentUpon>Resources.resx</DependentUpon>
95+
</Compile>
96+
<Compile Include="Properties\Settings.Designer.cs">
97+
<AutoGen>True</AutoGen>
98+
<DependentUpon>Settings.settings</DependentUpon>
99+
<DesignTimeSharedInput>True</DesignTimeSharedInput>
100+
</Compile>
101+
<EmbeddedResource Include="Properties\Resources.resx">
102+
<Generator>ResXFileCodeGenerator</Generator>
103+
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
104+
</EmbeddedResource>
105+
<None Include="packages.config" />
106+
<None Include="Properties\Settings.settings">
107+
<Generator>SettingsSingleFileGenerator</Generator>
108+
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
109+
</None>
110+
</ItemGroup>
111+
<ItemGroup>
112+
<None Include="App.config" />
113+
</ItemGroup>
114+
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
115+
</Project>
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
<Window x:Class="Import_Excel_chart_into_PPTX_in_WPF.MainWindow"
2+
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
3+
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
4+
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
5+
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
6+
xmlns:local="clr-namespace:Import_Excel_chart_into_PPTX_in_WPF"
7+
mc:Ignorable="d"
8+
Title="MainWindow" Height="450" Width="800">
9+
<Grid>
10+
<Button x:Name="button" Content="Import an Excel chart into Presentation" Click="OnButtonClicked" HorizontalAlignment="Center" VerticalAlignment="Center"/>
11+
</Grid>
12+
</Window>

0 commit comments

Comments
 (0)