Skip to content

Commit

Permalink
Update examples for Lotus documents (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitry-t-aspos authored Dec 29, 2023
1 parent 9a75871 commit 52c9e45
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 4 deletions.
8 changes: 8 additions & 0 deletions Examples/GroupDocs.Viewer.Examples.CSharp.Core/RunExamples.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
using GroupDocs.Viewer.Examples.CSharp.HowTo;
using GroupDocs.Viewer.Examples.CSharp.QuickStart;
using GroupDocs.Viewer.Examples.CSharp.AdvancedUsage.Rendering.RenderingOptionsByDocumentType.RenderingWebDocuments;
using GroupDocs.Viewer.Examples.CSharp.AdvancedUsage.Rendering.RenderingOptionsByDocumentType.RenderingLotusNotesDataFiles;

namespace GroupDocs.Viewer.Examples.CSharp
{
Expand Down Expand Up @@ -199,6 +200,13 @@ static void Main()
//RenderingChmFiles.Run();
#endregion

#region Rendering Lotus messages

//RenderingNsf.Run();
//FilterLotusNotesMessages.Run();

#endregion

#endregion

#region Caching
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -201,6 +201,13 @@ static void Main()
//RenderingChmFiles.Run();
#endregion

#region Rendering Lotus messages

//RenderingNsf.Run();
//FilterLotusNotesMessages.Run();

#endregion

#endregion

#region Caching
Expand Down
12 changes: 10 additions & 2 deletions Examples/GroupDocs.Viewer.Examples.CSharp.NET6/RunExamples.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
using GroupDocs.Viewer.Examples.CSharp.HowTo;
using GroupDocs.Viewer.Examples.CSharp.QuickStart;
using GroupDocs.Viewer.Examples.CSharp.AdvancedUsage.Rendering.RenderingOptionsByDocumentType.RenderingWebDocuments;
using GroupDocs.Viewer.Examples.CSharp.AdvancedUsage.Rendering.RenderingOptionsByDocumentType.RenderingLotusNotesDataFiles;

Console.WriteLine("Open RunExamples.cs. \nIn Main() method uncomment the example that you want to run.");
Console.WriteLine("=====================================================");
Expand Down Expand Up @@ -153,9 +154,9 @@
//EnableLayeredRendering.Run();
//RenderOriginalPageSize.Run();
//DisableTextSelection.Run();
DisableFontLicenseVerifications.Run();
//DisableFontLicenseVerifications.Run();

#endregion
#endregion

#region Rendering MS Project Documents

Expand Down Expand Up @@ -192,6 +193,13 @@
//RenderingChmFiles.Run();
#endregion

#region Rendering Lotus messages

//RenderingNsf.Run();
//FilterLotusNotesMessages.Run();

#endregion

#endregion

#region Caching
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ public static void Run()
using (Viewer viewer = new Viewer(TestFiles.SAMPLE_NSF))
{
HtmlViewOptions options = HtmlViewOptions.ForEmbeddedResources(pageFilePathFormat);
//options.LotusNotesOptions.TextFilter = "April 2015";
options.LotusNotesOptions.AddressFilter = "[email protected]";
options.MailStorageOptions.TextFilter = "April 2015";
options.MailStorageOptions.AddressFilter = "[email protected]";

viewer.View(options);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@
<Compile Include="$(MSBuildThisFileDirectory)AdvancedUsage\Rendering\RenderingOptionsByDocumentType\RenderingImageFiles\RenderingWmzAndWmf.cs" />
<Compile Include="$(MSBuildThisFileDirectory)AdvancedUsage\Rendering\RenderingOptionsByDocumentType\RenderingImageFiles\RenderingSvgAndSvgz.cs" />
<Compile Include="$(MSBuildThisFileDirectory)AdvancedUsage\Rendering\RenderingOptionsByDocumentType\RenderingImageFiles\RenderingFodgAndOdg.cs" />
<Compile Include="$(MSBuildThisFileDirectory)AdvancedUsage\Rendering\RenderingOptionsByDocumentType\RenderingLotusNotesDataFiles\FilterLotusNotesMessages.cs" />
<Compile Include="$(MSBuildThisFileDirectory)AdvancedUsage\Rendering\RenderingOptionsByDocumentType\RenderingLotusNotesDataFiles\RenderingNsf.cs" />
<Compile Include="$(MSBuildThisFileDirectory)AdvancedUsage\Rendering\RenderingOptionsByDocumentType\RenderingMsProjectDocuments\AdjustTimeUnit.cs" />
<Compile Include="$(MSBuildThisFileDirectory)AdvancedUsage\Rendering\RenderingOptionsByDocumentType\RenderingMsProjectDocuments\GetViewInfoForProjectDocument.cs" />
Expand Down

0 comments on commit 52c9e45

Please sign in to comment.