diff --git a/.github/workflows/build-action.yml b/.github/workflows/build-action.yml
new file mode 100644
index 000000000..47d345a3a
--- /dev/null
+++ b/.github/workflows/build-action.yml
@@ -0,0 +1,26 @@
+#Builds on every commit to main.
+name: CI Build
+
+on:
+ push:
+ branches: [ features/net60 ]
+ pull_request:
+ branches: [ features/net60 ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v2
+ with:
+ dotnet-version: 7.0.x
+
+ - name: Restore dependencies
+ run: dotnet restore Source/HtmlRenderer.sln
+
+ - name: Debug Build
+ run: dotnet build Source/HtmlRenderer.sln --no-restore -p:Version=${{ format('0.9.{0}', github.run_number) }}
\ No newline at end of file
diff --git a/.github/workflows/release-action.yml b/.github/workflows/release-action.yml
new file mode 100644
index 000000000..dd99688b0
--- /dev/null
+++ b/.github/workflows/release-action.yml
@@ -0,0 +1,68 @@
+name: Release
+
+on:
+ push:
+ tags: [ v* ]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v3
+
+ #Extract the version from the github tag
+ - id: version
+ run: echo "::set-output name=version_str::`echo "${{ github.ref }}" | sed -n 's/.*v\(.*\)/\1/p'`"
+
+ - name: Create release
+ id: create_release
+ uses: actions/create-release@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # This token is provided by Actions, you do not need to create your own token
+ with:
+ tag_name: ${{ github.ref }}
+ release_name: Release ${{ github.ref }}
+ body: TODO - Document Changes for Tagged Release
+ draft: true
+ prerelease: ${{ contains(steps.version.outputs.version_str, '-') }}
+
+ - name: Setup .NET
+ uses: actions/setup-dotnet@v2
+ with:
+ dotnet-version: 7.0.x
+
+ - name: Restore dependencies
+ run: dotnet restore Source/HtmlRenderer.sln
+
+ - name: Release Build
+ run: dotnet build --no-restore Source/HtmlRenderer.sln -c Release -p:Version=${{ steps.version.outputs.version_str }}
+
+ - name: Pack
+ run: dotnet pack 'Source/HtmlRenderer.sln' --include-symbols --include-source --no-build -c Release -p:Version=${{ steps.version.outputs.version_str }} -p:SymbolPackageFormat=snupkg -o dist
+
+ - name: Add Nuget Packages as Release Asset
+ id: upload-release-asset-core
+ uses: actions/upload-release-asset@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ upload_url: ${{ steps.create_release.outputs.upload_url }}
+ asset_path: dist/ThreeCS.HtmlRenderer.${{ steps.version.outputs.version_str }}.nupkg
+ asset_name: ThreeCS.HtmlRenderer.${{ steps.version.outputs.version_str }}.nupkg
+ asset_content_type: application/octet-stream
+
+ - name: Add Skia Nuget Packages as Release Asset
+ id: upload-release-asset-skia
+ uses: actions/upload-release-asset@v1
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ with:
+ upload_url: ${{ steps.create_release.outputs.upload_url }}
+ asset_path: dist/ThreeCS.HtmlRenderer.SkiaSharp.${{ steps.version.outputs.version_str }}.nupkg
+ asset_name: ThreeCS.HtmlRenderer.SkiaSharp.${{ steps.version.outputs.version_str }}.nupkg
+ asset_content_type: application/octet-stream
+
+ - name: Push to Nuget
+ run: dotnet nuget push dist/ThreeCS.HtmlRenderer*.${{ steps.version.outputs.version_str }}.nupkg --api-key ${{ secrets.NUGET_ORG_MSTANCOMBE_KEY }} --source https://api.nuget.org/v3/index.json
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index ce3a150ad..6251d1d7f 100644
--- a/.gitignore
+++ b/.gitignore
@@ -107,4 +107,8 @@ _UpgradeReport_Files/
Backup*/
UpgradeLog*.XML
-*.DotSettings
\ No newline at end of file
+*.DotSettings
+
+Source/.vs/
+/Source/Demos/HtmlRenderer.Demo.Console/Output
+dist/
\ No newline at end of file
diff --git a/README.md b/README.md
index 5a21ca388..14983cc46 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
HTML Renderer [](https://ci.appveyor.com/project/ArthurHub/html-renderer)
=============
-## Help Wanted
+## Help wanted
* Looking for a contributor(s) to take this project forward as I'm unable to continue supporting it.
* Contribute directly to the repository and update nuget packages.
diff --git a/Source/Demo/Common/HtmlRenderer.Demo.Common.csproj b/Source/Demo/Common/HtmlRenderer.Demo.Common.csproj
deleted file mode 100644
index 7413cc397..000000000
--- a/Source/Demo/Common/HtmlRenderer.Demo.Common.csproj
+++ /dev/null
@@ -1,178 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {2390B71F-9400-47F4-B23A-7F2649C87D35}
- Library
- Properties
- TheArtOfDev.HtmlRenderer.Demo.Common
- HtmlRendererDemoCommon
- v2.0
- 512
-
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
-
-
-
-
-
-
-
-
- Resources.resx
- True
- True
-
-
-
-
-
-
-
-
-
-
-
-
- PublicResXFileCodeGenerator
- Resources.Designer.cs
- Designer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {FE611685-391F-4E3E-B27E-D3150E51E49B}
- HtmlRenderer
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/Source/Demo/Common/TestSamples/19.Many images.htm b/Source/Demo/Common/TestSamples/19.Many images.htm
deleted file mode 100644
index a7cd2582c..000000000
--- a/Source/Demo/Common/TestSamples/19.Many images.htm
+++ /dev/null
@@ -1,103 +0,0 @@
-
-
- Contains many images that should not load until in scroll view
- Image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
- Another image
-
-
-
\ No newline at end of file
diff --git a/Source/Demo/WPF/HtmlRenderer.Demo.WPF.csproj b/Source/Demo/WPF/HtmlRenderer.Demo.WPF.csproj
deleted file mode 100644
index 8c26cdcc4..000000000
--- a/Source/Demo/WPF/HtmlRenderer.Demo.WPF.csproj
+++ /dev/null
@@ -1,149 +0,0 @@
-
-
-
-
- Debug
- AnyCPU
- {F02E0216-4AE3-474F-9381-FCB93411CDB0}
- WinExe
- Properties
- TheArtOfDev.HtmlRenderer.Demo.WPF
- HtmlRendererWpfDemo
- v4.0
- 512
- {60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}
- 4
-
- ..\..\
- true
-
-
- x86
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
-
-
- AnyCPU
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
-
-
- html.ico
-
-
-
-
-
-
-
-
-
-
- ..\..\packages\Extended.Wpf.Toolkit.2.2.1\lib\net40\Xceed.Wpf.DataGrid.dll
-
-
- ..\..\packages\Extended.Wpf.Toolkit.2.2.1\lib\net40\Xceed.Wpf.Toolkit.dll
-
-
-
-
- MSBuild:Compile
- Designer
-
-
- GenerateImageWindow.xaml
-
-
- SampleWindow.xaml
-
-
-
- MSBuild:Compile
- Designer
-
-
- App.xaml
- Code
-
-
- DemoWindow.xaml
- Code
-
-
- Designer
- MSBuild:Compile
-
-
- Designer
- MSBuild:Compile
-
-
- Designer
- MSBuild:Compile
-
-
-
-
-
- MainControl.xaml
-
-
- Code
-
-
-
-
-
- {7e4e8db5-85ad-4388-bdcb-38c6f423b8b0}
- HtmlRenderer.WPF
-
-
- {fe611685-391f-4e3e-b27e-d3150e51e49b}
- HtmlRenderer
-
-
- {2390B71F-9400-47F4-B23A-7F2649C87D35}
- HtmlRenderer.Demo.Common
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- %(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension)
-
-
-
-
-
-
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
-
\ No newline at end of file
diff --git a/Source/Demo/WPF/Properties/AssemblyInfo.cs b/Source/Demo/WPF/Properties/AssemblyInfo.cs
deleted file mode 100644
index d5c8b4eb2..000000000
--- a/Source/Demo/WPF/Properties/AssemblyInfo.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-using System.Reflection;
-using System.Runtime.InteropServices;
-using System.Windows;
-
-// 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("HTML Renderer WPF Demo")]
-[assembly: AssemblyDescription("")]
-[assembly: AssemblyConfiguration("")]
-[assembly: AssemblyCompany("")]
-[assembly: AssemblyProduct("HTML Renderer WPF Demo")]
-[assembly: AssemblyCopyright("Copyright © 2013")]
-[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)]
-
-//In order to begin building localizable applications, set
-//CultureYouAreCodingWith in your .csproj file
-//inside a . For example, if you are using US english
-//in your source files, set the to en-US. Then uncomment
-//the NeutralResourceLanguage attribute below. Update the "en-US" in
-//the line below to match the UICulture setting in the project file.
-
-//[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
-
-
-[assembly: ThemeInfo(
- ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
- //(used if a resource is not found in the page,
- // or application resource dictionaries)
- ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
- //(used if a resource is not found in the page,
- // app, or any theme specific resource dictionaries)
- )]
-
-
-// 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")]
\ No newline at end of file
diff --git a/Source/Demo/WPF/packages.config b/Source/Demo/WPF/packages.config
deleted file mode 100644
index d3eaa3c6b..000000000
--- a/Source/Demo/WPF/packages.config
+++ /dev/null
@@ -1,4 +0,0 @@
-
-
-
-
\ No newline at end of file
diff --git a/Source/Demo/WinForms/HtmlRenderer.Demo.WinForms.csproj b/Source/Demo/WinForms/HtmlRenderer.Demo.WinForms.csproj
deleted file mode 100644
index 95dafc2f1..000000000
--- a/Source/Demo/WinForms/HtmlRenderer.Demo.WinForms.csproj
+++ /dev/null
@@ -1,198 +0,0 @@
-
-
-
- Debug
- AnyCPU
- 8.0.50727
- 2.0
- {8AD34FE8-8382-4A8A-B3AA-A0392ED42423}
- WinExe
- Properties
- TheArtOfDev.HtmlRenderer.Demo.WinForms
- HtmlRendererWinFormsDemo
- v2.0
-
-
-
-
- 2.0
- publish\
- true
- Disk
- false
- Foreground
- 7
- Days
- false
- false
- true
- 0
- 1.0.0.%2a
- false
- false
- true
-
-
- ..\..\
- true
-
-
- true
- full
- false
- bin\Debug\
- DEBUG;TRACE
- prompt
- 4
- AllRules.ruleset
- x86
- false
-
-
- pdbonly
- true
- bin\Release\
- TRACE
- prompt
- 4
- AllRules.ruleset
- x86
- false
-
-
- html.ico
-
-
-
- ..\..\packages\PDFsharp.1.50.4000-beta3b\lib\net20\PdfSharp.dll
- True
-
-
- ..\..\packages\PDFsharp.1.50.4000-beta3b\lib\net20\PdfSharp.Charting.dll
- True
-
-
-
-
-
-
-
-
-
- Form
-
-
- GenerateImageForm.cs
-
-
-
- UserControl
-
-
- MainControl.cs
-
-
- Form
-
-
- PerfForm.cs
-
-
- Form
-
-
- DemoForm.cs
-
-
-
-
- GenerateImageForm.cs
-
-
- MainControl.cs
-
-
- PerfForm.cs
- Designer
-
-
- Designer
- DemoForm.cs
-
-
- Form
-
-
- SampleForm.cs
-
-
-
-
- Designer
- SampleForm.cs
-
-
-
-
- False
- .NET Framework 3.5 SP1 Client Profile
- false
-
-
- False
- .NET Framework 3.5 SP1
- true
-
-
- False
- Windows Installer 3.1
- true
-
-
-
-
- {ca249f5d-9285-40a6-b217-5889ef79fd7e}
- HtmlRenderer.PdfSharp
-
-
- {1b058920-24b4-4140-8ae7-c8c6c38ca52d}
- HtmlRenderer.WinForms
-
-
- {fe611685-391f-4e3e-b27e-d3150e51e49b}
- HtmlRenderer
-
-
- {2390b71f-9400-47f4-b23a-7f2649c87d35}
- HtmlRenderer.Demo.Common
-
-
-
-
-
-
-
-
-
-
-
-
- This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is {0}.
-
-
-
-
-
-
- %(ReferenceCopyLocalPaths.Filename)%(ReferenceCopyLocalPaths.Extension)
-
-
-
-
-
\ No newline at end of file
diff --git a/Source/Demo/Common/DemoUtils.cs b/Source/Demos/HtmlRenderer.Demo.Common/DemoUtils.cs
similarity index 98%
rename from Source/Demo/Common/DemoUtils.cs
rename to Source/Demos/HtmlRenderer.Demo.Common/DemoUtils.cs
index f695886bc..61aece7b5 100644
--- a/Source/Demo/Common/DemoUtils.cs
+++ b/Source/Demos/HtmlRenderer.Demo.Common/DemoUtils.cs
@@ -74,8 +74,8 @@ public static string GetStylesheet(string src)
a:link { text-decoration: none; }
a:hover { text-decoration: underline; }
.gray { color:gray; }
- .example { background-color:#efefef; corner-radius:5px; padding:0.5em; }
- .whitehole { background-color:white; corner-radius:10px; padding:15px; }
+ .example { background-color:#efefef; border-radius:5px; padding:0.5em; }
+ .whitehole { background-color:white; border-radius:10px; padding:15px; }
.caption { font-size: 1.1em }
.comment { color: green; margin-bottom: 5px; margin-left: 3px; }
.comment2 { color: green; }";
diff --git a/Source/Demos/HtmlRenderer.Demo.Common/HtmlRenderer.Demo.Common.csproj b/Source/Demos/HtmlRenderer.Demo.Common/HtmlRenderer.Demo.Common.csproj
new file mode 100644
index 000000000..12bf0c0e8
--- /dev/null
+++ b/Source/Demos/HtmlRenderer.Demo.Common/HtmlRenderer.Demo.Common.csproj
@@ -0,0 +1,300 @@
+
+
+
+ net7.0
+ enable
+ disable
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+ PreserveNewest
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/Source/Demo/Common/HtmlSample.cs b/Source/Demos/HtmlRenderer.Demo.Common/HtmlSample.cs
similarity index 100%
rename from Source/Demo/Common/HtmlSample.cs
rename to Source/Demos/HtmlRenderer.Demo.Common/HtmlSample.cs
diff --git a/Source/Demo/Common/HtmlSyntaxHighlighter.cs b/Source/Demos/HtmlRenderer.Demo.Common/HtmlSyntaxHighlighter.cs
similarity index 100%
rename from Source/Demo/Common/HtmlSyntaxHighlighter.cs
rename to Source/Demos/HtmlRenderer.Demo.Common/HtmlSyntaxHighlighter.cs
diff --git a/Source/Demo/Common/PerfSamples/1.Big table.htm b/Source/Demos/HtmlRenderer.Demo.Common/PerfSamples/1.Big table.htm
similarity index 100%
rename from Source/Demo/Common/PerfSamples/1.Big table.htm
rename to Source/Demos/HtmlRenderer.Demo.Common/PerfSamples/1.Big table.htm
diff --git a/Source/Demo/Common/PerfSamples/2.Lots blocks in inline.htm b/Source/Demos/HtmlRenderer.Demo.Common/PerfSamples/2.Lots blocks in inline.htm
similarity index 100%
rename from Source/Demo/Common/PerfSamples/2.Lots blocks in inline.htm
rename to Source/Demos/HtmlRenderer.Demo.Common/PerfSamples/2.Lots blocks in inline.htm
diff --git a/Source/Demo/Common/Properties/AssemblyInfo.cs b/Source/Demos/HtmlRenderer.Demo.Common/Properties/AssemblyInfo.cs
similarity index 100%
rename from Source/Demo/Common/Properties/AssemblyInfo.cs
rename to Source/Demos/HtmlRenderer.Demo.Common/Properties/AssemblyInfo.cs
diff --git a/Source/Demo/Common/Properties/Resources.Designer.cs b/Source/Demos/HtmlRenderer.Demo.Common/Properties/Resources.Designer.cs
similarity index 95%
rename from Source/Demo/Common/Properties/Resources.Designer.cs
rename to Source/Demos/HtmlRenderer.Demo.Common/Properties/Resources.Designer.cs
index 8b1aa6a38..811f5d1c6 100644
--- a/Source/Demo/Common/Properties/Resources.Designer.cs
+++ b/Source/Demos/HtmlRenderer.Demo.Common/Properties/Resources.Designer.cs
@@ -1,7 +1,7 @@
//------------------------------------------------------------------------------
//
// This code was generated by a tool.
-// Runtime Version:4.0.30319.34014
+// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
@@ -19,7 +19,7 @@ namespace TheArtOfDev.HtmlRenderer.Demo.Common.Properties {
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
- [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
+ [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "17.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class Resources {
@@ -39,7 +39,7 @@ internal Resources() {
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
- global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("TheArtOfDev.HtmlRenderer.Demo.Common.Properties.Resources", typeof(Resources).Assembly);
+ global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("HtmlRenderer.Demo.Common.Properties.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
diff --git a/Source/Demo/Common/Properties/Resources.resx b/Source/Demos/HtmlRenderer.Demo.Common/Properties/Resources.resx
similarity index 99%
rename from Source/Demo/Common/Properties/Resources.resx
rename to Source/Demos/HtmlRenderer.Demo.Common/Properties/Resources.resx
index 081d86fd7..1f6a9275d 100644
--- a/Source/Demo/Common/Properties/Resources.resx
+++ b/Source/Demos/HtmlRenderer.Demo.Common/Properties/Resources.resx
@@ -137,6 +137,6 @@
..\Resources\code.png;System.Drawing.Bitmap, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
- ..\resources\browser.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
+ ..\Resources\browser.png;System.Drawing.Bitmap, System.Drawing, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
\ No newline at end of file
diff --git a/Source/Demo/Common/Resources.cs b/Source/Demos/HtmlRenderer.Demo.Common/Resources.cs
similarity index 97%
rename from Source/Demo/Common/Resources.cs
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources.cs
index 6370c567c..f4550c0c6 100644
--- a/Source/Demo/Common/Resources.cs
+++ b/Source/Demos/HtmlRenderer.Demo.Common/Resources.cs
@@ -96,7 +96,7 @@ public static string Tooltip
private static Stream GetManifestResourceStream(string name)
{
- return typeof(Resources).Assembly.GetManifestResourceStream("TheArtOfDev.HtmlRenderer.Demo.Common.Resources." + name);
+ return typeof(Resources).Assembly.GetManifestResourceStream("HtmlRenderer.Demo.Common.Resources." + name);
}
}
}
\ No newline at end of file
diff --git a/Source/Demo/Common/Resources/CustomFont.ttf b/Source/Demos/HtmlRenderer.Demo.Common/Resources/CustomFont.ttf
similarity index 100%
rename from Source/Demo/Common/Resources/CustomFont.ttf
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/CustomFont.ttf
diff --git a/Source/Demo/Common/Resources/Event16.png b/Source/Demos/HtmlRenderer.Demo.Common/Resources/Event16.png
similarity index 100%
rename from Source/Demo/Common/Resources/Event16.png
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/Event16.png
diff --git a/Source/Demo/Common/Resources/Tooltip.html b/Source/Demos/HtmlRenderer.Demo.Common/Resources/Tooltip.html
similarity index 100%
rename from Source/Demo/Common/Resources/Tooltip.html
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/Tooltip.html
diff --git a/Source/Demo/Common/Resources/browser.png b/Source/Demos/HtmlRenderer.Demo.Common/Resources/browser.png
similarity index 100%
rename from Source/Demo/Common/Resources/browser.png
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/browser.png
diff --git a/Source/Demo/Common/Resources/chrome.png b/Source/Demos/HtmlRenderer.Demo.Common/Resources/chrome.png
similarity index 100%
rename from Source/Demo/Common/Resources/chrome.png
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/chrome.png
diff --git a/Source/Demo/Common/Resources/code.png b/Source/Demos/HtmlRenderer.Demo.Common/Resources/code.png
similarity index 100%
rename from Source/Demo/Common/Resources/code.png
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/code.png
diff --git a/Source/Demo/Common/Resources/comment16.gif b/Source/Demos/HtmlRenderer.Demo.Common/Resources/comment16.gif
similarity index 100%
rename from Source/Demo/Common/Resources/comment16.gif
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/comment16.gif
diff --git a/Source/Demo/Common/Resources/delete16.gif b/Source/Demos/HtmlRenderer.Demo.Common/Resources/delete16.gif
similarity index 100%
rename from Source/Demo/Common/Resources/delete16.gif
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/delete16.gif
diff --git a/Source/Demo/Common/Resources/delete32.gif b/Source/Demos/HtmlRenderer.Demo.Common/Resources/delete32.gif
similarity index 100%
rename from Source/Demo/Common/Resources/delete32.gif
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/delete32.gif
diff --git a/Source/Demo/Common/Resources/favorites32.png b/Source/Demos/HtmlRenderer.Demo.Common/Resources/favorites32.png
similarity index 100%
rename from Source/Demo/Common/Resources/favorites32.png
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/favorites32.png
diff --git a/Source/Demo/Common/Resources/font32.png b/Source/Demos/HtmlRenderer.Demo.Common/Resources/font32.png
similarity index 100%
rename from Source/Demo/Common/Resources/font32.png
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/font32.png
diff --git a/Source/Demo/Common/Resources/form.png b/Source/Demos/HtmlRenderer.Demo.Common/Resources/form.png
similarity index 100%
rename from Source/Demo/Common/Resources/form.png
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/form.png
diff --git a/Source/Demo/Common/Resources/formula32.png b/Source/Demos/HtmlRenderer.Demo.Common/Resources/formula32.png
similarity index 100%
rename from Source/Demo/Common/Resources/formula32.png
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/formula32.png
diff --git a/Source/Demo/Common/Resources/html32.png b/Source/Demos/HtmlRenderer.Demo.Common/Resources/html32.png
similarity index 100%
rename from Source/Demo/Common/Resources/html32.png
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/html32.png
diff --git a/Source/Demo/Common/Resources/image.png b/Source/Demos/HtmlRenderer.Demo.Common/Resources/image.png
similarity index 100%
rename from Source/Demo/Common/Resources/image.png
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/image.png
diff --git a/Source/Demo/Common/Resources/image32.png b/Source/Demos/HtmlRenderer.Demo.Common/Resources/image32.png
similarity index 100%
rename from Source/Demo/Common/Resources/image32.png
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/image32.png
diff --git a/Source/Demo/Common/Resources/method16.gif b/Source/Demos/HtmlRenderer.Demo.Common/Resources/method16.gif
similarity index 100%
rename from Source/Demo/Common/Resources/method16.gif
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/method16.gif
diff --git a/Source/Demo/Common/Resources/pdf.png b/Source/Demos/HtmlRenderer.Demo.Common/Resources/pdf.png
similarity index 100%
rename from Source/Demo/Common/Resources/pdf.png
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/pdf.png
diff --git a/Source/Demo/Common/Resources/property16.gif b/Source/Demos/HtmlRenderer.Demo.Common/Resources/property16.gif
similarity index 100%
rename from Source/Demo/Common/Resources/property16.gif
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/property16.gif
diff --git a/Source/Demo/Common/Resources/stopwatch.png b/Source/Demos/HtmlRenderer.Demo.Common/Resources/stopwatch.png
similarity index 100%
rename from Source/Demo/Common/Resources/stopwatch.png
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/stopwatch.png
diff --git a/Source/Demo/Common/Resources/web_pallete.gif b/Source/Demos/HtmlRenderer.Demo.Common/Resources/web_pallete.gif
similarity index 100%
rename from Source/Demo/Common/Resources/web_pallete.gif
rename to Source/Demos/HtmlRenderer.Demo.Common/Resources/web_pallete.gif
diff --git a/Source/Demo/Common/Samples/00.Intro.htm b/Source/Demos/HtmlRenderer.Demo.Common/Samples/00.Intro.htm
similarity index 100%
rename from Source/Demo/Common/Samples/00.Intro.htm
rename to Source/Demos/HtmlRenderer.Demo.Common/Samples/00.Intro.htm
diff --git a/Source/Demo/Common/Samples/01.History.htm b/Source/Demos/HtmlRenderer.Demo.Common/Samples/01.History.htm
similarity index 100%
rename from Source/Demo/Common/Samples/01.History.htm
rename to Source/Demos/HtmlRenderer.Demo.Common/Samples/01.History.htm
diff --git a/Source/Demo/Common/Samples/02.Text.htm b/Source/Demos/HtmlRenderer.Demo.Common/Samples/02.Text.htm
similarity index 99%
rename from Source/Demo/Common/Samples/02.Text.htm
rename to Source/Demos/HtmlRenderer.Demo.Common/Samples/02.Text.htm
index 727d1fea4..b0ba57426 100644
--- a/Source/Demo/Common/Samples/02.Text.htm
+++ b/Source/Demos/HtmlRenderer.Demo.Common/Samples/02.Text.htm
@@ -2,11 +2,11 @@
Text
-
diff --git a/Source/Demo/Common/Samples/03.Tables.htm b/Source/Demos/HtmlRenderer.Demo.Common/Samples/03.Tables.htm
similarity index 100%
rename from Source/Demo/Common/Samples/03.Tables.htm
rename to Source/Demos/HtmlRenderer.Demo.Common/Samples/03.Tables.htm
diff --git a/Source/Demo/Common/Samples/04.Links.htm b/Source/Demos/HtmlRenderer.Demo.Common/Samples/04.Links.htm
similarity index 100%
rename from Source/Demo/Common/Samples/04.Links.htm
rename to Source/Demos/HtmlRenderer.Demo.Common/Samples/04.Links.htm
diff --git a/Source/Demo/Common/Samples/05.Images.htm b/Source/Demos/HtmlRenderer.Demo.Common/Samples/05.Images.htm
similarity index 100%
rename from Source/Demo/Common/Samples/05.Images.htm
rename to Source/Demos/HtmlRenderer.Demo.Common/Samples/05.Images.htm
diff --git a/Source/Demo/Common/Samples/06.Embeded video.htm b/Source/Demos/HtmlRenderer.Demo.Common/Samples/06.Embeded video.htm
similarity index 100%
rename from Source/Demo/Common/Samples/06.Embeded video.htm
rename to Source/Demos/HtmlRenderer.Demo.Common/Samples/06.Embeded video.htm
diff --git a/Source/Demo/Common/Samples/07.Additional features.htm b/Source/Demos/HtmlRenderer.Demo.Common/Samples/07.Additional features.htm
similarity index 84%
rename from Source/Demo/Common/Samples/07.Additional features.htm
rename to Source/Demos/HtmlRenderer.Demo.Common/Samples/07.Additional features.htm
index 764e9511c..bffd85781 100644
--- a/Source/Demo/Common/Samples/07.Additional features.htm
+++ b/Source/Demos/HtmlRenderer.Demo.Common/Samples/07.Additional features.htm
@@ -27,16 +27,16 @@
vertical-align: middle;
}
- .c1 { corner-radius: 0px; }
+ .c1 { border-radius: 0px; }
- .c2 { corner-radius: 10px; }
+ .c2 { border-radius: 10px; }
- .c3 { corner-radius: 0px 10px 10px 0px; }
+ .c3 { border-radius: 0px 10px 10px 0px; }
- .c4 { corner-radius: 18px; }
+ .c4 { border-radius: 18px; }
.c5 {
- corner-radius: 10px;
+ border-radius: 10px;
border: outset #BBBB00 2px;
}
@@ -121,15 +121,15 @@
In this renderer, the rounded corners are achieved by adding this CSS properties:
- corner-ne-radius: (length) Indicates the radius of the north-east corner.
+ border-top-right-radius: (length) Indicates the radius of the top-right corner.
Not ineritted
- corner-se-radius: (length) Indicates the radius of the south-east corner.
+ border-bottom-right-radius: (length) Indicates the radius of the bottom-right corner.
Not ineritted
- corner-sw-radius: (length) Indicates the radius of the south-west corner.
+ border-bottom-left-radius: (length) Indicates the radius of the bottom-left corner.
Not ineritted
- corner-nw-radius: (length) Indicates the radius of the north-west corner.
+ border-top-left-radius: (length) Indicates the radius of the top-left corner.
Not ineritted
- corner-radius: (length){1,4} Shorthand for the other corner properties.
+ border-radius: (length){1,4} Shorthand for the other corner properties.
Not ineritted
@@ -160,11 +160,11 @@
.c1, .c2, .c3, .c4, .c5 { background-color:olive; border:0px; color:white; vertical-align:middle; }
-.c1 { corner-radius: 0px }
-.c2 { corner-radius: 10px }
-.c3 { corner-radius: 0px 10px 10px 0px }
-.c4 { corner-radius: 18px }
-.c5 { corner-radius: 10px; border: outset #bb0 2px; }
+.c1 { border-radius: 0px }
+.c2 { border-radius: 10px }
+.c3 { border-radius: 0px 10px 10px 0px }
+.c4 { border-radius: 18px }
+.c5 { border-radius: 10px; border: outset #bb0 2px; }