aspose-html-net 24.10.0__py3-none-manylinux1_x86_64.whl
Sign up to get free protection for your applications and to get access to all the features.
- .__pyi_patched +0 -0
- aspose/__init__.py +82 -0
- aspose/__pyinstaller/__init__.pyi +1 -0
- aspose/__pyinstaller/hook-aspose.py +10 -0
- aspose/assemblies/html/Aspose.HTML.dll +0 -0
- aspose/assemblies/html/Microsoft.Extensions.Logging.Abstractions.dll +0 -0
- aspose/assemblies/html/Microsoft.Win32.SystemEvents.dll +0 -0
- aspose/assemblies/html/System.Diagnostics.DiagnosticSource.dll +0 -0
- aspose/assemblies/html/System.Drawing.Common.dll +0 -0
- aspose/assemblies/html/System.Runtime.CompilerServices.Unsafe.dll +0 -0
- aspose/assemblies/html/System.Security.AccessControl.dll +0 -0
- aspose/assemblies/html/System.Security.Permissions.dll +0 -0
- aspose/assemblies/html/System.Security.Principal.Windows.dll +0 -0
- aspose/assemblies/html/System.Windows.Extensions.dll +0 -0
- aspose/assemblies/html/WrpInterop.Aspose.Html.dll +0 -0
- aspose/assemblies/pycore/WrpInterop.Aspose.PyCore.dll +0 -0
- aspose/assemblies/pydrawing/Microsoft.Win32.SystemEvents.dll +0 -0
- aspose/assemblies/pydrawing/System.Drawing.Common.dll +0 -0
- aspose/assemblies/pydrawing/WrpInterop.Aspose.PyDrawing.dll +0 -0
- aspose/assemblies/pygc/Aspose.PyGC.dll +0 -0
- aspose/assemblies/pyreflection/WrpInterop.Aspose.PyReflection.dll +0 -0
- aspose/html/__init__.pyi +40753 -0
- aspose/html/__nuitka/__init__.pyi +1 -0
- aspose/html/__nuitka/aspose-html.nuitka-package.config.yml +19 -0
- aspose/html/__pyinstaller/__init__.pyi +1 -0
- aspose/html/__pyinstaller/hook-aspose.html.py +9 -0
- aspose/html/accessibility/__init__.pyi +469 -0
- aspose/html/accessibility/results/__init__.pyi +106 -0
- aspose/html/accessibility/saving/__init__.pyi +78 -0
- aspose/html/collections/__init__.pyi +246 -0
- aspose/html/converters/__init__.pyi +2793 -0
- aspose/html/diagnostics/__init__.pyi +72 -0
- aspose/html/dom/__init__.pyi +6456 -0
- aspose/html/dom/attributes/__init__.pyi +144 -0
- aspose/html/dom/canvas/__init__.pyi +1103 -0
- aspose/html/dom/css/__init__.pyi +3487 -0
- aspose/html/dom/events/__init__.pyi +1397 -0
- aspose/html/dom/mutations/__init__.pyi +259 -0
- aspose/html/dom/svg/__init__.pyi +30800 -0
- aspose/html/dom/svg/datatypes/__init__.pyi +1247 -0
- aspose/html/dom/svg/events/__init__.pyi +279 -0
- aspose/html/dom/svg/filters/__init__.pyi +15600 -0
- aspose/html/dom/svg/paths/__init__.pyi +3466 -0
- aspose/html/dom/svg/saving/__init__.pyi +83 -0
- aspose/html/dom/traversal/__init__.pyi +461 -0
- aspose/html/dom/traversal/filters/__init__.pyi +200 -0
- aspose/html/dom/views/__init__.pyi +79 -0
- aspose/html/dom/xpath/__init__.pyi +317 -0
- aspose/html/drawing/__init__.pyi +3219 -0
- aspose/html/forms/__init__.pyi +998 -0
- aspose/html/io/__init__.pyi +219 -0
- aspose/html/loading/__init__.pyi +68 -0
- aspose/html/net/__init__.pyi +513 -0
- aspose/html/net/headers/__init__.pyi +147 -0
- aspose/html/net/messagefilters/__init__.pyi +67 -0
- aspose/html/net/messagehandlers/__init__.pyi +103 -0
- aspose/html/rendering/__init__.pyi +793 -0
- aspose/html/rendering/doc/__init__.pyi +280 -0
- aspose/html/rendering/fonts/__init__.pyi +90 -0
- aspose/html/rendering/image/__init__.pyi +291 -0
- aspose/html/rendering/pdf/__init__.pyi +305 -0
- aspose/html/rendering/pdf/encryption/__init__.pyi +171 -0
- aspose/html/rendering/xps/__init__.pyi +169 -0
- aspose/html/saving/__init__.pyi +751 -0
- aspose/html/saving/resourcehandlers/__init__.pyi +95 -0
- aspose/html/services/__init__.pyi +175 -0
- aspose/html/toolkit/__init__.pyi +55 -0
- aspose/html/toolkit/markdown/__init__.pyi +55 -0
- aspose/html/toolkit/markdown/syntax/__init__.pyi +6234 -0
- aspose/html/toolkit/markdown/syntax/extensions/__init__.pyi +549 -0
- aspose/html/toolkit/markdown/syntax/parser/__init__.pyi +631 -0
- aspose/html/toolkit/markdown/syntax/parser/extensions/__init__.pyi +55 -0
- aspose/html/toolkit/markdown/syntax/parser/extensions/gfm/__init__.pyi +66 -0
- aspose/html/toolkit/markdown/syntax/text/__init__.pyi +366 -0
- aspose/html/toolkit/optimizers/__init__.pyi +233 -0
- aspose/html/window/__init__.pyi +490 -0
- aspose/html.cpython-311-x86_64-linux-gnu.so +0 -0
- aspose/html.cpython-39-x86_64-linux-gnu.so +0 -0
- aspose/netcore/netcore3.1/Microsoft.CSharp.dll +0 -0
- aspose/netcore/netcore3.1/Microsoft.VisualBasic.Core.dll +0 -0
- aspose/netcore/netcore3.1/Microsoft.VisualBasic.dll +0 -0
- aspose/netcore/netcore3.1/Microsoft.Win32.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/Microsoft.Win32.Registry.dll +0 -0
- aspose/netcore/netcore3.1/SOS_README.md +5 -0
- aspose/netcore/netcore3.1/System.AppContext.dll +0 -0
- aspose/netcore/netcore3.1/System.Buffers.dll +0 -0
- aspose/netcore/netcore3.1/System.Collections.Concurrent.dll +0 -0
- aspose/netcore/netcore3.1/System.Collections.Immutable.dll +0 -0
- aspose/netcore/netcore3.1/System.Collections.NonGeneric.dll +0 -0
- aspose/netcore/netcore3.1/System.Collections.Specialized.dll +0 -0
- aspose/netcore/netcore3.1/System.Collections.dll +0 -0
- aspose/netcore/netcore3.1/System.ComponentModel.Annotations.dll +0 -0
- aspose/netcore/netcore3.1/System.ComponentModel.DataAnnotations.dll +0 -0
- aspose/netcore/netcore3.1/System.ComponentModel.EventBasedAsync.dll +0 -0
- aspose/netcore/netcore3.1/System.ComponentModel.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.ComponentModel.TypeConverter.dll +0 -0
- aspose/netcore/netcore3.1/System.ComponentModel.dll +0 -0
- aspose/netcore/netcore3.1/System.Configuration.dll +0 -0
- aspose/netcore/netcore3.1/System.Console.dll +0 -0
- aspose/netcore/netcore3.1/System.Core.dll +0 -0
- aspose/netcore/netcore3.1/System.Data.Common.dll +0 -0
- aspose/netcore/netcore3.1/System.Data.DataSetExtensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Data.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.Contracts.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.Debug.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.DiagnosticSource.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.FileVersionInfo.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.Process.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.StackTrace.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.TextWriterTraceListener.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.Tools.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.TraceSource.dll +0 -0
- aspose/netcore/netcore3.1/System.Diagnostics.Tracing.dll +0 -0
- aspose/netcore/netcore3.1/System.Drawing.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.Drawing.dll +0 -0
- aspose/netcore/netcore3.1/System.Dynamic.Runtime.dll +0 -0
- aspose/netcore/netcore3.1/System.Globalization.Calendars.dll +0 -0
- aspose/netcore/netcore3.1/System.Globalization.Extensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Globalization.Native.so +0 -0
- aspose/netcore/netcore3.1/System.Globalization.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.Compression.Brotli.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.Compression.FileSystem.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.Compression.Native.a +0 -0
- aspose/netcore/netcore3.1/System.IO.Compression.Native.so +0 -0
- aspose/netcore/netcore3.1/System.IO.Compression.ZipFile.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.Compression.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.FileSystem.AccessControl.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.FileSystem.DriveInfo.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.FileSystem.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.FileSystem.Watcher.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.FileSystem.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.IsolatedStorage.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.MemoryMappedFiles.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.Pipes.AccessControl.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.Pipes.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.UnmanagedMemoryStream.dll +0 -0
- aspose/netcore/netcore3.1/System.IO.dll +0 -0
- aspose/netcore/netcore3.1/System.Linq.Expressions.dll +0 -0
- aspose/netcore/netcore3.1/System.Linq.Parallel.dll +0 -0
- aspose/netcore/netcore3.1/System.Linq.Queryable.dll +0 -0
- aspose/netcore/netcore3.1/System.Linq.dll +0 -0
- aspose/netcore/netcore3.1/System.Memory.dll +0 -0
- aspose/netcore/netcore3.1/System.Native.a +0 -0
- aspose/netcore/netcore3.1/System.Native.so +0 -0
- aspose/netcore/netcore3.1/System.Net.Http.Native.a +0 -0
- aspose/netcore/netcore3.1/System.Net.Http.Native.so +0 -0
- aspose/netcore/netcore3.1/System.Net.Http.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.HttpListener.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.Mail.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.NameResolution.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.NetworkInformation.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.Ping.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.Requests.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.Security.Native.a +0 -0
- aspose/netcore/netcore3.1/System.Net.Security.Native.so +0 -0
- aspose/netcore/netcore3.1/System.Net.Security.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.ServicePoint.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.Sockets.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.WebClient.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.WebHeaderCollection.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.WebProxy.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.WebSockets.Client.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.WebSockets.dll +0 -0
- aspose/netcore/netcore3.1/System.Net.dll +0 -0
- aspose/netcore/netcore3.1/System.Numerics.Vectors.dll +0 -0
- aspose/netcore/netcore3.1/System.Numerics.dll +0 -0
- aspose/netcore/netcore3.1/System.ObjectModel.dll +0 -0
- aspose/netcore/netcore3.1/System.Private.CoreLib.dll +0 -0
- aspose/netcore/netcore3.1/System.Private.DataContractSerialization.dll +0 -0
- aspose/netcore/netcore3.1/System.Private.Uri.dll +0 -0
- aspose/netcore/netcore3.1/System.Private.Xml.Linq.dll +0 -0
- aspose/netcore/netcore3.1/System.Private.Xml.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.DispatchProxy.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.Emit.ILGeneration.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.Emit.Lightweight.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.Emit.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.Extensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.Metadata.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.TypeExtensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Reflection.dll +0 -0
- aspose/netcore/netcore3.1/System.Resources.Reader.dll +0 -0
- aspose/netcore/netcore3.1/System.Resources.ResourceManager.dll +0 -0
- aspose/netcore/netcore3.1/System.Resources.Writer.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.CompilerServices.Unsafe.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.CompilerServices.VisualC.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Extensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Handles.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.InteropServices.RuntimeInformation.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.InteropServices.WindowsRuntime.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.InteropServices.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Intrinsics.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Loader.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Numerics.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Serialization.Formatters.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Serialization.Json.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Serialization.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Serialization.Xml.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.Serialization.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.WindowsRuntime.UI.Xaml.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.WindowsRuntime.dll +0 -0
- aspose/netcore/netcore3.1/System.Runtime.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.AccessControl.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Claims.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Algorithms.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Cng.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Csp.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Encoding.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Native.OpenSsl.a +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Native.OpenSsl.so +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.OpenSsl.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Primitives.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.X509Certificates.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Principal.Windows.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.Principal.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.SecureString.dll +0 -0
- aspose/netcore/netcore3.1/System.Security.dll +0 -0
- aspose/netcore/netcore3.1/System.ServiceModel.Web.dll +0 -0
- aspose/netcore/netcore3.1/System.ServiceProcess.dll +0 -0
- aspose/netcore/netcore3.1/System.Text.Encoding.CodePages.dll +0 -0
- aspose/netcore/netcore3.1/System.Text.Encoding.Extensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Text.Encoding.dll +0 -0
- aspose/netcore/netcore3.1/System.Text.Encodings.Web.dll +0 -0
- aspose/netcore/netcore3.1/System.Text.Json.dll +0 -0
- aspose/netcore/netcore3.1/System.Text.RegularExpressions.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Channels.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Overlapped.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Tasks.Dataflow.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Tasks.Extensions.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Tasks.Parallel.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Tasks.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Thread.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.ThreadPool.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.Timer.dll +0 -0
- aspose/netcore/netcore3.1/System.Threading.dll +0 -0
- aspose/netcore/netcore3.1/System.Transactions.Local.dll +0 -0
- aspose/netcore/netcore3.1/System.Transactions.dll +0 -0
- aspose/netcore/netcore3.1/System.ValueTuple.dll +0 -0
- aspose/netcore/netcore3.1/System.Web.HttpUtility.dll +0 -0
- aspose/netcore/netcore3.1/System.Web.dll +0 -0
- aspose/netcore/netcore3.1/System.Windows.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.Linq.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.ReaderWriter.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.Serialization.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.XDocument.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.XPath.XDocument.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.XPath.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.XmlDocument.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.XmlSerializer.dll +0 -0
- aspose/netcore/netcore3.1/System.Xml.dll +0 -0
- aspose/netcore/netcore3.1/System.dll +0 -0
- aspose/netcore/netcore3.1/WindowsBase.dll +0 -0
- aspose/netcore/netcore3.1/createdump +0 -0
- aspose/netcore/netcore3.1/libaspose.embed.coreclrwrap.so +0 -0
- aspose/netcore/netcore3.1/libclrjit.so +0 -0
- aspose/netcore/netcore3.1/libcoreclr.so +0 -0
- aspose/netcore/netcore3.1/libcoreclrtraceptprovider.so +0 -0
- aspose/netcore/netcore3.1/libdbgshim.so +0 -0
- aspose/netcore/netcore3.1/libhostfxr.so +0 -0
- aspose/netcore/netcore3.1/libhostpolicy.so +0 -0
- aspose/netcore/netcore3.1/libmscordaccore.so +0 -0
- aspose/netcore/netcore3.1/libmscordbi.so +0 -0
- aspose/netcore/netcore3.1/mscorlib.dll +0 -0
- aspose/netcore/netcore3.1/netstandard.dll +0 -0
- aspose/pycore/__init__.pyi +56 -0
- aspose/pycore/__pyinstaller/__init__.pyi +1 -0
- aspose/pycore/__pyinstaller/hook-aspose.pycore.py +11 -0
- aspose/pycore.cpython-311-x86_64-linux-gnu.so +0 -0
- aspose/pycore.cpython-39-x86_64-linux-gnu.so +0 -0
- aspose/pydrawing/__init__.pyi +8 -0
- aspose/pydrawing/__pyinstaller/__init__.pyi +1 -0
- aspose/pydrawing/__pyinstaller/hook-aspose.pydrawing.py +9 -0
- aspose/pydrawing.cpython-311-x86_64-linux-gnu.so +0 -0
- aspose/pydrawing.cpython-39-x86_64-linux-gnu.so +0 -0
- aspose/pygc/__init__.pyi +8 -0
- aspose/pygc/__pyinstaller/__init__.pyi +1 -0
- aspose/pygc/__pyinstaller/hook-aspose.pygc.py +9 -0
- aspose/pygc.cpython-311-x86_64-linux-gnu.so +0 -0
- aspose/pygc.cpython-39-x86_64-linux-gnu.so +0 -0
- aspose/pyreflection/__init__.pyi +8 -0
- aspose/pyreflection/__pyinstaller/__init__.pyi +1 -0
- aspose/pyreflection/__pyinstaller/hook-aspose.pyreflection.py +9 -0
- aspose/pyreflection.cpython-311-x86_64-linux-gnu.so +0 -0
- aspose/pyreflection.cpython-39-x86_64-linux-gnu.so +0 -0
- aspose_html_net-24.10.0.dist-info/METADATA +112 -0
- aspose_html_net-24.10.0.dist-info/RECORD +290 -0
- aspose_html_net-24.10.0.dist-info/WHEEL +5 -0
- aspose_html_net-24.10.0.dist-info/entry_points.txt +3 -0
- aspose_html_net-24.10.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,1397 @@
|
|
1
|
+
from typing import List, Optional, Dict, Iterable
|
2
|
+
import aspose.pycore
|
3
|
+
import aspose.pydrawing
|
4
|
+
import aspose.html
|
5
|
+
import aspose.html.accessibility
|
6
|
+
import aspose.html.accessibility.results
|
7
|
+
import aspose.html.accessibility.saving
|
8
|
+
import aspose.html.collections
|
9
|
+
import aspose.html.converters
|
10
|
+
import aspose.html.diagnostics
|
11
|
+
import aspose.html.dom
|
12
|
+
import aspose.html.dom.attributes
|
13
|
+
import aspose.html.dom.canvas
|
14
|
+
import aspose.html.dom.css
|
15
|
+
import aspose.html.dom.events
|
16
|
+
import aspose.html.dom.mutations
|
17
|
+
import aspose.html.dom.svg
|
18
|
+
import aspose.html.dom.svg.datatypes
|
19
|
+
import aspose.html.dom.svg.events
|
20
|
+
import aspose.html.dom.svg.filters
|
21
|
+
import aspose.html.dom.svg.paths
|
22
|
+
import aspose.html.dom.svg.saving
|
23
|
+
import aspose.html.dom.traversal
|
24
|
+
import aspose.html.dom.traversal.filters
|
25
|
+
import aspose.html.dom.views
|
26
|
+
import aspose.html.dom.xpath
|
27
|
+
import aspose.html.drawing
|
28
|
+
import aspose.html.forms
|
29
|
+
import aspose.html.io
|
30
|
+
import aspose.html.loading
|
31
|
+
import aspose.html.net
|
32
|
+
import aspose.html.net.headers
|
33
|
+
import aspose.html.net.messagefilters
|
34
|
+
import aspose.html.net.messagehandlers
|
35
|
+
import aspose.html.rendering
|
36
|
+
import aspose.html.rendering.doc
|
37
|
+
import aspose.html.rendering.fonts
|
38
|
+
import aspose.html.rendering.image
|
39
|
+
import aspose.html.rendering.pdf
|
40
|
+
import aspose.html.rendering.pdf.encryption
|
41
|
+
import aspose.html.rendering.xps
|
42
|
+
import aspose.html.saving
|
43
|
+
import aspose.html.saving.resourcehandlers
|
44
|
+
import aspose.html.services
|
45
|
+
import aspose.html.toolkit
|
46
|
+
import aspose.html.toolkit.markdown
|
47
|
+
import aspose.html.toolkit.markdown.syntax
|
48
|
+
import aspose.html.toolkit.markdown.syntax.extensions
|
49
|
+
import aspose.html.toolkit.markdown.syntax.parser
|
50
|
+
import aspose.html.toolkit.markdown.syntax.parser.extensions
|
51
|
+
import aspose.html.toolkit.markdown.syntax.parser.extensions.gfm
|
52
|
+
import aspose.html.toolkit.markdown.syntax.text
|
53
|
+
import aspose.html.toolkit.optimizers
|
54
|
+
import aspose.html.window
|
55
|
+
|
56
|
+
class CustomEvent(Event):
|
57
|
+
'''Events using the CustomEvent interface can be used to carry custom data.'''
|
58
|
+
|
59
|
+
def get_platform_type(self) -> Type:
|
60
|
+
'''This method is used to retrieve ECMAScript object :py:class:`System.Type`.
|
61
|
+
|
62
|
+
:returns: The ECMAScript object :py:class:`System.Type`.'''
|
63
|
+
...
|
64
|
+
|
65
|
+
def init_event(self, type : str, bubbles : bool, cancelable : bool):
|
66
|
+
'''The :py:func:`aspose.html.dom.events.Event.init_event` method is used to initialize the value of an :py:class:`aspose.html.dom.events.Event` created through the
|
67
|
+
:py:class:`aspose.html.dom.events.IDocumentEvent` interface.
|
68
|
+
|
69
|
+
:param type: The event type.
|
70
|
+
:param bubbles: if set to ``true`` [bubbles].
|
71
|
+
:param cancelable: if set to ``true`` [cancelable].'''
|
72
|
+
...
|
73
|
+
|
74
|
+
def prevent_default(self):
|
75
|
+
'''If an event is cancelable, the :py:func:`aspose.html.dom.events.Event.prevent_default` method is used to signify that the event is to be canceled,
|
76
|
+
meaning any default action normally taken by the implementation as a result of the event will not occur.'''
|
77
|
+
...
|
78
|
+
|
79
|
+
def stop_propagation(self):
|
80
|
+
'''The :py:func:`aspose.html.dom.events.Event.stop_propagation` method is used prevent further propagation of an event during event flow.'''
|
81
|
+
...
|
82
|
+
|
83
|
+
def stop_immediate_propagation(self):
|
84
|
+
'''Invoking this method prevents event from reaching any event listeners registered after the current one and when dispatched in a tree also prevents event from reaching any other objects.'''
|
85
|
+
...
|
86
|
+
|
87
|
+
def init_custom_event(self, type : str, bubbles : bool, cancelable : bool, detail : any):
|
88
|
+
'''/// The :py:func:`aspose.html.dom.events.Event.init_event` method is used to initialize the value of an :py:class:`aspose.html.dom.events.Event` created through the :py:class:`aspose.html.dom.events.IDocumentEvent` interface.
|
89
|
+
|
90
|
+
:param type: The event type.
|
91
|
+
:param bubbles: if set to ``true`` [bubbles].
|
92
|
+
:param cancelable: if set to ``true`` [cancelable].
|
93
|
+
:param detail: The custom data.'''
|
94
|
+
...
|
95
|
+
|
96
|
+
@property
|
97
|
+
def bubbles(self) -> bool:
|
98
|
+
'''Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.'''
|
99
|
+
...
|
100
|
+
|
101
|
+
@property
|
102
|
+
def cancelable(self) -> bool:
|
103
|
+
'''Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.'''
|
104
|
+
...
|
105
|
+
|
106
|
+
@property
|
107
|
+
def current_target(self) -> aspose.html.dom.EventTarget:
|
108
|
+
...
|
109
|
+
|
110
|
+
@property
|
111
|
+
def event_phase(self) -> int:
|
112
|
+
...
|
113
|
+
|
114
|
+
@property
|
115
|
+
def target(self) -> aspose.html.dom.EventTarget:
|
116
|
+
'''Used to indicate the :py:class:`aspose.html.dom.events.IEventTarget` to which the event was originally dispatched.'''
|
117
|
+
...
|
118
|
+
|
119
|
+
@property
|
120
|
+
def time_stamp(self) -> int:
|
121
|
+
...
|
122
|
+
|
123
|
+
@property
|
124
|
+
def type(self) -> str:
|
125
|
+
'''The name of the event (case-insensitive). The name must be an XML name.'''
|
126
|
+
...
|
127
|
+
|
128
|
+
@property
|
129
|
+
def default_prevented(self) -> bool:
|
130
|
+
...
|
131
|
+
|
132
|
+
@property
|
133
|
+
def is_trusted(self) -> bool:
|
134
|
+
...
|
135
|
+
|
136
|
+
@classmethod
|
137
|
+
@property
|
138
|
+
def NONE_PHASE(cls) -> int:
|
139
|
+
...
|
140
|
+
|
141
|
+
@classmethod
|
142
|
+
@property
|
143
|
+
def CAPTURING_PHASE(cls) -> int:
|
144
|
+
...
|
145
|
+
|
146
|
+
@classmethod
|
147
|
+
@property
|
148
|
+
def AT_TARGET_PHASE(cls) -> int:
|
149
|
+
...
|
150
|
+
|
151
|
+
@classmethod
|
152
|
+
@property
|
153
|
+
def BUBBLING_PHASE(cls) -> int:
|
154
|
+
...
|
155
|
+
|
156
|
+
@property
|
157
|
+
def detail(self) -> any:
|
158
|
+
'''Gets the custom data.'''
|
159
|
+
...
|
160
|
+
|
161
|
+
...
|
162
|
+
|
163
|
+
class DocumentLoadErrorEvent(ErrorEvent):
|
164
|
+
'''The :py:class:`aspose.html.dom.events.DocumentLoadErrorEvent` occurres when the requested resource is not available.'''
|
165
|
+
|
166
|
+
def get_platform_type(self) -> Type:
|
167
|
+
'''This method is used to retrieve ECMAScript object :py:class:`System.Type`.
|
168
|
+
|
169
|
+
:returns: The ECMAScript object :py:class:`System.Type`.'''
|
170
|
+
...
|
171
|
+
|
172
|
+
def init_event(self, type : str, bubbles : bool, cancelable : bool):
|
173
|
+
'''The :py:func:`aspose.html.dom.events.Event.init_event` method is used to initialize the value of an :py:class:`aspose.html.dom.events.Event` created through the
|
174
|
+
:py:class:`aspose.html.dom.events.IDocumentEvent` interface.
|
175
|
+
|
176
|
+
:param type: The event type.
|
177
|
+
:param bubbles: if set to ``true`` [bubbles].
|
178
|
+
:param cancelable: if set to ``true`` [cancelable].'''
|
179
|
+
...
|
180
|
+
|
181
|
+
def prevent_default(self):
|
182
|
+
'''If an event is cancelable, the :py:func:`aspose.html.dom.events.Event.prevent_default` method is used to signify that the event is to be canceled,
|
183
|
+
meaning any default action normally taken by the implementation as a result of the event will not occur.'''
|
184
|
+
...
|
185
|
+
|
186
|
+
def stop_propagation(self):
|
187
|
+
'''The :py:func:`aspose.html.dom.events.Event.stop_propagation` method is used prevent further propagation of an event during event flow.'''
|
188
|
+
...
|
189
|
+
|
190
|
+
def stop_immediate_propagation(self):
|
191
|
+
'''Invoking this method prevents event from reaching any event listeners registered after the current one and when dispatched in a tree also prevents event from reaching any other objects.'''
|
192
|
+
...
|
193
|
+
|
194
|
+
@property
|
195
|
+
def bubbles(self) -> bool:
|
196
|
+
'''Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.'''
|
197
|
+
...
|
198
|
+
|
199
|
+
@property
|
200
|
+
def cancelable(self) -> bool:
|
201
|
+
'''Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.'''
|
202
|
+
...
|
203
|
+
|
204
|
+
@property
|
205
|
+
def current_target(self) -> aspose.html.dom.EventTarget:
|
206
|
+
...
|
207
|
+
|
208
|
+
@property
|
209
|
+
def event_phase(self) -> int:
|
210
|
+
...
|
211
|
+
|
212
|
+
@property
|
213
|
+
def target(self) -> aspose.html.dom.EventTarget:
|
214
|
+
'''Used to indicate the :py:class:`aspose.html.dom.events.IEventTarget` to which the event was originally dispatched.'''
|
215
|
+
...
|
216
|
+
|
217
|
+
@property
|
218
|
+
def time_stamp(self) -> int:
|
219
|
+
...
|
220
|
+
|
221
|
+
@property
|
222
|
+
def type(self) -> str:
|
223
|
+
'''The name of the event (case-insensitive). The name must be an XML name.'''
|
224
|
+
...
|
225
|
+
|
226
|
+
@property
|
227
|
+
def default_prevented(self) -> bool:
|
228
|
+
...
|
229
|
+
|
230
|
+
@property
|
231
|
+
def is_trusted(self) -> bool:
|
232
|
+
...
|
233
|
+
|
234
|
+
@classmethod
|
235
|
+
@property
|
236
|
+
def NONE_PHASE(cls) -> int:
|
237
|
+
...
|
238
|
+
|
239
|
+
@classmethod
|
240
|
+
@property
|
241
|
+
def CAPTURING_PHASE(cls) -> int:
|
242
|
+
...
|
243
|
+
|
244
|
+
@classmethod
|
245
|
+
@property
|
246
|
+
def AT_TARGET_PHASE(cls) -> int:
|
247
|
+
...
|
248
|
+
|
249
|
+
@classmethod
|
250
|
+
@property
|
251
|
+
def BUBBLING_PHASE(cls) -> int:
|
252
|
+
...
|
253
|
+
|
254
|
+
@property
|
255
|
+
def message(self) -> str:
|
256
|
+
'''The message attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to the empty string. It represents the error message.'''
|
257
|
+
...
|
258
|
+
|
259
|
+
@property
|
260
|
+
def file_name(self) -> str:
|
261
|
+
...
|
262
|
+
|
263
|
+
@property
|
264
|
+
def line_no(self) -> int:
|
265
|
+
...
|
266
|
+
|
267
|
+
@property
|
268
|
+
def col_no(self) -> int:
|
269
|
+
...
|
270
|
+
|
271
|
+
@property
|
272
|
+
def error(self) -> any:
|
273
|
+
'''The error attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to null. Where appropriate, it is set to the object representing the error (e.g. the exception object in the case of an uncaught DOM exception).'''
|
274
|
+
...
|
275
|
+
|
276
|
+
...
|
277
|
+
|
278
|
+
class ErrorEvent(Event):
|
279
|
+
'''The :py:class:`aspose.html.dom.events.ErrorEvent` provides contextual information about an errors that occurred during runtime.'''
|
280
|
+
|
281
|
+
def get_platform_type(self) -> Type:
|
282
|
+
'''This method is used to retrieve ECMAScript object :py:class:`System.Type`.
|
283
|
+
|
284
|
+
:returns: The ECMAScript object :py:class:`System.Type`.'''
|
285
|
+
...
|
286
|
+
|
287
|
+
def init_event(self, type : str, bubbles : bool, cancelable : bool):
|
288
|
+
'''The :py:func:`aspose.html.dom.events.Event.init_event` method is used to initialize the value of an :py:class:`aspose.html.dom.events.Event` created through the
|
289
|
+
:py:class:`aspose.html.dom.events.IDocumentEvent` interface.
|
290
|
+
|
291
|
+
:param type: The event type.
|
292
|
+
:param bubbles: if set to ``true`` [bubbles].
|
293
|
+
:param cancelable: if set to ``true`` [cancelable].'''
|
294
|
+
...
|
295
|
+
|
296
|
+
def prevent_default(self):
|
297
|
+
'''If an event is cancelable, the :py:func:`aspose.html.dom.events.Event.prevent_default` method is used to signify that the event is to be canceled,
|
298
|
+
meaning any default action normally taken by the implementation as a result of the event will not occur.'''
|
299
|
+
...
|
300
|
+
|
301
|
+
def stop_propagation(self):
|
302
|
+
'''The :py:func:`aspose.html.dom.events.Event.stop_propagation` method is used prevent further propagation of an event during event flow.'''
|
303
|
+
...
|
304
|
+
|
305
|
+
def stop_immediate_propagation(self):
|
306
|
+
'''Invoking this method prevents event from reaching any event listeners registered after the current one and when dispatched in a tree also prevents event from reaching any other objects.'''
|
307
|
+
...
|
308
|
+
|
309
|
+
@property
|
310
|
+
def bubbles(self) -> bool:
|
311
|
+
'''Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.'''
|
312
|
+
...
|
313
|
+
|
314
|
+
@property
|
315
|
+
def cancelable(self) -> bool:
|
316
|
+
'''Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.'''
|
317
|
+
...
|
318
|
+
|
319
|
+
@property
|
320
|
+
def current_target(self) -> aspose.html.dom.EventTarget:
|
321
|
+
...
|
322
|
+
|
323
|
+
@property
|
324
|
+
def event_phase(self) -> int:
|
325
|
+
...
|
326
|
+
|
327
|
+
@property
|
328
|
+
def target(self) -> aspose.html.dom.EventTarget:
|
329
|
+
'''Used to indicate the :py:class:`aspose.html.dom.events.IEventTarget` to which the event was originally dispatched.'''
|
330
|
+
...
|
331
|
+
|
332
|
+
@property
|
333
|
+
def time_stamp(self) -> int:
|
334
|
+
...
|
335
|
+
|
336
|
+
@property
|
337
|
+
def type(self) -> str:
|
338
|
+
'''The name of the event (case-insensitive). The name must be an XML name.'''
|
339
|
+
...
|
340
|
+
|
341
|
+
@property
|
342
|
+
def default_prevented(self) -> bool:
|
343
|
+
...
|
344
|
+
|
345
|
+
@property
|
346
|
+
def is_trusted(self) -> bool:
|
347
|
+
...
|
348
|
+
|
349
|
+
@classmethod
|
350
|
+
@property
|
351
|
+
def NONE_PHASE(cls) -> int:
|
352
|
+
...
|
353
|
+
|
354
|
+
@classmethod
|
355
|
+
@property
|
356
|
+
def CAPTURING_PHASE(cls) -> int:
|
357
|
+
...
|
358
|
+
|
359
|
+
@classmethod
|
360
|
+
@property
|
361
|
+
def AT_TARGET_PHASE(cls) -> int:
|
362
|
+
...
|
363
|
+
|
364
|
+
@classmethod
|
365
|
+
@property
|
366
|
+
def BUBBLING_PHASE(cls) -> int:
|
367
|
+
...
|
368
|
+
|
369
|
+
@property
|
370
|
+
def message(self) -> str:
|
371
|
+
'''The message attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to the empty string. It represents the error message.'''
|
372
|
+
...
|
373
|
+
|
374
|
+
@property
|
375
|
+
def file_name(self) -> str:
|
376
|
+
...
|
377
|
+
|
378
|
+
@property
|
379
|
+
def line_no(self) -> int:
|
380
|
+
...
|
381
|
+
|
382
|
+
@property
|
383
|
+
def col_no(self) -> int:
|
384
|
+
...
|
385
|
+
|
386
|
+
@property
|
387
|
+
def error(self) -> any:
|
388
|
+
'''The error attribute must return the value it was initialized to. When the object is created, this attribute must be initialized to null. Where appropriate, it is set to the object representing the error (e.g. the exception object in the case of an uncaught DOM exception).'''
|
389
|
+
...
|
390
|
+
|
391
|
+
...
|
392
|
+
|
393
|
+
class Event(aspose.html.dom.DOMObject):
|
394
|
+
'''The :py:class:`aspose.html.dom.events.Event` is used to provide contextual information about an event to the handler processing the event.'''
|
395
|
+
|
396
|
+
def get_platform_type(self) -> Type:
|
397
|
+
'''This method is used to retrieve ECMAScript object :py:class:`System.Type`.
|
398
|
+
|
399
|
+
:returns: The ECMAScript object :py:class:`System.Type`.'''
|
400
|
+
...
|
401
|
+
|
402
|
+
def init_event(self, type : str, bubbles : bool, cancelable : bool):
|
403
|
+
'''The :py:func:`aspose.html.dom.events.Event.init_event` method is used to initialize the value of an :py:class:`aspose.html.dom.events.Event` created through the
|
404
|
+
:py:class:`aspose.html.dom.events.IDocumentEvent` interface.
|
405
|
+
|
406
|
+
:param type: The event type.
|
407
|
+
:param bubbles: if set to ``true`` [bubbles].
|
408
|
+
:param cancelable: if set to ``true`` [cancelable].'''
|
409
|
+
...
|
410
|
+
|
411
|
+
def prevent_default(self):
|
412
|
+
'''If an event is cancelable, the :py:func:`aspose.html.dom.events.Event.prevent_default` method is used to signify that the event is to be canceled,
|
413
|
+
meaning any default action normally taken by the implementation as a result of the event will not occur.'''
|
414
|
+
...
|
415
|
+
|
416
|
+
def stop_propagation(self):
|
417
|
+
'''The :py:func:`aspose.html.dom.events.Event.stop_propagation` method is used prevent further propagation of an event during event flow.'''
|
418
|
+
...
|
419
|
+
|
420
|
+
def stop_immediate_propagation(self):
|
421
|
+
'''Invoking this method prevents event from reaching any event listeners registered after the current one and when dispatched in a tree also prevents event from reaching any other objects.'''
|
422
|
+
...
|
423
|
+
|
424
|
+
@property
|
425
|
+
def bubbles(self) -> bool:
|
426
|
+
'''Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.'''
|
427
|
+
...
|
428
|
+
|
429
|
+
@property
|
430
|
+
def cancelable(self) -> bool:
|
431
|
+
'''Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.'''
|
432
|
+
...
|
433
|
+
|
434
|
+
@property
|
435
|
+
def current_target(self) -> aspose.html.dom.EventTarget:
|
436
|
+
...
|
437
|
+
|
438
|
+
@property
|
439
|
+
def event_phase(self) -> int:
|
440
|
+
...
|
441
|
+
|
442
|
+
@property
|
443
|
+
def target(self) -> aspose.html.dom.EventTarget:
|
444
|
+
'''Used to indicate the :py:class:`aspose.html.dom.events.IEventTarget` to which the event was originally dispatched.'''
|
445
|
+
...
|
446
|
+
|
447
|
+
@property
|
448
|
+
def time_stamp(self) -> int:
|
449
|
+
...
|
450
|
+
|
451
|
+
@property
|
452
|
+
def type(self) -> str:
|
453
|
+
'''The name of the event (case-insensitive). The name must be an XML name.'''
|
454
|
+
...
|
455
|
+
|
456
|
+
@property
|
457
|
+
def default_prevented(self) -> bool:
|
458
|
+
...
|
459
|
+
|
460
|
+
@property
|
461
|
+
def is_trusted(self) -> bool:
|
462
|
+
...
|
463
|
+
|
464
|
+
@classmethod
|
465
|
+
@property
|
466
|
+
def NONE_PHASE(cls) -> int:
|
467
|
+
...
|
468
|
+
|
469
|
+
@classmethod
|
470
|
+
@property
|
471
|
+
def CAPTURING_PHASE(cls) -> int:
|
472
|
+
...
|
473
|
+
|
474
|
+
@classmethod
|
475
|
+
@property
|
476
|
+
def AT_TARGET_PHASE(cls) -> int:
|
477
|
+
...
|
478
|
+
|
479
|
+
@classmethod
|
480
|
+
@property
|
481
|
+
def BUBBLING_PHASE(cls) -> int:
|
482
|
+
...
|
483
|
+
|
484
|
+
...
|
485
|
+
|
486
|
+
class FocusEvent(UIEvent):
|
487
|
+
'''The FocusEvent interface provides specific contextual information associated with Focus events.'''
|
488
|
+
|
489
|
+
def get_platform_type(self) -> Type:
|
490
|
+
'''This method is used to retrieve ECMAScript object :py:class:`System.Type`.
|
491
|
+
|
492
|
+
:returns: The ECMAScript object :py:class:`System.Type`.'''
|
493
|
+
...
|
494
|
+
|
495
|
+
def init_event(self, type : str, bubbles : bool, cancelable : bool):
|
496
|
+
'''The :py:func:`aspose.html.dom.events.Event.init_event` method is used to initialize the value of an :py:class:`aspose.html.dom.events.Event` created through the
|
497
|
+
:py:class:`aspose.html.dom.events.IDocumentEvent` interface.
|
498
|
+
|
499
|
+
:param type: The event type.
|
500
|
+
:param bubbles: if set to ``true`` [bubbles].
|
501
|
+
:param cancelable: if set to ``true`` [cancelable].'''
|
502
|
+
...
|
503
|
+
|
504
|
+
def prevent_default(self):
|
505
|
+
'''If an event is cancelable, the :py:func:`aspose.html.dom.events.Event.prevent_default` method is used to signify that the event is to be canceled,
|
506
|
+
meaning any default action normally taken by the implementation as a result of the event will not occur.'''
|
507
|
+
...
|
508
|
+
|
509
|
+
def stop_propagation(self):
|
510
|
+
'''The :py:func:`aspose.html.dom.events.Event.stop_propagation` method is used prevent further propagation of an event during event flow.'''
|
511
|
+
...
|
512
|
+
|
513
|
+
def stop_immediate_propagation(self):
|
514
|
+
'''Invoking this method prevents event from reaching any event listeners registered after the current one and when dispatched in a tree also prevents event from reaching any other objects.'''
|
515
|
+
...
|
516
|
+
|
517
|
+
@property
|
518
|
+
def bubbles(self) -> bool:
|
519
|
+
'''Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.'''
|
520
|
+
...
|
521
|
+
|
522
|
+
@property
|
523
|
+
def cancelable(self) -> bool:
|
524
|
+
'''Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.'''
|
525
|
+
...
|
526
|
+
|
527
|
+
@property
|
528
|
+
def current_target(self) -> aspose.html.dom.EventTarget:
|
529
|
+
...
|
530
|
+
|
531
|
+
@property
|
532
|
+
def event_phase(self) -> int:
|
533
|
+
...
|
534
|
+
|
535
|
+
@property
|
536
|
+
def target(self) -> aspose.html.dom.EventTarget:
|
537
|
+
'''Used to indicate the :py:class:`aspose.html.dom.events.IEventTarget` to which the event was originally dispatched.'''
|
538
|
+
...
|
539
|
+
|
540
|
+
@property
|
541
|
+
def time_stamp(self) -> int:
|
542
|
+
...
|
543
|
+
|
544
|
+
@property
|
545
|
+
def type(self) -> str:
|
546
|
+
'''The name of the event (case-insensitive). The name must be an XML name.'''
|
547
|
+
...
|
548
|
+
|
549
|
+
@property
|
550
|
+
def default_prevented(self) -> bool:
|
551
|
+
...
|
552
|
+
|
553
|
+
@property
|
554
|
+
def is_trusted(self) -> bool:
|
555
|
+
...
|
556
|
+
|
557
|
+
@classmethod
|
558
|
+
@property
|
559
|
+
def NONE_PHASE(cls) -> int:
|
560
|
+
...
|
561
|
+
|
562
|
+
@classmethod
|
563
|
+
@property
|
564
|
+
def CAPTURING_PHASE(cls) -> int:
|
565
|
+
...
|
566
|
+
|
567
|
+
@classmethod
|
568
|
+
@property
|
569
|
+
def AT_TARGET_PHASE(cls) -> int:
|
570
|
+
...
|
571
|
+
|
572
|
+
@classmethod
|
573
|
+
@property
|
574
|
+
def BUBBLING_PHASE(cls) -> int:
|
575
|
+
...
|
576
|
+
|
577
|
+
@property
|
578
|
+
def view(self) -> aspose.html.window.IWindow:
|
579
|
+
'''The view attribute identifies the Window from which the event was generated.
|
580
|
+
The un-initialized value of this attribute MUST be null.'''
|
581
|
+
...
|
582
|
+
|
583
|
+
@property
|
584
|
+
def detail(self) -> int:
|
585
|
+
'''Specifies some detail information about the Event, depending on the type of event.'''
|
586
|
+
...
|
587
|
+
|
588
|
+
@property
|
589
|
+
def related_target(self) -> aspose.html.dom.EventTarget:
|
590
|
+
...
|
591
|
+
|
592
|
+
...
|
593
|
+
|
594
|
+
class IDocumentEvent:
|
595
|
+
'''The :py:class:`aspose.html.dom.events.IDocumentEvent` interface provides a mechanism by which the user can create an :py:class:`aspose.html.dom.events.Event` of a type supported by the implementation.'''
|
596
|
+
|
597
|
+
def create_event(self, event_type : str) -> aspose.html.dom.events.Event:
|
598
|
+
'''Creates an :py:class:`aspose.html.dom.events.Event` of a type supported by the implementation.
|
599
|
+
|
600
|
+
:param event_type: The eventType parameter specifies the type of :py:class:`aspose.html.dom.events.Event` interface to be created.
|
601
|
+
:returns: The newly created :py:class:`aspose.html.dom.events.Event`'''
|
602
|
+
...
|
603
|
+
|
604
|
+
...
|
605
|
+
|
606
|
+
class IEventListener:
|
607
|
+
'''The :py:class:`aspose.html.dom.events.IEventListener` interface is the primary method for handling events.
|
608
|
+
Users implement the :py:class:`aspose.html.dom.events.IEventListener` interface and register their listener on an :py:class:`aspose.html.dom.EventTarget` using the :py:func:`aspose.html.dom.EventTarget.add_event_listener` method.
|
609
|
+
The users should also remove their :py:class:`aspose.html.dom.events.IEventListener` from its :py:class:`aspose.html.dom.EventTarget` after they have completed using the listener.'''
|
610
|
+
|
611
|
+
def handle_event(self, event : aspose.html.dom.events.Event):
|
612
|
+
'''This method is called whenever an event occurs of the type for which the :py:class:`aspose.html.dom.events.IEventListener` interface was registered.
|
613
|
+
|
614
|
+
:param event: The :py:class:`aspose.html.dom.events.Event` contains contextual information about the event.
|
615
|
+
It also contains the :py:func:`aspose.html.dom.events.Event.stop_propagation` and :py:func:`aspose.html.dom.events.Event.prevent_default` methods which are used in determining the event's flow and default action.'''
|
616
|
+
...
|
617
|
+
|
618
|
+
...
|
619
|
+
|
620
|
+
class IEventTarget:
|
621
|
+
'''The :py:class:`aspose.html.dom.EventTarget` interface is implemented by all Nodes in an implementation which supports the DOM Event Model.
|
622
|
+
Therefore, this interface can be obtained by using binding-specific casting methods on an instance of the Node interface.
|
623
|
+
The interface allows registration and removal of Event Listeners on an :py:class:`aspose.html.dom.EventTarget` and dispatch of events to that :py:class:`aspose.html.dom.events.IEventTarget`.'''
|
624
|
+
|
625
|
+
@overload
|
626
|
+
def add_event_listener(self, type : str, listener : aspose.html.dom.events.IEventListener):
|
627
|
+
'''This method allows the registration of event listeners on the event target.
|
628
|
+
|
629
|
+
:param type: The event type for which the user is registering
|
630
|
+
:param listener: Takes an interface implemented by the user which contains the methods to be called when the event occurs.'''
|
631
|
+
...
|
632
|
+
|
633
|
+
@overload
|
634
|
+
def add_event_listener(self, type : str, listener : aspose.html.dom.events.IEventListener, use_capture : bool):
|
635
|
+
'''This method allows the registration of event listeners on the event target.
|
636
|
+
|
637
|
+
:param type: The event type for which the user is registering
|
638
|
+
:param listener: Takes an interface implemented by the user which contains the methods to be called when the event occurs.
|
639
|
+
:param use_capture: If true, useCapture indicates that the user wishes to initiate capture.
|
640
|
+
After initiating capture, all events of the specified type will be dispatched to the registered
|
641
|
+
:py:class:`aspose.html.dom.events.IEventListener`
|
642
|
+
before being dispatched to any Event Targets beneath them in the tree.
|
643
|
+
Events which are bubbling upward through the tree will not trigger an :py:class:`aspose.html.dom.events.IEventListener` designated to use capture.'''
|
644
|
+
...
|
645
|
+
|
646
|
+
@overload
|
647
|
+
def remove_event_listener(self, type : str, listener : aspose.html.dom.events.IEventListener):
|
648
|
+
'''This method allows the removal of event listeners from the event target.
|
649
|
+
If an :py:class:`aspose.html.dom.events.IEventListener` is removed from an :py:class:`aspose.html.dom.EventTarget` while it is processing an event, it will not be triggered by the current actions.
|
650
|
+
Event Listeners can never be invoked after being removed.
|
651
|
+
|
652
|
+
:param type: Specifies the event type of the :py:class:`aspose.html.dom.events.IEventListener` being removed.
|
653
|
+
:param listener: The :py:class:`aspose.html.dom.events.IEventListener` parameter indicates the :py:class:`aspose.html.dom.events.IEventListener` to be removed.'''
|
654
|
+
...
|
655
|
+
|
656
|
+
@overload
|
657
|
+
def remove_event_listener(self, type : str, listener : aspose.html.dom.events.IEventListener, use_capture : bool):
|
658
|
+
'''This method allows the removal of event listeners from the event target.
|
659
|
+
If an :py:class:`aspose.html.dom.events.IEventListener` is removed from an :py:class:`aspose.html.dom.EventTarget` while it is processing an event, it will not be triggered by the current actions.
|
660
|
+
Event Listeners can never be invoked after being removed.
|
661
|
+
|
662
|
+
:param type: Specifies the event type of the :py:class:`aspose.html.dom.events.IEventListener` being removed.
|
663
|
+
:param listener: The :py:class:`aspose.html.dom.events.IEventListener` parameter indicates the :py:class:`aspose.html.dom.events.IEventListener` to be removed.
|
664
|
+
:param use_capture: Specifies whether the EventListener being removed was registered as a capturing listener or not.
|
665
|
+
If a listener was registered twice, one with capture and one without, each must be removed separately.
|
666
|
+
Removal of a capturing listener does not affect a non-capturing version of the same listener, and vice versa.'''
|
667
|
+
...
|
668
|
+
|
669
|
+
def dispatch_event(self, event : aspose.html.dom.events.Event) -> bool:
|
670
|
+
'''This method allows the dispatch of events into the implementations event model.
|
671
|
+
|
672
|
+
:param event: Specifies the event type, behavior, and contextual information to be used in processing the event.
|
673
|
+
:returns: The return value of :py:func:`aspose.html.dom.EventTarget.dispatch_event` indicates whether any of the listeners which handled the event called :py:func:`aspose.html.dom.events.Event.prevent_default`.
|
674
|
+
If :py:func:`aspose.html.dom.events.Event.prevent_default` was called the value is false, else the value is true.'''
|
675
|
+
...
|
676
|
+
|
677
|
+
...
|
678
|
+
|
679
|
+
class InputEvent(UIEvent):
|
680
|
+
'''Input events are sent as notifications whenever the DOM is being updated.'''
|
681
|
+
|
682
|
+
def get_platform_type(self) -> Type:
|
683
|
+
'''This method is used to retrieve ECMAScript object :py:class:`System.Type`.
|
684
|
+
|
685
|
+
:returns: The ECMAScript object :py:class:`System.Type`.'''
|
686
|
+
...
|
687
|
+
|
688
|
+
def init_event(self, type : str, bubbles : bool, cancelable : bool):
|
689
|
+
'''The :py:func:`aspose.html.dom.events.Event.init_event` method is used to initialize the value of an :py:class:`aspose.html.dom.events.Event` created through the
|
690
|
+
:py:class:`aspose.html.dom.events.IDocumentEvent` interface.
|
691
|
+
|
692
|
+
:param type: The event type.
|
693
|
+
:param bubbles: if set to ``true`` [bubbles].
|
694
|
+
:param cancelable: if set to ``true`` [cancelable].'''
|
695
|
+
...
|
696
|
+
|
697
|
+
def prevent_default(self):
|
698
|
+
'''If an event is cancelable, the :py:func:`aspose.html.dom.events.Event.prevent_default` method is used to signify that the event is to be canceled,
|
699
|
+
meaning any default action normally taken by the implementation as a result of the event will not occur.'''
|
700
|
+
...
|
701
|
+
|
702
|
+
def stop_propagation(self):
|
703
|
+
'''The :py:func:`aspose.html.dom.events.Event.stop_propagation` method is used prevent further propagation of an event during event flow.'''
|
704
|
+
...
|
705
|
+
|
706
|
+
def stop_immediate_propagation(self):
|
707
|
+
'''Invoking this method prevents event from reaching any event listeners registered after the current one and when dispatched in a tree also prevents event from reaching any other objects.'''
|
708
|
+
...
|
709
|
+
|
710
|
+
@property
|
711
|
+
def bubbles(self) -> bool:
|
712
|
+
'''Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.'''
|
713
|
+
...
|
714
|
+
|
715
|
+
@property
|
716
|
+
def cancelable(self) -> bool:
|
717
|
+
'''Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.'''
|
718
|
+
...
|
719
|
+
|
720
|
+
@property
|
721
|
+
def current_target(self) -> aspose.html.dom.EventTarget:
|
722
|
+
...
|
723
|
+
|
724
|
+
@property
|
725
|
+
def event_phase(self) -> int:
|
726
|
+
...
|
727
|
+
|
728
|
+
@property
|
729
|
+
def target(self) -> aspose.html.dom.EventTarget:
|
730
|
+
'''Used to indicate the :py:class:`aspose.html.dom.events.IEventTarget` to which the event was originally dispatched.'''
|
731
|
+
...
|
732
|
+
|
733
|
+
@property
|
734
|
+
def time_stamp(self) -> int:
|
735
|
+
...
|
736
|
+
|
737
|
+
@property
|
738
|
+
def type(self) -> str:
|
739
|
+
'''The name of the event (case-insensitive). The name must be an XML name.'''
|
740
|
+
...
|
741
|
+
|
742
|
+
@property
|
743
|
+
def default_prevented(self) -> bool:
|
744
|
+
...
|
745
|
+
|
746
|
+
@property
|
747
|
+
def is_trusted(self) -> bool:
|
748
|
+
...
|
749
|
+
|
750
|
+
@classmethod
|
751
|
+
@property
|
752
|
+
def NONE_PHASE(cls) -> int:
|
753
|
+
...
|
754
|
+
|
755
|
+
@classmethod
|
756
|
+
@property
|
757
|
+
def CAPTURING_PHASE(cls) -> int:
|
758
|
+
...
|
759
|
+
|
760
|
+
@classmethod
|
761
|
+
@property
|
762
|
+
def AT_TARGET_PHASE(cls) -> int:
|
763
|
+
...
|
764
|
+
|
765
|
+
@classmethod
|
766
|
+
@property
|
767
|
+
def BUBBLING_PHASE(cls) -> int:
|
768
|
+
...
|
769
|
+
|
770
|
+
@property
|
771
|
+
def view(self) -> aspose.html.window.IWindow:
|
772
|
+
'''The view attribute identifies the Window from which the event was generated.
|
773
|
+
The un-initialized value of this attribute MUST be null.'''
|
774
|
+
...
|
775
|
+
|
776
|
+
@property
|
777
|
+
def detail(self) -> int:
|
778
|
+
'''Specifies some detail information about the Event, depending on the type of event.'''
|
779
|
+
...
|
780
|
+
|
781
|
+
@property
|
782
|
+
def data(self) -> str:
|
783
|
+
'''The data holds the value of the characters generated by an input method. This MAY be a single Unicode character or a non-empty sequence of Unicode characters [Unicode]. Characters SHOULD be normalized as defined by the Unicode normalization form NFC, defined in [UAX15]. This attribute MAY contain the empty string.'''
|
784
|
+
...
|
785
|
+
|
786
|
+
@property
|
787
|
+
def is_composing(self) -> bool:
|
788
|
+
...
|
789
|
+
|
790
|
+
...
|
791
|
+
|
792
|
+
class KeyboardEvent(UIEvent):
|
793
|
+
'''The KeyboardEvent interface provides specific contextual information associated with keyboard devices. Each keyboard event references a key using a value. Keyboard events are commonly directed at the element that has the focus.'''
|
794
|
+
|
795
|
+
def get_platform_type(self) -> Type:
|
796
|
+
'''This method is used to retrieve ECMAScript object :py:class:`System.Type`.
|
797
|
+
|
798
|
+
:returns: The ECMAScript object :py:class:`System.Type`.'''
|
799
|
+
...
|
800
|
+
|
801
|
+
def init_event(self, type : str, bubbles : bool, cancelable : bool):
|
802
|
+
'''The :py:func:`aspose.html.dom.events.Event.init_event` method is used to initialize the value of an :py:class:`aspose.html.dom.events.Event` created through the
|
803
|
+
:py:class:`aspose.html.dom.events.IDocumentEvent` interface.
|
804
|
+
|
805
|
+
:param type: The event type.
|
806
|
+
:param bubbles: if set to ``true`` [bubbles].
|
807
|
+
:param cancelable: if set to ``true`` [cancelable].'''
|
808
|
+
...
|
809
|
+
|
810
|
+
def prevent_default(self):
|
811
|
+
'''If an event is cancelable, the :py:func:`aspose.html.dom.events.Event.prevent_default` method is used to signify that the event is to be canceled,
|
812
|
+
meaning any default action normally taken by the implementation as a result of the event will not occur.'''
|
813
|
+
...
|
814
|
+
|
815
|
+
def stop_propagation(self):
|
816
|
+
'''The :py:func:`aspose.html.dom.events.Event.stop_propagation` method is used prevent further propagation of an event during event flow.'''
|
817
|
+
...
|
818
|
+
|
819
|
+
def stop_immediate_propagation(self):
|
820
|
+
'''Invoking this method prevents event from reaching any event listeners registered after the current one and when dispatched in a tree also prevents event from reaching any other objects.'''
|
821
|
+
...
|
822
|
+
|
823
|
+
@property
|
824
|
+
def bubbles(self) -> bool:
|
825
|
+
'''Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.'''
|
826
|
+
...
|
827
|
+
|
828
|
+
@property
|
829
|
+
def cancelable(self) -> bool:
|
830
|
+
'''Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.'''
|
831
|
+
...
|
832
|
+
|
833
|
+
@property
|
834
|
+
def current_target(self) -> aspose.html.dom.EventTarget:
|
835
|
+
...
|
836
|
+
|
837
|
+
@property
|
838
|
+
def event_phase(self) -> int:
|
839
|
+
...
|
840
|
+
|
841
|
+
@property
|
842
|
+
def target(self) -> aspose.html.dom.EventTarget:
|
843
|
+
'''Used to indicate the :py:class:`aspose.html.dom.events.IEventTarget` to which the event was originally dispatched.'''
|
844
|
+
...
|
845
|
+
|
846
|
+
@property
|
847
|
+
def time_stamp(self) -> int:
|
848
|
+
...
|
849
|
+
|
850
|
+
@property
|
851
|
+
def type(self) -> str:
|
852
|
+
'''The name of the event (case-insensitive). The name must be an XML name.'''
|
853
|
+
...
|
854
|
+
|
855
|
+
@property
|
856
|
+
def default_prevented(self) -> bool:
|
857
|
+
...
|
858
|
+
|
859
|
+
@property
|
860
|
+
def is_trusted(self) -> bool:
|
861
|
+
...
|
862
|
+
|
863
|
+
@classmethod
|
864
|
+
@property
|
865
|
+
def NONE_PHASE(cls) -> int:
|
866
|
+
...
|
867
|
+
|
868
|
+
@classmethod
|
869
|
+
@property
|
870
|
+
def CAPTURING_PHASE(cls) -> int:
|
871
|
+
...
|
872
|
+
|
873
|
+
@classmethod
|
874
|
+
@property
|
875
|
+
def AT_TARGET_PHASE(cls) -> int:
|
876
|
+
...
|
877
|
+
|
878
|
+
@classmethod
|
879
|
+
@property
|
880
|
+
def BUBBLING_PHASE(cls) -> int:
|
881
|
+
...
|
882
|
+
|
883
|
+
@property
|
884
|
+
def view(self) -> aspose.html.window.IWindow:
|
885
|
+
'''The view attribute identifies the Window from which the event was generated.
|
886
|
+
The un-initialized value of this attribute MUST be null.'''
|
887
|
+
...
|
888
|
+
|
889
|
+
@property
|
890
|
+
def detail(self) -> int:
|
891
|
+
'''Specifies some detail information about the Event, depending on the type of event.'''
|
892
|
+
...
|
893
|
+
|
894
|
+
@property
|
895
|
+
def key(self) -> str:
|
896
|
+
'''The key holds the key value of the key pressed. If the value is has a printed representation, it MUST be a non-empty Unicode character string, conforming to the algorithm for determining the key value defined in this specification. If the value is a control key which has no printed representation, it MUST be one of the key values defined in the key values set, as determined by the algorithm for determining the key value. Implementations that are unable to identify a key MUST use the key value Unidentified.'''
|
897
|
+
...
|
898
|
+
|
899
|
+
@property
|
900
|
+
def code(self) -> str:
|
901
|
+
'''The code holds a string that identifies the physical key being pressed. The value is not affected by the current keyboard layout or modifier state, so a particular key will always return the same value.'''
|
902
|
+
...
|
903
|
+
|
904
|
+
@property
|
905
|
+
def location(self) -> int:
|
906
|
+
'''The location attribute contains an indication of the logical location of the key on the device.'''
|
907
|
+
...
|
908
|
+
|
909
|
+
@property
|
910
|
+
def ctrl_key(self) -> bool:
|
911
|
+
...
|
912
|
+
|
913
|
+
@property
|
914
|
+
def shift_key(self) -> bool:
|
915
|
+
...
|
916
|
+
|
917
|
+
@property
|
918
|
+
def alt_key(self) -> bool:
|
919
|
+
...
|
920
|
+
|
921
|
+
@property
|
922
|
+
def meta_key(self) -> bool:
|
923
|
+
...
|
924
|
+
|
925
|
+
@property
|
926
|
+
def repeat(self) -> bool:
|
927
|
+
'''true if the key has been pressed in a sustained manner. Holding down a key MUST result in the repeating the events keydown, beforeinput, input in this order, at a rate determined by the system configuration. For mobile devices which have long-key-press behavior, the first key event with a repeat attribute value of true MUST serve as an indication of a long-key-press. The length of time that the key MUST be pressed in order to begin repeating is configuration-dependent.'''
|
928
|
+
...
|
929
|
+
|
930
|
+
@property
|
931
|
+
def is_composing(self) -> bool:
|
932
|
+
...
|
933
|
+
|
934
|
+
@classmethod
|
935
|
+
@property
|
936
|
+
def DOM_KEY_LOCATION_STANDARD(cls) -> int:
|
937
|
+
'''The key activation MUST NOT be distinguished as the left or right version of the key, and (other than the NumLock key) did not originate from the numeric keypad (or did not originate with a virtual key corresponding to the numeric keypad).'''
|
938
|
+
...
|
939
|
+
|
940
|
+
@classmethod
|
941
|
+
@property
|
942
|
+
def DOM_KEY_LOCATION_LEFT(cls) -> int:
|
943
|
+
'''The key activated originated from the left key location (when there is more than one possible location for this key).'''
|
944
|
+
...
|
945
|
+
|
946
|
+
@classmethod
|
947
|
+
@property
|
948
|
+
def DOM_KEY_LOCATION_RIGHT(cls) -> int:
|
949
|
+
'''The key activation originated from the right key location (when there is more than one possible location for this key).'''
|
950
|
+
...
|
951
|
+
|
952
|
+
@classmethod
|
953
|
+
@property
|
954
|
+
def DOM_KEY_LOCATION_NUMPAD(cls) -> int:
|
955
|
+
'''The key activation originated on the numeric keypad or with a virtual key corresponding to the numeric keypad (when there is more than one possible location for this key). Note that the NumLock key should always be encoded with a location of DOM_KEY_LOCATION_STANDARD.'''
|
956
|
+
...
|
957
|
+
|
958
|
+
...
|
959
|
+
|
960
|
+
class MouseEvent(UIEvent):
|
961
|
+
'''The MouseEvent interface provides specific contextual information associated with Mouse events.'''
|
962
|
+
|
963
|
+
def get_platform_type(self) -> Type:
|
964
|
+
'''This method is used to retrieve ECMAScript object :py:class:`System.Type`.
|
965
|
+
|
966
|
+
:returns: The ECMAScript object :py:class:`System.Type`.'''
|
967
|
+
...
|
968
|
+
|
969
|
+
def init_event(self, type : str, bubbles : bool, cancelable : bool):
|
970
|
+
'''The :py:func:`aspose.html.dom.events.Event.init_event` method is used to initialize the value of an :py:class:`aspose.html.dom.events.Event` created through the
|
971
|
+
:py:class:`aspose.html.dom.events.IDocumentEvent` interface.
|
972
|
+
|
973
|
+
:param type: The event type.
|
974
|
+
:param bubbles: if set to ``true`` [bubbles].
|
975
|
+
:param cancelable: if set to ``true`` [cancelable].'''
|
976
|
+
...
|
977
|
+
|
978
|
+
def prevent_default(self):
|
979
|
+
'''If an event is cancelable, the :py:func:`aspose.html.dom.events.Event.prevent_default` method is used to signify that the event is to be canceled,
|
980
|
+
meaning any default action normally taken by the implementation as a result of the event will not occur.'''
|
981
|
+
...
|
982
|
+
|
983
|
+
def stop_propagation(self):
|
984
|
+
'''The :py:func:`aspose.html.dom.events.Event.stop_propagation` method is used prevent further propagation of an event during event flow.'''
|
985
|
+
...
|
986
|
+
|
987
|
+
def stop_immediate_propagation(self):
|
988
|
+
'''Invoking this method prevents event from reaching any event listeners registered after the current one and when dispatched in a tree also prevents event from reaching any other objects.'''
|
989
|
+
...
|
990
|
+
|
991
|
+
@property
|
992
|
+
def bubbles(self) -> bool:
|
993
|
+
'''Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.'''
|
994
|
+
...
|
995
|
+
|
996
|
+
@property
|
997
|
+
def cancelable(self) -> bool:
|
998
|
+
'''Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.'''
|
999
|
+
...
|
1000
|
+
|
1001
|
+
@property
|
1002
|
+
def current_target(self) -> aspose.html.dom.EventTarget:
|
1003
|
+
...
|
1004
|
+
|
1005
|
+
@property
|
1006
|
+
def event_phase(self) -> int:
|
1007
|
+
...
|
1008
|
+
|
1009
|
+
@property
|
1010
|
+
def target(self) -> aspose.html.dom.EventTarget:
|
1011
|
+
'''Used to indicate the :py:class:`aspose.html.dom.events.IEventTarget` to which the event was originally dispatched.'''
|
1012
|
+
...
|
1013
|
+
|
1014
|
+
@property
|
1015
|
+
def time_stamp(self) -> int:
|
1016
|
+
...
|
1017
|
+
|
1018
|
+
@property
|
1019
|
+
def type(self) -> str:
|
1020
|
+
'''The name of the event (case-insensitive). The name must be an XML name.'''
|
1021
|
+
...
|
1022
|
+
|
1023
|
+
@property
|
1024
|
+
def default_prevented(self) -> bool:
|
1025
|
+
...
|
1026
|
+
|
1027
|
+
@property
|
1028
|
+
def is_trusted(self) -> bool:
|
1029
|
+
...
|
1030
|
+
|
1031
|
+
@classmethod
|
1032
|
+
@property
|
1033
|
+
def NONE_PHASE(cls) -> int:
|
1034
|
+
...
|
1035
|
+
|
1036
|
+
@classmethod
|
1037
|
+
@property
|
1038
|
+
def CAPTURING_PHASE(cls) -> int:
|
1039
|
+
...
|
1040
|
+
|
1041
|
+
@classmethod
|
1042
|
+
@property
|
1043
|
+
def AT_TARGET_PHASE(cls) -> int:
|
1044
|
+
...
|
1045
|
+
|
1046
|
+
@classmethod
|
1047
|
+
@property
|
1048
|
+
def BUBBLING_PHASE(cls) -> int:
|
1049
|
+
...
|
1050
|
+
|
1051
|
+
@property
|
1052
|
+
def view(self) -> aspose.html.window.IWindow:
|
1053
|
+
'''The view attribute identifies the Window from which the event was generated.
|
1054
|
+
The un-initialized value of this attribute MUST be null.'''
|
1055
|
+
...
|
1056
|
+
|
1057
|
+
@property
|
1058
|
+
def detail(self) -> int:
|
1059
|
+
'''Specifies some detail information about the Event, depending on the type of event.'''
|
1060
|
+
...
|
1061
|
+
|
1062
|
+
@property
|
1063
|
+
def screen_x(self) -> int:
|
1064
|
+
...
|
1065
|
+
|
1066
|
+
@property
|
1067
|
+
def screen_y(self) -> int:
|
1068
|
+
...
|
1069
|
+
|
1070
|
+
@property
|
1071
|
+
def client_x(self) -> int:
|
1072
|
+
...
|
1073
|
+
|
1074
|
+
@property
|
1075
|
+
def client_y(self) -> int:
|
1076
|
+
...
|
1077
|
+
|
1078
|
+
@property
|
1079
|
+
def ctrl_key(self) -> bool:
|
1080
|
+
...
|
1081
|
+
|
1082
|
+
@property
|
1083
|
+
def shift_key(self) -> bool:
|
1084
|
+
...
|
1085
|
+
|
1086
|
+
@property
|
1087
|
+
def alt_key(self) -> bool:
|
1088
|
+
...
|
1089
|
+
|
1090
|
+
@property
|
1091
|
+
def meta_key(self) -> bool:
|
1092
|
+
...
|
1093
|
+
|
1094
|
+
@property
|
1095
|
+
def button(self) -> int:
|
1096
|
+
'''During mouse events caused by the depression or release of a mouse button, button MUST be used to indicate which pointer device button changed state.'''
|
1097
|
+
...
|
1098
|
+
|
1099
|
+
@property
|
1100
|
+
def buttons(self) -> int:
|
1101
|
+
'''During any mouse events, buttons MUST be used to indicate which combination of mouse buttons are currently being pressed, expressed as a bitmask.'''
|
1102
|
+
...
|
1103
|
+
|
1104
|
+
@property
|
1105
|
+
def related_target(self) -> aspose.html.dom.EventTarget:
|
1106
|
+
...
|
1107
|
+
|
1108
|
+
...
|
1109
|
+
|
1110
|
+
class UIEvent(Event):
|
1111
|
+
'''The UIEvent interface provides specific contextual information associated with User Interface events.'''
|
1112
|
+
|
1113
|
+
def get_platform_type(self) -> Type:
|
1114
|
+
'''This method is used to retrieve ECMAScript object :py:class:`System.Type`.
|
1115
|
+
|
1116
|
+
:returns: The ECMAScript object :py:class:`System.Type`.'''
|
1117
|
+
...
|
1118
|
+
|
1119
|
+
def init_event(self, type : str, bubbles : bool, cancelable : bool):
|
1120
|
+
'''The :py:func:`aspose.html.dom.events.Event.init_event` method is used to initialize the value of an :py:class:`aspose.html.dom.events.Event` created through the
|
1121
|
+
:py:class:`aspose.html.dom.events.IDocumentEvent` interface.
|
1122
|
+
|
1123
|
+
:param type: The event type.
|
1124
|
+
:param bubbles: if set to ``true`` [bubbles].
|
1125
|
+
:param cancelable: if set to ``true`` [cancelable].'''
|
1126
|
+
...
|
1127
|
+
|
1128
|
+
def prevent_default(self):
|
1129
|
+
'''If an event is cancelable, the :py:func:`aspose.html.dom.events.Event.prevent_default` method is used to signify that the event is to be canceled,
|
1130
|
+
meaning any default action normally taken by the implementation as a result of the event will not occur.'''
|
1131
|
+
...
|
1132
|
+
|
1133
|
+
def stop_propagation(self):
|
1134
|
+
'''The :py:func:`aspose.html.dom.events.Event.stop_propagation` method is used prevent further propagation of an event during event flow.'''
|
1135
|
+
...
|
1136
|
+
|
1137
|
+
def stop_immediate_propagation(self):
|
1138
|
+
'''Invoking this method prevents event from reaching any event listeners registered after the current one and when dispatched in a tree also prevents event from reaching any other objects.'''
|
1139
|
+
...
|
1140
|
+
|
1141
|
+
@property
|
1142
|
+
def bubbles(self) -> bool:
|
1143
|
+
'''Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.'''
|
1144
|
+
...
|
1145
|
+
|
1146
|
+
@property
|
1147
|
+
def cancelable(self) -> bool:
|
1148
|
+
'''Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.'''
|
1149
|
+
...
|
1150
|
+
|
1151
|
+
@property
|
1152
|
+
def current_target(self) -> aspose.html.dom.EventTarget:
|
1153
|
+
...
|
1154
|
+
|
1155
|
+
@property
|
1156
|
+
def event_phase(self) -> int:
|
1157
|
+
...
|
1158
|
+
|
1159
|
+
@property
|
1160
|
+
def target(self) -> aspose.html.dom.EventTarget:
|
1161
|
+
'''Used to indicate the :py:class:`aspose.html.dom.events.IEventTarget` to which the event was originally dispatched.'''
|
1162
|
+
...
|
1163
|
+
|
1164
|
+
@property
|
1165
|
+
def time_stamp(self) -> int:
|
1166
|
+
...
|
1167
|
+
|
1168
|
+
@property
|
1169
|
+
def type(self) -> str:
|
1170
|
+
'''The name of the event (case-insensitive). The name must be an XML name.'''
|
1171
|
+
...
|
1172
|
+
|
1173
|
+
@property
|
1174
|
+
def default_prevented(self) -> bool:
|
1175
|
+
...
|
1176
|
+
|
1177
|
+
@property
|
1178
|
+
def is_trusted(self) -> bool:
|
1179
|
+
...
|
1180
|
+
|
1181
|
+
@classmethod
|
1182
|
+
@property
|
1183
|
+
def NONE_PHASE(cls) -> int:
|
1184
|
+
...
|
1185
|
+
|
1186
|
+
@classmethod
|
1187
|
+
@property
|
1188
|
+
def CAPTURING_PHASE(cls) -> int:
|
1189
|
+
...
|
1190
|
+
|
1191
|
+
@classmethod
|
1192
|
+
@property
|
1193
|
+
def AT_TARGET_PHASE(cls) -> int:
|
1194
|
+
...
|
1195
|
+
|
1196
|
+
@classmethod
|
1197
|
+
@property
|
1198
|
+
def BUBBLING_PHASE(cls) -> int:
|
1199
|
+
...
|
1200
|
+
|
1201
|
+
@property
|
1202
|
+
def view(self) -> aspose.html.window.IWindow:
|
1203
|
+
'''The view attribute identifies the Window from which the event was generated.
|
1204
|
+
The un-initialized value of this attribute MUST be null.'''
|
1205
|
+
...
|
1206
|
+
|
1207
|
+
@property
|
1208
|
+
def detail(self) -> int:
|
1209
|
+
'''Specifies some detail information about the Event, depending on the type of event.'''
|
1210
|
+
...
|
1211
|
+
|
1212
|
+
...
|
1213
|
+
|
1214
|
+
class WheelEvent(MouseEvent):
|
1215
|
+
'''The WheelEvent interface provides specific contextual information associated with wheel events. To create an instance of the WheelEvent interface, use the WheelEvent constructor, passing an optional WheelEventInit dictionary.'''
|
1216
|
+
|
1217
|
+
def get_platform_type(self) -> Type:
|
1218
|
+
'''This method is used to retrieve ECMAScript object :py:class:`System.Type`.
|
1219
|
+
|
1220
|
+
:returns: The ECMAScript object :py:class:`System.Type`.'''
|
1221
|
+
...
|
1222
|
+
|
1223
|
+
def init_event(self, type : str, bubbles : bool, cancelable : bool):
|
1224
|
+
'''The :py:func:`aspose.html.dom.events.Event.init_event` method is used to initialize the value of an :py:class:`aspose.html.dom.events.Event` created through the
|
1225
|
+
:py:class:`aspose.html.dom.events.IDocumentEvent` interface.
|
1226
|
+
|
1227
|
+
:param type: The event type.
|
1228
|
+
:param bubbles: if set to ``true`` [bubbles].
|
1229
|
+
:param cancelable: if set to ``true`` [cancelable].'''
|
1230
|
+
...
|
1231
|
+
|
1232
|
+
def prevent_default(self):
|
1233
|
+
'''If an event is cancelable, the :py:func:`aspose.html.dom.events.Event.prevent_default` method is used to signify that the event is to be canceled,
|
1234
|
+
meaning any default action normally taken by the implementation as a result of the event will not occur.'''
|
1235
|
+
...
|
1236
|
+
|
1237
|
+
def stop_propagation(self):
|
1238
|
+
'''The :py:func:`aspose.html.dom.events.Event.stop_propagation` method is used prevent further propagation of an event during event flow.'''
|
1239
|
+
...
|
1240
|
+
|
1241
|
+
def stop_immediate_propagation(self):
|
1242
|
+
'''Invoking this method prevents event from reaching any event listeners registered after the current one and when dispatched in a tree also prevents event from reaching any other objects.'''
|
1243
|
+
...
|
1244
|
+
|
1245
|
+
@property
|
1246
|
+
def bubbles(self) -> bool:
|
1247
|
+
'''Used to indicate whether or not an event is a bubbling event. If the event can bubble the value is true, else the value is false.'''
|
1248
|
+
...
|
1249
|
+
|
1250
|
+
@property
|
1251
|
+
def cancelable(self) -> bool:
|
1252
|
+
'''Used to indicate whether or not an event can have its default action prevented. If the default action can be prevented the value is true, else the value is false.'''
|
1253
|
+
...
|
1254
|
+
|
1255
|
+
@property
|
1256
|
+
def current_target(self) -> aspose.html.dom.EventTarget:
|
1257
|
+
...
|
1258
|
+
|
1259
|
+
@property
|
1260
|
+
def event_phase(self) -> int:
|
1261
|
+
...
|
1262
|
+
|
1263
|
+
@property
|
1264
|
+
def target(self) -> aspose.html.dom.EventTarget:
|
1265
|
+
'''Used to indicate the :py:class:`aspose.html.dom.events.IEventTarget` to which the event was originally dispatched.'''
|
1266
|
+
...
|
1267
|
+
|
1268
|
+
@property
|
1269
|
+
def time_stamp(self) -> int:
|
1270
|
+
...
|
1271
|
+
|
1272
|
+
@property
|
1273
|
+
def type(self) -> str:
|
1274
|
+
'''The name of the event (case-insensitive). The name must be an XML name.'''
|
1275
|
+
...
|
1276
|
+
|
1277
|
+
@property
|
1278
|
+
def default_prevented(self) -> bool:
|
1279
|
+
...
|
1280
|
+
|
1281
|
+
@property
|
1282
|
+
def is_trusted(self) -> bool:
|
1283
|
+
...
|
1284
|
+
|
1285
|
+
@classmethod
|
1286
|
+
@property
|
1287
|
+
def NONE_PHASE(cls) -> int:
|
1288
|
+
...
|
1289
|
+
|
1290
|
+
@classmethod
|
1291
|
+
@property
|
1292
|
+
def CAPTURING_PHASE(cls) -> int:
|
1293
|
+
...
|
1294
|
+
|
1295
|
+
@classmethod
|
1296
|
+
@property
|
1297
|
+
def AT_TARGET_PHASE(cls) -> int:
|
1298
|
+
...
|
1299
|
+
|
1300
|
+
@classmethod
|
1301
|
+
@property
|
1302
|
+
def BUBBLING_PHASE(cls) -> int:
|
1303
|
+
...
|
1304
|
+
|
1305
|
+
@property
|
1306
|
+
def view(self) -> aspose.html.window.IWindow:
|
1307
|
+
'''The view attribute identifies the Window from which the event was generated.
|
1308
|
+
The un-initialized value of this attribute MUST be null.'''
|
1309
|
+
...
|
1310
|
+
|
1311
|
+
@property
|
1312
|
+
def detail(self) -> int:
|
1313
|
+
'''Specifies some detail information about the Event, depending on the type of event.'''
|
1314
|
+
...
|
1315
|
+
|
1316
|
+
@property
|
1317
|
+
def screen_x(self) -> int:
|
1318
|
+
...
|
1319
|
+
|
1320
|
+
@property
|
1321
|
+
def screen_y(self) -> int:
|
1322
|
+
...
|
1323
|
+
|
1324
|
+
@property
|
1325
|
+
def client_x(self) -> int:
|
1326
|
+
...
|
1327
|
+
|
1328
|
+
@property
|
1329
|
+
def client_y(self) -> int:
|
1330
|
+
...
|
1331
|
+
|
1332
|
+
@property
|
1333
|
+
def ctrl_key(self) -> bool:
|
1334
|
+
...
|
1335
|
+
|
1336
|
+
@property
|
1337
|
+
def shift_key(self) -> bool:
|
1338
|
+
...
|
1339
|
+
|
1340
|
+
@property
|
1341
|
+
def alt_key(self) -> bool:
|
1342
|
+
...
|
1343
|
+
|
1344
|
+
@property
|
1345
|
+
def meta_key(self) -> bool:
|
1346
|
+
...
|
1347
|
+
|
1348
|
+
@property
|
1349
|
+
def button(self) -> int:
|
1350
|
+
'''During mouse events caused by the depression or release of a mouse button, button MUST be used to indicate which pointer device button changed state.'''
|
1351
|
+
...
|
1352
|
+
|
1353
|
+
@property
|
1354
|
+
def buttons(self) -> int:
|
1355
|
+
'''During any mouse events, buttons MUST be used to indicate which combination of mouse buttons are currently being pressed, expressed as a bitmask.'''
|
1356
|
+
...
|
1357
|
+
|
1358
|
+
@property
|
1359
|
+
def related_target(self) -> aspose.html.dom.EventTarget:
|
1360
|
+
...
|
1361
|
+
|
1362
|
+
@property
|
1363
|
+
def delta_x(self) -> float:
|
1364
|
+
...
|
1365
|
+
|
1366
|
+
@property
|
1367
|
+
def delta_y(self) -> float:
|
1368
|
+
...
|
1369
|
+
|
1370
|
+
@property
|
1371
|
+
def delta_z(self) -> float:
|
1372
|
+
...
|
1373
|
+
|
1374
|
+
@property
|
1375
|
+
def delta_mode(self) -> int:
|
1376
|
+
...
|
1377
|
+
|
1378
|
+
@classmethod
|
1379
|
+
@property
|
1380
|
+
def DOM_DELTA_PIXEL(cls) -> int:
|
1381
|
+
'''The units of measurement for the delta MUST be pixels. This is the most typical case in most operating system and implementation configurations.'''
|
1382
|
+
...
|
1383
|
+
|
1384
|
+
@classmethod
|
1385
|
+
@property
|
1386
|
+
def DOM_DELTA_LINE(cls) -> int:
|
1387
|
+
'''The units of measurement for the delta MUST be individual lines of text. This is the case for many form controls.'''
|
1388
|
+
...
|
1389
|
+
|
1390
|
+
@classmethod
|
1391
|
+
@property
|
1392
|
+
def DOM_DELTA_PAGE(cls) -> int:
|
1393
|
+
'''The units of measurement for the delta MUST be pages, either defined as a single screen or as a demarcated page.'''
|
1394
|
+
...
|
1395
|
+
|
1396
|
+
...
|
1397
|
+
|