();
8 | static UniqueStringTable htmlUniqueStringTableTemplate = new UniqueStringTable();
9 | static HtmlPredefineNames()
10 | {
11 | int j = _wellKnownHtmlNameMap.Count;
12 | for (int i = 0; i < j; ++i)
13 | {
14 | htmlUniqueStringTableTemplate.AddStringIfNotExist(_wellKnownHtmlNameMap.GetStringFromValue((WellknownName)(i + 1)));
15 | }
16 | }
17 | public static UniqueStringTable CreateUniqueStringTableClone()
18 | {
19 | return htmlUniqueStringTableTemplate.Clone();
20 | }
21 | }
22 | }
--------------------------------------------------------------------------------
/Source/LayoutFarm.WebDom/4_WebDom.Impl/HtmlShadowDocument.cs:
--------------------------------------------------------------------------------
1 | //BSD, 2014-present, WinterDev
2 |
3 | namespace LayoutFarm.WebDom.Impl
4 | {
5 | class HtmlShadowDocument : HtmlDocument
6 | {
7 | //this is not document fragment ***
8 | HtmlDocument _primaryHtmlDoc;
9 | public HtmlShadowDocument(HtmlDocument primaryHtmlDoc)
10 | : base(primaryHtmlDoc.UniqueStringTable)
11 | {
12 | //share string table with primary html doc
13 | _primaryHtmlDoc = primaryHtmlDoc;
14 | }
15 | }
16 | }
--------------------------------------------------------------------------------
/Source/LayoutFarm.WebDom/4_WebDom.Impl/HtmlTextNode.cs:
--------------------------------------------------------------------------------
1 | //BSD, 2014-present, WinterDev
2 | //ArthurHub, Jose Manuel Menendez Poo
3 |
4 | namespace LayoutFarm.WebDom.Impl
5 | {
6 | public class HtmlTextNode : DomTextNode
7 | {
8 | //---------------------------------
9 | //this node may be simple text node
10 | bool _freeze;
11 | bool _hasSomeChar;
12 | public HtmlTextNode(WebDocument ownerDoc, char[] buffer)
13 | : base(ownerDoc, buffer)
14 | {
15 | }
16 | //
17 | public bool IsWhiteSpace => !_hasSomeChar;
18 | public bool IsFreeze => _freeze;
19 |
20 | #if DEBUG
21 | public override string ToString()
22 | {
23 | return new string(base.GetOriginalBuffer());
24 | }
25 | #endif
26 | public void WriteTextNode(DomTextWriter writer)
27 | {
28 | //write inner run
29 | writer.Write(this.GetOriginalBuffer());
30 | }
31 | }
32 | public enum TextSplitPartKind : byte
33 | {
34 | Text = 1,
35 | Whitespace,
36 | SingleWhitespace,
37 | LineBreak,
38 | }
39 | }
--------------------------------------------------------------------------------
/Source/LayoutFarm.WebDom/4_WebDom.Impl/SpecialHtmlElements.cs:
--------------------------------------------------------------------------------
1 | //BSD, 2014-present, WinterDev
2 |
3 | using System;
4 | namespace LayoutFarm.WebDom.Impl
5 | {
6 | sealed class HtmlRootElement : HtmlElement
7 | {
8 | public HtmlRootElement(HtmlDocument ownerDoc)
9 | : base(ownerDoc, 0, 0)
10 | {
11 | }
12 | #if DEBUG
13 | public override string ToString()
14 | {
15 | return "!root";
16 | }
17 | #endif
18 | }
19 |
20 |
21 |
22 |
23 | sealed class ShadowRootElement : HtmlElement
24 | {
25 | //note: this version is not conform with w3c
26 | HtmlShadowDocument _shadowDoc;
27 | public ShadowRootElement(HtmlDocument owner, int prefix, int localNameIndex)
28 | : base(owner, prefix, localNameIndex)
29 | {
30 | _shadowDoc = new HtmlShadowDocument(owner);
31 | _shadowDoc.SetDomUpdateHandler(owner.DomUpdateHandler);
32 | }
33 | public override void AddChild(DomNode childNode)
34 | {
35 | //add dom node to this node
36 | if (childNode.ParentNode != null)
37 | {
38 | throw new NotSupportedException("remove from its parent first");
39 | }
40 | _shadowDoc.RootNode.AddChild(childNode);
41 | }
42 | #if DEBUG
43 | public override string ToString()
44 | {
45 | return "shadow-root";
46 | }
47 | #endif
48 | }
49 | }
--------------------------------------------------------------------------------
/Source/LayoutFarm.WebDom/HtmlLexer/HtmlLexer.cs:
--------------------------------------------------------------------------------
1 | //BSD, 2014-present, WinterDev
2 |
3 | using LayoutFarm.WebLexer;
4 | namespace LayoutFarm.WebDom.Parser
5 | {
6 |
7 | public abstract partial class HtmlLexer
8 | {
9 | public event XmlLexerEventHandler LexStateChanged;
10 | protected void RaiseStateChanged(XmlLexerEvent lexEvent, int startIndex, int len)
11 | {
12 | LexStateChanged(lexEvent, startIndex, len);
13 | }
14 | public virtual void Analyze(TextSnapshot textSnapshot) { }
15 | public virtual void BeginLex()
16 | {
17 | }
18 | public virtual void EndLex()
19 | {
20 | }
21 | public static HtmlLexer CreateLexer()
22 | {
23 | return new MyHtmlLexer();
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Source/LayoutFarm.WebDom/HtmlLexer/MyHtmlLexer_dbug.cs:
--------------------------------------------------------------------------------
1 | //BSD, 2014-present, WinterDev
2 |
3 | using LayoutFarm.WebLexer;
4 | namespace LayoutFarm.WebDom.Parser
5 | {
6 | #if DEBUG
7 | partial class MyHtmlLexer
8 | {
9 | dbugLexerReport dbug_LexerReport;
10 | int dbug_currentLineCharIndex = -1;
11 | int dbug_currentLineNumber = 0;
12 | void dbug_OnStartAnalyze()
13 | {
14 | }
15 | void dbug_OnFinishAnalyze()
16 | {
17 | }
18 | public void dbugStartRecord(System.IO.StreamWriter writer)
19 | {
20 | dbug_LexerReport = new dbugLexerReport();
21 | dbug_LexerReport.Start(writer);
22 | }
23 |
24 | public void dbugEndRecord()
25 | {
26 | dbug_LexerReport.Flush();
27 | dbug_LexerReport = null;
28 | }
29 |
30 | void dbugReportChar(char c, int currentState)
31 | {
32 | if (dbug_LexerReport != null)
33 | {
34 | dbug_LexerReport.WriteLine("[" + dbug_currentLineNumber + " ," +
35 | dbug_currentLineCharIndex + "] state=" + currentState + " char=" + c);
36 | }
37 | }
38 | }
39 | #endif
40 | }
--------------------------------------------------------------------------------
/Source/LayoutFarm.YourHtmlWidget/5.1_HtmlWidgetBase/ComboBox.cs:
--------------------------------------------------------------------------------
1 | //Apache2, 2014-present, WinterDev
2 |
3 | namespace LayoutFarm.HtmlWidgets
4 | {
5 | public class ComboBox : HingeBox
6 | {
7 | public ComboBox(int w, int h)
8 | : base(w, h)
9 | {
10 | }
11 | }
12 | }
--------------------------------------------------------------------------------
/Source/LayoutFarm.YourHtmlWidget/5.1_HtmlWidgetBase/WidgetResList.cs:
--------------------------------------------------------------------------------
1 | //MIT, 2019-present, WinterDev
2 | using System;
3 | namespace LayoutFarm.HtmlWidgets
4 | {
5 |
6 | static class WidgetResList
7 | {
8 | //store 'built-in' resource list for our HtmlWidgetBase
9 | public const string opt_checked = "built_in://imgs/opt_checked.png";
10 | public const string opt_unchecked = "built_in://imgs/opt_unchecked.png";
11 | public const string chk_checked = "built_in://imgs/chk_checked.png";
12 | public const string chk_unchecked = "built_in://imgs/chk_unchecked.png";
13 | //
14 | public const string arrow_close = "built_in://imgs/arrow_close.png";
15 | public const string arrow_open = "built_in://imgs/arrow_open.png";
16 |
17 | //---------
18 |
19 | }
20 | }
--------------------------------------------------------------------------------
/Source/PaintLab.Sprite/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("PaintLab.Sprite")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("PaintLab.Sprite")]
13 | [assembly: AssemblyCopyright("Copyright © 2018")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("5c694901-f73a-4ab7-9fa6-024dd591c33e")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/Source/Test1_CoreVisual_New/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Windows.Forms;
3 | namespace TestGraphicPackage
4 | {
5 | static class Program
6 | {
7 | [STAThread]
8 | static void Main()
9 | {
10 | Application.EnableVisualStyles();
11 | Application.SetCompatibleTextRenderingDefault(false);
12 | Application.Run(new Form1());
13 |
14 | }
15 | }
16 | }
17 |
--------------------------------------------------------------------------------
/Source/Test1_CoreVisual_New/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 | [assembly: AssemblyTitle("TestGraphicPackage")]
5 | [assembly: AssemblyDescription("")]
6 | [assembly: AssemblyConfiguration("")]
7 | [assembly: AssemblyCompany("")]
8 | [assembly: AssemblyProduct("TestGraphicPackage")]
9 | [assembly: AssemblyCopyright("Copyright © 2014")]
10 | [assembly: AssemblyTrademark("")]
11 | [assembly: AssemblyCulture("")]
12 |
13 | [assembly: ComVisible(false)]
14 |
15 | [assembly: Guid("d6e8a053-50da-47b3-a817-ad9259dc376e")]
16 |
17 | //
18 | //
19 | [assembly: AssemblyVersion("1.0.0.0")]
20 | [assembly: AssemblyFileVersion("1.0.0.0")]
21 |
--------------------------------------------------------------------------------
/Source/Test1_CoreVisual_New/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Source/Test2_WebDomParsers/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Windows.Forms;
4 | namespace Test2_WebDomParsers
5 | {
6 | static class Program
7 | {
8 | ///
9 | /// The main entry point for the application.
10 | ///
11 | [STAThread]
12 | static void Main()
13 | {
14 | Application.EnableVisualStyles();
15 | Application.SetCompatibleTextRenderingDefault(false);
16 | Application.Run(new Form1());
17 | }
18 | }
19 | }
20 |
--------------------------------------------------------------------------------
/Source/Test2_WebDomParsers/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.34209
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Test2_WebDomParsers.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Source/Test2_WebDomParsers/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Source/Test2_WebDomParsers/SampleData/0_basic/test01.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Source/Test2_WebDomParsers/SampleData/1_large_and_errs/test01.html:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test2_WebDomParsers/SampleData/1_large_and_errs/test01.html
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/Demo/arrow_blank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml.One/Demo/arrow_blank.png
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/Demo/arrow_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml.One/Demo/arrow_close.png
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/Demo/arrow_open.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml.One/Demo/arrow_open.png
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/Demo/favorites32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml.One/Demo/favorites32.png
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/ExampleFolderConfig.cs:
--------------------------------------------------------------------------------
1 | //Apache2, 2014-2017, WinterDev
2 |
3 | using System;
4 | using System.Collections.Generic;
5 | using System.Windows.Forms;
6 | namespace TestGraphicPackage2
7 | {
8 | static class ExampleFolderConfig
9 | {
10 | public static void InitIcuData()
11 | {
12 | //string icu_dataFile = @"D:\WImageTest\icudt57l\icudt57l.dat";
13 | //LayoutFarm.TextBreak.ICU.NativeTextBreaker.SetICUDataFile(icu_dataFile);
14 |
15 | }
16 | public static string GetCheckFolder()
17 | {
18 | #if DEBUG
19 | string checkFolder = "\\Source\\Test3_MixHtml.One\\bin\\Debug";
20 | #else
21 | string checkFolder = "\\Source\\Test3_MixHtml.One\\bin\\Release";
22 | #endif
23 | return checkFolder;
24 |
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Test3_MixHtml.One.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/images/01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml.One/images/01.jpg
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/images/02.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml.One/images/02.jpg
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/images/03.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml.One/images/03.jpg
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/images/04.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml.One/images/04.jpg
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/images/05.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml.One/images/05.jpg
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/images/images.txt:
--------------------------------------------------------------------------------
1 | these images are not mine.
2 | just for test only
3 |
4 | from ...
5 | 01.jpg: http://www.komkid.com/wp-content/uploads/2011/12/7-days.jpg
6 | 02.jpg: http://www.chaoprayanews.com/wp-content/uploads/2012/07/12.jpg
7 | 03-05.jpg: http://www.nanmee.com/expositionHW&NF/6th/Exhibit.php
--------------------------------------------------------------------------------
/Source/Test3_MixHtml.One/images/sample01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml.One/images/sample01.png
--------------------------------------------------------------------------------
/Source/Test3_MixHtml/Demo/arrow_blank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml/Demo/arrow_blank.png
--------------------------------------------------------------------------------
/Source/Test3_MixHtml/Demo/arrow_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml/Demo/arrow_close.png
--------------------------------------------------------------------------------
/Source/Test3_MixHtml/Demo/arrow_open.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml/Demo/arrow_open.png
--------------------------------------------------------------------------------
/Source/Test3_MixHtml/Demo/favorites32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml/Demo/favorites32.png
--------------------------------------------------------------------------------
/Source/Test3_MixHtml/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("Test3_MixHtml")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("Test3_MixHtml")]
12 | [assembly: AssemblyCopyright("Copyright © 2014")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("7c50e0bc-6b6e-4cb0-b1ac-40416961b240")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/Source/Test3_MixHtml/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Source/Test3_MixHtml/images/01.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml/images/01.jpg
--------------------------------------------------------------------------------
/Source/Test3_MixHtml/images/02.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml/images/02.jpg
--------------------------------------------------------------------------------
/Source/Test3_MixHtml/images/03.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml/images/03.jpg
--------------------------------------------------------------------------------
/Source/Test3_MixHtml/images/04.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml/images/04.jpg
--------------------------------------------------------------------------------
/Source/Test3_MixHtml/images/05.jpg:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml/images/05.jpg
--------------------------------------------------------------------------------
/Source/Test3_MixHtml/images/images.txt:
--------------------------------------------------------------------------------
1 | these images are not mine.
2 | just for test only
3 |
4 | from ...
5 | 01.jpg: http://www.komkid.com/wp-content/uploads/2011/12/7-days.jpg
6 | 02.jpg: http://www.chaoprayanews.com/wp-content/uploads/2012/07/12.jpg
7 | 03-05.jpg: http://www.nanmee.com/expositionHW&NF/6th/Exhibit.php
--------------------------------------------------------------------------------
/Source/Test3_MixHtml/images/sample01.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test3_MixHtml/images/sample01.png
--------------------------------------------------------------------------------
/Source/Test3_MixHtml_SH/Demo_04/4.4_CssLeanBox.cs:
--------------------------------------------------------------------------------
1 | //Apache2, 2014-present, WinterDev
2 |
3 | using System.Text;
4 | using LayoutFarm.CustomWidgets;
5 | namespace LayoutFarm
6 | {
7 | [DemoNote("4.4 CssLeanBox")]
8 | class Demo_CssLeanBox : App
9 | {
10 | protected override void OnStart(AppHost host)
11 | {
12 | ////==================================================
13 | //html box
14 | HtmlBoxes.HtmlHost htmlHost = HtmlHostCreatorHelper.CreateHtmlHost(host, null, null);
15 | var htmlBox = new HtmlBox(htmlHost, 800, 400);
16 | StringBuilder stbuilder = new StringBuilder();
17 | stbuilder.Append("");
18 | stbuilder.Append("custom box1
");
19 | stbuilder.Append(" ");
20 | stbuilder.Append("custom box2
");
21 | stbuilder.Append(" ");
22 | stbuilder.Append("");
23 | htmlBox.LoadHtmlString(stbuilder.ToString());
24 | host.AddChild(htmlBox);
25 | //==================================================
26 |
27 | //textbox
28 | var textbox = new LayoutFarm.CustomWidgets.TextBox(400, 100, true);
29 | textbox.SetLocation(0, 200);
30 | host.AddChild(textbox);
31 | textbox.Focus();
32 | }
33 | }
34 | }
--------------------------------------------------------------------------------
/Source/Test3_MixHtml_SH/Demo_05/5.7_Demo_ListView.cs:
--------------------------------------------------------------------------------
1 | //Apache2, 2014-present, WinterDev
2 |
3 | namespace LayoutFarm.WebWidgets
4 | {
5 | [DemoNote("5.7 ListView")]
6 | class Demo_ListView : HtmlDemoBase
7 | {
8 | protected override void OnHtmlHostCreated()
9 | {
10 | var listview = new LayoutFarm.HtmlWidgets.ListView(100, 100);
11 | listview.SetLocation(30, 20);
12 | //add listview item
13 | for (int i = 0; i < 100; ++i)
14 | {
15 | var listItem = new HtmlWidgets.ListItem(100, 20);
16 | listItem.Text = "item" + i;
17 | listview.AddItem(listItem);
18 | }
19 | AddToViewport(listview);
20 | ////-------------------------------------------------------------------
21 | ////add vertical scrollbar
22 | //{
23 | // //vertical scrollbar
24 | // var vscbar = new LayoutFarm.HtmlWidgets.ScrollBar(15, 100);
25 | // vscbar.SetLocation(10, 20);
26 | // vscbar.MinValue = 0;
27 | // vscbar.MaxValue = 100;
28 | // vscbar.SmallChange = 20;
29 |
30 | // this.sampleViewport.AddContent(vscbar);
31 |
32 | // //add relation between viewpanel and scroll bar
33 | // //var scRelation = new LayoutFarm.HtmlWidgets.ScrollingRelation(vscbar, listview);
34 | //}
35 | }
36 | }
37 | }
--------------------------------------------------------------------------------
/Source/Test3_MixHtml_SH/Demo_05/5.8_Demo_Hinge.cs:
--------------------------------------------------------------------------------
1 | //Apache2, 2014-present, WinterDev
2 | using LayoutFarm.WebDom.Impl;
3 | using LayoutFarm.WebDom.Extension;
4 |
5 | namespace LayoutFarm.WebWidgets
6 | {
7 | [DemoNote("5.8 Hinge")]
8 | class Demo_Hinge : HtmlDemoBase
9 | {
10 | protected override void OnHtmlHostCreated()
11 | {
12 | //-------------------------------
13 | int boxX = 0;
14 | for (int i = 0; i < 1; ++i)
15 | {
16 | LayoutFarm.HtmlWidgets.HingeBox hingeBox = CreateHingeBox(100, 30);
17 | for (int m = 0; m < 10; ++m)
18 | {
19 | var div = (HtmlElement)_groundHtmlDoc.CreateElement("div");
20 | div.AddChild("div", div2 =>
21 | {
22 | div2.AddTextContent("HELLO!" + m);
23 | //div2.Tag = m.ToString();
24 | });
25 |
26 | hingeBox.AddItem(div);
27 | }
28 |
29 | hingeBox.SetLocation(boxX, 20);
30 | boxX += 100 + 2;
31 | AddToViewport(hingeBox);
32 | }
33 | }
34 | LayoutFarm.HtmlWidgets.HingeBox CreateHingeBox(int w, int h)
35 | {
36 | var hingeBox = new LayoutFarm.HtmlWidgets.HingeBox(w, h);
37 | //1. set land part detail
38 | //2. set float part detail
39 | return hingeBox;
40 | }
41 | }
42 | }
--------------------------------------------------------------------------------
/Source/Test3_MixHtml_SH/Test3_MixHtml_SH.shproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | bff5f427-429e-4b22-acbb-0c741ef63895
5 | 14.0
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Source/Test4_Neutral/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Test4_Neutral")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Test4_Neutral")]
13 | [assembly: AssemblyCopyright("Copyright © 2019")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("47b9575b-01ad-4e4c-9fc8-34eef262d87a")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/Source/Test4_Neutral/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Test4_Neutral.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "11.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Source/Test4_Neutral/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Source/Test4_Neutral/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Source/Test5_Ease/EaseComponents/MyWebConsole.cs:
--------------------------------------------------------------------------------
1 | //MIT, 2015-2017, WinterDev
2 |
3 | using System.Windows.Forms;
4 | namespace LayoutFarm.Scripting
5 | {
6 | ///
7 | /// simple
8 | ///
9 | class MyWebConsole
10 | {
11 | TextBox outputTextBox;
12 | public MyWebConsole(TextBox outputTextBox)
13 | {
14 | this.outputTextBox = outputTextBox;
15 | }
16 | [JsMethod]
17 | public void log(object obj)
18 | {
19 | outputTextBox.Text += obj.ToString();
20 | }
21 | }
22 | }
--------------------------------------------------------------------------------
/Source/Test5_Ease/Program.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Windows.Forms;
4 | using LayoutFarm.Ease;
5 | namespace Test5_Ease
6 | {
7 | static class Program
8 | {
9 | ///
10 | /// The main entry point for the application.
11 | ///
12 | [STAThread]
13 | static void Main()
14 | {
15 | EaseHost.LibEspr = @"D:\projects\HTML-Renderer\Source\Deps\ess_natives\libespr.dll";
16 | EaseHost.LoadLibEspr = true;
17 | EaseHost.IcuDataFile = @"D:\WImageTest\icudt57l\icudt57l.dat";
18 | EaseHostInitReport report = EaseHost.Check();
19 | if (report.HasSomeError)
20 | {
21 | throw new NotSupportedException();
22 | }
23 | EaseHost.Init();
24 |
25 | //----------------------------------------------------------------------------
26 |
27 | Application.EnableVisualStyles();
28 | Application.SetCompatibleTextRenderingDefault(false);
29 |
30 | Application.Run(new Form1());
31 | }
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/Source/Test5_Ease/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 | // General Information about an assembly is controlled through the following
5 | // set of attributes. Change these attribute values to modify the information
6 | // associated with an assembly.
7 | [assembly: AssemblyTitle("Test5_Ease")]
8 | [assembly: AssemblyDescription("")]
9 | [assembly: AssemblyConfiguration("")]
10 | [assembly: AssemblyCompany("")]
11 | [assembly: AssemblyProduct("Test5_Ease")]
12 | [assembly: AssemblyCopyright("Copyright © 2015")]
13 | [assembly: AssemblyTrademark("")]
14 | [assembly: AssemblyCulture("")]
15 |
16 | // Setting ComVisible to false makes the types in this assembly not visible
17 | // to COM components. If you need to access a type in this assembly from
18 | // COM, set the ComVisible attribute to true on that type.
19 | [assembly: ComVisible(false)]
20 |
21 | // The following GUID is for the ID of the typelib if this project is exposed to COM
22 | [assembly: Guid("673456ab-5ff9-49b8-b041-773228f0e868")]
23 |
24 | // Version information for an assembly consists of the following four values:
25 | //
26 | // Major Version
27 | // Minor Version
28 | // Build Number
29 | // Revision
30 | //
31 | // You can specify all the values or you can default the Build and Revision Numbers
32 | // by using the '*' as shown below:
33 | // [assembly: AssemblyVersion("1.0.*")]
34 | [assembly: AssemblyVersion("1.0.0.0")]
35 | [assembly: AssemblyFileVersion("1.0.0.0")]
36 |
--------------------------------------------------------------------------------
/Source/Test5_Ease/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.18444
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace Test5_Ease.Properties
12 | {
13 |
14 |
15 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
16 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
17 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase
18 | {
19 |
20 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
21 |
22 | public static Settings Default
23 | {
24 | get
25 | {
26 | return defaultInstance;
27 | }
28 | }
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/Source/Test5_Ease/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Source/Test6_WinNeutral/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Test6_WinNeutral")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Test6_WinNeutral")]
13 | [assembly: AssemblyCopyright("Copyright © 2017")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("461d6ec9-6cb3-4beb-88e2-679df8016229")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/Source/Test7_Win/Helper/EaseDomElement.cs:
--------------------------------------------------------------------------------
1 | //MIT, 2014-2017, WinterDev
2 |
3 | using PixelFarm.Drawing;
4 | using LayoutFarm.Composers;
5 | namespace LayoutFarm.Ease
6 | {
7 | public struct EaseDomElement
8 | {
9 | EaseScriptElement easeScriptElement;
10 | public EaseDomElement(WebDom.DomElement domElement)
11 | {
12 | this.easeScriptElement = new EaseScriptElement(domElement);
13 | }
14 | public void SetBackgroundColor(System.Drawing.Color c)
15 | {
16 | this.easeScriptElement.ChangeBackgroundColor(new Color(c.A, c.R, c.G, c.B));
17 | }
18 | }
19 | }
--------------------------------------------------------------------------------
/Source/Test7_Win/Helper/SampleViewport.cs:
--------------------------------------------------------------------------------
1 | //Apache2, 2014-2017, WinterDev
2 |
3 | using LayoutFarm.UI.WinNeutral;
4 |
5 | namespace LayoutFarm
6 | {
7 | public class SampleViewport
8 | {
9 | UISurfaceViewportControl vw;
10 | int primaryScreenWorkingAreaW;
11 | int primaryScreenWorkingAreaH;
12 |
13 | public SampleViewport(UISurfaceViewportControl vw)
14 | {
15 | this.vw = vw;
16 | // var workingArea = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea;
17 | this.primaryScreenWorkingAreaW = 800;// workingArea.Width;
18 | this.primaryScreenWorkingAreaH = 600;// orkingArea.Height;
19 | }
20 | public LayoutFarm.UI.UIPlatform Platform
21 | {
22 | get
23 | {
24 | return this.vw.Platform;
25 | }
26 | }
27 | public int PrimaryScreenWidth
28 | {
29 | get { return this.primaryScreenWorkingAreaW; }
30 | }
31 | public int PrimaryScreenHeight
32 | {
33 | get { return this.primaryScreenWorkingAreaH; }
34 | }
35 | public void AddContent(RenderElement renderElement)
36 | {
37 | this.vw.AddContent(renderElement);
38 | }
39 |
40 | public UISurfaceViewportControl ViewportControl
41 | {
42 | get { return this.vw; }
43 | }
44 | public RootGraphic Root
45 | {
46 | get { return this.vw.RootGfx; }
47 | }
48 | }
49 | }
--------------------------------------------------------------------------------
/Source/Test7_Win/Helper/SampleViewportExtension.cs:
--------------------------------------------------------------------------------
1 | //Apache2, 2014-2017, WinterDev
2 |
3 | using LayoutFarm.UI;
4 | namespace LayoutFarm
5 | {
6 | public static class SampleViewportExtension
7 | {
8 | public static void AddContent(this SampleViewport viewport, UIElement ui)
9 | {
10 | viewport.ViewportControl.AddContent(
11 | ui.GetPrimaryRenderElement(viewport.ViewportControl.RootGfx),
12 | ui);
13 | }
14 | }
15 | }
--------------------------------------------------------------------------------
/Source/Test7_Win/Helper2/EaseDomElement.cs:
--------------------------------------------------------------------------------
1 | //MIT, 2014-2017, WinterDev
2 |
3 | using LayoutFarm.Composers;
4 | namespace LayoutFarm.Ease
5 | {
6 | public struct EaseDomElement
7 | {
8 | EaseScriptElement easeScriptElement;
9 | public EaseDomElement(WebDom.DomElement domElement)
10 | {
11 | this.easeScriptElement = new EaseScriptElement(domElement);
12 | }
13 | //public void SetBackgroundColor(System.Drawing.Color c)
14 | //{
15 | // this.easeScriptElement.ChangeBackgroundColor(new Color(c.A, c.R, c.G, c.B));
16 | //}
17 | }
18 | }
--------------------------------------------------------------------------------
/Source/Test7_Win/MyNativeRGBA32BitsImage.cs:
--------------------------------------------------------------------------------
1 | //MIT, 2016-2017, WinterDev
2 | using System;
3 | namespace TestGlfw
4 | {
5 | //-----------------
6 | //for test/debug
7 | //sample only****
8 | //-----------------
9 |
10 | class MyNativeRGBA32BitsImage : IDisposable
11 | {
12 | int width;
13 | int height;
14 | int bitDepth;
15 | int stride;
16 | IntPtr unmanagedMem;
17 | public MyNativeRGBA32BitsImage(int width, int height)
18 | {
19 | //width and height must >0
20 | this.width = width;
21 | this.height = height;
22 | this.bitDepth = 32;
23 | this.stride = width * (32 / 8);
24 | unmanagedMem = System.Runtime.InteropServices.Marshal.AllocHGlobal(stride * height);
25 | //this.pixelBuffer = new byte[stride * height];
26 | }
27 | public IntPtr Scan0
28 | {
29 | get { return this.unmanagedMem; }
30 | }
31 | public int Stride
32 | {
33 | get { return this.stride; }
34 | }
35 | public void Dispose()
36 | {
37 | if (unmanagedMem != IntPtr.Zero)
38 | {
39 | System.Runtime.InteropServices.Marshal.FreeHGlobal(unmanagedMem);
40 | unmanagedMem = IntPtr.Zero;
41 | }
42 | }
43 | }
44 | }
--------------------------------------------------------------------------------
/Source/Test7_Win/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using System.Runtime.InteropServices;
4 |
5 | // General Information about an assembly is controlled through the following
6 | // set of attributes. Change these attribute values to modify the information
7 | // associated with an assembly.
8 | [assembly: AssemblyTitle("Test7_Win")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("Test7_Win")]
13 | [assembly: AssemblyCopyright("Copyright © 2017")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // Setting ComVisible to false makes the types in this assembly not visible
18 | // to COM components. If you need to access a type in this assembly from
19 | // COM, set the ComVisible attribute to true on that type.
20 | [assembly: ComVisible(false)]
21 |
22 | // The following GUID is for the ID of the typelib if this project is exposed to COM
23 | [assembly: Guid("b3047240-20cb-48fe-a6fb-2bba559c402c")]
24 |
25 | // Version information for an assembly consists of the following four values:
26 | //
27 | // Major Version
28 | // Minor Version
29 | // Build Number
30 | // Revision
31 | //
32 | // You can specify all the values or you can default the Build and Revision Numbers
33 | // by using the '*' as shown below:
34 | // [assembly: AssemblyVersion("1.0.*")]
35 | [assembly: AssemblyVersion("1.0.0.0")]
36 | [assembly: AssemblyFileVersion("1.0.0.0")]
37 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/002.1.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | display/box/float/clear test
4 |
5 |
33 |
34 |
35 |
36 | xyz
37 |
38 |
39 |
40 | abcd
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/002.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | display/box/float/clear test
4 |
5 |
33 |
34 |
35 |
36 | xyz
37 |
38 |
39 |
40 | abcd
41 |
42 |
43 |
44 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/003.3.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | test
4 |
5 |
6 |
7 | xyz
8 |
9 | 12345
10 |
sub1
11 |
sub2
12 | 67890
13 |
14 |
15 | abcde
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/003.4.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | test
4 |
5 |
6 |
7 | abcd
8 |
20 | 1234
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/003.9.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | display/box/float/clear test
4 |
5 |
43 |
44 |
45 |
46 | toggle
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/00_1.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | A
4 |
12 |
13 |
14 |
15 | bang1
16 |
17 |
18 |
19 |
20 |
21 | xxx
22 | xxxyyy
23 |
24 | zzz
25 |
26 |
27 | 1xxx
28 | 2xxxyyy
29 | 3zzz
30 |
31 |
32 | 4xxx
33 | 5xxxyyy
34 | 6zzz
35 |
36 |
37 |
38 |
39 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/00_input10.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | display/box/float/clear test
5 |
6 |
7 |
8 |
9 | AA=
10 |
11 |
12 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/00_input9.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | display/box/float/clear test
5 |
6 |
7 |
8 |
9 | bang1
10 | A
11 |
12 | 123456789
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/00_testspan.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 | hello1
10 | hello2
11 |
12 |
13 | hello3
14 | hello4
15 |
16 |
17 | hello5
18 | hello6
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/01_test_width.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | display/box/float/clear test
4 |
5 |
6 |
7 |
8 | bang1
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/arrow_blank.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/arrow_blank.png
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/arrow_close.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/arrow_close.png
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/arrow_open.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/arrow_open.png
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/check_buttons.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/check_buttons.png
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/chk_checked.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/chk_checked.png
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/chk_unchecked.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/chk_unchecked.png
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/drop_down_button.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/drop_down_button.png
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/favorites32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/favorites32.png
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/html32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/html32.png
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/opt_checked.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/opt_checked.png
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/opt_unchecked.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/0_acid1_dev/opt_unchecked.png
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/01_table1.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Tables
4 |
5 |
22 |
23 |
24 |
25 |
26 |
27 | A1
28 | A2
29 |
30 |
31 | B1
32 |
33 |
34 | B2
35 |
36 |
37 |
38 |
39 | C1
40 |
41 |
42 | C2
43 |
44 |
45 | C3
46 |
47 |
48 |
49 |
50 |
51 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/02_text.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | ABCDpqy123
8 |
9 |
10 |
11 | For years, I (Jose) have been planning for a project like this. I prepared
12 | my self quite well. I went through the entire CSS Level 2 specification along with
13 | the HTML 4.01 specification.
14 |
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/02_text1.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | For years, I (Jose) have been planning for a project like this. I prepared
9 | my self quite well. I went through the entire CSS Level 2 specification along with
10 | the HTML 4.01 specification.
11 |
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/03_text2.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 | A X B
9 |
10 | C E (MM)
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/04_text3.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
URI href
8 | A X B
9 |
10 | S B href="RRR"
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/05_add.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | AAA
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/06_txt.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
URI href
8 | A X B
9 |
10 | S B href="RRR"
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/07_1_ab2.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | About
4 |
5 |
6 |
7 |
8 | H
9 |
10 | A
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/07_ab.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | About
4 |
5 |
6 |
7 |
8 | H
9 |
10 |
11 | A
12 |
13 |
14 | B
15 |
16 |
17 | C
18 |
19 |
20 |
21 | D
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/08_link1.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Links
4 |
5 |
6 |
7 | Links
8 |
9 |
10 |
11 | X
12 |
13 |
14 |
Y
15 | Z
16 |
17 | M
18 |
19 | N O (href="P"
)
20 |
21 |
22 |
23 |
24 |
A
25 | B C D
26 |
27 | E F G
28 |
29 |
30 |
31 | L
32 |
33 |
34 |
35 |
36 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/08_link2.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Links
4 |
5 |
8 |
9 |
10 | Y
11 | N O (href="P"
)
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/09_text.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Text
4 |
5 |
6 |
7 |
8 | A
9 |
10 |
11 | C
12 | E
13 |
14 | XXXX
15 | L
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/10_td.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
23 |
24 |
25 |
26 |
27 |
28 | Just an image:
29 |
30 |
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/11_lines.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | ABCD
8 |
9 |
10 |
11 | BBBMMM OOO
12 | CCC
13 | DDD
14 |
15 |
16 | AAAA
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/12_table_image.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Intro
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | AAA
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/13_text.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Text
4 |
5 |
11 |
12 |
13 |
14 | public class HelloWorld
15 | {
16 | public HelloWorld()
17 | {
18 | MessageBox .Show("Hello World" );
19 | }
20 | }
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/14_table2.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Tables
4 |
5 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 | AAAAAAA AAAAAAAA AAAAAAAAAAAA AAAAAAAAAAAAAAA AAAAAAAAAAAAAAAAAAAAA
34 |
35 |
36 |
37 |
38 | 2
39 |
40 |
41 |
42 |
43 | Item two
44 |
45 | Sub item one
46 |
47 |
48 |
49 |
50 |
51 |
52 |
53 |
54 |
55 |
56 |
57 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/16_div.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | styles1
4 |
5 |
6 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/17_inlineblock.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | inline-block
4 |
5 |
6 |
7 | 111
8 | 222
9 |
333
10 | 444
11 |
12 | 555
13 |
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/18_inlineblock2.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | inline-block
4 |
5 |
6 |
7 | 1111
8 |
9 | 2222
10 |
3333
11 | 4444
12 |
16 | 7777
17 |
18 | 8888
19 |
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/19_inlineblock3.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | inline-block
4 |
5 |
6 |
7 | 1111a
8 |
9 | 2222a
10 |
11 |
12 | 3333a
13 | 4444a
14 |
15 |
16 | 5555a
17 | 6666a
18 |
19 |
20 |
21 | 7777a
22 |
23 |
24 | 1111b
25 |
26 | 2222b
27 |
28 |
29 | 3333b
30 | 4444b
31 |
32 |
33 | 5555b
34 | 6666b
35 |
36 |
37 |
38 | 7777b
39 |
40 |
41 |
42 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/20_inlineblock4.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | inline
4 |
5 |
6 |
7 |
8 | A0123
9 |
10 |
11 | B0123
12 |
13 |
14 | C0123
15 |
16 |
17 | D0123
18 |
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/21_canvas.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | canvas
4 |
5 |
6 |
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/22_abs_pos.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | absolute
4 |
5 |
6 |
7 |
8 | xyz
9 |
10 | 12345
11 | 123
12 | AboutMe
13 | 67890
14 |
15 | abc
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/23_relative_pos.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | absolute
4 |
5 |
6 |
7 |
8 | one
9 |
two
10 |
three
11 | 123
12 |
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/24_fixed_pos.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | fixed
4 |
5 |
6 |
7 |
8 | xyz
9 |
10 | 12345
11 | 123
12 | AboutMe
13 | 67890
14 |
15 | abc
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/25_center_pos.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | center
4 |
5 |
6 |
7 |
8 | xyz
9 |
10 | 12345
11 | 123
12 | AboutMe
13 | 67890
14 |
15 | abc
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/26_abs_pos2.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | padding
4 |
5 |
6 |
7 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/30_padding.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | padding
4 |
5 |
6 |
7 | A B C D
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/32_overflow_content.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | overflow
4 |
5 |
6 |
7 |
8 | A0123456789abcde B0123456789abcde C0123456789abcde
9 | D0123456789abcde E0123456789abcde F0123456789abcde
10 | G0123456789abcde H0123456789abcde I0123456789abcde
11 |
12 |
13 | L0123456789abcde M0123456789abcde N0123456789abcde
14 | O0123456789abcde P0123456789abcde Q0123456789abcde
15 | R0123456789abcde S0123456789abcde T0123456789abcde
16 |
17 |
18 | L0123456789abcde M0123456789abcde N0123456789abcde
19 | O0123456789abcde P0123456789abcde Q0123456789abcde
20 | R0123456789abcde S0123456789abcde T0123456789abcde
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/33_box_shadow1.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | styles1
4 |
5 |
6 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/40_div.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | div
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/50_input.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | inline-block
4 |
5 |
6 |
7 |
8 | AA
9 | BB
10 | click me!
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/51_htmlAttr.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | attrs
4 |
5 |
6 |
7 | hello!
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/52_box2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | attrs
4 |
5 |
6 |
11 |
12 |
13 | button1
14 |
15 |
16 |
17 | simple div
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/53_box_sizing.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
This div occupies the left half.
8 |
This div occupies the right half.
9 |
10 |
11 |
12 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/54_float1.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ab c
7 |
8 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/55_float2.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 | X1 yellow
8 | X2 lime
9 | A1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 redA1 red
10 | A2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2 blueA2
11 |
12 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/56_float3.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | aaaaaaaaaaaaaaaaaaaaa
7 | x1 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
8 | bbbbbbbbbbbbbbbbbbbb
9 | x2 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
10 | cccccccccccccccccccc
11 | x3 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
12 | dddddddddddddddddddd
13 | x
14 | aaaaaaaaaaaaaaaaaaaaa
15 | x1 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
16 | bbbbbbbbbbbbbbbbbbbb
17 | x2 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
18 | cccccccccccccccccccc
19 | x3 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12 12
20 | dddddddddddddddddddd
21 | x
22 |
23 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/57_float4.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | aaaaaaaaaaaaaaaaaaaaa
7 | x1 12 12 12 12 12 12 12x1 12 12 12 12 12 12 12 x
8 | y1 10 10 10 10 10 10 10y1 10 10 10 10 10 10 10 y
9 | z1 12 12 12 12 12 12 12z1 12 12 12 12 12 12 12 z
10 |
11 |
12 |
13 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/58_box_sizing2.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
This div occupies the left half.
9 |
This div occupies the left half.
10 |
11 |
12 |
13 | NEXT
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Basic/stylesheet1.css:
--------------------------------------------------------------------------------
1 | h1, h2, h3 { color: navy; font-weight:normal; }
2 | h1 { margin-bottom: .47em }
3 | h2 { margin-bottom: .3em }
4 | h3 { margin-bottom: .4em }
5 | ul { margin-top: .5em }
6 | ul li {margin: .25em}
7 | body { font:10pt Tahoma }
8 | pre { border:solid 1px gray; background-color:#eee; padding:1em }
9 | a:link { text-decoration: none; }
10 | a:hover { text-decoration: underline; }
11 | .gray { color:gray; }
12 | .example { background-color:#efefef; corner-radius:5px; padding:0.5em; }
13 | .whitehole { background-color:white; corner-radius:10px; padding:15px; }
14 | .caption { font-size: 1.1em }
15 | .comment { color: green; margin-bottom: 5px; margin-left: 3px; }
16 | .comment2 { color: green; }
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/ClassicSamples/00.Intro.3.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Intro
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | Everything you see on this panel is AAA
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/ClassicSamples/00.Intro.4.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Intro
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 | AAAA
15 |
16 |
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/ClassicSamples/00.Intro.5_SVG.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Intro
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | svg as img'src
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/ClassicSamples/00.Intro.5_SVG2.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Intro
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 | svg as img'src
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 | svg as img'src
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | svg as img'src
33 |
34 |
35 |
36 |
37 |
38 |
39 |
40 |
41 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/ClassicSamples/00.Intro2.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Intro
4 |
5 |
6 |
7 |
8 |
9 |
10 | OKOK
11 |
12 |
13 | AAA
14 |
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/ClassicSamples/html32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/ClassicSamples/html32.png
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/ClassicSamples/stylesheet1.css:
--------------------------------------------------------------------------------
1 | h1, h2, h3 { color: navy; font-weight:normal; }
2 | h1 { margin-bottom: .47em }
3 | h2 { margin-bottom: .3em }
4 | h3 { margin-bottom: .4em }
5 | ul { margin-top: .5em }
6 | ul li {margin: .25em}
7 | body { font:10pt Tahoma }
8 | pre { border:solid 1px gray; background-color:#eee; padding:1em }
9 | a:link { text-decoration: none; }
10 | a:hover { text-decoration: underline; }
11 | .gray { color:gray; }
12 | .example { background-color:#efefef; border-radius:5px; padding:0.5em; }
13 | .whitehole { background-color:white; border-radius:10px; padding:15px; }
14 | .caption { font-size: 1.1em }
15 | .comment { color: green; margin-bottom: 5px; margin-left: 3px; }
16 | .comment2 { color: green; }
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Experiment/1_simple_flex.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | simple flex
4 |
5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
12 |
13 |
1
14 |
2
15 |
3
16 |
4
17 |
18 |
19 |
1
20 |
2
21 |
3
22 |
4
23 |
24 |
25 |
1
26 |
2
27 |
3
28 |
4
29 |
30 |
31 |
32 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Experiment/2_flex2.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | simple flex2
4 |
5 |
6 |
7 |
1
8 |
2
9 |
3
10 |
4
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Experiment/3_ext_flex.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | just my extension, no w3c standard
4 |
5 |
6 |
7 |
A
8 |
B
9 |
C
10 |
D
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Experiment/4_custom_element.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | just my extension, no w3c standard
4 |
5 |
6 |
7 |
8 | A
9 |
10 |
11 | B
12 |
13 |
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Experiment/5_template.html:
--------------------------------------------------------------------------------
1 |
2 |
3 | just my extension, no w3c standard
4 |
5 |
6 |
7 | Hello from template!
8 |
9 |
10 | hello!
11 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Fonts/SOV_Thanamas.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/Fonts/SOV_Thanamas.ttf
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Fonts/SOV_Thanamas_readme_uvSOV.txt:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/Fonts/SOV_Thanamas_readme_uvSOV.txt
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Fonts/latinmodern-math.otf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/Fonts/latinmodern-math.otf
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/PerfSamples/1.Big table.htm:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/PerfSamples/1.Big table.htm
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Svg/freepik/README.md:
--------------------------------------------------------------------------------
1 | Icons made by a http.www.freepik.com
2 | from www.flaticon.com
3 | licensed by Creative Commons BY 3.0 (http://creativecommons.org/licenses/by/3.0/)
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Svg/freepik/dog1.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
5 |
6 |
7 |
10 |
12 |
13 |
14 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Svg/others/README.MD:
--------------------------------------------------------------------------------
1 | NOTES:
2 |
3 | cat_complex.svg, cat_simple.svg were taken from https://archive.org/details/siamesecats00vand page 46
4 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Svg/others/img01.svg:
--------------------------------------------------------------------------------
1 |
3 |
4 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Svg/others/svg16_marker.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
8 |
9 |
10 |
11 |
12 |
14 |
15 |
16 |
17 |
18 |
19 |
21 |
22 |
23 |
25 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Svg/others/svg17_use.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/Svg/others/text.svg:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Magma chamber
5 | Lava flow
6 |
7 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/html32.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/html32.png
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg01.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 |
13 |
14 |
15 | OKOK
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg02.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 |
13 |
15 |
16 | OKOK
17 |
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg03_rounds.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 |
13 | OKOK
14 |
15 |
16 |
17 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg04_lines.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 |
13 |
14 | OKOK!
15 |
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg04_text.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 |
20 |
21 | My
22 | cat
23 | is
24 | Grumpy!
25 | OKOK!
26 | Hello!
27 |
28 |
29 |
30 |
31 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg05_gradient.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 | OKOK
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg06_path.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 |
13 |
14 |
15 | OKOK
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg07_path2.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 |
14 |
16 |
18 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 | OKOK
28 |
29 |
30 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg08_image.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 |
13 | OKOK
14 |
15 |
16 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg09_path3.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 | OKOK
13 |
14 |
15 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg10_arc.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
13 |
15 |
16 |
22 |
23 | OKOK
24 |
25 |
26 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg11_arc.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 | OKOK
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg12_arc.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 | OKOK
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg13_curve.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 |
13 |
14 |
15 | OKOK
16 |
17 |
18 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg14_svg.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg15_curve.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
7 |
8 |
9 | Hello SVG!
10 |
11 |
12 |
15 |
16 |
17 | OKOK
18 |
19 |
20 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/SvgSamples/svg20_as_img_src.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | Hello SVG!
7 |
8 |
9 |
10 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/01.Header.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Stub simple text
4 |
5 | H1 Header text
6 | Stub simple text
7 |
8 | H2 Header text
9 | Stub simple text
10 |
11 | H3 Header text
12 | Stub simple text
13 |
14 | H4 Header text
15 | Stub simple text
16 |
17 | H5 Header text
18 | Stub simple text
19 |
20 | H6 Header text
21 | Stub simple text
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/03.Paragraphs.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Case 1
4 |
5 |
2009 Jose Manuel Menendez Poo
6 |
7 |
8 | Case 2
9 |
10 | 2009 Jose Manuel Menendez Poo
11 |
12 |
13 | Case 3
14 |
15 | Text
16 |
17 |
18 | Case 4
19 |
20 |
Text
21 |
22 |
23 | Case 5
24 |
25 | Text
26 |
About
27 |
28 | 2009 Jose Manuel Menendez Poo
29 |
30 | Case 6
31 |
32 | Text
33 | About
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/04.Blockquotes.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Case 1
4 | Text
5 |
6 | Case 2
7 |
8 | Text
9 |
10 |
11 | Case 3
12 |
13 | Text
14 |
15 |
16 | Case 4
17 |
18 | Text
19 |
20 |
21 | Case 5
22 |
23 | Text
24 |
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/05.Images.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Inline image
4 |
5 |
6 | Block image
7 |
8 |
9 | Case 1
10 |
11 | Text
12 |
13 | Case 2
14 | Text1
15 |
16 | Text2
17 |
18 | Case 3
19 | Text1
20 | Text2
21 |
22 | Text3
23 | Text4
24 |
25 | Case 4
26 | Text1
27 | Text2
28 |
29 | Text3
30 | Text4
31 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/06.External Image.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | Local File:
5 |
6 |
7 |
8 |
9 | From web:
10 |
11 |
12 |
13 |
14 | GIF:
15 |
16 |
17 |
18 |
19 | By event:
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/08.White-space.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | The ',' after hello need to wrap with hello and not seperatly: hello , world
5 |
6 |
7 |
8 | 1. image001.jpg , 2. image002.jpg , 3. image003.jpg
9 |
10 |
11 |
12 | //Example of code using preformatted text
13 | public class HelloWorld
14 | {
15 | public HelloWorld()
16 | {
17 | MessageBox .Show("Hello World" );
18 | }
19 | }
20 |
21 |
22 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/09.Inline.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | codePlex
5 |
6 |
7 |
8 | code Plex
9 |
10 |
11 |
14 |
15 | CodePlex codePlex code
16 |
17 |
18 | Hello World
19 |
20 |
21 | Hello World
22 |
23 |
24 | Hello World
25 |
26 |
27 |
28 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/10.BlockInInline.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
1 a
5 |
6 | b
7 |
8 | c d 2
9 |
10 |
11 |
12 |
13 | Client Binaries
14 |
15 |
16 |
17 |
18 | sdf
19 |
20 |
21 |
22 |
23 | Text1
24 | Text2
25 | Text3
26 |
27 |
28 |
29 | Text1
30 | Text2
31 |
32 |
33 |
38 |
39 |
40 |
41 |
42 | 1
43 | 2
44 |
45 |
46 |
47 | text text
48 | bla
49 |
50 |
51 |
52 |
53 | 1
54 |
55 | 2
56 |
57 |
58 | 3
59 |
60 |
61 |
62 | 4
63 |
64 |
65 |
66 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/11.LineHeight.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | Control line height
4 |
5 | Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ornare mollis
6 | elit. Integer sagittis. Fusce elementum commodo felis. Vivamus lacinia eleifend
7 | libero. Donec lacus. Nam sit amet urna. Nullam nulla. Donec accumsan porta magna.
8 | Mauris a dolor eu elit rutrum commodo. Nam iaculis turpis non augue. Nullam lobortis
9 | egestas risus. Nulla elementum dolor ac mauris. Ut tristique. In varius volutpat
10 | metus. Integer leo dolor, tristique a, dignissim ac, iaculis eget, elit. Donec arcu.
11 |
12 |
13 | Limit block height with overflow: hidden
14 |
15 |
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Curabitur ornare mollis
16 | elit. Integer sagittis. Fusce elementum commodo felis. Vivamus lacinia eleifend
17 | libero. Donec lacus. Nam sit amet urna. Nullam nulla. Donec accumsan porta magna.
18 | Mauris a dolor eu elit rutrum commodo. Nam iaculis turpis non augue. Nullam lobortis
19 | egestas risus. Nulla elementum dolor ac mauris. Ut tristique. In varius volutpat
20 | metus. Integer leo dolor, tristique a, dignissim ac, iaculis eget, elit. Donec arcu.
21 |
22 |
23 |
24 |
25 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/14.Iframes.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Youtube
6 |
7 | VIDEO
9 |
10 |
11 |
12 | Vimeo
13 |
14 |
16 |
17 |
18 |
19 | Not video iframe
20 |
21 |
23 |
24 |
25 |
26 |
27 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/16.Borders.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | simple border 1px
7 |
8 |
9 |
10 |
11 | simple border 3px
12 |
13 |
14 |
15 |
16 | border 1px with corner-radius 5px
17 |
18 |
19 |
20 |
21 | border 2px with corner-radius 10px
22 |
23 |
24 |
25 |
26 | dotted border 1px
27 |
28 |
29 |
30 |
31 | dotted border 3px
32 |
33 |
34 |
35 |
36 | dashed border 1px
37 |
38 |
39 |
40 |
41 | dashed border 2px with corner-radius 10px
42 |
43 |
44 |
45 |
46 |
47 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/17.Languages.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
Validate Unicode rendering
5 |
العربية
6 |
Bahasa Indonesia
7 |
Bahasa Melayu
8 |
Български
9 |
Català
10 |
Česky
11 |
Dansk
12 |
Deutsch
13 |
Eesti
14 |
Ελληνικά
15 |
Español
16 |
Esperanto
17 |
Euskara
18 |
فارسی
19 |
Français
20 |
Galego
21 |
한국어
22 |
עברית
23 |
Hrvatski
24 |
Italiano
25 |
Lietuvių
26 |
Magyar
27 |
Nederlands
28 |
日本語
29 |
Norsk bokmål
30 |
Norsk nynorsk
31 |
Polski
32 |
Português
33 |
Română
34 |
Русский
35 |
Slovenčina
36 |
Slovenščina
37 |
Српски / srpski
38 |
Srpskohrvatski / српскохрватски
39 |
Suomi
40 |
Svenska
41 |
ไทย
42 |
Tiếng Việt
43 |
Türkçe
44 |
Українська
45 |
中文
46 |
47 |
48 |
49 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/22.RTL.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
שלום עולם, יש ברבורים בעגם הזה
5 |
6 |
שלום עולם, יש ברבורים בעגם הזה
7 |
שלום עולם, יש ברבורים בעגם הזה
8 |
9 |
10 |
11 |
שלום עולם,hello world יש ברבורים בעגם הזה
12 |
13 |
שלום עולם, יש ברבורים בעגם הזה
14 |
שלום עולם, יש ברבורים בעגם הזה
15 |
16 |
17 |
18 |
19 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/30.Misc.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 | Single whitespace in seperate element
6 |
7 |
8 | Multiple whitespaces in seperate element
9 | using
10 |
11 |
12 | TOP
13 |
14 |
15 | there are margin with percentage
16 |
17 |
18 | BOTTOM
19 |
20 |
21 |
22 | Line through : Text Text Text Text
23 |
24 |
25 |
26 |
27 | Text END
28 |
29 |
30 |
35 |
36 |
37 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/TestSamples/40.mathml.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 | ∫
7 | 0
8 | 1
9 |
10 |
11 |
12 | ⅇ
13 | x
14 |
15 |
16 |
17 | ⅆ
18 | x
19 |
20 |
21 |
22 |
23 |
24 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/WordSplit/1.th_TH.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | styles1
4 |
5 |
6 |
7 |
8 | ผู้ใหญ่หาผ้าใหม่ ให้สะใภ้ใช้คล้องคอ
9 | ใฝ่ใจเอาใส่ห่อ มิหลงใหลใครขอดู
10 | จะใคร่ลงเรือใบ ดูน้ำใสและปลาปู
11 | สิ่งใดอยู่ในตู้ มิใช่อยู่ใต้ตั่งเตียง
12 | บ้าใบ้ถือใยบัว หูตามัวมาใกล้เคียง
13 | เล่าท่องอย่าละเลี่ยง ยี่สิบม้วนจำจงดี
14 |
15 |
16 |
17 |
18 | ผู้ใหญ่หาผ้าใหม่ ให้สะใภ้ใช้คล้องคอ
19 | ใฝ่ใจเอาใส่ห่อ มิหลงใหลใครขอดู
20 | จะใคร่ลงเรือใบ ดูน้ำใสและปลาปู
21 | สิ่งใดอยู่ในตู้ มิใช่อยู่ใต้ตั่งเตียง
22 | บ้าใบ้ถือใยบัว หูตามัวมาใกล้เคียง
23 | เล่าท่องอย่าละเลี่ยง ยี่สิบม้วนจำจงดี
24 |
25 |
26 |
27 |
28 | ผู้ใหญ่หาผ้าใหม่ ให้สะใภ้ใช้คล้องคอ
29 | ใฝ่ใจเอาใส่ห่อ มิหลงใหลใครขอดู
30 | จะใคร่ลงเรือใบ ดูน้ำใสและปลาปู
31 | สิ่งใดอยู่ในตู้ มิใช่อยู่ใต้ตั่งเตียง
32 | บ้าใบ้ถือใยบัว หูตามัวมาใกล้เคียง
33 | เล่าท่องอย่าละเลี่ยง ยี่สิบม้วนจำจงดี
34 |
35 |
36 |
37 |
38 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/WordSplit/2.Symbols.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | styles1
4 |
5 |
6 |
7 |
8 | lmnopq(123+456*789/abcd)
9 |
10 |
11 |
12 |
13 | lmnopq(123+456*789/abcd)
14 |
15 |
16 |
17 |
18 | lmnopq(123+456*789/abcd)
19 |
20 |
21 |
22 |
23 |
--------------------------------------------------------------------------------
/Source/Test8_HtmlRenderer.Demo/Samples/WordSplit/3.Symbols.htm:
--------------------------------------------------------------------------------
1 |
2 |
3 | styles1
4 |
5 |
6 |
7 | ABC DEF
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Source/TestMobile/CustomApp01/CustomApp01.projitems:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | $(MSBuildAllProjects);$(MSBuildThisFileFullPath)
5 | true
6 | {686F7420-98CA-41D0-990C-FC33A8EF4592}
7 |
8 |
9 | CustomApp01
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
--------------------------------------------------------------------------------
/Source/TestMobile/CustomApp01/CustomApp01.shproj:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 | {686F7420-98CA-41D0-990C-FC33A8EF4592}
5 |
6 |
7 |
8 |
9 |
10 |
11 |
--------------------------------------------------------------------------------
/Source/TestMobile/CustomApp01/YourImplementation/AppHostExtensions.cs:
--------------------------------------------------------------------------------
1 | //Apache2, 2014-present, WinterDev
2 |
3 | using LayoutFarm.UI;
4 | namespace LayoutFarm
5 | {
6 | public static class AppHostExtensions
7 | {
8 | public static void AddChild(this AppHost appHost, UIElement ui)
9 | {
10 | #if DEBUG
11 | if (ui.ParentUI != null)
12 | {
13 | throw new System.NotSupportedException();
14 | }
15 | #endif
16 | appHost.AddChild(ui.GetPrimaryRenderElement(appHost.RootGfx), ui);
17 | }
18 | }
19 | }
--------------------------------------------------------------------------------
/Source/TestMobile/CustomApp01/YourImplementation/DemoNote.cs:
--------------------------------------------------------------------------------
1 | //Apache2, 2014-present, WinterDev
2 | using System;
3 |
4 | namespace LayoutFarm
5 | {
6 |
7 | public class DemoNoteAttribute : Attribute
8 | {
9 | public DemoNoteAttribute(string msg)
10 | {
11 | this.Message = msg;
12 | }
13 | public string Message { get; set; }
14 | }
15 | public class DemoInfo
16 | {
17 | public readonly Type DemoType;
18 | public readonly string DemoNote;
19 | public int demoBaseTypeKind; // 0,1
20 |
21 | public DemoInfo(Type demoType, string demoNote)
22 | {
23 | this.DemoType = demoType;
24 | this.DemoNote = demoNote;
25 | }
26 | public override string ToString()
27 | {
28 | if (string.IsNullOrEmpty(DemoNote))
29 | {
30 | return this.DemoType.Name;
31 | }
32 | else
33 | {
34 | return this.DemoNote + " : " + this.DemoType.Name;
35 | }
36 | }
37 | }
38 |
39 | }
--------------------------------------------------------------------------------
/Source/TestMobile/CustomApp01/YourImplementation/MyTextBreaker.cs:
--------------------------------------------------------------------------------
1 | //Apache2, 2014-present, WinterDev
2 |
3 | using System;
4 | using System.Collections.Generic;
5 | using Typography.TextBreak;
6 |
7 | namespace LayoutFarm.Composers
8 | {
9 | public class MyManagedTextBreaker : ITextBreaker
10 | {
11 | CustomBreaker _textBreaker;
12 | List _breakAtList;
13 |
14 | public MyManagedTextBreaker()
15 | {
16 | //TODO: review config folder here
17 | _textBreaker = CustomBreakerBuilder.NewCustomBreaker();
18 | _textBreaker.SetNewBreakHandler(vis => _breakAtList.Add(vis.LatestBreakAt));
19 | }
20 |
21 | public void DoBreak(char[] inputBuffer, int startIndex, int len, List breakAtList)
22 | {
23 | _breakAtList = breakAtList;
24 | //
25 | _textBreaker.BreakWords(inputBuffer, startIndex, len);
26 | }
27 | public void DoBreak(char[] inputBuffer, int startIndex, int len, List breakAtList)
28 | {
29 |
30 | }
31 | }
32 | }
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/Assets/AboutAssets.txt:
--------------------------------------------------------------------------------
1 | Any raw assets you want to be deployed with your application can be placed in
2 | this directory (and child directories) and given a Build Action of "AndroidAsset".
3 |
4 | These files will be deployed with your package and will be accessible using Android's
5 | AssetManager, like this:
6 |
7 | public class ReadAsset : Activity
8 | {
9 | protected override void OnCreate (Bundle bundle)
10 | {
11 | base.OnCreate (bundle);
12 |
13 | InputStream input = Assets.Open ("my_asset.txt");
14 | }
15 | }
16 |
17 | Additionally, some Android functions will automatically load asset files:
18 |
19 | Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");
20 |
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/DroidSans.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/TestMobile/Droid/DroidSans.ttf
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/Properties/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/Properties/AssemblyInfo.cs:
--------------------------------------------------------------------------------
1 | using System.Reflection;
2 | using System.Runtime.CompilerServices;
3 | using Android.App;
4 |
5 | // Information about this assembly is defined by the following attributes.
6 | // Change them to the values specific to your project.
7 |
8 | [assembly: AssemblyTitle("TestApp01.Droid")]
9 | [assembly: AssemblyDescription("")]
10 | [assembly: AssemblyConfiguration("")]
11 | [assembly: AssemblyCompany("")]
12 | [assembly: AssemblyProduct("")]
13 | [assembly: AssemblyCopyright("${AuthorCopyright}")]
14 | [assembly: AssemblyTrademark("")]
15 | [assembly: AssemblyCulture("")]
16 |
17 | // The assembly version has the format "{Major}.{Minor}.{Build}.{Revision}".
18 | // The form "{Major}.{Minor}.*" will automatically update the build and revision,
19 | // and "{Major}.{Minor}.{Build}.*" will update just the revision.
20 |
21 | [assembly: AssemblyVersion("1.0.0")]
22 |
23 | // The following attributes are used to specify the signing key for the assembly,
24 | // if desired. See the Mono documentation for more information about signing.
25 |
26 | //[assembly: AssemblyDelaySign(false)]
27 | //[assembly: AssemblyKeyFile("")]
28 |
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/Resources/layout/Main.axml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/Resources/mipmap-hdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/TestMobile/Droid/Resources/mipmap-hdpi/Icon.png
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/Resources/mipmap-mdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/TestMobile/Droid/Resources/mipmap-mdpi/Icon.png
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/Resources/mipmap-xhdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/TestMobile/Droid/Resources/mipmap-xhdpi/Icon.png
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/Resources/mipmap-xxhdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/TestMobile/Droid/Resources/mipmap-xxhdpi/Icon.png
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/Resources/mipmap-xxxhdpi/Icon.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/TestMobile/Droid/Resources/mipmap-xxxhdpi/Icon.png
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/Resources/values/Strings.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | Hello World, Click Me!
4 | TestApp01.Droid
5 |
6 |
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/SOV_Thanamas.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/TestMobile/Droid/SOV_Thanamas.ttf
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/TAHOMABD.TTF:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/TestMobile/Droid/TAHOMABD.TTF
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Source/TestMobile/Droid/tahoma.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/TestMobile/Droid/tahoma.ttf
--------------------------------------------------------------------------------
/Source/TestMobile/iOS/Assets.xcassets/Contents.json:
--------------------------------------------------------------------------------
1 | {
2 | "info" : {
3 | "version" : 1,
4 | "author" : "xcode"
5 | }
6 | }
--------------------------------------------------------------------------------
/Source/TestMobile/iOS/DroidSans.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/TestMobile/iOS/DroidSans.ttf
--------------------------------------------------------------------------------
/Source/TestMobile/iOS/Entitlements.plist:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
--------------------------------------------------------------------------------
/Source/TestMobile/iOS/Main.cs:
--------------------------------------------------------------------------------
1 | using System;
2 | using System.Collections.Generic;
3 | using System.Linq;
4 |
5 | using Foundation;
6 | using UIKit;
7 |
8 | namespace TestApp01.iOS
9 | {
10 | public class Application
11 | {
12 | // This is the main entry point of the application.
13 | static void Main(string[] args)
14 | {
15 | // if you want to use a different Application Delegate class from "AppDelegate"
16 | // you can specify it here.
17 | UIApplication.Main(args, null, "AppDelegate");
18 | }
19 | }
20 | }
21 |
--------------------------------------------------------------------------------
/Source/TestMobile/iOS/SOV_Thanamas.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/TestMobile/iOS/SOV_Thanamas.ttf
--------------------------------------------------------------------------------
/Source/TestMobile/iOS/ViewController.designer.cs:
--------------------------------------------------------------------------------
1 | // WARNING
2 | //
3 | // This file has been generated automatically by Visual Studio from the outlets and
4 | // actions declared in your storyboard file.
5 | // Manual changes to this file will not be maintained.
6 | //
7 | using Foundation;
8 | using System;
9 | using System.CodeDom.Compiler;
10 |
11 | namespace TestApp01.iOS
12 | {
13 | [Register ("ViewController")]
14 | partial class ViewController
15 | {
16 | [Outlet]
17 | UIKit.UIButton Button { get; set; }
18 |
19 | void ReleaseDesignerOutlets ()
20 | {
21 | if (Button != null) {
22 | Button.Dispose ();
23 | Button = null;
24 | }
25 | }
26 | }
27 | }
--------------------------------------------------------------------------------
/Source/TestMobile/iOS/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Source/TestMobile/iOS/tahoma.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/LayoutFarm/HtmlRenderer/e9559f3821a0f61ea1339f4529f7294164e78b51/Source/TestMobile/iOS/tahoma.ttf
--------------------------------------------------------------------------------
/Source/Tools/BuildMergeProject/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Source/Tools/BuildMergeProject/Properties/Settings.Designer.cs:
--------------------------------------------------------------------------------
1 | //------------------------------------------------------------------------------
2 | //
3 | // This code was generated by a tool.
4 | // Runtime Version:4.0.30319.42000
5 | //
6 | // Changes to this file may cause incorrect behavior and will be lost if
7 | // the code is regenerated.
8 | //
9 | //------------------------------------------------------------------------------
10 |
11 | namespace BuildPixelFarmMerge.Properties {
12 |
13 |
14 | [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
15 | [global::System.CodeDom.Compiler.GeneratedCodeAttribute("Microsoft.VisualStudio.Editors.SettingsDesigner.SettingsSingleFileGenerator", "10.0.0.0")]
16 | internal sealed partial class Settings : global::System.Configuration.ApplicationSettingsBase {
17 |
18 | private static Settings defaultInstance = ((Settings)(global::System.Configuration.ApplicationSettingsBase.Synchronized(new Settings())));
19 |
20 | public static Settings Default {
21 | get {
22 | return defaultInstance;
23 | }
24 | }
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/Source/Tools/BuildMergeProject/Properties/Settings.settings:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
--------------------------------------------------------------------------------
/Source/Tools/BuildMergeProject/app.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Source/YourImplementation/Bootstrap/BootStrapOpenGLES2.cs:
--------------------------------------------------------------------------------
1 | //MIT, 2017, WinterDev
2 | using System;
3 | using PixelFarm.Drawing;
4 | using PixelFarm.Drawing.Fonts;
5 |
6 | namespace YourImplementation
7 | {
8 |
9 |
10 | public static class BootStrapOpenGLES2
11 | {
12 | public static readonly IFontLoader myFontLoader = new WindowsFontLoader();
13 | }
14 |
15 |
16 | }
--------------------------------------------------------------------------------
/Source/YourImplementation/Bootstrap/BootStrapWinGdi.cs:
--------------------------------------------------------------------------------
1 | //MIT, 2017, WinterDev
2 | using System;
3 | using PixelFarm.Drawing;
4 | using PixelFarm.Drawing.Fonts;
5 |
6 | namespace YourImplementation
7 | {
8 | public static class BootStrapWinGdi
9 | {
10 | public static readonly IFontLoader myFontLoader = new WindowsFontLoader();
11 | }
12 | class WindowsFontLoader : IFontLoader
13 | {
14 |
15 | InstalledFontCollection installFontCollection = new InstalledFontCollection();
16 | public WindowsFontLoader()
17 | {
18 | //iterate
19 | var installFontsWin32 = new InstallFontsProviderWin32();
20 | installFontCollection.LoadInstalledFont(installFontsWin32.GetInstalledFontIter());
21 | }
22 | public InstalledFont GetFont(string fontName, InstalledFontStyle style)
23 | {
24 | return installFontCollection.GetFont(fontName, style);
25 | }
26 | public void SetFontHotFoundHandler(FontNotFoundHandler fontNotFoundHandler)
27 | {
28 | installFontCollection.SetFontNotFoundHandler(fontNotFoundHandler);
29 | }
30 | }
31 |
32 | }
--------------------------------------------------------------------------------
/Source/YourImplementation/Windows/WindowFontLoader.cs:
--------------------------------------------------------------------------------
1 | //MIT, 2014-2017, WinterDev
2 |
3 | using PixelFarm.Drawing.Fonts;
4 |
5 | namespace PixelFarm.Drawing
6 | {
7 | class WindowsFontLoader : IFontLoader
8 | {
9 | InstalledFontCollection installFontCollection = new InstalledFontCollection();
10 | public WindowsFontLoader()
11 | {
12 | //iterate
13 | var installFontsWin32 = new InstallFontsProviderWin32();
14 | installFontCollection.LoadInstalledFont(installFontsWin32.GetInstalledFontIter());
15 | }
16 | public InstalledFont GetFont(string fontName, InstalledFontStyle style)
17 | {
18 | return installFontCollection.GetFont(fontName, style);
19 | }
20 | public void SetFontHotFoundHandler(FontNotFoundHandler fontNotFoundHandler)
21 | {
22 | installFontCollection.SetFontNotFoundHandler(fontNotFoundHandler);
23 | }
24 | }
25 | }
--------------------------------------------------------------------------------
/Source/x_autogen_xamarin_droid/HtmlRenderer.One/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/Source/x_autogen_xamarin_droid/HtmlRenderer.One/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Source/x_autogen_xamarin_ios/HtmlRenderer.One/packages.config:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
--------------------------------------------------------------------------------
/Source/x_autogen_xamarin_ios_and_droid/HtmlRenderer.One/AndroidManifest.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
--------------------------------------------------------------------------------
/_config.yml:
--------------------------------------------------------------------------------
1 | theme: jekyll-theme-minimal
--------------------------------------------------------------------------------