Establishes the foundational structure, core Excel functionality, and tooling. - Implements base components for cells, ranges, columns, and rows. - Integrates a custom calculation engine with a wide range of Excel functions. - Adds comprehensive support for styling, conditional formatting, data validation, comments, pictures, and charts. - Configures build setup, project metadata (NuGet), and developer guidelines. - Includes editor and Git attributes for consistent code style and line endings.
45 lines
1017 B
C#
45 lines
1017 B
C#
using ClosedXML_Examples.PageSetup;
|
|
using NUnit.Framework;
|
|
|
|
namespace ClosedXML_Tests.Examples
|
|
{
|
|
[TestFixture]
|
|
public class PageSetupTests
|
|
{
|
|
[Test]
|
|
public void HeaderFooters()
|
|
{
|
|
TestHelper.RunTestExample<HeaderFooters>(@"PageSetup\HeaderFooters.xlsx");
|
|
}
|
|
|
|
[Test]
|
|
public void Margins()
|
|
{
|
|
TestHelper.RunTestExample<Margins>(@"PageSetup\Margins.xlsx");
|
|
}
|
|
|
|
[Test]
|
|
public void Page()
|
|
{
|
|
TestHelper.RunTestExample<Page>(@"PageSetup\Page.xlsx");
|
|
}
|
|
|
|
[Test]
|
|
public void SheetTab()
|
|
{
|
|
TestHelper.RunTestExample<SheetTab>(@"PageSetup\SheetTab.xlsx");
|
|
}
|
|
|
|
[Test]
|
|
public void Sheets()
|
|
{
|
|
TestHelper.RunTestExample<Sheets>(@"PageSetup\Sheets.xlsx");
|
|
}
|
|
|
|
[Test]
|
|
public void TwoPages()
|
|
{
|
|
TestHelper.RunTestExample<TwoPages>(@"PageSetup\TwoPages.xlsx");
|
|
}
|
|
}
|
|
} |