-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from zaheertariq/master
Initial commit Aspose.Cells vs NPOI.HSSF and XSSF
- Loading branch information
Showing
32 changed files
with
1,125 additions
and
1 deletion.
There are no files selected for viewing
50 changes: 50 additions & 0 deletions
50
Plugins/NPOI/Aspose.Cells vs NPOI.HSSF and XSSF/Aspose.Cells.Examples.2010.sln
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,50 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 11.00 | ||
# Visual Studio 2010 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "01.01-CreateNewWorkbook", "Aspose.Cells\01-WorkingWithWorkbook\01.01-CreateNewWorkbook\01.01-CreateNewWorkbook.csproj", "{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "01.02-AddDataInCells", "Aspose.Cells\01-WorkingWithWorkbook\01.02-AddDataInCells\01.02-AddDataInCells.csproj", "{16227E08-A3C7-4B34-B748-286BD101F395}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "01.03-SetPrintArea", "Aspose.Cells\01-WorkingWithWorkbook\01.03-SetPrintArea\01.03-SetPrintArea.csproj", "{70C99E18-30C1-4149-B9DB-253835EFEADB}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02.01-GettingCellContents", "Aspose.Cells\02-WorkingWithData\02.01-GettingCellContents\02.01-GettingCellContents.csproj", "{1883D209-20E9-4087-BBE1-0588AD59573C}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02.02-InsertHyperlinksInWorksheet", "Aspose.Cells\02-WorkingWithData\02.02-InsertHyperlinksInWorksheet\02.02-InsertHyperlinksInWorksheet.csproj", "{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02.03-NewLineInCells", "Aspose.Cells\02-WorkingWithData\02.03-NewLineInCells\02.03-NewLineInCells.csproj", "{7E845235-74AF-4F75-8C5B-AD317E73A6E3}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|x86 = Debug|x86 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}.Debug|x86.ActiveCfg = Debug|x86 | ||
{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}.Debug|x86.Build.0 = Debug|x86 | ||
{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}.Release|x86.ActiveCfg = Release|x86 | ||
{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}.Release|x86.Build.0 = Release|x86 | ||
{16227E08-A3C7-4B34-B748-286BD101F395}.Debug|x86.ActiveCfg = Debug|x86 | ||
{16227E08-A3C7-4B34-B748-286BD101F395}.Debug|x86.Build.0 = Debug|x86 | ||
{16227E08-A3C7-4B34-B748-286BD101F395}.Release|x86.ActiveCfg = Release|x86 | ||
{16227E08-A3C7-4B34-B748-286BD101F395}.Release|x86.Build.0 = Release|x86 | ||
{70C99E18-30C1-4149-B9DB-253835EFEADB}.Debug|x86.ActiveCfg = Debug|x86 | ||
{70C99E18-30C1-4149-B9DB-253835EFEADB}.Debug|x86.Build.0 = Debug|x86 | ||
{70C99E18-30C1-4149-B9DB-253835EFEADB}.Release|x86.ActiveCfg = Release|x86 | ||
{70C99E18-30C1-4149-B9DB-253835EFEADB}.Release|x86.Build.0 = Release|x86 | ||
{1883D209-20E9-4087-BBE1-0588AD59573C}.Debug|x86.ActiveCfg = Debug|x86 | ||
{1883D209-20E9-4087-BBE1-0588AD59573C}.Debug|x86.Build.0 = Debug|x86 | ||
{1883D209-20E9-4087-BBE1-0588AD59573C}.Release|x86.ActiveCfg = Release|x86 | ||
{1883D209-20E9-4087-BBE1-0588AD59573C}.Release|x86.Build.0 = Release|x86 | ||
{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}.Debug|x86.ActiveCfg = Debug|x86 | ||
{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}.Debug|x86.Build.0 = Debug|x86 | ||
{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}.Release|x86.ActiveCfg = Release|x86 | ||
{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}.Release|x86.Build.0 = Release|x86 | ||
{7E845235-74AF-4F75-8C5B-AD317E73A6E3}.Debug|x86.ActiveCfg = Debug|x86 | ||
{7E845235-74AF-4F75-8C5B-AD317E73A6E3}.Debug|x86.Build.0 = Debug|x86 | ||
{7E845235-74AF-4F75-8C5B-AD317E73A6E3}.Release|x86.ActiveCfg = Release|x86 | ||
{7E845235-74AF-4F75-8C5B-AD317E73A6E3}.Release|x86.Build.0 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
50 changes: 50 additions & 0 deletions
50
Plugins/NPOI/Aspose.Cells vs NPOI.HSSF and XSSF/Aspose.Cells.Examples.2012.sln
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,50 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2012 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "01.01-CreateNewWorkbook", "Aspose.Cells\01-WorkingWithWorkbook\01.01-CreateNewWorkbook\01.01-CreateNewWorkbook.csproj", "{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "01.02-AddDataInCells", "Aspose.Cells\01-WorkingWithWorkbook\01.02-AddDataInCells\01.02-AddDataInCells.csproj", "{16227E08-A3C7-4B34-B748-286BD101F395}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "01.03-SetPrintArea", "Aspose.Cells\01-WorkingWithWorkbook\01.03-SetPrintArea\01.03-SetPrintArea.csproj", "{70C99E18-30C1-4149-B9DB-253835EFEADB}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02.01-GettingCellContents", "Aspose.Cells\02-WorkingWithData\02.01-GettingCellContents\02.01-GettingCellContents.csproj", "{1883D209-20E9-4087-BBE1-0588AD59573C}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02.02-InsertHyperlinksInWorksheet", "Aspose.Cells\02-WorkingWithData\02.02-InsertHyperlinksInWorksheet\02.02-InsertHyperlinksInWorksheet.csproj", "{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02.03-NewLineInCells", "Aspose.Cells\02-WorkingWithData\02.03-NewLineInCells\02.03-NewLineInCells.csproj", "{7E845235-74AF-4F75-8C5B-AD317E73A6E3}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|x86 = Debug|x86 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}.Debug|x86.ActiveCfg = Debug|x86 | ||
{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}.Debug|x86.Build.0 = Debug|x86 | ||
{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}.Release|x86.ActiveCfg = Release|x86 | ||
{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}.Release|x86.Build.0 = Release|x86 | ||
{16227E08-A3C7-4B34-B748-286BD101F395}.Debug|x86.ActiveCfg = Debug|x86 | ||
{16227E08-A3C7-4B34-B748-286BD101F395}.Debug|x86.Build.0 = Debug|x86 | ||
{16227E08-A3C7-4B34-B748-286BD101F395}.Release|x86.ActiveCfg = Release|x86 | ||
{16227E08-A3C7-4B34-B748-286BD101F395}.Release|x86.Build.0 = Release|x86 | ||
{70C99E18-30C1-4149-B9DB-253835EFEADB}.Debug|x86.ActiveCfg = Debug|x86 | ||
{70C99E18-30C1-4149-B9DB-253835EFEADB}.Debug|x86.Build.0 = Debug|x86 | ||
{70C99E18-30C1-4149-B9DB-253835EFEADB}.Release|x86.ActiveCfg = Release|x86 | ||
{70C99E18-30C1-4149-B9DB-253835EFEADB}.Release|x86.Build.0 = Release|x86 | ||
{1883D209-20E9-4087-BBE1-0588AD59573C}.Debug|x86.ActiveCfg = Debug|x86 | ||
{1883D209-20E9-4087-BBE1-0588AD59573C}.Debug|x86.Build.0 = Debug|x86 | ||
{1883D209-20E9-4087-BBE1-0588AD59573C}.Release|x86.ActiveCfg = Release|x86 | ||
{1883D209-20E9-4087-BBE1-0588AD59573C}.Release|x86.Build.0 = Release|x86 | ||
{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}.Debug|x86.ActiveCfg = Debug|x86 | ||
{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}.Debug|x86.Build.0 = Debug|x86 | ||
{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}.Release|x86.ActiveCfg = Release|x86 | ||
{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}.Release|x86.Build.0 = Release|x86 | ||
{7E845235-74AF-4F75-8C5B-AD317E73A6E3}.Debug|x86.ActiveCfg = Debug|x86 | ||
{7E845235-74AF-4F75-8C5B-AD317E73A6E3}.Debug|x86.Build.0 = Debug|x86 | ||
{7E845235-74AF-4F75-8C5B-AD317E73A6E3}.Release|x86.ActiveCfg = Release|x86 | ||
{7E845235-74AF-4F75-8C5B-AD317E73A6E3}.Release|x86.Build.0 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
52 changes: 52 additions & 0 deletions
52
Plugins/NPOI/Aspose.Cells vs NPOI.HSSF and XSSF/Aspose.Cells.Examples.2013.sln
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,52 @@ | ||
|
||
Microsoft Visual Studio Solution File, Format Version 12.00 | ||
# Visual Studio 2013 | ||
VisualStudioVersion = 12.0.31101.0 | ||
MinimumVisualStudioVersion = 10.0.40219.1 | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "01.01-CreateNewWorkbook", "Aspose.Cells\01-WorkingWithWorkbook\01.01-CreateNewWorkbook\01.01-CreateNewWorkbook.csproj", "{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "01.02-AddDataInCells", "Aspose.Cells\01-WorkingWithWorkbook\01.02-AddDataInCells\01.02-AddDataInCells.csproj", "{16227E08-A3C7-4B34-B748-286BD101F395}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "01.03-SetPrintArea", "Aspose.Cells\01-WorkingWithWorkbook\01.03-SetPrintArea\01.03-SetPrintArea.csproj", "{70C99E18-30C1-4149-B9DB-253835EFEADB}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02.01-GettingCellContents", "Aspose.Cells\02-WorkingWithData\02.01-GettingCellContents\02.01-GettingCellContents.csproj", "{1883D209-20E9-4087-BBE1-0588AD59573C}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02.02-InsertHyperlinksInWorksheet", "Aspose.Cells\02-WorkingWithData\02.02-InsertHyperlinksInWorksheet\02.02-InsertHyperlinksInWorksheet.csproj", "{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}" | ||
EndProject | ||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "02.03-NewLineInCells", "Aspose.Cells\02-WorkingWithData\02.03-NewLineInCells\02.03-NewLineInCells.csproj", "{7E845235-74AF-4F75-8C5B-AD317E73A6E3}" | ||
EndProject | ||
Global | ||
GlobalSection(SolutionConfigurationPlatforms) = preSolution | ||
Debug|x86 = Debug|x86 | ||
Release|x86 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(ProjectConfigurationPlatforms) = postSolution | ||
{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}.Debug|x86.ActiveCfg = Debug|x86 | ||
{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}.Debug|x86.Build.0 = Debug|x86 | ||
{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}.Release|x86.ActiveCfg = Release|x86 | ||
{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}.Release|x86.Build.0 = Release|x86 | ||
{16227E08-A3C7-4B34-B748-286BD101F395}.Debug|x86.ActiveCfg = Debug|x86 | ||
{16227E08-A3C7-4B34-B748-286BD101F395}.Debug|x86.Build.0 = Debug|x86 | ||
{16227E08-A3C7-4B34-B748-286BD101F395}.Release|x86.ActiveCfg = Release|x86 | ||
{16227E08-A3C7-4B34-B748-286BD101F395}.Release|x86.Build.0 = Release|x86 | ||
{70C99E18-30C1-4149-B9DB-253835EFEADB}.Debug|x86.ActiveCfg = Debug|x86 | ||
{70C99E18-30C1-4149-B9DB-253835EFEADB}.Debug|x86.Build.0 = Debug|x86 | ||
{70C99E18-30C1-4149-B9DB-253835EFEADB}.Release|x86.ActiveCfg = Release|x86 | ||
{70C99E18-30C1-4149-B9DB-253835EFEADB}.Release|x86.Build.0 = Release|x86 | ||
{1883D209-20E9-4087-BBE1-0588AD59573C}.Debug|x86.ActiveCfg = Debug|x86 | ||
{1883D209-20E9-4087-BBE1-0588AD59573C}.Debug|x86.Build.0 = Debug|x86 | ||
{1883D209-20E9-4087-BBE1-0588AD59573C}.Release|x86.ActiveCfg = Release|x86 | ||
{1883D209-20E9-4087-BBE1-0588AD59573C}.Release|x86.Build.0 = Release|x86 | ||
{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}.Debug|x86.ActiveCfg = Debug|x86 | ||
{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}.Debug|x86.Build.0 = Debug|x86 | ||
{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}.Release|x86.ActiveCfg = Release|x86 | ||
{A42CF6F7-7B1F-4CBC-A4F5-BB756D05C5CD}.Release|x86.Build.0 = Release|x86 | ||
{7E845235-74AF-4F75-8C5B-AD317E73A6E3}.Debug|x86.ActiveCfg = Debug|x86 | ||
{7E845235-74AF-4F75-8C5B-AD317E73A6E3}.Debug|x86.Build.0 = Debug|x86 | ||
{7E845235-74AF-4F75-8C5B-AD317E73A6E3}.Release|x86.ActiveCfg = Release|x86 | ||
{7E845235-74AF-4F75-8C5B-AD317E73A6E3}.Release|x86.Build.0 = Release|x86 | ||
EndGlobalSection | ||
GlobalSection(SolutionProperties) = preSolution | ||
HideSolutionNode = FALSE | ||
EndGlobalSection | ||
EndGlobal |
55 changes: 55 additions & 0 deletions
55
...spose.Cells/01-WorkingWithWorkbook/01.01-CreateNewWorkbook/01.01-CreateNewWorkbook.csproj
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,55 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform> | ||
<ProductVersion>8.0.30703</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{4E0EA667-FE48-47E7-B39F-3EDE41DEC265}</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>CreateNewWorkbook</RootNamespace> | ||
<AssemblyName>CreateNewWorkbook</AssemblyName> | ||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Aspose.Cells"> | ||
<HintPath>..\..\..\Resources\Aspose.Cells.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Program.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
35 changes: 35 additions & 0 deletions
35
...NPOI.HSSF and XSSF/Aspose.Cells/01-WorkingWithWorkbook/01.01-CreateNewWorkbook/Program.cs
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,35 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using Aspose.Cells; | ||
|
||
namespace CreateNewWorkbook | ||
{ | ||
class Program | ||
{ | ||
static void Main(string[] args) | ||
{ | ||
//---------------------------------------------------- | ||
// NPOI | ||
//---------------------------------------------------- | ||
//IWorkbook workbook = new XSSFWorkbook(); | ||
//workbook.CreateSheet("Sheet A1"); | ||
//workbook.CreateSheet("Sheet A2"); | ||
//workbook.CreateSheet("Sheet A3"); | ||
|
||
//FileStream sw = File.Create("test.xlsx"); | ||
//workbook.Write(sw); | ||
//sw.Close(); | ||
|
||
//---------------------------------------------------- | ||
// Aspose.Cells | ||
//---------------------------------------------------- | ||
Workbook workbook = new Workbook(); // Creating a Workbook object | ||
workbook.Worksheets.Add("Sheet A1"); | ||
workbook.Worksheets.Add("Sheet A2"); | ||
workbook.Worksheets.Add("Sheet A3"); | ||
workbook.Save("test.xlsx", SaveFormat.Xlsx); //Workbooks can be saved in many formats | ||
|
||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...SF/Aspose.Cells/01-WorkingWithWorkbook/01.01-CreateNewWorkbook/Properties/AssemblyInfo.cs
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,36 @@ | ||
using System.Reflection; | ||
using System.Runtime.CompilerServices; | ||
using System.Runtime.InteropServices; | ||
|
||
// General Information about an assembly is controlled through the following | ||
// set of attributes. Change these attribute values to modify the information | ||
// associated with an assembly. | ||
[assembly: AssemblyTitle("CreateNewWorkbook")] | ||
[assembly: AssemblyDescription("")] | ||
[assembly: AssemblyConfiguration("")] | ||
[assembly: AssemblyCompany("")] | ||
[assembly: AssemblyProduct("CreateNewWorkbook")] | ||
[assembly: AssemblyCopyright("Copyright © 2015")] | ||
[assembly: AssemblyTrademark("")] | ||
[assembly: AssemblyCulture("")] | ||
|
||
// Setting ComVisible to false makes the types in this assembly not visible | ||
// to COM components. If you need to access a type in this assembly from | ||
// COM, set the ComVisible attribute to true on that type. | ||
[assembly: ComVisible(false)] | ||
|
||
// The following GUID is for the ID of the typelib if this project is exposed to COM | ||
[assembly: Guid("7c12f1b2-bf76-4739-8fa9-ec3d8c77c47f")] | ||
|
||
// Version information for an assembly consists of the following four values: | ||
// | ||
// Major Version | ||
// Minor Version | ||
// Build Number | ||
// Revision | ||
// | ||
// You can specify all the values or you can default the Build and Revision Numbers | ||
// by using the '*' as shown below: | ||
// [assembly: AssemblyVersion("1.0.*")] | ||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] |
Binary file added
BIN
+9.06 KB
... and XSSF/Aspose.Cells/01-WorkingWithWorkbook/01.01-CreateNewWorkbook/bin/Debug/test.xlsx
Binary file not shown.
55 changes: 55 additions & 0 deletions
55
...XSSF/Aspose.Cells/01-WorkingWithWorkbook/01.02-AddDataInCells/01.02-AddDataInCells.csproj
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,55 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<PropertyGroup> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> | ||
<Platform Condition=" '$(Platform)' == '' ">x86</Platform> | ||
<ProductVersion>8.0.30703</ProductVersion> | ||
<SchemaVersion>2.0</SchemaVersion> | ||
<ProjectGuid>{16227E08-A3C7-4B34-B748-286BD101F395}</ProjectGuid> | ||
<OutputType>Exe</OutputType> | ||
<AppDesignerFolder>Properties</AppDesignerFolder> | ||
<RootNamespace>AddDataInCells</RootNamespace> | ||
<AssemblyName>AddDataInCells</AssemblyName> | ||
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion> | ||
<FileAlignment>512</FileAlignment> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>full</DebugType> | ||
<Optimize>false</Optimize> | ||
<OutputPath>bin\Debug\</OutputPath> | ||
<DefineConstants>DEBUG;TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|x86' "> | ||
<PlatformTarget>x86</PlatformTarget> | ||
<DebugType>pdbonly</DebugType> | ||
<Optimize>true</Optimize> | ||
<OutputPath>bin\Release\</OutputPath> | ||
<DefineConstants>TRACE</DefineConstants> | ||
<ErrorReport>prompt</ErrorReport> | ||
<WarningLevel>4</WarningLevel> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<Reference Include="Aspose.Cells"> | ||
<HintPath>..\..\..\Resources\Aspose.Cells.dll</HintPath> | ||
</Reference> | ||
<Reference Include="System" /> | ||
<Reference Include="System.Data" /> | ||
<Reference Include="System.Xml" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="Program.cs" /> | ||
<Compile Include="Properties\AssemblyInfo.cs" /> | ||
</ItemGroup> | ||
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> | ||
<!-- To modify your build process, add your task inside one of the targets below and uncomment it. | ||
Other similar extension points exist, see Microsoft.Common.targets. | ||
<Target Name="BeforeBuild"> | ||
</Target> | ||
<Target Name="AfterBuild"> | ||
</Target> | ||
--> | ||
</Project> |
53 changes: 53 additions & 0 deletions
53
...vs NPOI.HSSF and XSSF/Aspose.Cells/01-WorkingWithWorkbook/01.02-AddDataInCells/Program.cs
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,53 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Text; | ||
using Aspose.Cells; | ||
|
||
namespace AddDataInCells | ||
{ | ||
class Program | ||
{ | ||
static void Main(string[] args) | ||
{ | ||
//---------------------------------------------------- | ||
// NPOI | ||
//---------------------------------------------------- | ||
//IWorkbook workbook = new XSSFWorkbook(); | ||
//ISheet sheet1 = workbook.CreateSheet("Sheet1"); | ||
//sheet1.CreateRow(0).CreateCell(0).SetCellValue("This is a Sample"); | ||
//int x = 1; | ||
//for (int i = 1; i <= 15; i++) | ||
//{ | ||
// IRow row = sheet1.CreateRow(i); | ||
// for (int j = 0; j < 15; j++) | ||
// { | ||
// row.CreateCell(j).SetCellValue(x++); | ||
// } | ||
//} | ||
//FileStream sw = File.Create("test.xlsx"); | ||
//workbook.Write(sw); | ||
//sw.Close(); | ||
|
||
//---------------------------------------------------- | ||
// Aspose.Cells | ||
//---------------------------------------------------- | ||
//Instantiating a Workbook object | ||
Workbook workbook = new Workbook(); | ||
|
||
//Accessing the added worksheet in the Excel file | ||
Worksheet worksheet = workbook.Worksheets[0]; | ||
|
||
int x = 1; | ||
for (int i = 1; i <= 15; i++) | ||
{ | ||
for (int j = 0; j < 15; j++) | ||
{ | ||
worksheet.Cells[i, j].Value = x++; | ||
} | ||
} | ||
|
||
workbook.Save("test.xlsx"); | ||
|
||
} | ||
} | ||
} |
Oops, something went wrong.