aspose-html-net 25.9.0__py3-none-macosx_10_14_x86_64.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- .__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 +42095 -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 +6830 -0
- aspose/html/dom/attributes/__init__.pyi +144 -0
- aspose/html/dom/canvas/__init__.pyi +1103 -0
- aspose/html/dom/css/__init__.pyi +3488 -0
- aspose/html/dom/events/__init__.pyi +1397 -0
- aspose/html/dom/mutations/__init__.pyi +259 -0
- aspose/html/dom/svg/__init__.pyi +31934 -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 +16150 -0
- aspose/html/dom/svg/paths/__init__.pyi +3466 -0
- aspose/html/dom/svg/saving/__init__.pyi +106 -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 +3224 -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 +521 -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 +805 -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 +501 -0
- aspose/html.cpython-310-darwin.so +0 -0
- aspose/html.cpython-311-darwin.so +0 -0
- aspose/html.cpython-313-darwin.so +0 -0
- aspose/html.cpython-35m-darwin.so +0 -0
- aspose/html.cpython-36m-darwin.so +0 -0
- aspose/html.cpython-37m-darwin.so +0 -0
- aspose/html.cpython-38-darwin.so +0 -0
- aspose/html.cpython-39-darwin.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.dylib +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.dylib +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.dylib +0 -0
- aspose/netcore/netcore3.1/System.Net.Http.Native.a +0 -0
- aspose/netcore/netcore3.1/System.Net.Http.Native.dylib +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.dylib +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.Apple.a +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Native.Apple.dylib +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Native.OpenSsl.a +0 -0
- aspose/netcore/netcore3.1/System.Security.Cryptography.Native.OpenSsl.dylib +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/libaspose.embed.coreclrwrap.dylib +0 -0
- aspose/netcore/netcore3.1/libclrjit.dylib +0 -0
- aspose/netcore/netcore3.1/libcoreclr.dylib +0 -0
- aspose/netcore/netcore3.1/libdbgshim.dylib +0 -0
- aspose/netcore/netcore3.1/libhostfxr.dylib +0 -0
- aspose/netcore/netcore3.1/libhostpolicy.dylib +0 -0
- aspose/netcore/netcore3.1/libmscordaccore.dylib +0 -0
- aspose/netcore/netcore3.1/libmscordbi.dylib +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-310-darwin.so +0 -0
- aspose/pycore.cpython-311-darwin.so +0 -0
- aspose/pycore.cpython-313-darwin.so +0 -0
- aspose/pycore.cpython-35m-darwin.so +0 -0
- aspose/pycore.cpython-36m-darwin.so +0 -0
- aspose/pycore.cpython-37m-darwin.so +0 -0
- aspose/pycore.cpython-38-darwin.so +0 -0
- aspose/pycore.cpython-39-darwin.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-310-darwin.so +0 -0
- aspose/pydrawing.cpython-311-darwin.so +0 -0
- aspose/pydrawing.cpython-313-darwin.so +0 -0
- aspose/pydrawing.cpython-35m-darwin.so +0 -0
- aspose/pydrawing.cpython-36m-darwin.so +0 -0
- aspose/pydrawing.cpython-37m-darwin.so +0 -0
- aspose/pydrawing.cpython-38-darwin.so +0 -0
- aspose/pydrawing.cpython-39-darwin.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-310-darwin.so +0 -0
- aspose/pygc.cpython-311-darwin.so +0 -0
- aspose/pygc.cpython-313-darwin.so +0 -0
- aspose/pygc.cpython-35m-darwin.so +0 -0
- aspose/pygc.cpython-36m-darwin.so +0 -0
- aspose/pygc.cpython-37m-darwin.so +0 -0
- aspose/pygc.cpython-38-darwin.so +0 -0
- aspose/pygc.cpython-39-darwin.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-310-darwin.so +0 -0
- aspose/pyreflection.cpython-311-darwin.so +0 -0
- aspose/pyreflection.cpython-313-darwin.so +0 -0
- aspose/pyreflection.cpython-35m-darwin.so +0 -0
- aspose/pyreflection.cpython-36m-darwin.so +0 -0
- aspose/pyreflection.cpython-37m-darwin.so +0 -0
- aspose/pyreflection.cpython-38-darwin.so +0 -0
- aspose/pyreflection.cpython-39-darwin.so +0 -0
- aspose_html_net-25.9.0.dist-info/METADATA +223 -0
- aspose_html_net-25.9.0.dist-info/RECORD +319 -0
- aspose_html_net-25.9.0.dist-info/WHEEL +5 -0
- aspose_html_net-25.9.0.dist-info/entry_points.txt +2 -0
- aspose_html_net-25.9.0.dist-info/top_level.txt +1 -0
@@ -0,0 +1,200 @@
|
|
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 NodeFilter(aspose.html.dom.DOMObject):
|
57
|
+
'''Filters are objects that know how to "filter out" nodes.'''
|
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 accept_node(self, n : aspose.html.dom.Node) -> int:
|
66
|
+
'''Test whether a specified node is visible in the logical view of a
|
67
|
+
TreeWalker or NodeIterator. This function
|
68
|
+
will be called by the implementation of TreeWalker and
|
69
|
+
NodeIterator; it is not normally called directly from
|
70
|
+
user code. (Though you could do so if you wanted to use the same
|
71
|
+
filter to guide your own application logic.)
|
72
|
+
|
73
|
+
:param n: node to check to see if it passes the filter or not.
|
74
|
+
:returns: a constant to determine whether the node is accepted,
|
75
|
+
rejected, or skipped, as defined above.'''
|
76
|
+
...
|
77
|
+
|
78
|
+
@classmethod
|
79
|
+
@property
|
80
|
+
def FILTER_ACCEPT(cls) -> int:
|
81
|
+
'''Accept the node. Navigation methods defined for
|
82
|
+
NodeIterator or TreeWalker will return this
|
83
|
+
node.'''
|
84
|
+
...
|
85
|
+
|
86
|
+
@classmethod
|
87
|
+
@property
|
88
|
+
def FILTER_REJECT(cls) -> int:
|
89
|
+
'''Reject the node. Navigation methods defined for
|
90
|
+
NodeIterator or TreeWalker will not return
|
91
|
+
this node. For TreeWalker, the children of this node
|
92
|
+
will also be rejected. NodeIterators treat this as a
|
93
|
+
synonym for FILTER_SKIP.'''
|
94
|
+
...
|
95
|
+
|
96
|
+
@classmethod
|
97
|
+
@property
|
98
|
+
def FILTER_SKIP(cls) -> int:
|
99
|
+
'''Skip this single node. Navigation methods defined for
|
100
|
+
NodeIterator or TreeWalker will not return
|
101
|
+
this node. For both NodeIterator and
|
102
|
+
TreeWalker, the children of this node will still be
|
103
|
+
considered.'''
|
104
|
+
...
|
105
|
+
|
106
|
+
@classmethod
|
107
|
+
@property
|
108
|
+
def SHOW_ALL(cls) -> int:
|
109
|
+
'''Show all Nodes.'''
|
110
|
+
...
|
111
|
+
|
112
|
+
@classmethod
|
113
|
+
@property
|
114
|
+
def SHOW_ELEMENT(cls) -> int:
|
115
|
+
'''Show Element nodes.'''
|
116
|
+
...
|
117
|
+
|
118
|
+
@classmethod
|
119
|
+
@property
|
120
|
+
def SHOW_ATTRIBUTE(cls) -> int:
|
121
|
+
'''Show Attr nodes. This is meaningful only when creating an
|
122
|
+
iterator or tree-walker with an attribute node as its
|
123
|
+
root; in this case, it means that the attribute node
|
124
|
+
will appear in the first position of the iteration or traversal.
|
125
|
+
Since attributes are never children of other nodes, they do not
|
126
|
+
appear when traversing over the document tree.'''
|
127
|
+
...
|
128
|
+
|
129
|
+
@classmethod
|
130
|
+
@property
|
131
|
+
def SHOW_TEXT(cls) -> int:
|
132
|
+
'''Show Text nodes.'''
|
133
|
+
...
|
134
|
+
|
135
|
+
@classmethod
|
136
|
+
@property
|
137
|
+
def SHOW_CDATA_SECTION(cls) -> int:
|
138
|
+
'''Show CDATASection nodes.'''
|
139
|
+
...
|
140
|
+
|
141
|
+
@classmethod
|
142
|
+
@property
|
143
|
+
def SHOW_ENTITY_REFERENCE(cls) -> int:
|
144
|
+
'''Show EntityReference nodes.'''
|
145
|
+
...
|
146
|
+
|
147
|
+
@classmethod
|
148
|
+
@property
|
149
|
+
def SHOW_ENTITY(cls) -> int:
|
150
|
+
'''Show Entity nodes. This is meaningful only when creating
|
151
|
+
an iterator or tree-walker with an Entity node as its
|
152
|
+
root; in this case, it means that the Entity
|
153
|
+
node will appear in the first position of the traversal. Since
|
154
|
+
entities are not part of the document tree, they do not appear when
|
155
|
+
traversing over the document tree.'''
|
156
|
+
...
|
157
|
+
|
158
|
+
@classmethod
|
159
|
+
@property
|
160
|
+
def SHOW_PROCESSING_INSTRUCTION(cls) -> int:
|
161
|
+
'''Show ProcessingInstruction nodes.'''
|
162
|
+
...
|
163
|
+
|
164
|
+
@classmethod
|
165
|
+
@property
|
166
|
+
def SHOW_COMMENT(cls) -> int:
|
167
|
+
'''Show Comment nodes.'''
|
168
|
+
...
|
169
|
+
|
170
|
+
@classmethod
|
171
|
+
@property
|
172
|
+
def SHOW_DOCUMENT(cls) -> int:
|
173
|
+
'''Show Document nodes.'''
|
174
|
+
...
|
175
|
+
|
176
|
+
@classmethod
|
177
|
+
@property
|
178
|
+
def SHOW_DOCUMENT_TYPE(cls) -> int:
|
179
|
+
'''Show DocumentType nodes.'''
|
180
|
+
...
|
181
|
+
|
182
|
+
@classmethod
|
183
|
+
@property
|
184
|
+
def SHOW_DOCUMENT_FRAGMENT(cls) -> int:
|
185
|
+
'''Show DocumentFragment nodes.'''
|
186
|
+
...
|
187
|
+
|
188
|
+
@classmethod
|
189
|
+
@property
|
190
|
+
def SHOW_NOTATION(cls) -> int:
|
191
|
+
'''Show Notation nodes. This is meaningful only when creating
|
192
|
+
an iterator or tree-walker with a Notation node as its
|
193
|
+
root; in this case, it means that the
|
194
|
+
Notation node will appear in the first position of the
|
195
|
+
traversal. Since notations are not part of the document tree, they do
|
196
|
+
not appear when traversing over the document tree.'''
|
197
|
+
...
|
198
|
+
|
199
|
+
...
|
200
|
+
|
@@ -0,0 +1,79 @@
|
|
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 IAbstractView:
|
57
|
+
'''A base interface that all views shall derive from.'''
|
58
|
+
|
59
|
+
@property
|
60
|
+
def document(self) -> aspose.html.dom.views.IDocumentView:
|
61
|
+
'''The source DocumentView of which this is an AbstractView.'''
|
62
|
+
...
|
63
|
+
|
64
|
+
...
|
65
|
+
|
66
|
+
class IDocumentView(IAbstractView):
|
67
|
+
'''The DocumentView interface is implemented by Document objects in DOM implementations supporting DOM Views. It provides an attribute to retrieve the default view of a document.'''
|
68
|
+
|
69
|
+
@property
|
70
|
+
def default_view(self) -> aspose.html.dom.views.IAbstractView:
|
71
|
+
...
|
72
|
+
|
73
|
+
@property
|
74
|
+
def document(self) -> aspose.html.dom.views.IDocumentView:
|
75
|
+
'''The source DocumentView of which this is an AbstractView.'''
|
76
|
+
...
|
77
|
+
|
78
|
+
...
|
79
|
+
|
@@ -0,0 +1,317 @@
|
|
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 IXPathEvaluator:
|
57
|
+
'''The evaluation of XPath expressions is provided by :py:class:`aspose.html.dom.xpath.IXPathEvaluator`.'''
|
58
|
+
|
59
|
+
def create_expression(self, expression : str, resolver : aspose.html.dom.xpath.IXPathNSResolver) -> aspose.html.dom.xpath.IXPathExpression:
|
60
|
+
'''Creates a parsed XPath expression with resolved namespaces. This is useful
|
61
|
+
when an expression will be reused in an application since it makes it possible
|
62
|
+
to compile the expression string into a more efficient internal form and
|
63
|
+
preresolve all namespace prefixes which occur within the expression.
|
64
|
+
|
65
|
+
:param expression: The XPath expression string to be parsed.
|
66
|
+
:param resolver: The ``resolver`` permits translation of all prefixes,
|
67
|
+
including the ``xml`` namespace prefix, within the XPath expression into
|
68
|
+
appropriate namespace URIs. If this is specified as ``null``, any namespace
|
69
|
+
prefix within the expression will result in :py:class:`aspose.html.dom.DOMException` being
|
70
|
+
thrown with the code ``NAMESPACE_ERR``.
|
71
|
+
:returns: The compiled form of the XPath expression.'''
|
72
|
+
...
|
73
|
+
|
74
|
+
def create_ns_resolver(self, node_resolver : aspose.html.dom.Node) -> aspose.html.dom.xpath.IXPathNSResolver:
|
75
|
+
'''Adapts any DOM node to resolve namespaces so that an XPath expression can be easily evaluated
|
76
|
+
relative to the context of the node where it appeared within the document. This adapter works
|
77
|
+
like the DOM Level 3 method ``lookupNamespaceURI`` on nodes in resolving the namespaceURI
|
78
|
+
from a given prefix using the current information available in the node's hierarchy at the time
|
79
|
+
lookupNamespaceURI is called, also correctly resolving the implicit xml prefix.
|
80
|
+
|
81
|
+
:param node_resolver: The node to be used as a context for namespace resolution.
|
82
|
+
:returns: :py:class:`aspose.html.dom.xpath.IXPathNSResolver` which resolves namespaces with respect to the definitions
|
83
|
+
in scope for a specified node.'''
|
84
|
+
...
|
85
|
+
|
86
|
+
def evaluate(self, expression : str, context_node : aspose.html.dom.Node, resolver : aspose.html.dom.xpath.IXPathNSResolver, type : aspose.html.dom.xpath.XPathResultType, result : any) -> aspose.html.dom.xpath.IXPathResult:
|
87
|
+
'''Evaluates an XPath expression string and returns a result of the specified type if possible.
|
88
|
+
|
89
|
+
:param expression: The XPath expression string to be parsed and evaluated.
|
90
|
+
:param context_node: The ``context`` is context node for the evaluation of this
|
91
|
+
XPath expression. If the :py:class:`aspose.html.dom.xpath.IXPathEvaluator` was obtained by casting the
|
92
|
+
:py:class:`aspose.html.dom.Document` then this must be owned by the same document and must be a
|
93
|
+
:py:class:`aspose.html.dom.Document`, :py:class:`aspose.html.dom.Element`, :py:class:`aspose.html.dom.Attr`, :py:class:`aspose.html.dom.Text`,
|
94
|
+
:py:class:`aspose.html.dom.CDATASection`, :py:class:`aspose.html.dom.Comment`, :py:class:`aspose.html.dom.ProcessingInstruction`,
|
95
|
+
or :py:class:`Aspose.Html.Dom.XPath.XPathNamespace` node. If the context node is a :py:class:`aspose.html.dom.Text` or a
|
96
|
+
:py:class:`aspose.html.dom.CDATASection`, then the context is interpreted as the whole logical text node
|
97
|
+
as seen by XPath, unless the node is empty in which case it may not serve as the XPath context.
|
98
|
+
:param resolver: The ``resolver`` permits translation of all prefixes, including
|
99
|
+
the ``xml`` namespace prefix, within the XPath expression into appropriate namespace URIs.
|
100
|
+
If this is specified as ``null``, any namespace prefix within the expression will result
|
101
|
+
in :py:class:`aspose.html.dom.DOMException` being thrown with the code ``NAMESPACE_ERR``.
|
102
|
+
:param type: If a specific ``type`` is specified, then the result will be returned as
|
103
|
+
the corresponding type. For XPath 1.0 results, this must be one of the values of the
|
104
|
+
:py:class:`aspose.html.dom.xpath.XPathResultType` enum.
|
105
|
+
:param result: The ``result`` specifies a specific result object which may be reused
|
106
|
+
and returned by this method. If this is specified as ``null`` or the implementation does not
|
107
|
+
reuse the specified result, a new result object will be constructed and returned. For XPath 1.0
|
108
|
+
results, this object will be of type :py:class:`aspose.html.dom.xpath.IXPathResult`.
|
109
|
+
:returns: The result of the evaluation of the XPath expression. For XPath 1.0 results, this object
|
110
|
+
will be of type :py:class:`aspose.html.dom.xpath.IXPathResult`.'''
|
111
|
+
...
|
112
|
+
|
113
|
+
...
|
114
|
+
|
115
|
+
class IXPathExpression:
|
116
|
+
'''The ``XPathExpression`` interface represents a parsed and resolved XPath expression.'''
|
117
|
+
|
118
|
+
def evaluate(self, context_node : aspose.html.dom.Node, type : aspose.html.dom.xpath.XPathResultType, result : any) -> aspose.html.dom.xpath.IXPathResult:
|
119
|
+
'''Evaluates this XPath expression and returns a result.
|
120
|
+
|
121
|
+
:param context_node: The ``context`` is context node for the evaluation of this XPath expression.
|
122
|
+
If the :py:class:`aspose.html.dom.xpath.IXPathEvaluator` was obtained by casting the :py:class:`aspose.html.dom.Document` then this must be
|
123
|
+
owned by the same document and must be a :py:class:`aspose.html.dom.Document`, :py:class:`aspose.html.dom.Element`, :py:class:`aspose.html.dom.Attr`,
|
124
|
+
:py:class:`aspose.html.dom.Text`, :py:class:`aspose.html.dom.CDATASection`, :py:class:`aspose.html.dom.Comment`, :py:class:`aspose.html.dom.ProcessingInstruction`,
|
125
|
+
or :py:class:`Aspose.Html.Dom.XPath.XPathNamespace` node. If the context node is a :py:class:`aspose.html.dom.Text` or a :py:class:`aspose.html.dom.CDATASection`,
|
126
|
+
then the context is interpreted as the whole logical text node as seen by XPath, unless the node is empty
|
127
|
+
in which case it may not serve as the XPath context.
|
128
|
+
:param type: If a specific ``type`` is specified, then the result will be coerced to return the
|
129
|
+
specified type relying on XPath conversions and fail if the desired coercion is not possible. This must
|
130
|
+
be one of the values of :py:class:`aspose.html.dom.xpath.XPathResultType`.
|
131
|
+
:param result: The ``result`` specifies a specific result object which may be reused and returned
|
132
|
+
by this method. If this is specified as ``null`` or the implementation does not reuse the specified
|
133
|
+
result, a new result object will be constructed and returned. For XPath 1.0 results, this object will be
|
134
|
+
of type :py:class:`aspose.html.dom.xpath.IXPathResult`.
|
135
|
+
:returns: The result of the evaluation of the XPath expression. For XPath 1.0 results, this object will be
|
136
|
+
of type :py:class:`aspose.html.dom.xpath.IXPathResult`.'''
|
137
|
+
...
|
138
|
+
|
139
|
+
...
|
140
|
+
|
141
|
+
class IXPathNSResolver:
|
142
|
+
'''The ``XPathNSResolver`` interface permit ``prefix`` strings in
|
143
|
+
the expression to be properly bound to ``namespaceURI`` strings.
|
144
|
+
:py:class:`aspose.html.dom.xpath.IXPathEvaluator` can construct an implementation of
|
145
|
+
:py:class:`aspose.html.dom.xpath.IXPathNSResolver` from a node, or the interface may be
|
146
|
+
implemented by any application.'''
|
147
|
+
|
148
|
+
def lookup_namespace_uri(self, prefix : str) -> str:
|
149
|
+
'''Look up the namespace URI associated to the given namespace prefix.
|
150
|
+
The XPath evaluator must never call this with a ``null`` or empty
|
151
|
+
argument, because the result of doing this is undefined.
|
152
|
+
|
153
|
+
:param prefix: The prefix to look for.
|
154
|
+
:returns: Returns the associated namespace URI or ``null`` if none
|
155
|
+
is found.'''
|
156
|
+
...
|
157
|
+
|
158
|
+
...
|
159
|
+
|
160
|
+
class IXPathNamespace:
|
161
|
+
'''The XPathNamespace interface is returned by XPathResult interfaces to represent the XPath namespace node type that DOM lacks.'''
|
162
|
+
|
163
|
+
@property
|
164
|
+
def owner_element(self) -> aspose.html.dom.Element:
|
165
|
+
...
|
166
|
+
|
167
|
+
...
|
168
|
+
|
169
|
+
class IXPathResult:
|
170
|
+
'''The ``XPathResult`` interface represents the result of the evaluation of an
|
171
|
+
XPath 1.0 expression within the context of a particular node. Since evaluation
|
172
|
+
of an XPath expression can result in various result types, this object makes it
|
173
|
+
possible to discover and manipulate the type and value of the result.'''
|
174
|
+
|
175
|
+
def iterate_next(self) -> aspose.html.dom.Node:
|
176
|
+
'''Iterates and returns the next node from the node set or ``null`` if there are no more nodes.
|
177
|
+
|
178
|
+
:returns: Returns the next node.'''
|
179
|
+
...
|
180
|
+
|
181
|
+
def snapshot_item(self, index : int) -> aspose.html.dom.Node:
|
182
|
+
'''Returns the ``index``th item in the snapshot collection. If ``index`` is greater than
|
183
|
+
or equal to the number of nodes in the list, this method returns ``null``. Unlike the
|
184
|
+
iterator result, the snapshot does not become invalid, but may not correspond to the current
|
185
|
+
document if it is mutated.
|
186
|
+
|
187
|
+
:param index: Index into the snapshot collection.
|
188
|
+
:returns: The node at the ``index``th position in the ``NodeList``, or ``null`` if
|
189
|
+
that is not a valid index.'''
|
190
|
+
...
|
191
|
+
|
192
|
+
@property
|
193
|
+
def result_type(self) -> aspose.html.dom.xpath.XPathResultType:
|
194
|
+
...
|
195
|
+
|
196
|
+
@property
|
197
|
+
def number_value(self) -> float:
|
198
|
+
...
|
199
|
+
|
200
|
+
@property
|
201
|
+
def string_value(self) -> str:
|
202
|
+
...
|
203
|
+
|
204
|
+
@property
|
205
|
+
def boolean_value(self) -> bool:
|
206
|
+
...
|
207
|
+
|
208
|
+
@property
|
209
|
+
def single_node_value(self) -> aspose.html.dom.Node:
|
210
|
+
...
|
211
|
+
|
212
|
+
@property
|
213
|
+
def invalid_iterator_state(self) -> bool:
|
214
|
+
...
|
215
|
+
|
216
|
+
@property
|
217
|
+
def snapshot_length(self) -> int:
|
218
|
+
...
|
219
|
+
|
220
|
+
...
|
221
|
+
|
222
|
+
class XPathResultType:
|
223
|
+
'''An unsigned short indicating what type of result this is. If a specific
|
224
|
+
``type`` is specified, then the result will be returned as the corresponding
|
225
|
+
type, using XPath type conversions where required and possible.'''
|
226
|
+
|
227
|
+
@classmethod
|
228
|
+
@property
|
229
|
+
def ANY(cls) -> XPathResultType:
|
230
|
+
'''This code does not represent a specific type. An evaluation of an XPath expression
|
231
|
+
will never produce this type. If this type is requested, then the evaluation returns
|
232
|
+
whatever type naturally results from evaluation of the expression. If the natural
|
233
|
+
result is a node set when ``Any`` type was requested, then ``UnorderedNodeIterator``
|
234
|
+
is always the resulting type. Any other representation of a node set must be
|
235
|
+
explicitly requested.'''
|
236
|
+
...
|
237
|
+
|
238
|
+
@classmethod
|
239
|
+
@property
|
240
|
+
def NUMBER(cls) -> XPathResultType:
|
241
|
+
'''The result is a number as defined by [XPath 1.0]. Document modification does not
|
242
|
+
invalidate the number, but may mean that reevaluation would not yield the same number.'''
|
243
|
+
...
|
244
|
+
|
245
|
+
@classmethod
|
246
|
+
@property
|
247
|
+
def STRING(cls) -> XPathResultType:
|
248
|
+
'''The result is a string as defined by [XPath 1.0]. Document modification does not
|
249
|
+
invalidate the string, but may mean that the string no longer corresponds to the
|
250
|
+
current document.'''
|
251
|
+
...
|
252
|
+
|
253
|
+
@classmethod
|
254
|
+
@property
|
255
|
+
def BOOLEAN(cls) -> XPathResultType:
|
256
|
+
'''The result is a boolean as defined by [XPath 1.0]. Document modification does not
|
257
|
+
invalidate the boolean, but may mean that reevaluation would not yield the same boolean.'''
|
258
|
+
...
|
259
|
+
|
260
|
+
@classmethod
|
261
|
+
@property
|
262
|
+
def UNORDERED_NODE_ITERATOR(cls) -> XPathResultType:
|
263
|
+
'''The result is a node set as defined by [XPath 1.0] that will be accessed iteratively,
|
264
|
+
which may not produce nodes in a particular order. Document modification invalidates the
|
265
|
+
iteration. This is the default type returned if the result is a node set and ``Any``
|
266
|
+
type is requested.'''
|
267
|
+
...
|
268
|
+
|
269
|
+
@classmethod
|
270
|
+
@property
|
271
|
+
def ORDERED_NODE_ITERATOR(cls) -> XPathResultType:
|
272
|
+
'''The result is a node set as defined by [XPath 1.0] that will be accessed iteratively,
|
273
|
+
which will produce document-ordered nodes. Document modification invalidates the iteration.'''
|
274
|
+
...
|
275
|
+
|
276
|
+
@classmethod
|
277
|
+
@property
|
278
|
+
def UNORDERED_NODE_SNAPSHOT(cls) -> XPathResultType:
|
279
|
+
'''The result is a node set as defined by [XPath 1.0] that will be accessed as a snapshot
|
280
|
+
list of nodes that may not be in a particular order. Document modification does not
|
281
|
+
invalidate the snapshot but may mean that reevaluation would not yield the same snapshot
|
282
|
+
and nodes in the snapshot may have been altered, moved, or removed from the document.'''
|
283
|
+
...
|
284
|
+
|
285
|
+
@classmethod
|
286
|
+
@property
|
287
|
+
def ORDERED_NODE_SNAPSHOT(cls) -> XPathResultType:
|
288
|
+
'''The result is a node set as defined by [XPath 1.0] that will be accessed as a snapshot
|
289
|
+
list of nodes that will be in original document order. Document modification does not
|
290
|
+
invalidate the snapshot but may mean that reevaluation would not yield the same snapshot
|
291
|
+
and nodes in the snapshot may have been altered, moved, or removed from the document.'''
|
292
|
+
...
|
293
|
+
|
294
|
+
@classmethod
|
295
|
+
@property
|
296
|
+
def ANY_UNORDERED_NODE(cls) -> XPathResultType:
|
297
|
+
'''The result is a node set as defined by [XPath 1.0] and will be accessed as a single node,
|
298
|
+
which may be ``null`` if the node set is empty. Document modification does not invalidate
|
299
|
+
the node, but may mean that the result node no longer corresponds to the current document.
|
300
|
+
This is a convenience that permits optimization since the implementation can stop once any
|
301
|
+
node in the resulting set has been found. If there is more than one node in the actual result,
|
302
|
+
the single node returned might not be the first in document order.'''
|
303
|
+
...
|
304
|
+
|
305
|
+
@classmethod
|
306
|
+
@property
|
307
|
+
def FIRST_ORDERED_NODE(cls) -> XPathResultType:
|
308
|
+
'''The result is a node set as defined by [XPath 1.0] and will be accessed as a single node,
|
309
|
+
which may be ``null`` if the node set is empty. Document modification does not invalidate
|
310
|
+
the node, but may mean that the result node no longer corresponds to the current document.
|
311
|
+
This is a convenience that permits optimization since the implementation can stop once the
|
312
|
+
first node in document order of the resulting set has been found. If there are more than one
|
313
|
+
node in the actual result, the single node returned will be the first in document order.'''
|
314
|
+
...
|
315
|
+
|
316
|
+
...
|
317
|
+
|