diff --git a/Demo/Program.cs b/Demo/Program.cs index c40786dc..c5800fba 100644 --- a/Demo/Program.cs +++ b/Demo/Program.cs @@ -7,6 +7,7 @@ class Program { static void Main(string[] args) { + Console.WriteLine("Hello World!"); Document doc = new(); Page page = doc.NewPage(); diff --git a/MuPDF.NET/Document.cs b/MuPDF.NET/Document.cs index f3c9ce31..e8376b27 100644 --- a/MuPDF.NET/Document.cs +++ b/MuPDF.NET/Document.cs @@ -3,6 +3,7 @@ using System.Runtime.InteropServices; using System.Text; using mupdf; +using Newtonsoft.Json.Linq; namespace MuPDF.NET { @@ -720,17 +721,21 @@ public void InitDocument() Dictionary values = new Dictionary() { { "format", "format" }, - { "title", "info:Title" }, - { "author", "info:Author" }, - { "subject", "info:Subject" }, - { "keywords", "info:Keywords" }, - { "creator", "info:Creator" }, - { "producer", "info:Producer" }, - { "creationDate", "info:CreationDate" }, - { "modDate", "info:ModDate" }, - { "trapped", "info:Trapped" } }; + if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + { + values.Add("title", "info:Title"); + values.Add("author", "info:Author"); + values.Add("subject", "info:Subject"); + values.Add("keywords", "info:Keywords"); + values.Add("creator", "info:Creator"); + values.Add("producer", "info:Producer"); + values.Add("creationDate", "info:CreationDate"); + values.Add("modDate", "info:ModDate"); + values.Add("trapped", "info:Trapped"); + } + foreach ((string key, string value) in values) { MetaData.Add(key, GetMetadata(value)); @@ -4029,7 +4034,8 @@ public void Select(List list) Marshal.Copy(list.ToArray(), 0, pNumbers, list.Count); SWIGTYPE_p_int swigNumbers = new SWIGTYPE_p_int(pNumbers, true); - pdf.pdf_rearrange_pages(list.Count, swigNumbers); + pdf.pdf_rearrange_pages(list.Count, swigNumbers, pdf_clean_options_structure.PDF_CLEAN_STRUCTURE_DROP); + ResetPageRefs(); } diff --git a/MuPDF.NET/MuPDF.NET.csproj b/MuPDF.NET/MuPDF.NET.csproj index 526c35c7..fe2712e3 100644 --- a/MuPDF.NET/MuPDF.NET.csproj +++ b/MuPDF.NET/MuPDF.NET.csproj @@ -4,7 +4,7 @@ net8.0 - true + false true enable @@ -16,7 +16,7 @@ 6.5 True MuPDF.NET - 3.0.0 + 3.1.2-rc.1 Maksym Tkachuk, Jamie Lemon, Chris Palman Artifex A C# binding for MuPDF @@ -29,6 +29,10 @@ LICENSE.md + + $(DefineConstants);WINDOWS + + True @@ -56,15 +60,28 @@ - - + + + libmupdf.so + + + libmupdf.so.26.0 + + + libmupdfcpp.so + + + libmupdfcpp.so.26.0 + + + mupdfcsharp.so + + mupdfcsharp.dll - - - + mupdfcpp64.dll - + diff --git a/MuPDF.NET/Page.cs b/MuPDF.NET/Page.cs index 8e47b651..ee43ac5a 100644 --- a/MuPDF.NET/Page.cs +++ b/MuPDF.NET/Page.cs @@ -2,7 +2,6 @@ using System.Runtime.CompilerServices; using System.Runtime.InteropServices; using System.Text; -using Microsoft.Maui; using mupdf; using static System.Net.Mime.MediaTypeNames; using static MuPDF.NET.Global; diff --git a/MuPDF.NET/Platforms/Android/PlatformClass1.cs b/MuPDF.NET/Platforms/Android/PlatformClass1.cs index 608172bb..833e4f47 100644 --- a/MuPDF.NET/Platforms/Android/PlatformClass1.cs +++ b/MuPDF.NET/Platforms/Android/PlatformClass1.cs @@ -1,7 +1,9 @@ namespace MuPDF.NET { +#if ANDROID // All the code in this file is only included on Android. public class PlatformClass1 { } +#endif } \ No newline at end of file diff --git a/MuPDF.NET/Platforms/MacCatalyst/PlatformClass1.cs b/MuPDF.NET/Platforms/MacCatalyst/PlatformClass1.cs index 0ab11179..61851d04 100644 --- a/MuPDF.NET/Platforms/MacCatalyst/PlatformClass1.cs +++ b/MuPDF.NET/Platforms/MacCatalyst/PlatformClass1.cs @@ -1,7 +1,9 @@ namespace MuPDF.NET { +#if MACCATALYST // All the code in this file is only included on Mac Catalyst. public class PlatformClass1 { } +#endif } \ No newline at end of file diff --git a/MuPDF.NET/Platforms/Tizen/PlatformClass1.cs b/MuPDF.NET/Platforms/Tizen/PlatformClass1.cs index 15d2ebc3..f61eedf7 100644 --- a/MuPDF.NET/Platforms/Tizen/PlatformClass1.cs +++ b/MuPDF.NET/Platforms/Tizen/PlatformClass1.cs @@ -2,8 +2,10 @@ namespace MuPDF.NET { +#if TVOS // All the code in this file is only included on Tizen. public class PlatformClass1 { } +#endif } \ No newline at end of file diff --git a/MuPDF.NET/Platforms/Windows/PlatformClass1.cs b/MuPDF.NET/Platforms/Windows/PlatformClass1.cs index a9ac1cc9..0cd676d6 100644 --- a/MuPDF.NET/Platforms/Windows/PlatformClass1.cs +++ b/MuPDF.NET/Platforms/Windows/PlatformClass1.cs @@ -1,7 +1,9 @@ namespace MuPDF.NET { +#if WINDOWS // All the code in this file is only included on Windows. public class PlatformClass1 { } +#endif } \ No newline at end of file diff --git a/MuPDF.NET/Platforms/iOS/PlatformClass1.cs b/MuPDF.NET/Platforms/iOS/PlatformClass1.cs index 3862a7a5..8a7ccb16 100644 --- a/MuPDF.NET/Platforms/iOS/PlatformClass1.cs +++ b/MuPDF.NET/Platforms/iOS/PlatformClass1.cs @@ -1,7 +1,9 @@ namespace MuPDF.NET { +#if IOS // All the code in this file is only included on iOS. public class PlatformClass1 { } +#endif } \ No newline at end of file diff --git a/MuPDF.NET/TextPage.cs b/MuPDF.NET/TextPage.cs index 93897570..e092d8ba 100644 --- a/MuPDF.NET/TextPage.cs +++ b/MuPDF.NET/TextPage.cs @@ -1171,7 +1171,7 @@ internal void MakeTextPage2Dict(PageInfo pageDict, bool raw) style.Font = GetFontName( new FzFont(mupdf.mupdf.ll_fz_keep_font(ch.font)) ); - style.Color = ch.color; + style.Color = (int)ch.argb; style.Asc = ( new FzFont(mupdf.mupdf.ll_fz_keep_font(ch.font)) ).fz_font_ascender(); diff --git a/MuPDF.NET/Utils.cs b/MuPDF.NET/Utils.cs index d73e671d..deb57616 100644 --- a/MuPDF.NET/Utils.cs +++ b/MuPDF.NET/Utils.cs @@ -5,7 +5,6 @@ using System.Reflection; using System.Runtime.InteropServices; using System.Text; -using Microsoft.Maui.Storage; using mupdf; using Newtonsoft.Json; using static MuPDF.NET.Global; @@ -6792,22 +6791,99 @@ internal static string GetFontName(fz_font font) return name.Substring(s + 1, name.Length - s - 1); } - internal static void LoadEmbeddedDll() + internal static void LoadEmbeddedDllForWindows() { - var assembly = Assembly.GetExecutingAssembly(); - var resourceStream = assembly.GetManifestResourceStream("mupdfcpp64.dll"); - var tempFile = File.Create("mupdfcpp64.dll"); + string binaryDir = AppContext.BaseDirectory; + if (!File.Exists(binaryDir + "mupdfcpp64.dll")) + { + var assembly = Assembly.GetExecutingAssembly(); + var resourceStream = assembly.GetManifestResourceStream("mupdfcpp64.dll"); + var tempFile = File.Create(binaryDir + "mupdfcpp64.dll"); - resourceStream?.CopyTo(tempFile); - resourceStream?.Dispose(); - tempFile.Dispose(); + resourceStream?.CopyTo(tempFile); + resourceStream?.Dispose(); + tempFile.Dispose(); + } - resourceStream = assembly.GetManifestResourceStream("mupdfcsharp.dll"); - tempFile = File.Create("mupdfcsharp.dll"); + if (!File.Exists(binaryDir + "mupdfcsharp.dll")) + { + var assembly = Assembly.GetExecutingAssembly(); + var resourceStream = assembly.GetManifestResourceStream("mupdfcsharp.dll"); + var tempFile = File.Create(binaryDir + "mupdfcsharp.dll"); - resourceStream?.CopyTo(tempFile); - resourceStream?.Dispose(); - tempFile.Dispose(); + resourceStream?.CopyTo(tempFile); + resourceStream?.Dispose(); + tempFile.Dispose(); + } + } + + internal static void LoadEmbeddedDllForLinux() + { + string binaryDir = AppContext.BaseDirectory; + if (!File.Exists(binaryDir + "libmupdf.so")) + { + var assembly = Assembly.GetExecutingAssembly(); + var resourceStream = assembly.GetManifestResourceStream("libmupdf.so"); + if (resourceStream != null) + { + var tempFile = File.Create(binaryDir + "libmupdf.so"); + resourceStream.CopyTo(tempFile); + resourceStream.Dispose(); + tempFile.Dispose(); + } + } + + if (!File.Exists(binaryDir + "libmupdf.so.26.0")) + { + var assembly = Assembly.GetExecutingAssembly(); + var resourceStream = assembly.GetManifestResourceStream("libmupdf.so.26.0"); + if (resourceStream != null) + { + var tempFile = File.Create(binaryDir + "libmupdf.so.26.0"); + resourceStream.CopyTo(tempFile); + resourceStream.Dispose(); + tempFile.Dispose(); + } + } + + if (!File.Exists(binaryDir + "libmupdfcpp.so")) + { + var assembly = Assembly.GetExecutingAssembly(); + var resourceStream = assembly.GetManifestResourceStream("libmupdfcpp.so"); + if (resourceStream != null) + { + var tempFile = File.Create(binaryDir + "libmupdfcpp.so"); + resourceStream.CopyTo(tempFile); + resourceStream.Dispose(); + tempFile.Dispose(); + } + } + + if (!File.Exists(binaryDir + "libmupdfcpp.so.26.0")) + { + var assembly = Assembly.GetExecutingAssembly(); + var resourceStream = assembly.GetManifestResourceStream("libmupdfcpp.so.26.0"); + if (resourceStream != null) + { + var tempFile = File.Create(binaryDir + "libmupdfcpp.so.26.0"); + resourceStream.CopyTo(tempFile); + resourceStream.Dispose(); + tempFile.Dispose(); + } + } + + if (!File.Exists(binaryDir + "mupdfcsharp.dll")) + { + var assembly = Assembly.GetExecutingAssembly(); + var resourceStream = assembly.GetManifestResourceStream("mupdfcsharp.so"); + if (resourceStream != null) + { + var tempFile = File.Create(binaryDir + "mupdfcsharp.dll"); + resourceStream.CopyTo(tempFile); + resourceStream.Dispose(); + tempFile.Dispose(); + } + } } internal static void AddLayerConfig( @@ -6869,16 +6945,26 @@ internal static void SetDotCultureForNumber() public static void InitApp() { - if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) - return; - - if (Utils.IsInitialized) - return; + if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + { + if (Utils.IsInitialized) + return; - Utils.SetDotCultureForNumber(); - if (!File.Exists("mupdfcsharp.dll")) - Utils.LoadEmbeddedDll(); + Utils.SetDotCultureForNumber(); + Utils.LoadEmbeddedDllForWindows(); + } + else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) + { + if (Utils.IsInitialized) + return; + Utils.SetDotCultureForNumber(); + Utils.LoadEmbeddedDllForLinux(); + } + else + { + return; + } Utils.IsInitialized = true; } diff --git a/MuPDF.NET/libs/mupdf/linux/libmupdf.so b/MuPDF.NET/libs/mupdf/linux/libmupdf.so new file mode 100644 index 00000000..93c4dc91 --- /dev/null +++ b/MuPDF.NET/libs/mupdf/linux/libmupdf.so @@ -0,0 +1 @@ +libmupdf.so.26.0 \ No newline at end of file diff --git a/MuPDF.NET/libs/mupdf/linux/libmupdf.so.26.0 b/MuPDF.NET/libs/mupdf/linux/libmupdf.so.26.0 new file mode 100644 index 00000000..947e829a Binary files /dev/null and b/MuPDF.NET/libs/mupdf/linux/libmupdf.so.26.0 differ diff --git a/MuPDF.NET/libs/mupdf/linux/libmupdfcpp.so b/MuPDF.NET/libs/mupdf/linux/libmupdfcpp.so new file mode 100644 index 00000000..bd3ca5f7 --- /dev/null +++ b/MuPDF.NET/libs/mupdf/linux/libmupdfcpp.so @@ -0,0 +1 @@ +libmupdfcpp.so.26.0 \ No newline at end of file diff --git a/MuPDF.NET/libs/mupdf/linux/libmupdfcpp.so.26.0 b/MuPDF.NET/libs/mupdf/linux/libmupdfcpp.so.26.0 new file mode 100644 index 00000000..c792dfd1 Binary files /dev/null and b/MuPDF.NET/libs/mupdf/linux/libmupdfcpp.so.26.0 differ diff --git a/MuPDF.NET/libs/mupdf/linux/mupdfcsharp.so b/MuPDF.NET/libs/mupdf/linux/mupdfcsharp.so new file mode 100644 index 00000000..0ddd4bd7 Binary files /dev/null and b/MuPDF.NET/libs/mupdf/linux/mupdfcsharp.so differ diff --git a/MuPDF.NET/libs/mupdf/windows/mupdfcpp64.dll b/MuPDF.NET/libs/mupdf/windows/mupdfcpp64.dll new file mode 100644 index 00000000..1f85b8ea Binary files /dev/null and b/MuPDF.NET/libs/mupdf/windows/mupdfcpp64.dll differ diff --git a/MuPDF.NET/libs/mupdf/windows/mupdfcsharp.dll b/MuPDF.NET/libs/mupdf/windows/mupdfcsharp.dll new file mode 100644 index 00000000..c35c2743 Binary files /dev/null and b/MuPDF.NET/libs/mupdf/windows/mupdfcsharp.dll differ diff --git a/MuPDF.NET/mupdf.cs b/MuPDF.NET/mupdf.cs index 2f9003b4..2414e738 100644 --- a/MuPDF.NET/mupdf.cs +++ b/MuPDF.NET/mupdf.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.2.1 +// Version 4.3.0 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -2869,6 +2869,346 @@ public void SetRange(int index, vector_search_page2_hit values) { } namespace mupdf { +public class vector_fz_font_ucs_gid : global::System.IDisposable, global::System.Collections.IEnumerable, global::System.Collections.Generic.IEnumerable + { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal vector_fz_font_ucs_gid(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(vector_fz_font_ucs_gid obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(vector_fz_font_ucs_gid obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~vector_fz_font_ucs_gid() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + mupdfPINVOKE.delete_vector_fz_font_ucs_gid(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public vector_fz_font_ucs_gid(global::System.Collections.IEnumerable c) : this() { + if (c == null) + throw new global::System.ArgumentNullException("c"); + foreach (fz_font_ucs_gid element in c) { + this.Add(element); + } + } + + public vector_fz_font_ucs_gid(global::System.Collections.Generic.IEnumerable c) : this() { + if (c == null) + throw new global::System.ArgumentNullException("c"); + foreach (fz_font_ucs_gid element in c) { + this.Add(element); + } + } + + public bool IsFixedSize { + get { + return false; + } + } + + public bool IsReadOnly { + get { + return false; + } + } + + public fz_font_ucs_gid this[int index] { + get { + return getitem(index); + } + set { + setitem(index, value); + } + } + + public int Capacity { + get { + return (int)capacity(); + } + set { + if (value < 0 || (uint)value < size()) + throw new global::System.ArgumentOutOfRangeException("Capacity"); + reserve((uint)value); + } + } + + public bool IsEmpty { + get { + return empty(); + } + } + + public int Count { + get { + return (int)size(); + } + } + + public bool IsSynchronized { + get { + return false; + } + } + + public void CopyTo(fz_font_ucs_gid[] array) + { + CopyTo(0, array, 0, this.Count); + } + + public void CopyTo(fz_font_ucs_gid[] array, int arrayIndex) + { + CopyTo(0, array, arrayIndex, this.Count); + } + + public void CopyTo(int index, fz_font_ucs_gid[] array, int arrayIndex, int count) + { + if (array == null) + throw new global::System.ArgumentNullException("array"); + if (index < 0) + throw new global::System.ArgumentOutOfRangeException("index", "Value is less than zero"); + if (arrayIndex < 0) + throw new global::System.ArgumentOutOfRangeException("arrayIndex", "Value is less than zero"); + if (count < 0) + throw new global::System.ArgumentOutOfRangeException("count", "Value is less than zero"); + if (array.Rank > 1) + throw new global::System.ArgumentException("Multi dimensional array.", "array"); + if (index+count > this.Count || arrayIndex+count > array.Length) + throw new global::System.ArgumentException("Number of elements to copy is too large."); + for (int i=0; i global::System.Collections.Generic.IEnumerable.GetEnumerator() { + return new vector_fz_font_ucs_gidEnumerator(this); + } + + global::System.Collections.IEnumerator global::System.Collections.IEnumerable.GetEnumerator() { + return new vector_fz_font_ucs_gidEnumerator(this); + } + + public vector_fz_font_ucs_gidEnumerator GetEnumerator() { + return new vector_fz_font_ucs_gidEnumerator(this); + } + + // Type-safe enumerator + /// Note that the IEnumerator documentation requires an InvalidOperationException to be thrown + /// whenever the collection is modified. This has been done for changes in the size of the + /// collection but not when one of the elements of the collection is modified as it is a bit + /// tricky to detect unmanaged code that modifies the collection under our feet. + public sealed class vector_fz_font_ucs_gidEnumerator : global::System.Collections.IEnumerator + , global::System.Collections.Generic.IEnumerator + { + private vector_fz_font_ucs_gid collectionRef; + private int currentIndex; + private object currentObject; + private int currentSize; + + public vector_fz_font_ucs_gidEnumerator(vector_fz_font_ucs_gid collection) { + collectionRef = collection; + currentIndex = -1; + currentObject = null; + currentSize = collectionRef.Count; + } + + // Type-safe iterator Current + public fz_font_ucs_gid Current { + get { + if (currentIndex == -1) + throw new global::System.InvalidOperationException("Enumeration not started."); + if (currentIndex > currentSize - 1) + throw new global::System.InvalidOperationException("Enumeration finished."); + if (currentObject == null) + throw new global::System.InvalidOperationException("Collection modified."); + return (fz_font_ucs_gid)currentObject; + } + } + + // Type-unsafe IEnumerator.Current + object global::System.Collections.IEnumerator.Current { + get { + return Current; + } + } + + public bool MoveNext() { + int size = collectionRef.Count; + bool moveOkay = (currentIndex+1 < size) && (size == currentSize); + if (moveOkay) { + currentIndex++; + currentObject = collectionRef[currentIndex]; + } else { + currentObject = null; + } + return moveOkay; + } + + public void Reset() { + currentIndex = -1; + currentObject = null; + if (collectionRef.Count != currentSize) { + throw new global::System.InvalidOperationException("Collection modified."); + } + } + + public void Dispose() { + currentIndex = -1; + currentObject = null; + } + } + + public vector_fz_font_ucs_gid() : this(mupdfPINVOKE.new_vector_fz_font_ucs_gid__SWIG_0(), true) { + } + + public vector_fz_font_ucs_gid(vector_fz_font_ucs_gid other) : this(mupdfPINVOKE.new_vector_fz_font_ucs_gid__SWIG_1(vector_fz_font_ucs_gid.getCPtr(other)), true) { + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public void Clear() { + mupdfPINVOKE.vector_fz_font_ucs_gid_Clear(swigCPtr); + } + + public void Add(fz_font_ucs_gid x) { + mupdfPINVOKE.vector_fz_font_ucs_gid_Add(swigCPtr, fz_font_ucs_gid.getCPtr(x)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + private uint size() { + uint ret = mupdfPINVOKE.vector_fz_font_ucs_gid_size(swigCPtr); + return ret; + } + + private bool empty() { + bool ret = mupdfPINVOKE.vector_fz_font_ucs_gid_empty(swigCPtr); + return ret; + } + + private uint capacity() { + uint ret = mupdfPINVOKE.vector_fz_font_ucs_gid_capacity(swigCPtr); + return ret; + } + + private void reserve(uint n) { + mupdfPINVOKE.vector_fz_font_ucs_gid_reserve(swigCPtr, n); + } + + public vector_fz_font_ucs_gid(int capacity) : this(mupdfPINVOKE.new_vector_fz_font_ucs_gid__SWIG_2(capacity), true) { + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + private fz_font_ucs_gid getitemcopy(int index) { + fz_font_ucs_gid ret = new fz_font_ucs_gid(mupdfPINVOKE.vector_fz_font_ucs_gid_getitemcopy(swigCPtr, index), true); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + private fz_font_ucs_gid getitem(int index) { + fz_font_ucs_gid ret = new fz_font_ucs_gid(mupdfPINVOKE.vector_fz_font_ucs_gid_getitem(swigCPtr, index), false); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + private void setitem(int index, fz_font_ucs_gid val) { + mupdfPINVOKE.vector_fz_font_ucs_gid_setitem(swigCPtr, index, fz_font_ucs_gid.getCPtr(val)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public void AddRange(vector_fz_font_ucs_gid values) { + mupdfPINVOKE.vector_fz_font_ucs_gid_AddRange(swigCPtr, vector_fz_font_ucs_gid.getCPtr(values)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public vector_fz_font_ucs_gid GetRange(int index, int count) { + global::System.IntPtr cPtr = mupdfPINVOKE.vector_fz_font_ucs_gid_GetRange(swigCPtr, index, count); + vector_fz_font_ucs_gid ret = (cPtr == global::System.IntPtr.Zero) ? null : new vector_fz_font_ucs_gid(cPtr, true); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void Insert(int index, fz_font_ucs_gid x) { + mupdfPINVOKE.vector_fz_font_ucs_gid_Insert(swigCPtr, index, fz_font_ucs_gid.getCPtr(x)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public void InsertRange(int index, vector_fz_font_ucs_gid values) { + mupdfPINVOKE.vector_fz_font_ucs_gid_InsertRange(swigCPtr, index, vector_fz_font_ucs_gid.getCPtr(values)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public void RemoveAt(int index) { + mupdfPINVOKE.vector_fz_font_ucs_gid_RemoveAt(swigCPtr, index); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public void RemoveRange(int index, int count) { + mupdfPINVOKE.vector_fz_font_ucs_gid_RemoveRange(swigCPtr, index, count); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public static vector_fz_font_ucs_gid Repeat(fz_font_ucs_gid value, int count) { + global::System.IntPtr cPtr = mupdfPINVOKE.vector_fz_font_ucs_gid_Repeat(fz_font_ucs_gid.getCPtr(value), count); + vector_fz_font_ucs_gid ret = (cPtr == global::System.IntPtr.Zero) ? null : new vector_fz_font_ucs_gid(cPtr, true); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void Reverse() { + mupdfPINVOKE.vector_fz_font_ucs_gid_Reverse__SWIG_0(swigCPtr); + } + + public void Reverse(int index, int count) { + mupdfPINVOKE.vector_fz_font_ucs_gid_Reverse__SWIG_1(swigCPtr, index, count); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public void SetRange(int index, vector_fz_font_ucs_gid values) { + mupdfPINVOKE.vector_fz_font_ucs_gid_SetRange(swigCPtr, index, vector_fz_font_ucs_gid.getCPtr(values)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + +} + +} +namespace mupdf { + public class fz_point : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -3991,6 +4331,91 @@ public fz_aa_context() : this(mupdfPINVOKE.new_fz_aa_context(), true) { } namespace mupdf { +public enum fz_activity_reason { + FZ_ACTIVITY_NEW_DOC = 0, + FZ_ACTIVITY_SHUTDOWN = 1 +} + +} +namespace mupdf { + +public class fz_activity_context : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal fz_activity_context(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(fz_activity_context obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(fz_activity_context obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~fz_activity_context() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + mupdfPINVOKE.delete_fz_activity_context(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public SWIGTYPE_p_void opaque { + set { + mupdfPINVOKE.fz_activity_context_opaque_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.fz_activity_context_opaque_get(swigCPtr); + SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); + return ret; + } + } + + public SWIGTYPE_p_f_p_fz_context_p_void_enum_fz_activity_reason_p_void__void activity { + set { + mupdfPINVOKE.fz_activity_context_activity_set(swigCPtr, SWIGTYPE_p_f_p_fz_context_p_void_enum_fz_activity_reason_p_void__void.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.fz_activity_context_activity_get(swigCPtr); + SWIGTYPE_p_f_p_fz_context_p_void_enum_fz_activity_reason_p_void__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_fz_context_p_void_enum_fz_activity_reason_p_void__void(cPtr, false); + return ret; + } + } + + public fz_activity_context() : this(mupdfPINVOKE.new_fz_activity_context(), true) { + } + +} + +} +namespace mupdf { + public class fz_context : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -4049,6 +4474,27 @@ public SWIGTYPE_p_void user { } } + public fz_context master { + set { + mupdfPINVOKE.fz_context_master_set(swigCPtr, fz_context.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.fz_context_master_get(swigCPtr); + fz_context ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_context(cPtr, false); + return ret; + } + } + + public int context_count { + set { + mupdfPINVOKE.fz_context_context_count_set(swigCPtr, value); + } + get { + int ret = mupdfPINVOKE.fz_context_context_count_get(swigCPtr); + return ret; + } + } + public fz_alloc_context alloc { set { mupdfPINVOKE.fz_context_alloc_set(swigCPtr, fz_alloc_context.getCPtr(value)); @@ -4093,6 +4539,17 @@ public fz_warn_context warn { } } + public fz_activity_context activity { + set { + mupdfPINVOKE.fz_context_activity_set(swigCPtr, fz_activity_context.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.fz_context_activity_get(swigCPtr); + fz_activity_context ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_activity_context(cPtr, false); + return ret; + } + } + public fz_aa_context aa { set { mupdfPINVOKE.fz_context_aa_set(swigCPtr, fz_aa_context.getCPtr(value)); @@ -4530,13 +4987,13 @@ public SWIGTYPE_p_f_p_fz_context_p_void__void drop { } } - public SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_long_int__void seek { + public SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_int__void seek { set { - mupdfPINVOKE.fz_stream_seek_set(swigCPtr, SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_long_int__void.getCPtr(value)); + mupdfPINVOKE.fz_stream_seek_set(swigCPtr, SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_int__void.getCPtr(value)); } get { global::System.IntPtr cPtr = mupdfPINVOKE.fz_stream_seek_get(swigCPtr); - SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_long_int__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_long_int__void(cPtr, false); + SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_int__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_int__void(cPtr, false); return ret; } } @@ -4618,24 +5075,24 @@ public SWIGTYPE_p_f_p_fz_context_p_void_p_q_const__void_size_t__void write { } } - public SWIGTYPE_p_f_p_fz_context_p_void_long_long_int__void seek { + public SWIGTYPE_p_f_p_fz_context_p_void_long_int__void seek { set { - mupdfPINVOKE.fz_output_seek_set(swigCPtr, SWIGTYPE_p_f_p_fz_context_p_void_long_long_int__void.getCPtr(value)); + mupdfPINVOKE.fz_output_seek_set(swigCPtr, SWIGTYPE_p_f_p_fz_context_p_void_long_int__void.getCPtr(value)); } get { global::System.IntPtr cPtr = mupdfPINVOKE.fz_output_seek_get(swigCPtr); - SWIGTYPE_p_f_p_fz_context_p_void_long_long_int__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_fz_context_p_void_long_long_int__void(cPtr, false); + SWIGTYPE_p_f_p_fz_context_p_void_long_int__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_fz_context_p_void_long_int__void(cPtr, false); return ret; } } - public SWIGTYPE_p_f_p_fz_context_p_void__long_long tell { + public SWIGTYPE_p_f_p_fz_context_p_void__long tell { set { - mupdfPINVOKE.fz_output_tell_set(swigCPtr, SWIGTYPE_p_f_p_fz_context_p_void__long_long.getCPtr(value)); + mupdfPINVOKE.fz_output_tell_set(swigCPtr, SWIGTYPE_p_f_p_fz_context_p_void__long.getCPtr(value)); } get { global::System.IntPtr cPtr = mupdfPINVOKE.fz_output_tell_get(swigCPtr); - SWIGTYPE_p_f_p_fz_context_p_void__long_long ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_fz_context_p_void__long_long(cPtr, false); + SWIGTYPE_p_f_p_fz_context_p_void__long ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_fz_context_p_void__long(cPtr, false); return ret; } } @@ -5013,13 +5470,13 @@ protected virtual void Dispose(bool disposing) { } } - public SWIGTYPE_p_unsigned_long_long state { + public SWIGTYPE_p_unsigned_long state { set { - mupdfPINVOKE.fz_sha512_state_set(swigCPtr, SWIGTYPE_p_unsigned_long_long.getCPtr(value)); + mupdfPINVOKE.fz_sha512_state_set(swigCPtr, SWIGTYPE_p_unsigned_long.getCPtr(value)); } get { global::System.IntPtr cPtr = mupdfPINVOKE.fz_sha512_state_get(swigCPtr); - SWIGTYPE_p_unsigned_long_long ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_long_long(cPtr, false); + SWIGTYPE_p_unsigned_long ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_long(cPtr, false); return ret; } } @@ -5549,6 +6006,235 @@ public fz_archive() : this(mupdfPINVOKE.new_fz_archive(), true) { } namespace mupdf { +public class fz_json : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal fz_json(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(fz_json obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(fz_json obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~fz_json() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + mupdfPINVOKE.delete_fz_json(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public int type { + set { + mupdfPINVOKE.fz_json_type_set(swigCPtr, value); + } + get { + int ret = mupdfPINVOKE.fz_json_type_get(swigCPtr); + return ret; + } + } + + public fz_json() : this(mupdfPINVOKE.new_fz_json(), true) { + } + +} + +} +namespace mupdf { + +public class fz_json_array : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal fz_json_array(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(fz_json_array obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(fz_json_array obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~fz_json_array() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + mupdfPINVOKE.delete_fz_json_array(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public fz_json value { + set { + mupdfPINVOKE.fz_json_array_value_set(swigCPtr, fz_json.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.fz_json_array_value_get(swigCPtr); + fz_json ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json(cPtr, false); + return ret; + } + } + + public fz_json_array next { + set { + mupdfPINVOKE.fz_json_array_next_set(swigCPtr, fz_json_array.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.fz_json_array_next_get(swigCPtr); + fz_json_array ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json_array(cPtr, false); + return ret; + } + } + + public fz_json_array() : this(mupdfPINVOKE.new_fz_json_array(), true) { + } + +} + +} +namespace mupdf { + +public class fz_json_object : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal fz_json_object(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(fz_json_object obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(fz_json_object obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~fz_json_object() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + mupdfPINVOKE.delete_fz_json_object(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public string key { + set { + mupdfPINVOKE.fz_json_object_key_set(swigCPtr, value); + } + get { + string ret = mupdfPINVOKE.fz_json_object_key_get(swigCPtr); + return ret; + } + } + + public fz_json value { + set { + mupdfPINVOKE.fz_json_object_value_set(swigCPtr, fz_json.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.fz_json_object_value_get(swigCPtr); + fz_json ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json(cPtr, false); + return ret; + } + } + + public fz_json_object next { + set { + mupdfPINVOKE.fz_json_object_next_set(swigCPtr, fz_json_object.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.fz_json_object_next_get(swigCPtr); + fz_json_object ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json_object(cPtr, false); + return ret; + } + } + + public fz_json_object() : this(mupdfPINVOKE.new_fz_json_object(), true) { + } + +} + +} +namespace mupdf { + public class fz_storable : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -7905,13 +8591,13 @@ public SWIGTYPE_p_void t3doc { } } - public SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces__void t3run { + public SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces_p_void_p_void__void t3run { set { - mupdfPINVOKE.fz_font_t3run_set(swigCPtr, SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces__void.getCPtr(value)); + mupdfPINVOKE.fz_font_t3run_set(swigCPtr, SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces_p_void_p_void__void.getCPtr(value)); } get { global::System.IntPtr cPtr = mupdfPINVOKE.fz_font_t3run_get(swigCPtr); - SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces__void(cPtr, false); + SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces_p_void_p_void__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces_p_void_p_void__void(cPtr, false); return ret; } } @@ -10575,12 +11261,12 @@ public ushort flags { } } - public int color { + public uint argb { set { - mupdfPINVOKE.fz_stext_char_color_set(swigCPtr, value); + mupdfPINVOKE.fz_stext_char_argb_set(swigCPtr, value); } get { - int ret = mupdfPINVOKE.fz_stext_char_color_get(swigCPtr); + uint ret = mupdfPINVOKE.fz_stext_char_argb_get(swigCPtr); return ret; } } @@ -10908,6 +11594,17 @@ public float scale { } } + public fz_rect clip { + set { + mupdfPINVOKE.fz_stext_options_clip_set(swigCPtr, fz_rect.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.fz_stext_options_clip_get(swigCPtr); + fz_rect ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_rect(cPtr, false); + return ret; + } + } + public fz_stext_options() : this(mupdfPINVOKE.new_fz_stext_options(), true) { } @@ -11388,6 +12085,46 @@ public int is_open { } } + public int flags { + set { + mupdfPINVOKE.fz_outline_item_flags_set(swigCPtr, value); + } + get { + int ret = mupdfPINVOKE.fz_outline_item_flags_get(swigCPtr); + return ret; + } + } + + public float r { + set { + mupdfPINVOKE.fz_outline_item_r_set(swigCPtr, value); + } + get { + float ret = mupdfPINVOKE.fz_outline_item_r_get(swigCPtr); + return ret; + } + } + + public float g { + set { + mupdfPINVOKE.fz_outline_item_g_set(swigCPtr, value); + } + get { + float ret = mupdfPINVOKE.fz_outline_item_g_get(swigCPtr); + return ret; + } + } + + public float b { + set { + mupdfPINVOKE.fz_outline_item_b_set(swigCPtr, value); + } + get { + float ret = mupdfPINVOKE.fz_outline_item_b_get(swigCPtr); + return ret; + } + } + public fz_outline_item() : this(mupdfPINVOKE.new_fz_outline_item(), true) { } @@ -11526,12 +12263,52 @@ public fz_outline down { } } - public int is_open { + public uint is_open { set { mupdfPINVOKE.fz_outline_is_open_set(swigCPtr, value); } get { - int ret = mupdfPINVOKE.fz_outline_is_open_get(swigCPtr); + uint ret = mupdfPINVOKE.fz_outline_is_open_get(swigCPtr); + return ret; + } + } + + public uint flags { + set { + mupdfPINVOKE.fz_outline_flags_set(swigCPtr, value); + } + get { + uint ret = mupdfPINVOKE.fz_outline_flags_get(swigCPtr); + return ret; + } + } + + public uint r { + set { + mupdfPINVOKE.fz_outline_r_set(swigCPtr, value); + } + get { + uint ret = mupdfPINVOKE.fz_outline_r_get(swigCPtr); + return ret; + } + } + + public uint g { + set { + mupdfPINVOKE.fz_outline_g_set(swigCPtr, value); + } + get { + uint ret = mupdfPINVOKE.fz_outline_g_get(swigCPtr); + return ret; + } + } + + public uint b { + set { + mupdfPINVOKE.fz_outline_b_set(swigCPtr, value); + } + get { + uint ret = mupdfPINVOKE.fz_outline_b_get(swigCPtr); return ret; } } @@ -12140,13 +12917,13 @@ public SWIGTYPE_p_f_p_fz_context_p_fz_document_float_float_float__void layout { } } - public SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__int make_bookmark { + public SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__long make_bookmark { set { - mupdfPINVOKE.fz_document_make_bookmark_set(swigCPtr, SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__int.getCPtr(value)); + mupdfPINVOKE.fz_document_make_bookmark_set(swigCPtr, SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__long.getCPtr(value)); } get { global::System.IntPtr cPtr = mupdfPINVOKE.fz_document_make_bookmark_get(swigCPtr); - SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__int ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__int(cPtr, false); + SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__long ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__long(cPtr, false); return ret; } } @@ -15066,6 +15843,16 @@ public int is_fdf { } } + public int bias { + set { + mupdfPINVOKE.pdf_document_bias_set(swigCPtr, value); + } + get { + int ret = mupdfPINVOKE.pdf_document_bias_get(swigCPtr); + return ret; + } + } + public long startxref { set { mupdfPINVOKE.pdf_document_startxref_set(swigCPtr, value); @@ -15490,13 +16277,13 @@ public int hint_obj_offsets_max { } } - public SWIGTYPE_p_long_long hint_obj_offsets { + public SWIGTYPE_p_long hint_obj_offsets { set { - mupdfPINVOKE.pdf_document_hint_obj_offsets_set(swigCPtr, SWIGTYPE_p_long_long.getCPtr(value)); + mupdfPINVOKE.pdf_document_hint_obj_offsets_set(swigCPtr, SWIGTYPE_p_long.getCPtr(value)); } get { global::System.IntPtr cPtr = mupdfPINVOKE.pdf_document_hint_obj_offsets_get(swigCPtr); - SWIGTYPE_p_long_long ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_long_long(cPtr, false); + SWIGTYPE_p_long ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_long(cPtr, false); return ret; } } @@ -17520,6 +18307,82 @@ public pdf_font_resource_key() : this(mupdfPINVOKE.new_pdf_font_resource_key(), } namespace mupdf { +public class pdf_colorspace_resource_key : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal pdf_colorspace_resource_key(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(pdf_colorspace_resource_key obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(pdf_colorspace_resource_key obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~pdf_colorspace_resource_key() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + mupdfPINVOKE.delete_pdf_colorspace_resource_key(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public SWIGTYPE_p_unsigned_char digest { + set { + mupdfPINVOKE.pdf_colorspace_resource_key_digest_set(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.pdf_colorspace_resource_key_digest_get(swigCPtr); + SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); + return ret; + } + } + + public int local_xref { + set { + mupdfPINVOKE.pdf_colorspace_resource_key_local_xref_set(swigCPtr, value); + } + get { + int ret = mupdfPINVOKE.pdf_colorspace_resource_key_local_xref_get(swigCPtr); + return ret; + } + } + + public pdf_colorspace_resource_key() : this(mupdfPINVOKE.new_pdf_colorspace_resource_key(), true) { + } + +} + +} +namespace mupdf { + public class pdf_pattern : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -19190,11 +20053,15 @@ public pdf_filter_options() : this(mupdfPINVOKE.new_pdf_filter_options(), true) namespace mupdf { public enum fz_cull_type { - FZ_CULL_PATH_FILL, - FZ_CULL_PATH_STROKE, - FZ_CULL_PATH_FILL_STROKE, - FZ_CULL_CLIP_PATH, - FZ_CULL_GLYPH, + FZ_CULL_PATH_DROP = 0, + FZ_CULL_PATH_FILL = 1, + FZ_CULL_PATH_STROKE = 2, + FZ_CULL_PATH_FILL_STROKE = 3, + FZ_CULL_CLIP_PATH_DROP = 4, + FZ_CULL_CLIP_PATH_FILL = 5, + FZ_CULL_CLIP_PATH_STROKE = 6, + FZ_CULL_CLIP_PATH_FILL_STROKE = 7, + FZ_CULL_GLYPH = 8, FZ_CULL_IMAGE, FZ_CULL_SHADING } @@ -21384,6 +22251,14 @@ public pdf_image_rewriter_options() : this(mupdfPINVOKE.new_pdf_image_rewriter_o } namespace mupdf { +public enum pdf_clean_options_structure { + PDF_CLEAN_STRUCTURE_DROP = 0, + PDF_CLEAN_STRUCTURE_KEEP = 1 +} + +} +namespace mupdf { + public class pdf_clean_options : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -21463,6 +22338,16 @@ public int subset_fonts { } } + public pdf_clean_options_structure structure { + set { + mupdfPINVOKE.pdf_clean_options_structure_set(swigCPtr, (int)value); + } + get { + pdf_clean_options_structure ret = (pdf_clean_options_structure)mupdfPINVOKE.pdf_clean_options_structure_get(swigCPtr); + return ret; + } + } + public pdf_clean_options() : this(mupdfPINVOKE.new_pdf_clean_options(), true) { } @@ -21714,6 +22599,81 @@ public fz_install_load_system_font_funcs_args() : this(mupdfPINVOKE.new_fz_insta } namespace mupdf { +public class fz_font_ucs_gid : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal fz_font_ucs_gid(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(fz_font_ucs_gid obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(fz_font_ucs_gid obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~fz_font_ucs_gid() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + mupdfPINVOKE.delete_fz_font_ucs_gid(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public ulong ucs { + set { + mupdfPINVOKE.fz_font_ucs_gid_ucs_set(swigCPtr, value); + } + get { + ulong ret = mupdfPINVOKE.fz_font_ucs_gid_ucs_get(swigCPtr); + return ret; + } + } + + public uint gid { + set { + mupdfPINVOKE.fz_font_ucs_gid_gid_set(swigCPtr, value); + } + get { + uint ret = mupdfPINVOKE.fz_font_ucs_gid_gid_get(swigCPtr); + return ret; + } + } + + public fz_font_ucs_gid() : this(mupdfPINVOKE.new_fz_font_ucs_gid(), true) { + } + +} + +} +namespace mupdf { + public class FzAaContext : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -21854,6 +22814,90 @@ public string to_string() { } namespace mupdf { +public class FzActivityContext : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal FzActivityContext(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FzActivityContext obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(FzActivityContext obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~FzActivityContext() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + mupdfPINVOKE.delete_FzActivityContext(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public FzActivityContext() : this(mupdfPINVOKE.new_FzActivityContext__SWIG_0(), true) { + } + + public FzActivityContext(fz_activity_context internal_) : this(mupdfPINVOKE.new_FzActivityContext__SWIG_1(fz_activity_context.getCPtr(internal_)), true) { + } + + public long m_internal_value() { + long ret = mupdfPINVOKE.FzActivityContext_m_internal_value(swigCPtr); + return ret; + } + + public fz_activity_context m_internal { + set { + mupdfPINVOKE.FzActivityContext_m_internal_set(swigCPtr, fz_activity_context.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.FzActivityContext_m_internal_get(swigCPtr); + fz_activity_context ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_activity_context(cPtr, false); + return ret; + } + } + + public static int s_num_instances { + set { + mupdfPINVOKE.FzActivityContext_s_num_instances_set(value); + } + get { + int ret = mupdfPINVOKE.FzActivityContext_s_num_instances_get(); + return ret; + } + } + +} + +} +namespace mupdf { + public class FzAes : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -22985,6 +24029,11 @@ public void fz_append_int32_le(int x) { mupdfPINVOKE.FzBuffer_fz_append_int32_le(swigCPtr, x); } + public void fz_append_json(FzJson value) { + mupdfPINVOKE.FzBuffer_fz_append_json(swigCPtr, FzJson.getCPtr(value)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public void fz_append_pdf_string(string text) { mupdfPINVOKE.FzBuffer_fz_append_pdf_string(swigCPtr, text); } @@ -23367,6 +24416,10 @@ public int fz_colorspace_device_n_has_only_cmyk() { return ret; } + public void fz_colorspace_digest(SWIGTYPE_p_unsigned_char digest) { + mupdfPINVOKE.FzColorspace_fz_colorspace_digest(swigCPtr, SWIGTYPE_p_unsigned_char.getCPtr(digest)); + } + public int fz_colorspace_is_cmyk() { int ret = mupdfPINVOKE.FzColorspace_fz_colorspace_is_cmyk(swigCPtr); return ret; @@ -23397,6 +24450,11 @@ public int fz_colorspace_is_gray() { return ret; } + public int fz_colorspace_is_icc() { + int ret = mupdfPINVOKE.FzColorspace_fz_colorspace_is_icc(swigCPtr); + return ret; + } + public int fz_colorspace_is_indexed() { int ret = mupdfPINVOKE.FzColorspace_fz_colorspace_is_indexed(swigCPtr); return ret; @@ -24512,8 +25570,8 @@ public void fz_render_flags(int set, int clear) { mupdfPINVOKE.FzDevice_fz_render_flags(swigCPtr, set, clear); } - public void fz_render_t3_glyph_direct(FzFont font, int gid, FzMatrix trm, SWIGTYPE_p_void gstate, FzDefaultColorspaces def_cs) { - mupdfPINVOKE.FzDevice_fz_render_t3_glyph_direct(swigCPtr, FzFont.getCPtr(font), gid, FzMatrix.getCPtr(trm), SWIGTYPE_p_void.getCPtr(gstate), FzDefaultColorspaces.getCPtr(def_cs)); + public void fz_render_t3_glyph_direct(FzFont font, int gid, FzMatrix trm, SWIGTYPE_p_void gstate, FzDefaultColorspaces def_cs, SWIGTYPE_p_void fill_gstate, SWIGTYPE_p_void stroke_gstate) { + mupdfPINVOKE.FzDevice_fz_render_t3_glyph_direct(swigCPtr, FzFont.getCPtr(font), gid, FzMatrix.getCPtr(trm), SWIGTYPE_p_void.getCPtr(gstate), FzDefaultColorspaces.getCPtr(def_cs), SWIGTYPE_p_void.getCPtr(fill_gstate), SWIGTYPE_p_void.getCPtr(stroke_gstate)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } @@ -25178,7 +26236,7 @@ private void SwigDirectorMethodset_default_colorspaces(global::System.IntPtr arg set_default_colorspaces((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), (arg_2 == global::System.IntPtr.Zero) ? null : new fz_default_colorspaces(arg_2, false)); } - private void SwigDirectorMethodbegin_layer(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2) { + private void SwigDirectorMethodbegin_layer(global::System.IntPtr arg_0, string arg_2) { begin_layer((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2); } @@ -25186,7 +26244,7 @@ private void SwigDirectorMethodend_layer(global::System.IntPtr arg_0) { end_layer((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false)); } - private void SwigDirectorMethodbegin_structure(global::System.IntPtr arg_0, int arg_2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_3, int arg_4) { + private void SwigDirectorMethodbegin_structure(global::System.IntPtr arg_0, int arg_2, string arg_3, int arg_4) { begin_structure((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), (fz_structure)arg_2, arg_3, arg_4); } @@ -25194,7 +26252,7 @@ private void SwigDirectorMethodend_structure(global::System.IntPtr arg_0) { end_structure((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false)); } - private void SwigDirectorMethodbegin_metatext(global::System.IntPtr arg_0, int arg_2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_3) { + private void SwigDirectorMethodbegin_metatext(global::System.IntPtr arg_0, int arg_2, string arg_3) { begin_metatext((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), (fz_metatext)arg_2, arg_3); } @@ -25226,11 +26284,11 @@ private void SwigDirectorMethodend_metatext(global::System.IntPtr arg_0) { public delegate void SwigDelegateFzDevice2_21(global::System.IntPtr arg_0); public delegate void SwigDelegateFzDevice2_22(global::System.IntPtr arg_0, int arg_2, int arg_3); public delegate void SwigDelegateFzDevice2_23(global::System.IntPtr arg_0, global::System.IntPtr arg_2); - public delegate void SwigDelegateFzDevice2_24(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2); + public delegate void SwigDelegateFzDevice2_24(global::System.IntPtr arg_0, string arg_2); public delegate void SwigDelegateFzDevice2_25(global::System.IntPtr arg_0); - public delegate void SwigDelegateFzDevice2_26(global::System.IntPtr arg_0, int arg_2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_3, int arg_4); + public delegate void SwigDelegateFzDevice2_26(global::System.IntPtr arg_0, int arg_2, string arg_3, int arg_4); public delegate void SwigDelegateFzDevice2_27(global::System.IntPtr arg_0); - public delegate void SwigDelegateFzDevice2_28(global::System.IntPtr arg_0, int arg_2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_3); + public delegate void SwigDelegateFzDevice2_28(global::System.IntPtr arg_0, int arg_2, string arg_3); public delegate void SwigDelegateFzDevice2_29(global::System.IntPtr arg_0); private SwigDelegateFzDevice2_0 swigDelegate0; @@ -25517,6 +26575,11 @@ public int fz_search_display_list(string needle, SWIGTYPE_p_int hit_mark, FzQuad return ret; } + public int fz_search_display_list_cb(string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.FzDisplayList_fz_search_display_list_cb(swigCPtr, needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + return ret; + } + public FzDisplayList(SWIGTYPE_p_fz_display_list internal_) : this(mupdfPINVOKE.new_FzDisplayList__SWIG_8(SWIGTYPE_p_fz_display_list.getCPtr(internal_)), true) { } @@ -25719,7 +26782,7 @@ public FzLocation fz_location_from_page_number(int number) { return ret; } - public FzLocation fz_lookup_bookmark(int mark) { + public FzLocation fz_lookup_bookmark(long mark) { FzLocation ret = new FzLocation(mupdfPINVOKE.FzDocument_fz_lookup_bookmark(swigCPtr, mark), true); return ret; } @@ -25822,6 +26885,11 @@ public int fz_search_chapter_page_number(int chapter, int page, string needle, S return ret; } + public int fz_search_chapter_page_number_cb(int chapter, int page, string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.FzDocument_fz_search_chapter_page_number_cb(swigCPtr, chapter, page, needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + return ret; + } + public vector_search_page2_hit fz_search_page2(int number, string needle, int hit_max) { vector_search_page2_hit ret = new vector_search_page2_hit(mupdfPINVOKE.FzDocument_fz_search_page2(swigCPtr, number, needle, hit_max), true); return ret; @@ -25833,6 +26901,11 @@ public int fz_search_page_number(int number, string needle, SWIGTYPE_p_int hit_m return ret; } + public int fz_search_page_number_cb(int number, string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.FzDocument_fz_search_page_number_cb(swigCPtr, number, needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + return ret; + } + public void fz_set_metadata(string key, string value) { mupdfPINVOKE.FzDocument_fz_set_metadata(swigCPtr, key, value); } @@ -26128,14 +27201,14 @@ protected virtual void Dispose(bool disposing) { } } - public FzDocumentWriter(uint size, SWIGTYPE_p_f_p_fz_context_p_fz_document_writer_fz_rect__p_fz_device begin_page, SWIGTYPE_p_f_p_fz_context_p_fz_document_writer_p_fz_device__void end_page, SWIGTYPE_p_f_p_fz_context_p_fz_document_writer__void close, SWIGTYPE_p_f_p_fz_context_p_fz_document_writer__void drop) : this(mupdfPINVOKE.new_FzDocumentWriter__SWIG_0(size, SWIGTYPE_p_f_p_fz_context_p_fz_document_writer_fz_rect__p_fz_device.getCPtr(begin_page), SWIGTYPE_p_f_p_fz_context_p_fz_document_writer_p_fz_device__void.getCPtr(end_page), SWIGTYPE_p_f_p_fz_context_p_fz_document_writer__void.getCPtr(close), SWIGTYPE_p_f_p_fz_context_p_fz_document_writer__void.getCPtr(drop)), true) { + public FzDocumentWriter(string path, string options) : this(mupdfPINVOKE.new_FzDocumentWriter__SWIG_0(path, options), true) { } - public FzDocumentWriter(FzBuffer buf, string format, string options) : this(mupdfPINVOKE.new_FzDocumentWriter__SWIG_1(FzBuffer.getCPtr(buf), format, options), true) { - if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + public FzDocumentWriter(uint size, SWIGTYPE_p_f_p_fz_context_p_fz_document_writer_fz_rect__p_fz_device begin_page, SWIGTYPE_p_f_p_fz_context_p_fz_document_writer_p_fz_device__void end_page, SWIGTYPE_p_f_p_fz_context_p_fz_document_writer__void close, SWIGTYPE_p_f_p_fz_context_p_fz_document_writer__void drop) : this(mupdfPINVOKE.new_FzDocumentWriter__SWIG_1(size, SWIGTYPE_p_f_p_fz_context_p_fz_document_writer_fz_rect__p_fz_device.getCPtr(begin_page), SWIGTYPE_p_f_p_fz_context_p_fz_document_writer_p_fz_device__void.getCPtr(end_page), SWIGTYPE_p_f_p_fz_context_p_fz_document_writer__void.getCPtr(close), SWIGTYPE_p_f_p_fz_context_p_fz_document_writer__void.getCPtr(drop)), true) { } - public FzDocumentWriter(string path, string options) : this(mupdfPINVOKE.new_FzDocumentWriter__SWIG_2(path, options), true) { + public FzDocumentWriter(FzBuffer buf, string format, string options) : this(mupdfPINVOKE.new_FzDocumentWriter__SWIG_2(FzBuffer.getCPtr(buf), format, options), true) { + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } public FzDocumentWriter(string path, string options, string default_path, int n, SWIGTYPE_p_f_p_fz_context_p_fz_pixmap_p_q_const__char__void save) : this(mupdfPINVOKE.new_FzDocumentWriter__SWIG_3(path, options, default_path, n, SWIGTYPE_p_f_p_fz_context_p_fz_pixmap_p_q_const__char__void.getCPtr(save)), true) { @@ -26726,6 +27799,15 @@ public int fz_encode_character_with_fallback(int unicode, int script, int langua return ret; } + public void fz_enumerate_font_cmap(SWIGTYPE_p_f_p_fz_context_p_void_unsigned_long_unsigned_int__void cb, SWIGTYPE_p_void opaque) { + mupdfPINVOKE.FzFont_fz_enumerate_font_cmap(swigCPtr, SWIGTYPE_p_f_p_fz_context_p_void_unsigned_long_unsigned_int__void.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + } + + public vector_fz_font_ucs_gid fz_enumerate_font_cmap2() { + vector_fz_font_ucs_gid ret = new vector_fz_font_ucs_gid(mupdfPINVOKE.FzFont_fz_enumerate_font_cmap2(swigCPtr), true); + return ret; + } + public FzBuffer fz_extract_ttf_from_ttc() { FzBuffer ret = new FzBuffer(mupdfPINVOKE.FzFont_fz_extract_ttf_from_ttc(swigCPtr), true); return ret; @@ -28215,11 +29297,11 @@ private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] return false; } - private global::System.IntPtr SwigDirectorMethodf(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_1, int arg_2, int arg_3, int arg_4) { + private global::System.IntPtr SwigDirectorMethodf(global::System.IntPtr arg_0, string arg_1, int arg_2, int arg_3, int arg_4) { return fz_font.getCPtr(f((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_1, arg_2, arg_3, arg_4)).Handle; } - private global::System.IntPtr SwigDirectorMethodf_cjk(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_1, int arg_2, int arg_3) { + private global::System.IntPtr SwigDirectorMethodf_cjk(global::System.IntPtr arg_0, string arg_1, int arg_2, int arg_3) { return fz_font.getCPtr(f_cjk((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_1, arg_2, arg_3)).Handle; } @@ -28227,8 +29309,8 @@ private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] return fz_font.getCPtr(f_fallback((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_1, arg_2, arg_3, arg_4, arg_5)).Handle; } - public delegate global::System.IntPtr SwigDelegateFzInstallLoadSystemFontFuncsArgs2_0(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_1, int arg_2, int arg_3, int arg_4); - public delegate global::System.IntPtr SwigDelegateFzInstallLoadSystemFontFuncsArgs2_1(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_1, int arg_2, int arg_3); + public delegate global::System.IntPtr SwigDelegateFzInstallLoadSystemFontFuncsArgs2_0(global::System.IntPtr arg_0, string arg_1, int arg_2, int arg_3, int arg_4); + public delegate global::System.IntPtr SwigDelegateFzInstallLoadSystemFontFuncsArgs2_1(global::System.IntPtr arg_0, string arg_1, int arg_2, int arg_3); public delegate global::System.IntPtr SwigDelegateFzInstallLoadSystemFontFuncsArgs2_2(global::System.IntPtr arg_0, int arg_1, int arg_2, int arg_3, int arg_4, int arg_5); private SwigDelegateFzInstallLoadSystemFontFuncsArgs2_0 swigDelegate0; @@ -28377,6 +29459,10 @@ protected virtual void Dispose(bool disposing) { public FzInt2Heap() : this(mupdfPINVOKE.new_FzInt2Heap__SWIG_0(), true) { } + public void fz_int2_heap_debug() { + mupdfPINVOKE.FzInt2Heap_fz_int2_heap_debug(swigCPtr); + } + public void fz_int2_heap_insert(FzInt2 v) { mupdfPINVOKE.FzInt2Heap_fz_int2_heap_insert(swigCPtr, FzInt2.getCPtr(v)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -28474,6 +29560,10 @@ protected virtual void Dispose(bool disposing) { public FzIntHeap() : this(mupdfPINVOKE.new_FzIntHeap__SWIG_0(), true) { } + public void fz_int_heap_debug() { + mupdfPINVOKE.FzIntHeap_fz_int_heap_debug(swigCPtr); + } + public void fz_int_heap_insert(int v) { mupdfPINVOKE.FzIntHeap_fz_int_heap_insert(swigCPtr, v); } @@ -28654,6 +29744,10 @@ protected virtual void Dispose(bool disposing) { public FzIntptrHeap() : this(mupdfPINVOKE.new_FzIntptrHeap__SWIG_0(), true) { } + public void fz_intptr_heap_debug() { + mupdfPINVOKE.FzIntptrHeap_fz_intptr_heap_debug(swigCPtr); + } + public void fz_intptr_heap_insert(FzIntptr v) { mupdfPINVOKE.FzIntptrHeap_fz_intptr_heap_insert(swigCPtr, FzIntptr.getCPtr(v)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -28967,6 +30061,308 @@ public static int s_num_instances { } namespace mupdf { +public class FzJson : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal FzJson(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FzJson obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(FzJson obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~FzJson() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + mupdfPINVOKE.delete_FzJson(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public FzJson() : this(mupdfPINVOKE.new_FzJson__SWIG_0(), true) { + } + + public int fz_json_array_length() { + int ret = mupdfPINVOKE.FzJson_fz_json_array_length(swigCPtr); + return ret; + } + + public int fz_json_is_array() { + int ret = mupdfPINVOKE.FzJson_fz_json_is_array(swigCPtr); + return ret; + } + + public int fz_json_is_boolean() { + int ret = mupdfPINVOKE.FzJson_fz_json_is_boolean(swigCPtr); + return ret; + } + + public int fz_json_is_null() { + int ret = mupdfPINVOKE.FzJson_fz_json_is_null(swigCPtr); + return ret; + } + + public int fz_json_is_number() { + int ret = mupdfPINVOKE.FzJson_fz_json_is_number(swigCPtr); + return ret; + } + + public int fz_json_is_object() { + int ret = mupdfPINVOKE.FzJson_fz_json_is_object(swigCPtr); + return ret; + } + + public int fz_json_is_string() { + int ret = mupdfPINVOKE.FzJson_fz_json_is_string(swigCPtr); + return ret; + } + + public int fz_json_to_boolean() { + int ret = mupdfPINVOKE.FzJson_fz_json_to_boolean(swigCPtr); + return ret; + } + + public double fz_json_to_number() { + double ret = mupdfPINVOKE.FzJson_fz_json_to_number(swigCPtr); + return ret; + } + + public string fz_json_to_string() { + string ret = mupdfPINVOKE.FzJson_fz_json_to_string(swigCPtr); + return ret; + } + + public FzJson(fz_json internal_) : this(mupdfPINVOKE.new_FzJson__SWIG_1(fz_json.getCPtr(internal_)), true) { + } + + public long m_internal_value() { + long ret = mupdfPINVOKE.FzJson_m_internal_value(swigCPtr); + return ret; + } + + public fz_json m_internal { + set { + mupdfPINVOKE.FzJson_m_internal_set(swigCPtr, fz_json.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.FzJson_m_internal_get(swigCPtr); + fz_json ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json(cPtr, false); + return ret; + } + } + + public static int s_num_instances { + set { + mupdfPINVOKE.FzJson_s_num_instances_set(value); + } + get { + int ret = mupdfPINVOKE.FzJson_s_num_instances_get(); + return ret; + } + } + +} + +} +namespace mupdf { + +public class FzJsonArray : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal FzJsonArray(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FzJsonArray obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(FzJsonArray obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~FzJsonArray() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + mupdfPINVOKE.delete_FzJsonArray(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public FzJsonArray() : this(mupdfPINVOKE.new_FzJsonArray__SWIG_0(), true) { + } + + public FzJsonArray(fz_json_array internal_) : this(mupdfPINVOKE.new_FzJsonArray__SWIG_1(fz_json_array.getCPtr(internal_)), true) { + } + + public long m_internal_value() { + long ret = mupdfPINVOKE.FzJsonArray_m_internal_value(swigCPtr); + return ret; + } + + public fz_json_array m_internal { + set { + mupdfPINVOKE.FzJsonArray_m_internal_set(swigCPtr, fz_json_array.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.FzJsonArray_m_internal_get(swigCPtr); + fz_json_array ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json_array(cPtr, false); + return ret; + } + } + + public static int s_num_instances { + set { + mupdfPINVOKE.FzJsonArray_s_num_instances_set(value); + } + get { + int ret = mupdfPINVOKE.FzJsonArray_s_num_instances_get(); + return ret; + } + } + +} + +} +namespace mupdf { + +public class FzJsonObject : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal FzJsonObject(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FzJsonObject obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(FzJsonObject obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~FzJsonObject() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + mupdfPINVOKE.delete_FzJsonObject(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public FzJsonObject() : this(mupdfPINVOKE.new_FzJsonObject__SWIG_0(), true) { + } + + public FzJsonObject(fz_json_object internal_) : this(mupdfPINVOKE.new_FzJsonObject__SWIG_1(fz_json_object.getCPtr(internal_)), true) { + } + + public long m_internal_value() { + long ret = mupdfPINVOKE.FzJsonObject_m_internal_value(swigCPtr); + return ret; + } + + public fz_json_object m_internal { + set { + mupdfPINVOKE.FzJsonObject_m_internal_set(swigCPtr, fz_json_object.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.FzJsonObject_m_internal_get(swigCPtr); + fz_json_object ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json_object(cPtr, false); + return ret; + } + } + + public static int s_num_instances { + set { + mupdfPINVOKE.FzJsonObject_s_num_instances_set(value); + } + get { + int ret = mupdfPINVOKE.FzJsonObject_s_num_instances_get(); + return ret; + } + } + +} + +} +namespace mupdf { + public class FzKeyStorable : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -30214,8 +31610,28 @@ public FzOutline down() { return ret; } - public int is_open() { - int ret = mupdfPINVOKE.FzOutline_is_open(swigCPtr); + public uint is_open() { + uint ret = mupdfPINVOKE.FzOutline_is_open(swigCPtr); + return ret; + } + + public uint flags() { + uint ret = mupdfPINVOKE.FzOutline_flags(swigCPtr); + return ret; + } + + public uint r() { + uint ret = mupdfPINVOKE.FzOutline_r(swigCPtr); + return ret; + } + + public uint g() { + uint ret = mupdfPINVOKE.FzOutline_g(swigCPtr); + return ret; + } + + public uint b() { + uint ret = mupdfPINVOKE.FzOutline_b(swigCPtr); return ret; } @@ -30574,6 +31990,21 @@ public void fz_flush_output() { mupdfPINVOKE.FzOutput_fz_flush_output(swigCPtr); } + public void fz_int2_heap_dump(FzInt2Heap heap) { + mupdfPINVOKE.FzOutput_fz_int2_heap_dump(swigCPtr, FzInt2Heap.getCPtr(heap)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public void fz_int_heap_dump(FzIntHeap heap) { + mupdfPINVOKE.FzOutput_fz_int_heap_dump(swigCPtr, FzIntHeap.getCPtr(heap)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public void fz_intptr_heap_dump(FzIntptrHeap heap) { + mupdfPINVOKE.FzOutput_fz_intptr_heap_dump(swigCPtr, FzIntptrHeap.getCPtr(heap)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public FzDevice fz_new_svg_device(float page_width, float page_height, int text_format, int reuse_images) { FzDevice ret = new FzDevice(mupdfPINVOKE.FzOutput_fz_new_svg_device(swigCPtr, page_width, page_height, text_format, reuse_images), true); return ret; @@ -30759,6 +32190,11 @@ public void fz_write_int32_le(int x) { mupdfPINVOKE.FzOutput_fz_write_int32_le(swigCPtr, x); } + public void fz_write_json(FzJson value) { + mupdfPINVOKE.FzOutput_fz_write_json(swigCPtr, FzJson.getCPtr(value)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public void fz_write_pixmap_as_data_uri(FzPixmap pixmap) { mupdfPINVOKE.FzOutput_fz_write_pixmap_as_data_uri(swigCPtr, FzPixmap.getCPtr(pixmap)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -31473,6 +32909,11 @@ public int fz_search_page(string needle, SWIGTYPE_p_int hit_mark, FzQuad hit_bbo return ret; } + public int fz_search_page_cb(string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.FzPage_fz_search_page_cb(swigCPtr, needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + return ret; + } + public PdfPage pdf_page_from_fz_page() { PdfPage ret = new PdfPage(mupdfPINVOKE.FzPage_pdf_page_from_fz_page(swigCPtr), true); return ret; @@ -32891,8 +34332,8 @@ public byte flags() { return ret; } - public SWIGTYPE_p_ptrdiff_t stride() { - SWIGTYPE_p_ptrdiff_t ret = new SWIGTYPE_p_ptrdiff_t(mupdfPINVOKE.FzPixmap_stride(swigCPtr), true); + public int stride() { + int ret = mupdfPINVOKE.FzPixmap_stride(swigCPtr); return ret; } @@ -33252,6 +34693,16 @@ protected virtual void Dispose(bool disposing) { public FzPool() : this(mupdfPINVOKE.new_FzPool__SWIG_0(), true) { } + public void fz_json_array_push(FzJson array, FzJson item) { + mupdfPINVOKE.FzPool_fz_json_array_push(swigCPtr, FzJson.getCPtr(array), FzJson.getCPtr(item)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public void fz_json_object_set(FzJson object_, string key, FzJson item) { + mupdfPINVOKE.FzPool_fz_json_object_set(swigCPtr, FzJson.getCPtr(object_), key, FzJson.getCPtr(item)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public SWIGTYPE_p_void fz_pool_alloc(uint size) { global::System.IntPtr cPtr = mupdfPINVOKE.FzPool_fz_pool_alloc(swigCPtr, size); SWIGTYPE_p_void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false); @@ -35331,6 +36782,17 @@ public float scale { } } + public fz_rect clip { + set { + mupdfPINVOKE.FzStextOptions_clip_set(swigCPtr, fz_rect.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.FzStextOptions_clip_get(swigCPtr); + fz_rect ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_rect(cPtr, false); + return ret; + } + } + public static int s_num_instances { set { mupdfPINVOKE.FzStextOptions_s_num_instances_set(value); @@ -35449,18 +36911,36 @@ public FzDevice fz_new_stext_device(FzStextOptions options) { return ret; } + public void fz_paragraph_break() { + mupdfPINVOKE.FzStextPage_fz_paragraph_break(swigCPtr); + } + public int fz_search_stext_page(string needle, SWIGTYPE_p_int hit_mark, FzQuad hit_bbox, int hit_max) { int ret = mupdfPINVOKE.FzStextPage_fz_search_stext_page(swigCPtr, needle, SWIGTYPE_p_int.getCPtr(hit_mark), FzQuad.getCPtr(hit_bbox), hit_max); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } + public int fz_search_stext_page_cb(string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.FzStextPage_fz_search_stext_page_cb(swigCPtr, needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + return ret; + } + + public int fz_segment_stext_page() { + int ret = mupdfPINVOKE.FzStextPage_fz_segment_stext_page(swigCPtr); + return ret; + } + public FzQuad fz_snap_selection(FzPoint ap, FzPoint bp, int mode) { FzQuad ret = new FzQuad(mupdfPINVOKE.FzStextPage_fz_snap_selection(swigCPtr, FzPoint.getCPtr(ap), FzPoint.getCPtr(bp), mode), true); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } + public void fz_table_hunt() { + mupdfPINVOKE.FzStextPage_fz_table_hunt(swigCPtr); + } + public string fz_copy_selection(FzPoint a, FzPoint b, int crlf) { string ret = mupdfPINVOKE.FzStextPage_fz_copy_selection(swigCPtr, FzPoint.getCPtr(a), FzPoint.getCPtr(b), crlf); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -39673,6 +41153,16 @@ public int subset_fonts { } } + public pdf_clean_options_structure structure { + set { + mupdfPINVOKE.PdfCleanOptions_structure_set(swigCPtr, (int)value); + } + get { + pdf_clean_options_structure ret = (pdf_clean_options_structure)mupdfPINVOKE.PdfCleanOptions_structure_get(swigCPtr); + return ret; + } + } + public static int s_num_instances { set { mupdfPINVOKE.PdfCleanOptions_s_num_instances_set(value); @@ -39919,6 +41409,90 @@ public static int s_num_instances { } namespace mupdf { +public class PdfColorspaceResourceKey : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal PdfColorspaceResourceKey(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PdfColorspaceResourceKey obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(PdfColorspaceResourceKey obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~PdfColorspaceResourceKey() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + mupdfPINVOKE.delete_PdfColorspaceResourceKey(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public PdfColorspaceResourceKey() : this(mupdfPINVOKE.new_PdfColorspaceResourceKey__SWIG_0(), true) { + } + + public PdfColorspaceResourceKey(pdf_colorspace_resource_key internal_) : this(mupdfPINVOKE.new_PdfColorspaceResourceKey__SWIG_1(pdf_colorspace_resource_key.getCPtr(internal_)), true) { + } + + public long m_internal_value() { + long ret = mupdfPINVOKE.PdfColorspaceResourceKey_m_internal_value(swigCPtr); + return ret; + } + + public pdf_colorspace_resource_key m_internal { + set { + mupdfPINVOKE.PdfColorspaceResourceKey_m_internal_set(swigCPtr, pdf_colorspace_resource_key.getCPtr(value)); + } + get { + global::System.IntPtr cPtr = mupdfPINVOKE.PdfColorspaceResourceKey_m_internal_get(swigCPtr); + pdf_colorspace_resource_key ret = (cPtr == global::System.IntPtr.Zero) ? null : new pdf_colorspace_resource_key(cPtr, false); + return ret; + } + } + + public static int s_num_instances { + set { + mupdfPINVOKE.PdfColorspaceResourceKey_s_num_instances_set(value); + } + get { + int ret = mupdfPINVOKE.PdfColorspaceResourceKey_s_num_instances_get(); + return ret; + } + } + +} + +} +namespace mupdf { + public class PdfCrypt : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -40445,8 +42019,14 @@ public PdfObj pdf_add_cjk_font(FzFont font, int script, int wmode, int serif) { return ret; } - public PdfObj pdf_add_embedded_file(string filename, string mimetype, FzBuffer contents, long created, long modifed, int add_checksum) { - PdfObj ret = new PdfObj(mupdfPINVOKE.PdfDocument_pdf_add_embedded_file(swigCPtr, filename, mimetype, FzBuffer.getCPtr(contents), created, modifed, add_checksum), true); + public PdfObj pdf_add_colorspace(FzColorspace cs) { + PdfObj ret = new PdfObj(mupdfPINVOKE.PdfDocument_pdf_add_colorspace(swigCPtr, FzColorspace.getCPtr(cs)), true); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public PdfObj pdf_add_embedded_file(string filename, string mimetype, FzBuffer contents, long created, long modified, int add_checksum) { + PdfObj ret = new PdfObj(mupdfPINVOKE.PdfDocument_pdf_add_embedded_file(swigCPtr, filename, mimetype, FzBuffer.getCPtr(contents), created, modified, add_checksum), true); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -40768,6 +42348,12 @@ public void pdf_filter_page_contents(PdfPage page, PdfFilterOptions options) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } + public PdfObj pdf_find_colorspace_resource(FzColorspace item, PdfColorspaceResourceKey key) { + PdfObj ret = new PdfObj(mupdfPINVOKE.PdfDocument_pdf_find_colorspace_resource(swigCPtr, FzColorspace.getCPtr(item), PdfColorspaceResourceKey.getCPtr(key)), true); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public PdfObj pdf_find_font_resource(int type, int encoding, FzFont item, PdfFontResourceKey key) { PdfObj ret = new PdfObj(mupdfPINVOKE.PdfDocument_pdf_find_font_resource(swigCPtr, type, encoding, FzFont.getCPtr(item), PdfFontResourceKey.getCPtr(key)), true); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -40816,6 +42402,12 @@ public int pdf_has_unsaved_sigs() { return ret; } + public PdfObj pdf_insert_colorspace_resource(PdfColorspaceResourceKey key, PdfObj obj) { + PdfObj ret = new PdfObj(mupdfPINVOKE.PdfDocument_pdf_insert_colorspace_resource(swigCPtr, PdfColorspaceResourceKey.getCPtr(key), PdfObj.getCPtr(obj)), true); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public PdfObj pdf_insert_font_resource(PdfFontResourceKey key, PdfObj obj) { PdfObj ret = new PdfObj(mupdfPINVOKE.PdfDocument_pdf_insert_font_resource(swigCPtr, PdfFontResourceKey.getCPtr(key), PdfObj.getCPtr(obj)), true); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -41101,8 +42693,8 @@ public PdfObj pdf_new_rect(FzRect rect) { return ret; } - public PdfProcessor pdf_new_run_processor(FzDevice dev, FzMatrix ctm, int struct_parent, string usage, PdfGstate gstate, FzDefaultColorspaces default_cs, FzCookie cookie) { - PdfProcessor ret = new PdfProcessor(mupdfPINVOKE.PdfDocument_pdf_new_run_processor(swigCPtr, FzDevice.getCPtr(dev), FzMatrix.getCPtr(ctm), struct_parent, usage, PdfGstate.getCPtr(gstate), FzDefaultColorspaces.getCPtr(default_cs), FzCookie.getCPtr(cookie)), true); + public PdfProcessor pdf_new_run_processor(FzDevice dev, FzMatrix ctm, int struct_parent, string usage, PdfGstate gstate, FzDefaultColorspaces default_cs, FzCookie cookie, PdfGstate fill_gstate, PdfGstate stroke_gstate) { + PdfProcessor ret = new PdfProcessor(mupdfPINVOKE.PdfDocument_pdf_new_run_processor(swigCPtr, FzDevice.getCPtr(dev), FzMatrix.getCPtr(ctm), struct_parent, usage, PdfGstate.getCPtr(gstate), FzDefaultColorspaces.getCPtr(default_cs), FzCookie.getCPtr(cookie), PdfGstate.getCPtr(fill_gstate), PdfGstate.getCPtr(stroke_gstate)), true); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -41174,8 +42766,8 @@ public PdfObj pdf_parse_dict(FzStream f, PdfLexbuf buf) { return ret; } - public PdfObj pdf_parse_ind_obj(FzStream f, SWIGTYPE_p_int num, SWIGTYPE_p_int gen, SWIGTYPE_p_long_long stm_ofs, SWIGTYPE_p_int try_repair) { - PdfObj ret = new PdfObj(mupdfPINVOKE.PdfDocument_pdf_parse_ind_obj(swigCPtr, FzStream.getCPtr(f), SWIGTYPE_p_int.getCPtr(num), SWIGTYPE_p_int.getCPtr(gen), SWIGTYPE_p_long_long.getCPtr(stm_ofs), SWIGTYPE_p_int.getCPtr(try_repair)), true); + public PdfObj pdf_parse_ind_obj(FzStream f, SWIGTYPE_p_int num, SWIGTYPE_p_int gen, SWIGTYPE_p_long stm_ofs, SWIGTYPE_p_int try_repair) { + PdfObj ret = new PdfObj(mupdfPINVOKE.PdfDocument_pdf_parse_ind_obj(swigCPtr, FzStream.getCPtr(f), SWIGTYPE_p_int.getCPtr(num), SWIGTYPE_p_int.getCPtr(gen), SWIGTYPE_p_long.getCPtr(stm_ofs), SWIGTYPE_p_int.getCPtr(try_repair)), true); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -41197,8 +42789,8 @@ public PdfObj pdf_progressive_advance(int pagenum) { return ret; } - public void pdf_purge_local_font_resources() { - mupdfPINVOKE.PdfDocument_pdf_purge_local_font_resources(swigCPtr); + public void pdf_purge_local_resources() { + mupdfPINVOKE.PdfDocument_pdf_purge_local_resources(swigCPtr); } public void pdf_purge_locals_from_store() { @@ -41214,12 +42806,12 @@ public void pdf_read_journal(FzStream stm) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } - public void pdf_rearrange_pages(int count, SWIGTYPE_p_int pages) { - mupdfPINVOKE.PdfDocument_pdf_rearrange_pages(swigCPtr, count, SWIGTYPE_p_int.getCPtr(pages)); + public void pdf_rearrange_pages(int count, SWIGTYPE_p_int pages, pdf_clean_options_structure structure) { + mupdfPINVOKE.PdfDocument_pdf_rearrange_pages(swigCPtr, count, SWIGTYPE_p_int.getCPtr(pages), (int)structure); } - public void pdf_rearrange_pages2(vectori pages) { - mupdfPINVOKE.PdfDocument_pdf_rearrange_pages2(swigCPtr, vectori.getCPtr(pages)); + public void pdf_rearrange_pages2(vectori pages, pdf_clean_options_structure structure) { + mupdfPINVOKE.PdfDocument_pdf_rearrange_pages2(swigCPtr, vectori.getCPtr(pages), (int)structure); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } @@ -41242,8 +42834,8 @@ public void pdf_remove_output_intents() { mupdfPINVOKE.PdfDocument_pdf_remove_output_intents(swigCPtr); } - public int pdf_repair_obj(PdfLexbuf buf, SWIGTYPE_p_long_long stmofsp, SWIGTYPE_p_long_long stmlenp, PdfObj encrypt, PdfObj id, PdfObj page, SWIGTYPE_p_long_long tmpofs, PdfObj root) { - int ret = mupdfPINVOKE.PdfDocument_pdf_repair_obj(swigCPtr, PdfLexbuf.getCPtr(buf), SWIGTYPE_p_long_long.getCPtr(stmofsp), SWIGTYPE_p_long_long.getCPtr(stmlenp), PdfObj.getCPtr(encrypt), PdfObj.getCPtr(id), PdfObj.getCPtr(page), SWIGTYPE_p_long_long.getCPtr(tmpofs), PdfObj.getCPtr(root)); + public int pdf_repair_obj(PdfLexbuf buf, SWIGTYPE_p_long stmofsp, SWIGTYPE_p_long stmlenp, PdfObj encrypt, PdfObj id, PdfObj page, SWIGTYPE_p_long tmpofs, PdfObj root) { + int ret = mupdfPINVOKE.PdfDocument_pdf_repair_obj(swigCPtr, PdfLexbuf.getCPtr(buf), SWIGTYPE_p_long.getCPtr(stmofsp), SWIGTYPE_p_long.getCPtr(stmlenp), PdfObj.getCPtr(encrypt), PdfObj.getCPtr(id), PdfObj.getCPtr(page), SWIGTYPE_p_long.getCPtr(tmpofs), PdfObj.getCPtr(root)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -41260,6 +42852,10 @@ public void pdf_repair_xref() { mupdfPINVOKE.PdfDocument_pdf_repair_xref(swigCPtr); } + public void pdf_repair_xref_base() { + mupdfPINVOKE.PdfDocument_pdf_repair_xref_base(swigCPtr); + } + public void pdf_replace_xref(PdfXrefEntry entries, int n) { mupdfPINVOKE.PdfDocument_pdf_replace_xref(swigCPtr, PdfXrefEntry.getCPtr(entries), n); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -41285,8 +42881,8 @@ public void pdf_run_document_structure(FzDevice dev, FzCookie cookie) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } - public void pdf_run_glyph(PdfObj resources, FzBuffer contents, FzDevice dev, FzMatrix ctm, SWIGTYPE_p_void gstate, FzDefaultColorspaces default_cs) { - mupdfPINVOKE.PdfDocument_pdf_run_glyph(swigCPtr, PdfObj.getCPtr(resources), FzBuffer.getCPtr(contents), FzDevice.getCPtr(dev), FzMatrix.getCPtr(ctm), SWIGTYPE_p_void.getCPtr(gstate), FzDefaultColorspaces.getCPtr(default_cs)); + public void pdf_run_glyph(PdfObj resources, FzBuffer contents, FzDevice dev, FzMatrix ctm, SWIGTYPE_p_void gstate, FzDefaultColorspaces default_cs, SWIGTYPE_p_void fill_gstate, SWIGTYPE_p_void stroke_gstate) { + mupdfPINVOKE.PdfDocument_pdf_run_glyph(swigCPtr, PdfObj.getCPtr(resources), FzBuffer.getCPtr(contents), FzDevice.getCPtr(dev), FzMatrix.getCPtr(ctm), SWIGTYPE_p_void.getCPtr(gstate), FzDefaultColorspaces.getCPtr(default_cs), SWIGTYPE_p_void.getCPtr(fill_gstate), SWIGTYPE_p_void.getCPtr(stroke_gstate)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } @@ -44042,8 +45638,8 @@ public void pdf_lexbuf_fin() { mupdfPINVOKE.PdfLexbuf_pdf_lexbuf_fin(swigCPtr); } - public SWIGTYPE_p_ptrdiff_t pdf_lexbuf_grow() { - SWIGTYPE_p_ptrdiff_t ret = new SWIGTYPE_p_ptrdiff_t(mupdfPINVOKE.PdfLexbuf_pdf_lexbuf_grow(swigCPtr), true); + public int pdf_lexbuf_grow() { + int ret = mupdfPINVOKE.PdfLexbuf_pdf_lexbuf_grow(swigCPtr); return ret; } @@ -45924,6 +47520,11 @@ public FzRect pdf_bound_page(fz_box_type box) { return ret; } + public void pdf_clip_page(FzRect clip) { + mupdfPINVOKE.PdfPage_pdf_clip_page(swigCPtr, FzRect.getCPtr(clip)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public int pdf_count_page_associated_files() { int ret = mupdfPINVOKE.PdfPage_pdf_count_page_associated_files(swigCPtr); return ret; @@ -46586,7 +48187,7 @@ public PdfProcessor(FzOutput out_, int ahxencode, int newlines) : this(mupdfPINV if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } - public PdfProcessor(PdfDocument doc, FzDevice dev, FzMatrix ctm, int struct_parent, string usage, PdfGstate gstate, FzDefaultColorspaces default_cs, FzCookie cookie) : this(mupdfPINVOKE.new_PdfProcessor__SWIG_2(PdfDocument.getCPtr(doc), FzDevice.getCPtr(dev), FzMatrix.getCPtr(ctm), struct_parent, usage, PdfGstate.getCPtr(gstate), FzDefaultColorspaces.getCPtr(default_cs), FzCookie.getCPtr(cookie)), true) { + public PdfProcessor(PdfDocument doc, FzDevice dev, FzMatrix ctm, int struct_parent, string usage, PdfGstate gstate, FzDefaultColorspaces default_cs, FzCookie cookie, PdfGstate fill_gstate, PdfGstate stroke_gstate) : this(mupdfPINVOKE.new_PdfProcessor__SWIG_2(PdfDocument.getCPtr(doc), FzDevice.getCPtr(dev), FzMatrix.getCPtr(ctm), struct_parent, usage, PdfGstate.getCPtr(gstate), FzDefaultColorspaces.getCPtr(default_cs), FzCookie.getCPtr(cookie), PdfGstate.getCPtr(fill_gstate), PdfGstate.getCPtr(stroke_gstate)), true) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } @@ -48046,7 +49647,7 @@ private void SwigDirectorMethodop_d(global::System.IntPtr arg_0, global::System. op_d((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), (arg_2 == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(arg_2, false), arg_3); } - private void SwigDirectorMethodop_ri(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2) { + private void SwigDirectorMethodop_ri(global::System.IntPtr arg_0, string arg_2) { op_ri((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2); } @@ -48054,11 +49655,11 @@ private void SwigDirectorMethodop_i(global::System.IntPtr arg_0, float arg_2) { op_i((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2); } - private void SwigDirectorMethodop_gs_begin(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3) { + private void SwigDirectorMethodop_gs_begin(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3) { op_gs_begin((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, (arg_3 == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(arg_3, false)); } - private void SwigDirectorMethodop_gs_BM(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2) { + private void SwigDirectorMethodop_gs_BM(global::System.IntPtr arg_0, string arg_2) { op_gs_BM((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2); } @@ -48190,7 +49791,7 @@ private void SwigDirectorMethodop_TL(global::System.IntPtr arg_0, float arg_2) { op_TL((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2); } - private void SwigDirectorMethodop_Tf(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3, float arg_4) { + private void SwigDirectorMethodop_Tf(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3, float arg_4) { op_Tf((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, (arg_3 == global::System.IntPtr.Zero) ? null : new pdf_font_desc(arg_3, false), arg_4); } @@ -48242,27 +49843,27 @@ private void SwigDirectorMethodop_d1(global::System.IntPtr arg_0, float arg_2, f op_d1((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, arg_3, arg_4, arg_5, arg_6, arg_7); } - private void SwigDirectorMethodop_CS(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3) { + private void SwigDirectorMethodop_CS(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3) { op_CS((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, (arg_3 == global::System.IntPtr.Zero) ? null : new fz_colorspace(arg_3, false)); } - private void SwigDirectorMethodop_cs(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3) { + private void SwigDirectorMethodop_cs(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3) { op_cs((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, (arg_3 == global::System.IntPtr.Zero) ? null : new fz_colorspace(arg_3, false)); } - private void SwigDirectorMethodop_SC_pattern(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3, int arg_4, global::System.IntPtr arg_5) { + private void SwigDirectorMethodop_SC_pattern(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3, int arg_4, global::System.IntPtr arg_5) { op_SC_pattern((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, (arg_3 == global::System.IntPtr.Zero) ? null : new pdf_pattern(arg_3, false), arg_4, (arg_5 == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(arg_5, false)); } - private void SwigDirectorMethodop_sc_pattern(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3, int arg_4, global::System.IntPtr arg_5) { + private void SwigDirectorMethodop_sc_pattern(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3, int arg_4, global::System.IntPtr arg_5) { op_sc_pattern((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, (arg_3 == global::System.IntPtr.Zero) ? null : new pdf_pattern(arg_3, false), arg_4, (arg_5 == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_float(arg_5, false)); } - private void SwigDirectorMethodop_SC_shade(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3) { + private void SwigDirectorMethodop_SC_shade(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3) { op_SC_shade((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, (arg_3 == global::System.IntPtr.Zero) ? null : new fz_shade(arg_3, false)); } - private void SwigDirectorMethodop_sc_shade(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3) { + private void SwigDirectorMethodop_sc_shade(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3) { op_sc_shade((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, (arg_3 == global::System.IntPtr.Zero) ? null : new fz_shade(arg_3, false)); } @@ -48298,35 +49899,35 @@ private void SwigDirectorMethodop_k(global::System.IntPtr arg_0, float arg_2, fl op_k((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, arg_3, arg_4, arg_5); } - private void SwigDirectorMethodop_BI(global::System.IntPtr arg_0, global::System.IntPtr arg_2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_3) { + private void SwigDirectorMethodop_BI(global::System.IntPtr arg_0, global::System.IntPtr arg_2, string arg_3) { op_BI((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), (arg_2 == global::System.IntPtr.Zero) ? null : new fz_image(arg_2, false), arg_3); } - private void SwigDirectorMethodop_sh(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3) { + private void SwigDirectorMethodop_sh(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3) { op_sh((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, (arg_3 == global::System.IntPtr.Zero) ? null : new fz_shade(arg_3, false)); } - private void SwigDirectorMethodop_Do_image(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3) { + private void SwigDirectorMethodop_Do_image(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3) { op_Do_image((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, (arg_3 == global::System.IntPtr.Zero) ? null : new fz_image(arg_3, false)); } - private void SwigDirectorMethodop_Do_form(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3) { + private void SwigDirectorMethodop_Do_form(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3) { op_Do_form((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, (arg_3 == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(arg_3, false)); } - private void SwigDirectorMethodop_MP(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2) { + private void SwigDirectorMethodop_MP(global::System.IntPtr arg_0, string arg_2) { op_MP((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2); } - private void SwigDirectorMethodop_DP(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3, global::System.IntPtr arg_4) { + private void SwigDirectorMethodop_DP(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3, global::System.IntPtr arg_4) { op_DP((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, (arg_3 == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(arg_3, false), (arg_4 == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(arg_4, false)); } - private void SwigDirectorMethodop_BMC(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2) { + private void SwigDirectorMethodop_BMC(global::System.IntPtr arg_0, string arg_2) { op_BMC((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2); } - private void SwigDirectorMethodop_BDC(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3, global::System.IntPtr arg_4) { + private void SwigDirectorMethodop_BDC(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3, global::System.IntPtr arg_4) { op_BDC((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), arg_2, (arg_3 == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(arg_3, false), (arg_4 == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(arg_4, false)); } @@ -48372,10 +49973,10 @@ private void SwigDirectorMethodop_END(global::System.IntPtr arg_0) { public delegate void SwigDelegatePdfProcessor2_7(global::System.IntPtr arg_0, int arg_2); public delegate void SwigDelegatePdfProcessor2_8(global::System.IntPtr arg_0, float arg_2); public delegate void SwigDelegatePdfProcessor2_9(global::System.IntPtr arg_0, global::System.IntPtr arg_2, float arg_3); - public delegate void SwigDelegatePdfProcessor2_10(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2); + public delegate void SwigDelegatePdfProcessor2_10(global::System.IntPtr arg_0, string arg_2); public delegate void SwigDelegatePdfProcessor2_11(global::System.IntPtr arg_0, float arg_2); - public delegate void SwigDelegatePdfProcessor2_12(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3); - public delegate void SwigDelegatePdfProcessor2_13(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2); + public delegate void SwigDelegatePdfProcessor2_12(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3); + public delegate void SwigDelegatePdfProcessor2_13(global::System.IntPtr arg_0, string arg_2); public delegate void SwigDelegatePdfProcessor2_14(global::System.IntPtr arg_0, float arg_2); public delegate void SwigDelegatePdfProcessor2_15(global::System.IntPtr arg_0, float arg_2); public delegate void SwigDelegatePdfProcessor2_16(global::System.IntPtr arg_0, global::System.IntPtr arg_2, global::System.IntPtr arg_3, global::System.IntPtr arg_4, int arg_5, global::System.IntPtr arg_6); @@ -48408,7 +50009,7 @@ private void SwigDirectorMethodop_END(global::System.IntPtr arg_0) { public delegate void SwigDelegatePdfProcessor2_43(global::System.IntPtr arg_0, float arg_2); public delegate void SwigDelegatePdfProcessor2_44(global::System.IntPtr arg_0, float arg_2); public delegate void SwigDelegatePdfProcessor2_45(global::System.IntPtr arg_0, float arg_2); - public delegate void SwigDelegatePdfProcessor2_46(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3, float arg_4); + public delegate void SwigDelegatePdfProcessor2_46(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3, float arg_4); public delegate void SwigDelegatePdfProcessor2_47(global::System.IntPtr arg_0, int arg_2); public delegate void SwigDelegatePdfProcessor2_48(global::System.IntPtr arg_0, float arg_2); public delegate void SwigDelegatePdfProcessor2_49(global::System.IntPtr arg_0, float arg_2, float arg_3); @@ -48421,12 +50022,12 @@ private void SwigDirectorMethodop_END(global::System.IntPtr arg_0) { public delegate void SwigDelegatePdfProcessor2_56(global::System.IntPtr arg_0, float arg_2, float arg_3, string arg_4, ulong arg_5); public delegate void SwigDelegatePdfProcessor2_57(global::System.IntPtr arg_0, float arg_2, float arg_3); public delegate void SwigDelegatePdfProcessor2_58(global::System.IntPtr arg_0, float arg_2, float arg_3, float arg_4, float arg_5, float arg_6, float arg_7); - public delegate void SwigDelegatePdfProcessor2_59(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3); - public delegate void SwigDelegatePdfProcessor2_60(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3); - public delegate void SwigDelegatePdfProcessor2_61(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3, int arg_4, global::System.IntPtr arg_5); - public delegate void SwigDelegatePdfProcessor2_62(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3, int arg_4, global::System.IntPtr arg_5); - public delegate void SwigDelegatePdfProcessor2_63(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3); - public delegate void SwigDelegatePdfProcessor2_64(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3); + public delegate void SwigDelegatePdfProcessor2_59(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3); + public delegate void SwigDelegatePdfProcessor2_60(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3); + public delegate void SwigDelegatePdfProcessor2_61(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3, int arg_4, global::System.IntPtr arg_5); + public delegate void SwigDelegatePdfProcessor2_62(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3, int arg_4, global::System.IntPtr arg_5); + public delegate void SwigDelegatePdfProcessor2_63(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3); + public delegate void SwigDelegatePdfProcessor2_64(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3); public delegate void SwigDelegatePdfProcessor2_65(global::System.IntPtr arg_0, int arg_2, global::System.IntPtr arg_3); public delegate void SwigDelegatePdfProcessor2_66(global::System.IntPtr arg_0, int arg_2, global::System.IntPtr arg_3); public delegate void SwigDelegatePdfProcessor2_67(global::System.IntPtr arg_0, float arg_2); @@ -48435,14 +50036,14 @@ private void SwigDirectorMethodop_END(global::System.IntPtr arg_0) { public delegate void SwigDelegatePdfProcessor2_70(global::System.IntPtr arg_0, float arg_2, float arg_3, float arg_4); public delegate void SwigDelegatePdfProcessor2_71(global::System.IntPtr arg_0, float arg_2, float arg_3, float arg_4, float arg_5); public delegate void SwigDelegatePdfProcessor2_72(global::System.IntPtr arg_0, float arg_2, float arg_3, float arg_4, float arg_5); - public delegate void SwigDelegatePdfProcessor2_73(global::System.IntPtr arg_0, global::System.IntPtr arg_2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_3); - public delegate void SwigDelegatePdfProcessor2_74(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3); - public delegate void SwigDelegatePdfProcessor2_75(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3); - public delegate void SwigDelegatePdfProcessor2_76(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3); - public delegate void SwigDelegatePdfProcessor2_77(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2); - public delegate void SwigDelegatePdfProcessor2_78(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3, global::System.IntPtr arg_4); - public delegate void SwigDelegatePdfProcessor2_79(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2); - public delegate void SwigDelegatePdfProcessor2_80(global::System.IntPtr arg_0, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_2, global::System.IntPtr arg_3, global::System.IntPtr arg_4); + public delegate void SwigDelegatePdfProcessor2_73(global::System.IntPtr arg_0, global::System.IntPtr arg_2, string arg_3); + public delegate void SwigDelegatePdfProcessor2_74(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3); + public delegate void SwigDelegatePdfProcessor2_75(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3); + public delegate void SwigDelegatePdfProcessor2_76(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3); + public delegate void SwigDelegatePdfProcessor2_77(global::System.IntPtr arg_0, string arg_2); + public delegate void SwigDelegatePdfProcessor2_78(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3, global::System.IntPtr arg_4); + public delegate void SwigDelegatePdfProcessor2_79(global::System.IntPtr arg_0, string arg_2); + public delegate void SwigDelegatePdfProcessor2_80(global::System.IntPtr arg_0, string arg_2, global::System.IntPtr arg_3, global::System.IntPtr arg_4); public delegate void SwigDelegatePdfProcessor2_81(global::System.IntPtr arg_0); public delegate void SwigDelegatePdfProcessor2_82(global::System.IntPtr arg_0); public delegate void SwigDelegatePdfProcessor2_83(global::System.IntPtr arg_0); @@ -48773,18 +50374,18 @@ public PdfRecolorOptions() : this(mupdfPINVOKE.new_PdfRecolorOptions__SWIG_0(), public PdfRecolorOptions(pdf_recolor_options internal_) : this(mupdfPINVOKE.new_PdfRecolorOptions__SWIG_1(pdf_recolor_options.getCPtr(internal_)), true) { } - public long m_internal_value() { - long ret = mupdfPINVOKE.PdfRecolorOptions_m_internal_value(swigCPtr); + public pdf_recolor_options internal_() { + global::System.IntPtr cPtr = mupdfPINVOKE.PdfRecolorOptions_internal___SWIG_0(swigCPtr); + pdf_recolor_options ret = (cPtr == global::System.IntPtr.Zero) ? null : new pdf_recolor_options(cPtr, false); return ret; } - public pdf_recolor_options m_internal { + public int num_comp { set { - mupdfPINVOKE.PdfRecolorOptions_m_internal_set(swigCPtr, pdf_recolor_options.getCPtr(value)); + mupdfPINVOKE.PdfRecolorOptions_num_comp_set(swigCPtr, value); } get { - global::System.IntPtr cPtr = mupdfPINVOKE.PdfRecolorOptions_m_internal_get(swigCPtr); - pdf_recolor_options ret = (cPtr == global::System.IntPtr.Zero) ? null : new pdf_recolor_options(cPtr, false); + int ret = mupdfPINVOKE.PdfRecolorOptions_num_comp_get(swigCPtr); return ret; } } @@ -48799,6 +50400,12 @@ public static int s_num_instances { } } + public override string ToString() { return to_string(); } + public string to_string() { + string ret = mupdfPINVOKE.PdfRecolorOptions_to_string(swigCPtr); + return ret; + } + } } @@ -49286,7 +50893,7 @@ private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] return false; } - private global::System.IntPtr SwigDirectorMethodimage_filter(global::System.IntPtr arg_0, global::System.IntPtr arg_2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_3, global::System.IntPtr arg_4, global::System.IntPtr arg_5) { + private global::System.IntPtr SwigDirectorMethodimage_filter(global::System.IntPtr arg_0, global::System.IntPtr arg_2, string arg_3, global::System.IntPtr arg_4, global::System.IntPtr arg_5) { return fz_image.getCPtr(image_filter((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), new fz_matrix(arg_2, true), arg_3, (arg_4 == global::System.IntPtr.Zero) ? null : new fz_image(arg_4, false), new fz_rect(arg_5, true))).Handle; } @@ -49302,7 +50909,7 @@ private int SwigDirectorMethodculler(global::System.IntPtr arg_0, global::System return culler((arg_0 == global::System.IntPtr.Zero) ? null : new fz_context(arg_0, false), new fz_rect(arg_2, true), (fz_cull_type)arg_3); } - public delegate global::System.IntPtr SwigDelegatePdfSanitizeFilterOptions2_0(global::System.IntPtr arg_0, global::System.IntPtr arg_2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string arg_3, global::System.IntPtr arg_4, global::System.IntPtr arg_5); + public delegate global::System.IntPtr SwigDelegatePdfSanitizeFilterOptions2_0(global::System.IntPtr arg_0, global::System.IntPtr arg_2, string arg_3, global::System.IntPtr arg_4, global::System.IntPtr arg_5); public delegate int SwigDelegatePdfSanitizeFilterOptions2_1(global::System.IntPtr arg_0, global::System.IntPtr arg_2, int arg_3, global::System.IntPtr arg_4, global::System.IntPtr arg_5, global::System.IntPtr arg_6); public delegate void SwigDelegatePdfSanitizeFilterOptions2_2(global::System.IntPtr arg_0, global::System.IntPtr arg_2, global::System.IntPtr arg_3, global::System.IntPtr arg_4); public delegate int SwigDelegatePdfSanitizeFilterOptions2_3(global::System.IntPtr arg_0, global::System.IntPtr arg_2, int arg_3); @@ -51638,11 +53245,11 @@ private bool SwigDerivedClassHasMethod(string methodName, global::System.Type[] return false; } - private void SwigDirectorMethod_print([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string message) { + private void SwigDirectorMethod_print(string message) { _print(message); } - public delegate void SwigDelegateDiagnosticCallback_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string message); + public delegate void SwigDelegateDiagnosticCallback_0(string message); private SwigDelegateDiagnosticCallback_0 swigDelegate0; @@ -52122,6 +53729,71 @@ public ll_fz_chartorune_outparams() : this(mupdfPINVOKE.new_ll_fz_chartorune_out } namespace mupdf { +public class ll_fz_chartorunen_outparams : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal ll_fz_chartorunen_outparams(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ll_fz_chartorunen_outparams obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(ll_fz_chartorunen_outparams obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~ll_fz_chartorunen_outparams() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + mupdfPINVOKE.delete_ll_fz_chartorunen_outparams(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public int rune { + set { + mupdfPINVOKE.ll_fz_chartorunen_outparams_rune_set(swigCPtr, value); + } + get { + int ret = mupdfPINVOKE.ll_fz_chartorunen_outparams_rune_get(swigCPtr); + return ret; + } + } + + public ll_fz_chartorunen_outparams() : this(mupdfPINVOKE.new_ll_fz_chartorunen_outparams(), true) { + } + +} + +} +namespace mupdf { + public class ll_fz_clamp_color_outparams : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; @@ -59429,15 +61101,58 @@ static SWIGStringHelper() { static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper(); + public class SWIGStringWithLengthHelper { + + [global::System.Runtime.InteropServices.DllImport("mupdf", EntryPoint="SWIG_csharp_string_to_c")] + private static extern global::System.IntPtr SWIG_csharp_string_to_c0(int size, int len, [global::System.Runtime.InteropServices.In,global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr, SizeParamIndex=0)] string str); + + [global::System.Runtime.InteropServices.DllImport("mupdf", EntryPoint="SWIG_csharp_string_size")] + private static extern int SWIG_csharp_string_size(global::System.IntPtr str); + + [global::System.Runtime.InteropServices.DllImport("mupdf", EntryPoint="SWIG_csharp_string_str")] + private static extern global::System.IntPtr SWIG_csharp_string_str(global::System.IntPtr str); + + public static global::System.IntPtr SWIG_csharp_string_to_c(string str) { + if (str == null) + return global::System.IntPtr.Zero; + global::System.Text.Encoding utf8 = global::System.Text.Encoding.UTF8; + return SWIG_csharp_string_to_c0(utf8.GetByteCount(str), str.Length, str); + } + + public static string SWIG_c_to_csharp_string(global::System.IntPtr str) { + int size = SWIG_csharp_string_size(str); + if (size > 0) { + global::System.IntPtr s = SWIG_csharp_string_str(str); + byte[] b = new byte[size]; + global::System.Runtime.InteropServices.Marshal.Copy(s, b, 0, size); + global::System.Text.Encoding utf8 = global::System.Text.Encoding.UTF8; + return utf8.GetString(b); + } + return null; + } + } + + static mupdfPINVOKE() { } + [global::System.Runtime.InteropServices.DllImport("mupdf", EntryPoint="SWIG_csharp_bytes_to_c")] + public static extern global::System.IntPtr SWIG_csharp_bytes_to_c0(int len, byte[] ptr); + public static global::System.IntPtr SWIG_csharp_bytes_to_c(byte[] ptr) { + return SWIG_csharp_bytes_to_c0(ptr.Length, ptr); + } + + + [global::System.Runtime.InteropServices.DllImport("mupdf", EntryPoint="SWIG_csharp_data")] + public static extern int SWIG_csharp_data(global::System.IntPtr data, ref global::System.IntPtr m); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_cdata")] - public static extern global::System.IntPtr cdata(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + public static extern global::System.IntPtr cdata(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_memmove")] - public static extern void memmove(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); + public static extern void memmove(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.IntPtr jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_uchar_array")] public static extern global::System.IntPtr new_uchar_array(uint jarg1); @@ -59791,7 +61506,7 @@ static mupdfPINVOKE() { public static extern void vectors_Clear(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_Add")] - public static extern void vectors_Add(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void vectors_Add(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_size")] public static extern uint vectors_size(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -59809,15 +61524,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_vectors__SWIG_2(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_getitemcopy")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string vectors_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_getitem")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string vectors_getitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_setitem")] - public static extern void vectors_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void vectors_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_AddRange")] public static extern void vectors_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -59826,7 +61539,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr vectors_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_Insert")] - public static extern void vectors_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void vectors_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_InsertRange")] public static extern void vectors_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -59838,7 +61551,7 @@ static mupdfPINVOKE() { public static extern void vectors_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_Repeat")] - public static extern global::System.IntPtr vectors_Repeat([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2); + public static extern global::System.IntPtr vectors_Repeat(string jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_Reverse__SWIG_0")] public static extern void vectors_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -59850,16 +61563,16 @@ static mupdfPINVOKE() { public static extern void vectors_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_Contains")] - public static extern bool vectors_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern bool vectors_Contains(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_IndexOf")] - public static extern int vectors_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int vectors_IndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_LastIndexOf")] - public static extern int vectors_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int vectors_LastIndexOf(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vectors_Remove")] - public static extern bool vectors_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern bool vectors_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_vectors")] public static extern void delete_vectors(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -59880,25 +61593,24 @@ static mupdfPINVOKE() { public static extern void map_string_int_Clear(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_map_string_int_getitem")] - public static extern int map_string_int_getitem(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int map_string_int_getitem(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_map_string_int_setitem")] - public static extern void map_string_int_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void map_string_int_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_map_string_int_ContainsKey")] - public static extern bool map_string_int_ContainsKey(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern bool map_string_int_ContainsKey(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_map_string_int_Add")] - public static extern void map_string_int_Add(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void map_string_int_Add(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_map_string_int_Remove")] - public static extern bool map_string_int_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern bool map_string_int_Remove(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_map_string_int_create_iterator_begin")] public static extern global::System.IntPtr map_string_int_create_iterator_begin(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_map_string_int_get_next_key")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string map_string_int_get_next_key(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.IntPtr jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_map_string_int_destroy_iterator")] @@ -60045,6 +61757,75 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_vector_search_page2_hit")] public static extern void delete_vector_search_page2_hit(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_vector_fz_font_ucs_gid__SWIG_0")] + public static extern global::System.IntPtr new_vector_fz_font_ucs_gid__SWIG_0(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_vector_fz_font_ucs_gid__SWIG_1")] + public static extern global::System.IntPtr new_vector_fz_font_ucs_gid__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_Clear")] + public static extern void vector_fz_font_ucs_gid_Clear(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_Add")] + public static extern void vector_fz_font_ucs_gid_Add(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_size")] + public static extern uint vector_fz_font_ucs_gid_size(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_empty")] + public static extern bool vector_fz_font_ucs_gid_empty(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_capacity")] + public static extern uint vector_fz_font_ucs_gid_capacity(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_reserve")] + public static extern void vector_fz_font_ucs_gid_reserve(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_vector_fz_font_ucs_gid__SWIG_2")] + public static extern global::System.IntPtr new_vector_fz_font_ucs_gid__SWIG_2(int jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_getitemcopy")] + public static extern global::System.IntPtr vector_fz_font_ucs_gid_getitemcopy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_getitem")] + public static extern global::System.IntPtr vector_fz_font_ucs_gid_getitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_setitem")] + public static extern void vector_fz_font_ucs_gid_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_AddRange")] + public static extern void vector_fz_font_ucs_gid_AddRange(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_GetRange")] + public static extern global::System.IntPtr vector_fz_font_ucs_gid_GetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_Insert")] + public static extern void vector_fz_font_ucs_gid_Insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_InsertRange")] + public static extern void vector_fz_font_ucs_gid_InsertRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_RemoveAt")] + public static extern void vector_fz_font_ucs_gid_RemoveAt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_RemoveRange")] + public static extern void vector_fz_font_ucs_gid_RemoveRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_Repeat")] + public static extern global::System.IntPtr vector_fz_font_ucs_gid_Repeat(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_Reverse__SWIG_0")] + public static extern void vector_fz_font_ucs_gid_Reverse__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_Reverse__SWIG_1")] + public static extern void vector_fz_font_ucs_gid_Reverse__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_vector_fz_font_ucs_gid_SetRange")] + public static extern void vector_fz_font_ucs_gid_SetRange(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_vector_fz_font_ucs_gid")] + public static extern void delete_vector_fz_font_ucs_gid(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_bytes")] public static extern global::System.IntPtr new_bytes(uint jarg1); @@ -60070,7 +61851,6 @@ static mupdfPINVOKE() { public static extern void floats_setitem(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, float jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_VERSION_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FZ_VERSION_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_VERSION_MAJOR_get")] @@ -60082,9 +61862,6 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_VERSION_PATCH_get")] public static extern int FZ_VERSION_PATCH_get(); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_TOFU_CJK_EXT_get")] - public static extern int TOFU_CJK_EXT_get(); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_ENABLE_SPOT_RENDERING_get")] public static extern int FZ_ENABLE_SPOT_RENDERING_get(); @@ -60121,6 +61898,18 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_ENABLE_EPUB_get")] public static extern int FZ_ENABLE_EPUB_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_ENABLE_FB2_get")] + public static extern int FZ_ENABLE_FB2_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_ENABLE_MOBI_get")] + public static extern int FZ_ENABLE_MOBI_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_ENABLE_TXT_get")] + public static extern int FZ_ENABLE_TXT_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_ENABLE_OFFICE_get")] + public static extern int FZ_ENABLE_OFFICE_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_ENABLE_OCR_OUTPUT_get")] public static extern int FZ_ENABLE_OCR_OUTPUT_get(); @@ -60139,6 +61928,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_ENABLE_ICC_get")] public static extern int FZ_ENABLE_ICC_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_ENABLE_HTML_ENGINE_get")] + public static extern int FZ_ENABLE_HTML_ENGINE_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_MEMENTO_PREFILL_get")] public static extern int MEMENTO_PREFILL_get(); @@ -60209,7 +62001,7 @@ static mupdfPINVOKE() { public static extern void Memento_stats(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_Memento_label")] - public static extern global::System.IntPtr Memento_label(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr Memento_label(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_Memento_tick")] public static extern void Memento_tick(); @@ -60218,7 +62010,7 @@ static mupdfPINVOKE() { public static extern int Memento_setVerbose(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_Memento_addBacktraceLimitFnname")] - public static extern int Memento_addBacktraceLimitFnname([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int Memento_addBacktraceLimitFnname(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_Memento_setAtexitFin")] public static extern int Memento_setAtexitFin(int jarg1); @@ -60239,7 +62031,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr Memento_calloc(uint jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_Memento_strdup")] - public static extern string Memento_strdup([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string Memento_strdup(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_Memento_info")] public static extern void Memento_info(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -60754,12 +62546,42 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_fz_aa_context")] public static extern void delete_fz_aa_context(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_activity_context_opaque_set")] + public static extern void fz_activity_context_opaque_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_activity_context_opaque_get")] + public static extern global::System.IntPtr fz_activity_context_opaque_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_activity_context_activity_set")] + public static extern void fz_activity_context_activity_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_activity_context_activity_get")] + public static extern global::System.IntPtr fz_activity_context_activity_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_fz_activity_context")] + public static extern global::System.IntPtr new_fz_activity_context(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_fz_activity_context")] + public static extern void delete_fz_activity_context(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_context_user_set")] public static extern void fz_context_user_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_context_user_get")] public static extern global::System.IntPtr fz_context_user_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_context_master_set")] + public static extern void fz_context_master_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_context_master_get")] + public static extern global::System.IntPtr fz_context_master_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_context_context_count_set")] + public static extern void fz_context_context_count_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_context_context_count_get")] + public static extern int fz_context_context_count_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_context_alloc_set")] public static extern void fz_context_alloc_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -60784,6 +62606,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_context_warn_get")] public static extern global::System.IntPtr fz_context_warn_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_context_activity_set")] + public static extern void fz_context_activity_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_context_activity_get")] + public static extern global::System.IntPtr fz_context_activity_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_context_aa_set")] public static extern void fz_context_aa_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -61319,10 +63147,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_archive_file_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_archive_format_set")] - public static extern void fz_archive_format_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_archive_format_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_archive_format_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_archive_format_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_archive_drop_archive_set")] @@ -61367,6 +63194,81 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_fz_archive")] public static extern void delete_fz_archive(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_JSON_NULL_get")] + public static extern int FZ_JSON_NULL_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_JSON_TRUE_get")] + public static extern int FZ_JSON_TRUE_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_JSON_FALSE_get")] + public static extern int FZ_JSON_FALSE_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_JSON_NUMBER_get")] + public static extern int FZ_JSON_NUMBER_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_JSON_STRING_get")] + public static extern int FZ_JSON_STRING_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_JSON_ARRAY_get")] + public static extern int FZ_JSON_ARRAY_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_JSON_OBJECT_get")] + public static extern int FZ_JSON_OBJECT_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_type_set")] + public static extern void fz_json_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_type_get")] + public static extern int fz_json_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_fz_json")] + public static extern global::System.IntPtr new_fz_json(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_fz_json")] + public static extern void delete_fz_json(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_array_value_set")] + public static extern void fz_json_array_value_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_array_value_get")] + public static extern global::System.IntPtr fz_json_array_value_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_array_next_set")] + public static extern void fz_json_array_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_array_next_get")] + public static extern global::System.IntPtr fz_json_array_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_fz_json_array")] + public static extern global::System.IntPtr new_fz_json_array(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_fz_json_array")] + public static extern void delete_fz_json_array(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_object_key_set")] + public static extern void fz_json_object_key_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_object_key_get")] + public static extern string fz_json_object_key_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_object_value_set")] + public static extern void fz_json_object_value_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_object_value_get")] + public static extern global::System.IntPtr fz_json_object_value_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_object_next_set")] + public static extern void fz_json_object_next_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_object_next_get")] + public static extern global::System.IntPtr fz_json_object_next_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_fz_json_object")] + public static extern global::System.IntPtr new_fz_json_object(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_fz_json_object")] + public static extern void delete_fz_json_object(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_storable_refs_set")] public static extern void fz_storable_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -61422,10 +63324,9 @@ static mupdfPINVOKE() { public static extern void delete_fz_store_hash(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_store_type_name_set")] - public static extern void fz_store_type_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_store_type_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_store_type_name_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_store_type_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_store_type_make_hash_key_set")] @@ -62802,6 +64703,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_DEVFLAG_GRIDFIT_AS_TILED_get")] public static extern int FZ_DEVFLAG_GRIDFIT_AS_TILED_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_DEVFLAG_DASH_PATTERN_UNDEFINED_get")] + public static extern int FZ_DEVFLAG_DASH_PATTERN_UNDEFINED_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_BLEND_NORMAL_get")] public static extern int FZ_BLEND_NORMAL_get(); @@ -63277,10 +65181,9 @@ static mupdfPINVOKE() { public static extern void delete_fz_draw_options(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_draw_options_usage_set")] - public static extern void fz_draw_options_usage_set([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void fz_draw_options_usage_set(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_draw_options_usage_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_draw_options_usage_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_location_chapter_set")] @@ -63314,10 +65217,9 @@ static mupdfPINVOKE() { public static extern float fz_layout_char_advance_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_layout_char_p_set")] - public static extern void fz_layout_char_p_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_layout_char_p_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_layout_char_p_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_layout_char_p_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_layout_char_next_set")] @@ -63351,10 +65253,9 @@ static mupdfPINVOKE() { public static extern float fz_layout_line_font_size_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_layout_line_p_set")] - public static extern void fz_layout_line_p_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_layout_line_p_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_layout_line_p_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_layout_line_p_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_layout_line_text_set")] @@ -63435,8 +65336,8 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_PRESERVE_SPANS_get")] public static extern int FZ_STEXT_PRESERVE_SPANS_get(); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_MEDIABOX_CLIP_get")] - public static extern int FZ_STEXT_MEDIABOX_CLIP_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_CLIP_get")] + public static extern int FZ_STEXT_CLIP_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_USE_CID_FOR_UNKNOWN_UNICODE_get")] public static extern int FZ_STEXT_USE_CID_FOR_UNKNOWN_UNICODE_get(); @@ -63453,6 +65354,27 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_IGNORE_ACTUALTEXT_get")] public static extern int FZ_STEXT_IGNORE_ACTUALTEXT_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_SEGMENT_get")] + public static extern int FZ_STEXT_SEGMENT_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_PARAGRAPH_BREAK_get")] + public static extern int FZ_STEXT_PARAGRAPH_BREAK_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_TABLE_HUNT_get")] + public static extern int FZ_STEXT_TABLE_HUNT_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_COLLECT_STYLES_get")] + public static extern int FZ_STEXT_COLLECT_STYLES_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_USE_GID_FOR_UNKNOWN_UNICODE_get")] + public static extern int FZ_STEXT_USE_GID_FOR_UNKNOWN_UNICODE_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_CLIP_RECT_get")] + public static extern int FZ_STEXT_CLIP_RECT_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_MEDIABOX_CLIP_get")] + public static extern int FZ_STEXT_MEDIABOX_CLIP_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_page_pool_set")] public static extern void fz_stext_page_pool_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -63504,6 +65426,21 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_BLOCK_GRID_get")] public static extern int FZ_STEXT_BLOCK_GRID_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_TEXT_JUSTIFY_UNKNOWN_get")] + public static extern int FZ_STEXT_TEXT_JUSTIFY_UNKNOWN_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_TEXT_JUSTIFY_LEFT_get")] + public static extern int FZ_STEXT_TEXT_JUSTIFY_LEFT_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_TEXT_JUSTIFY_CENTRE_get")] + public static extern int FZ_STEXT_TEXT_JUSTIFY_CENTRE_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_TEXT_JUSTIFY_RIGHT_get")] + public static extern int FZ_STEXT_TEXT_JUSTIFY_RIGHT_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_TEXT_JUSTIFY_FULL_get")] + public static extern int FZ_STEXT_TEXT_JUSTIFY_FULL_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_block_type_set")] public static extern void fz_stext_block_type_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -63600,11 +65537,11 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_char_flags_get")] public static extern ushort fz_stext_char_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_char_color_set")] - public static extern void fz_stext_char_color_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_char_argb_set")] + public static extern void fz_stext_char_argb_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_char_color_get")] - public static extern int fz_stext_char_color_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_char_argb_get")] + public static extern uint fz_stext_char_argb_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_char_origin_set")] public static extern void fz_stext_char_origin_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -63651,6 +65588,24 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_SYNTHETIC_get")] public static extern int FZ_STEXT_SYNTHETIC_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_BOLD_get")] + public static extern int FZ_STEXT_BOLD_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_FILLED_get")] + public static extern int FZ_STEXT_FILLED_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_STROKED_get")] + public static extern int FZ_STEXT_STROKED_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_CLIPPED_get")] + public static extern int FZ_STEXT_CLIPPED_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_UNICODE_IS_CID_get")] + public static extern int FZ_STEXT_UNICODE_IS_CID_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_STEXT_UNICODE_IS_GID_get")] + public static extern int FZ_STEXT_UNICODE_IS_GID_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_struct_up_set")] public static extern void fz_stext_struct_up_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -63712,10 +65667,9 @@ static mupdfPINVOKE() { public static extern void delete_fz_stext_grid_positions(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_options_usage_set")] - public static extern void fz_stext_options_usage_set([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void fz_stext_options_usage_set(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_options_usage_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_stext_options_usage_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_SELECT_CHARS_get")] @@ -63739,6 +65693,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_options_scale_get")] public static extern float fz_stext_options_scale_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_options_clip_set")] + public static extern void fz_stext_options_clip_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stext_options_clip_get")] + public static extern global::System.IntPtr fz_stext_options_clip_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_fz_stext_options")] public static extern global::System.IntPtr new_fz_stext_options(); @@ -63943,12 +65903,42 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_item_is_open_get")] public static extern int fz_outline_item_is_open_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_item_flags_set")] + public static extern void fz_outline_item_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_item_flags_get")] + public static extern int fz_outline_item_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_item_r_set")] + public static extern void fz_outline_item_r_set(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_item_r_get")] + public static extern float fz_outline_item_r_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_item_g_set")] + public static extern void fz_outline_item_g_set(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_item_g_get")] + public static extern float fz_outline_item_g_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_item_b_set")] + public static extern void fz_outline_item_b_set(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_item_b_get")] + public static extern float fz_outline_item_b_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_fz_outline_item")] public static extern global::System.IntPtr new_fz_outline_item(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_fz_outline_item")] public static extern void delete_fz_outline_item(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_OUTLINE_FLAG_BOLD_get")] + public static extern int FZ_OUTLINE_FLAG_BOLD_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_OUTLINE_FLAG_ITALIC_get")] + public static extern int FZ_OUTLINE_FLAG_ITALIC_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_refs_set")] public static extern void fz_outline_refs_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -63998,10 +65988,34 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_outline_down_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_is_open_set")] - public static extern void fz_outline_is_open_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + public static extern void fz_outline_is_open_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_is_open_get")] - public static extern int fz_outline_is_open_get(global::System.Runtime.InteropServices.HandleRef jarg1); + public static extern uint fz_outline_is_open_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_flags_set")] + public static extern void fz_outline_flags_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_flags_get")] + public static extern uint fz_outline_flags_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_r_set")] + public static extern void fz_outline_r_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_r_get")] + public static extern uint fz_outline_r_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_g_set")] + public static extern void fz_outline_g_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_g_get")] + public static extern uint fz_outline_g_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_b_set")] + public static extern void fz_outline_b_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_b_get")] + public static extern uint fz_outline_b_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_fz_outline")] public static extern global::System.IntPtr new_fz_outline(); @@ -64148,47 +66162,36 @@ static mupdfPINVOKE() { public static extern int FZ_DEFAULT_LAYOUT_EM_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_META_FORMAT_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FZ_META_FORMAT_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_META_ENCRYPTION_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FZ_META_ENCRYPTION_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_META_INFO_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FZ_META_INFO_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_META_INFO_TITLE_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FZ_META_INFO_TITLE_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_META_INFO_AUTHOR_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FZ_META_INFO_AUTHOR_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_META_INFO_SUBJECT_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FZ_META_INFO_SUBJECT_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_META_INFO_KEYWORDS_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FZ_META_INFO_KEYWORDS_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_META_INFO_CREATOR_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FZ_META_INFO_CREATOR_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_META_INFO_PRODUCER_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FZ_META_INFO_PRODUCER_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_META_INFO_CREATIONDATE_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FZ_META_INFO_CREATIONDATE_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FZ_META_INFO_MODIFICATIONDATE_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FZ_META_INFO_MODIFICATIONDATE_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_page_refs_set")] @@ -64528,45 +66531,39 @@ static mupdfPINVOKE() { public static extern void delete_fz_document_handler(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pdf_write_options_usage_set")] - public static extern void fz_pdf_write_options_usage_set([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void fz_pdf_write_options_usage_set(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pdf_write_options_usage_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_pdf_write_options_usage_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_svg_write_options_usage_set")] - public static extern void fz_svg_write_options_usage_set([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void fz_svg_write_options_usage_set(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_svg_write_options_usage_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_svg_write_options_usage_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pcl_write_options_usage_set")] - public static extern void fz_pcl_write_options_usage_set([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void fz_pcl_write_options_usage_set(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pcl_write_options_usage_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_pcl_write_options_usage_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pclm_write_options_usage_set")] - public static extern void fz_pclm_write_options_usage_set([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void fz_pclm_write_options_usage_set(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pclm_write_options_usage_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_pclm_write_options_usage_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pwg_write_options_usage_set")] - public static extern void fz_pwg_write_options_usage_set([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void fz_pwg_write_options_usage_set(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pwg_write_options_usage_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_pwg_write_options_usage_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pdfocr_write_options_usage_set")] - public static extern void fz_pdfocr_write_options_usage_set([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void fz_pdfocr_write_options_usage_set(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pdfocr_write_options_usage_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_pdfocr_write_options_usage_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_document_writer_begin_page_set")] @@ -64714,17 +66711,15 @@ static mupdfPINVOKE() { public static extern int fz_pcl_options_features_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pcl_options_odd_page_init_set")] - public static extern void fz_pcl_options_odd_page_init_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_pcl_options_odd_page_init_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pcl_options_odd_page_init_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_pcl_options_odd_page_init_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pcl_options_even_page_init_set")] - public static extern void fz_pcl_options_even_page_init_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_pcl_options_even_page_init_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pcl_options_even_page_init_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_pcl_options_even_page_init_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pcl_options_tumble_set")] @@ -65091,17 +67086,15 @@ static mupdfPINVOKE() { public static extern int fz_story_element_position_heading_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_story_element_position_id_set")] - public static extern void fz_story_element_position_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_story_element_position_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_story_element_position_id_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_story_element_position_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_story_element_position_href_set")] - public static extern void fz_story_element_position_href_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_story_element_position_href_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_story_element_position_href_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_story_element_position_href_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_story_element_position_rect_set")] @@ -65111,10 +67104,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_story_element_position_rect_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_story_element_position_text_set")] - public static extern void fz_story_element_position_text_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_story_element_position_text_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_story_element_position_text_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_story_element_position_text_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_story_element_position_open_close_set")] @@ -65291,6 +67283,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_AF_get")] public static extern int PDF_ENUM_NAME_AF_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_AFRelationship_get")] + public static extern int PDF_ENUM_NAME_AFRelationship_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_AHx_get")] public static extern int PDF_ENUM_NAME_AHx_get(); @@ -65336,6 +67331,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_Alternate_get")] public static extern int PDF_ENUM_NAME_Alternate_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_Alternative_get")] + public static extern int PDF_ENUM_NAME_Alternative_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_Annot_get")] public static extern int PDF_ENUM_NAME_Annot_get(); @@ -65798,6 +67796,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_EncryptMetadata_get")] public static extern int PDF_ENUM_NAME_EncryptMetadata_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_EncryptedPayload_get")] + public static extern int PDF_ENUM_NAME_EncryptedPayload_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_EndOfBlock_get")] public static extern int PDF_ENUM_NAME_EndOfBlock_get(); @@ -65945,6 +67946,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_Form_get")] public static extern int PDF_ENUM_NAME_Form_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_FormData_get")] + public static extern int PDF_ENUM_NAME_FormData_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_FormEx_get")] public static extern int PDF_ENUM_NAME_FormEx_get(); @@ -66674,6 +68678,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_Sound_get")] public static extern int PDF_ENUM_NAME_Sound_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_Source_get")] + public static extern int PDF_ENUM_NAME_Source_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_Span_get")] public static extern int PDF_ENUM_NAME_Span_get(); @@ -66881,6 +68888,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_Unix_get")] public static extern int PDF_ENUM_NAME_Unix_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_Unspecified_get")] + public static extern int PDF_ENUM_NAME_Unspecified_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PDF_ENUM_NAME_Usage_get")] public static extern int PDF_ENUM_NAME_Usage_get(); @@ -67125,17 +69135,15 @@ static mupdfPINVOKE() { public static extern void delete_pdf_js_console(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_layer_config_name_set")] - public static extern void pdf_layer_config_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_layer_config_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_layer_config_name_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_layer_config_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_layer_config_creator_set")] - public static extern void pdf_layer_config_creator_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_layer_config_creator_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_layer_config_creator_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_layer_config_creator_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_pdf_layer_config")] @@ -67145,10 +69153,9 @@ static mupdfPINVOKE() { public static extern void delete_pdf_layer_config(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_layer_config_ui_text_set")] - public static extern void pdf_layer_config_ui_text_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_layer_config_ui_text_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_layer_config_ui_text_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_layer_config_ui_text_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_layer_config_ui_depth_set")] @@ -67313,6 +69320,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_document_is_fdf_get")] public static extern int pdf_document_is_fdf_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_document_bias_set")] + public static extern void pdf_document_bias_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_document_bias_get")] + public static extern int pdf_document_bias_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_document_startxref_set")] public static extern void pdf_document_startxref_set(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); @@ -68501,6 +70514,24 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_pdf_font_resource_key")] public static extern void delete_pdf_font_resource_key(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_colorspace_resource_key_digest_set")] + public static extern void pdf_colorspace_resource_key_digest_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_colorspace_resource_key_digest_get")] + public static extern global::System.IntPtr pdf_colorspace_resource_key_digest_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_colorspace_resource_key_local_xref_set")] + public static extern void pdf_colorspace_resource_key_local_xref_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_colorspace_resource_key_local_xref_get")] + public static extern int pdf_colorspace_resource_key_local_xref_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_pdf_colorspace_resource_key")] + public static extern global::System.IntPtr new_pdf_colorspace_resource_key(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_pdf_colorspace_resource_key")] + public static extern void delete_pdf_colorspace_resource_key(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_pattern_storable_set")] public static extern void pdf_pattern_storable_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -69114,10 +71145,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_processor_op_END_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_processor_usage_set")] - public static extern void pdf_processor_usage_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_processor_usage_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_processor_usage_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_processor_usage_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_processor_hidden_set")] @@ -69667,17 +71697,15 @@ static mupdfPINVOKE() { public static extern int PDF_ANNOT_Q_RIGHT_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_filespec_params_filename_set")] - public static extern void pdf_filespec_params_filename_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_filespec_params_filename_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_filespec_params_filename_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_filespec_params_filename_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_filespec_params_mimetype_set")] - public static extern void pdf_filespec_params_mimetype_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_filespec_params_mimetype_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_filespec_params_mimetype_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_filespec_params_mimetype_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_filespec_params_size_set")] @@ -69885,17 +71913,15 @@ static mupdfPINVOKE() { public static extern int PDF_SIGNATURE_SHOW_LOGO_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_keystroke_event_value_set")] - public static extern void pdf_keystroke_event_value_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_keystroke_event_value_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_keystroke_event_value_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_keystroke_event_value_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_keystroke_event_change_set")] - public static extern void pdf_keystroke_event_change_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_keystroke_event_change_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_keystroke_event_change_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_keystroke_event_change_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_keystroke_event_selStart_set")] @@ -69971,10 +71997,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_alert_event_doc_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_alert_event_message_set")] - public static extern void pdf_alert_event_message_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_alert_event_message_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_alert_event_message_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_alert_event_message_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_alert_event_icon_type_set")] @@ -69990,10 +72015,9 @@ static mupdfPINVOKE() { public static extern int pdf_alert_event_button_group_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_alert_event_title_set")] - public static extern void pdf_alert_event_title_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_alert_event_title_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_alert_event_title_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_alert_event_title_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_alert_event_has_check_box_set")] @@ -70003,10 +72027,9 @@ static mupdfPINVOKE() { public static extern int pdf_alert_event_has_check_box_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_alert_event_check_box_message_set")] - public static extern void pdf_alert_event_check_box_message_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_alert_event_check_box_message_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_alert_event_check_box_message_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_alert_event_check_box_message_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_alert_event_initially_checked_set")] @@ -70073,10 +72096,9 @@ static mupdfPINVOKE() { public static extern int PDF_ALERT_BUTTON_YES_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_launch_url_event_url_set")] - public static extern void pdf_launch_url_event_url_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_launch_url_event_url_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_launch_url_event_url_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_launch_url_event_url_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_launch_url_event_new_frame_set")] @@ -70098,38 +72120,33 @@ static mupdfPINVOKE() { public static extern int pdf_mail_doc_event_ask_user_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_mail_doc_event_to_set")] - public static extern void pdf_mail_doc_event_to_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_mail_doc_event_to_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_mail_doc_event_to_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_mail_doc_event_to_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_mail_doc_event_cc_set")] - public static extern void pdf_mail_doc_event_cc_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_mail_doc_event_cc_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_mail_doc_event_cc_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_mail_doc_event_cc_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_mail_doc_event_bcc_set")] - public static extern void pdf_mail_doc_event_bcc_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_mail_doc_event_bcc_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_mail_doc_event_bcc_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_mail_doc_event_bcc_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_mail_doc_event_subject_set")] - public static extern void pdf_mail_doc_event_subject_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_mail_doc_event_subject_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_mail_doc_event_subject_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_mail_doc_event_subject_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_mail_doc_event_message_set")] - public static extern void pdf_mail_doc_event_message_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_mail_doc_event_message_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_mail_doc_event_message_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_mail_doc_event_message_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_pdf_mail_doc_event")] @@ -70336,6 +72353,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_clean_options_subset_fonts_get")] public static extern int pdf_clean_options_subset_fonts_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_clean_options_structure_set")] + public static extern void pdf_clean_options_structure_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_clean_options_structure_get")] + public static extern int pdf_clean_options_structure_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_pdf_clean_options")] public static extern global::System.IntPtr new_pdf_clean_options(); @@ -70402,6 +72425,24 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_install_load_system_font_funcs2_state_get")] public static extern global::System.IntPtr fz_install_load_system_font_funcs2_state_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_font_ucs_gid_ucs_set")] + public static extern void fz_font_ucs_gid_ucs_set(global::System.Runtime.InteropServices.HandleRef jarg1, ulong jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_font_ucs_gid_ucs_get")] + public static extern ulong fz_font_ucs_gid_ucs_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_font_ucs_gid_gid_set")] + public static extern void fz_font_ucs_gid_gid_set(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_font_ucs_gid_gid_get")] + public static extern uint fz_font_ucs_gid_gid_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_fz_font_ucs_gid")] + public static extern global::System.IntPtr new_fz_font_ucs_gid(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_fz_font_ucs_gid")] + public static extern void delete_fz_font_ucs_gid(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_metadata_keys_get")] public static extern global::System.IntPtr metadata_keys_get(); @@ -70415,16 +72456,16 @@ static mupdfPINVOKE() { public static extern int ll_fz_absi(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_add_layout_char")] - public static extern void ll_fz_add_layout_char(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern void ll_fz_add_layout_char(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_add_layout_line")] - public static extern void ll_fz_add_layout_line(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, float jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5); + public static extern void ll_fz_add_layout_line(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, float jarg4, string jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_add_separation")] - public static extern void ll_fz_add_separation(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); + public static extern void ll_fz_add_separation(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_add_separation_equivalents")] - public static extern void ll_fz_add_separation_equivalents(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern void ll_fz_add_separation_equivalents(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_adjust_rect_for_stroke")] public static extern global::System.IntPtr ll_fz_adjust_rect_for_stroke(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -70480,8 +72521,11 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_append_int32_le")] public static extern void ll_fz_append_int32_le(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_append_json")] + public static extern void ll_fz_append_json(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_append_pdf_string")] - public static extern void ll_fz_append_pdf_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_append_pdf_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_append_pixmap_as_data_uri")] public static extern void ll_fz_append_pixmap_as_data_uri(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -70490,7 +72534,7 @@ static mupdfPINVOKE() { public static extern void ll_fz_append_rune(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_append_string")] - public static extern void ll_fz_append_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_append_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_arc4_encrypt")] public static extern void ll_fz_arc4_encrypt(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4); @@ -70502,20 +72546,22 @@ static mupdfPINVOKE() { public static extern void ll_fz_arc4_init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_archive_format")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_archive_format(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_atof")] - public static extern float ll_fz_atof([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern float ll_fz_atof(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_atoi")] - public static extern int ll_fz_atoi([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_atoi(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_atoi64")] - public static extern long ll_fz_atoi64([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern long ll_fz_atoi64(string jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_atoz")] + public static extern uint ll_fz_atoz(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_authenticate_password")] - public static extern int ll_fz_authenticate_password(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_fz_authenticate_password(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_autowarp_pixmap")] public static extern global::System.IntPtr ll_fz_autowarp_pixmap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -70527,26 +72573,25 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_base_colorspace(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_basename")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string ll_fz_basename([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string ll_fz_basename(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_begin_group")] public static extern void ll_fz_begin_group(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, int jarg5, int jarg6, float jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_begin_layer")] - public static extern void ll_fz_begin_layer(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_begin_layer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_begin_mask")] public static extern void ll_fz_begin_mask(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_begin_metatext")] - public static extern void ll_fz_begin_metatext(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void ll_fz_begin_metatext(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_begin_page")] public static extern global::System.IntPtr ll_fz_begin_page(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_begin_structure")] - public static extern void ll_fz_begin_structure(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern void ll_fz_begin_structure(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_begin_tile")] public static extern void ll_fz_begin_tile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, float jarg4, float jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); @@ -70561,7 +72606,6 @@ static mupdfPINVOKE() { public static extern void ll_fz_bitmap_details(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_blendmode_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_blendmode_name(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_bound_display_list")] @@ -70586,7 +72630,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_bound_text(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_box_type_from_string")] - public static extern int ll_fz_box_type_from_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_box_type_from_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_buffer_extract")] public static extern uint ll_fz_buffer_extract(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -70607,11 +72651,13 @@ static mupdfPINVOKE() { public static extern int ll_fz_caught_errno(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_caught_message")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_caught_message(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_chartorune")] - public static extern int ll_fz_chartorune(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_fz_chartorune(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_chartorunen")] + public static extern int ll_fz_chartorunen(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_clamp")] public static extern float ll_fz_clamp(float jarg1, float jarg2, float jarg3); @@ -70638,7 +72684,7 @@ static mupdfPINVOKE() { public static extern string ll_fz_cleanname(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_cleanname_strdup")] - public static extern string ll_fz_cleanname_strdup([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string ll_fz_cleanname_strdup(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_clear_bitmap")] public static extern void ll_fz_clear_bitmap(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -70713,7 +72759,6 @@ static mupdfPINVOKE() { public static extern void ll_fz_closepath(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_colorspace_colorant")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_colorspace_colorant(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_colorspace_device_n_has_cmyk")] @@ -70722,6 +72767,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_colorspace_device_n_has_only_cmyk")] public static extern int ll_fz_colorspace_device_n_has_only_cmyk(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_colorspace_digest")] + public static extern void ll_fz_colorspace_digest(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_colorspace_is_cmyk")] public static extern int ll_fz_colorspace_is_cmyk(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -70740,6 +72788,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_colorspace_is_gray")] public static extern int ll_fz_colorspace_is_gray(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_colorspace_is_icc")] + public static extern int ll_fz_colorspace_is_icc(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_colorspace_is_indexed")] public static extern int ll_fz_colorspace_is_indexed(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -70759,11 +72810,10 @@ static mupdfPINVOKE() { public static extern int ll_fz_colorspace_n(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_colorspace_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_colorspace_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_colorspace_name_colorant")] - public static extern void ll_fz_colorspace_name_colorant(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void ll_fz_colorspace_name_colorant(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_colorspace_type")] public static extern int ll_fz_colorspace_type(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -70772,10 +72822,10 @@ static mupdfPINVOKE() { public static extern int ll_fz_compare_separations(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_compress_ccitt_fax_g3")] - public static extern global::System.IntPtr ll_fz_compress_ccitt_fax_g3(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr ll_fz_compress_ccitt_fax_g3(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_compress_ccitt_fax_g4")] - public static extern global::System.IntPtr ll_fz_compress_ccitt_fax_g4(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr ll_fz_compress_ccitt_fax_g4(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_compressed_buffer_size")] public static extern uint ll_fz_compressed_buffer_size(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -70799,7 +72849,6 @@ static mupdfPINVOKE() { public static extern void ll_fz_convert_color(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_convert_error")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_convert_error(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_convert_indexed_pixmap_to_base")] @@ -70815,7 +72864,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_convert_separation_pixmap_to_base(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_copy_option")] - public static extern uint ll_fz_copy_option([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, string jarg2, uint jarg3); + public static extern uint ll_fz_copy_option(string jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_copy_pixmap_rect")] public static extern void ll_fz_copy_pixmap_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -70845,7 +72894,7 @@ static mupdfPINVOKE() { public static extern int ll_fz_count_separations(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_create_link")] - public static extern global::System.IntPtr ll_fz_create_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr ll_fz_create_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_currentpoint")] public static extern global::System.IntPtr ll_fz_currentpoint(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -70869,10 +72918,10 @@ static mupdfPINVOKE() { public static extern void ll_fz_decode_tile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_decode_uri")] - public static extern string ll_fz_decode_uri([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string ll_fz_decode_uri(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_decode_uri_component")] - public static extern string ll_fz_decode_uri_component([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string ll_fz_decode_uri_component(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_decomp_image_from_stream")] public static extern global::System.IntPtr ll_fz_decomp_image_from_stream(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); @@ -70884,7 +72933,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_default_cmyk(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_default_error_callback")] - public static extern void ll_fz_default_error_callback(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_default_error_callback(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_default_gray")] public static extern global::System.IntPtr ll_fz_default_gray(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -70899,7 +72948,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_default_rgb(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_default_warning_callback")] - public static extern void ll_fz_default_warning_callback(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_default_warning_callback(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_defer_reap_end")] public static extern void ll_fz_defer_reap_end(); @@ -70944,7 +72993,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_device_rgb(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dirname")] - public static extern void ll_fz_dirname(string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, uint jarg3); + public static extern void ll_fz_dirname(string jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_disable_device_hints")] public static extern void ll_fz_disable_device_hints(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -70971,7 +73020,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_document_handler_open(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_document_handler_recognize")] - public static extern int ll_fz_document_handler_recognize(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_fz_document_handler_recognize(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_document_output_intent")] public static extern global::System.IntPtr ll_fz_document_output_intent(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -70980,14 +73029,13 @@ static mupdfPINVOKE() { public static extern int ll_fz_document_supports_accelerator(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_add_attribute")] - public static extern void ll_fz_dom_add_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void ll_fz_dom_add_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_append_child")] public static extern void ll_fz_dom_append_child(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_attribute")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string ll_fz_dom_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string ll_fz_dom_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_body")] public static extern global::System.IntPtr ll_fz_dom_body(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -70996,25 +73044,24 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_dom_clone(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_create_element")] - public static extern global::System.IntPtr ll_fz_dom_create_element(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_dom_create_element(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_create_text_node")] - public static extern global::System.IntPtr ll_fz_dom_create_text_node(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_dom_create_text_node(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_document_element")] public static extern global::System.IntPtr ll_fz_dom_document_element(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_find")] - public static extern global::System.IntPtr ll_fz_dom_find(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr ll_fz_dom_find(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_find_next")] - public static extern global::System.IntPtr ll_fz_dom_find_next(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr ll_fz_dom_find_next(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_first_child")] public static extern global::System.IntPtr ll_fz_dom_first_child(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_get_attribute")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_dom_get_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_insert_after")] @@ -71036,7 +73083,7 @@ static mupdfPINVOKE() { public static extern void ll_fz_dom_remove(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_remove_attribute")] - public static extern void ll_fz_dom_remove_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_dom_remove_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_draw_story")] public static extern void ll_fz_draw_story(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -71219,7 +73266,7 @@ static mupdfPINVOKE() { public static extern int ll_fz_encode_character(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_encode_character_by_glyph_name")] - public static extern int ll_fz_encode_character_by_glyph_name(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_fz_encode_character_by_glyph_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_encode_character_sc")] public static extern int ll_fz_encode_character_sc(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -71228,13 +73275,13 @@ static mupdfPINVOKE() { public static extern int ll_fz_encode_character_with_fallback(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_encode_uri")] - public static extern string ll_fz_encode_uri([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string ll_fz_encode_uri(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_encode_uri_component")] - public static extern string ll_fz_encode_uri_component([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string ll_fz_encode_uri_component(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_encode_uri_pathname")] - public static extern string ll_fz_encode_uri_pathname([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string ll_fz_encode_uri_pathname(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_end_group")] public static extern void ll_fz_end_group(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -71263,6 +73310,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_end_tile")] public static extern void ll_fz_end_tile(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_enumerate_font_cmap")] + public static extern void ll_fz_enumerate_font_cmap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_enumerate_font_cmap2")] + public static extern global::System.IntPtr ll_fz_enumerate_font_cmap2(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_error_callback")] public static extern global::System.IntPtr ll_fz_error_callback(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -71279,7 +73332,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_extract_ttf_from_ttc(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_file_exists")] - public static extern int ll_fz_file_exists([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_file_exists(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_fill_image")] public static extern void ll_fz_fill_image(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, float jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); @@ -71345,7 +73398,6 @@ static mupdfPINVOKE() { public static extern int ll_fz_font_is_serif(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_font_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_font_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_font_shaper_data")] @@ -71355,14 +73407,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_font_t3_procs(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_format_double")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string ll_fz_format_double([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, double jarg2); + public static extern string ll_fz_format_double(string jarg1, double jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_format_link_uri")] public static extern string ll_fz_format_link_uri(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_format_output_path")] - public static extern void ll_fz_format_output_path(string jarg1, uint jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern void ll_fz_format_output_path(string jarg1, uint jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_free")] public static extern void ll_fz_free(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -71392,7 +73443,6 @@ static mupdfPINVOKE() { public static extern void ll_fz_get_glyph_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_get_glyph_name2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_get_glyph_name2(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_get_pixmap_from_image")] @@ -71402,10 +73452,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_get_unscaled_pixmap_from_image(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_getopt")] - public static extern int ll_fz_getopt(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern int ll_fz_getopt(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_getopt_long")] - public static extern int ll_fz_getopt_long(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int ll_fz_getopt_long(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_glyph_bbox")] public static extern global::System.IntPtr ll_fz_glyph_bbox(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -71420,7 +73470,6 @@ static mupdfPINVOKE() { public static extern int ll_fz_glyph_height(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_glyph_name_from_unicode_sc")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_glyph_name_from_unicode_sc(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_glyph_width")] @@ -71442,10 +73491,10 @@ static mupdfPINVOKE() { public static extern void ll_fz_grow_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_has_archive_entry")] - public static extern int ll_fz_has_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_fz_has_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_has_option")] - public static extern int ll_fz_has_option([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern int ll_fz_has_option(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_has_permission")] public static extern int ll_fz_has_permission(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -71496,14 +73545,13 @@ static mupdfPINVOKE() { public static extern uint ll_fz_image_size(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_image_type_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_image_type_name(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_include_point_in_rect")] public static extern global::System.IntPtr ll_fz_include_point_in_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_init_text_decoder")] - public static extern void ll_fz_init_text_decoder(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_init_text_decoder(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_install_load_system_font_funcs")] public static extern void ll_fz_install_load_system_font_funcs(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -71511,6 +73559,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_install_load_system_font_funcs2")] public static extern void ll_fz_install_load_system_font_funcs2(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_int2_heap_debug")] + public static extern void ll_fz_int2_heap_debug(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_int2_heap_dump")] + public static extern void ll_fz_int2_heap_dump(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_int2_heap_insert")] public static extern void ll_fz_int2_heap_insert(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -71520,6 +73574,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_int2_heap_uniq")] public static extern void ll_fz_int2_heap_uniq(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_int_heap_debug")] + public static extern void ll_fz_int_heap_debug(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_int_heap_dump")] + public static extern void ll_fz_int_heap_dump(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_int_heap_insert")] public static extern void ll_fz_int_heap_insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -71535,6 +73595,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_intersect_rect")] public static extern global::System.IntPtr ll_fz_intersect_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_intptr_heap_debug")] + public static extern void ll_fz_intptr_heap_debug(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_intptr_heap_dump")] + public static extern void ll_fz_intptr_heap_dump(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_intptr_heap_insert")] public static extern void ll_fz_intptr_heap_insert(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -71578,7 +73644,7 @@ static mupdfPINVOKE() { public static extern int ll_fz_is_cfb_archive(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_is_directory")] - public static extern int ll_fz_is_directory([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_is_directory(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_is_document_reflowable")] public static extern int ll_fz_is_document_reflowable(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -71599,7 +73665,7 @@ static mupdfPINVOKE() { public static extern int ll_fz_is_eof_bits(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_is_external_link")] - public static extern int ll_fz_is_external_link([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_is_external_link(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_is_identity")] public static extern int ll_fz_is_identity(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -71617,7 +73683,7 @@ static mupdfPINVOKE() { public static extern int ll_fz_is_libarchive_archive(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_is_page_range")] - public static extern int ll_fz_is_page_range([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_is_page_range(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_is_pixmap_monochrome")] public static extern int ll_fz_is_pixmap_monochrome(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -71670,6 +73736,66 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_jbig2_globals_data")] public static extern global::System.IntPtr ll_fz_jbig2_globals_data(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_array_get")] + public static extern global::System.IntPtr ll_fz_json_array_get(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_array_length")] + public static extern int ll_fz_json_array_length(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_array_push")] + public static extern void ll_fz_json_array_push(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_is_array")] + public static extern int ll_fz_json_is_array(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_is_boolean")] + public static extern int ll_fz_json_is_boolean(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_is_null")] + public static extern int ll_fz_json_is_null(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_is_number")] + public static extern int ll_fz_json_is_number(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_is_object")] + public static extern int ll_fz_json_is_object(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_is_string")] + public static extern int ll_fz_json_is_string(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_new_array")] + public static extern global::System.IntPtr ll_fz_json_new_array(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_new_boolean")] + public static extern global::System.IntPtr ll_fz_json_new_boolean(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_new_null")] + public static extern global::System.IntPtr ll_fz_json_new_null(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_new_number")] + public static extern global::System.IntPtr ll_fz_json_new_number(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_new_object")] + public static extern global::System.IntPtr ll_fz_json_new_object(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_new_string")] + public static extern global::System.IntPtr ll_fz_json_new_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_object_get")] + public static extern global::System.IntPtr ll_fz_json_object_get(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_object_set")] + public static extern void ll_fz_json_object_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_to_boolean")] + public static extern int ll_fz_json_to_boolean(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_to_number")] + public static extern double ll_fz_json_to_number(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_json_to_string")] + public static extern string ll_fz_json_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_keep_archive")] public static extern global::System.IntPtr ll_fz_keep_archive(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -71794,7 +73920,6 @@ static mupdfPINVOKE() { public static extern void ll_fz_lineto(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_list_archive_entry")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_list_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_load_bmp_subimage")] @@ -71840,10 +73965,10 @@ static mupdfPINVOKE() { public static extern int ll_fz_load_pnm_subimage_count(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_load_system_cjk_font")] - public static extern global::System.IntPtr ll_fz_load_system_cjk_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2, int jarg3); + public static extern global::System.IntPtr ll_fz_load_system_cjk_font(string jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_load_system_font")] - public static extern global::System.IntPtr ll_fz_load_system_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2, int jarg3, int jarg4); + public static extern global::System.IntPtr ll_fz_load_system_font(string jarg1, int jarg2, int jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_load_tiff_subimage")] public static extern global::System.IntPtr ll_fz_load_tiff_subimage(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, int jarg3); @@ -71851,6 +73976,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_load_tiff_subimage_count")] public static extern int ll_fz_load_tiff_subimage_count(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_load_user_css")] + public static extern void ll_fz_load_user_css(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_location_from_page_number")] public static extern global::System.IntPtr ll_fz_location_from_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -71858,38 +73986,37 @@ static mupdfPINVOKE() { public static extern void ll_fz_lock(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_log_error")] - public static extern void ll_fz_log_error([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void ll_fz_log_error(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_base14_font")] - public static extern global::System.IntPtr ll_fz_lookup_base14_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern global::System.IntPtr ll_fz_lookup_base14_font(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_blendmode")] - public static extern int ll_fz_lookup_blendmode([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_lookup_blendmode(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_bookmark")] - public static extern global::System.IntPtr ll_fz_lookup_bookmark(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + public static extern global::System.IntPtr ll_fz_lookup_bookmark(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_builtin_font")] - public static extern global::System.IntPtr ll_fz_lookup_builtin_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr ll_fz_lookup_builtin_font(string jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_cjk_font")] public static extern global::System.IntPtr ll_fz_lookup_cjk_font(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_cjk_font_by_language")] - public static extern global::System.IntPtr ll_fz_lookup_cjk_font_by_language([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr ll_fz_lookup_cjk_font_by_language(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_cjk_ordering_by_language")] - public static extern int ll_fz_lookup_cjk_ordering_by_language([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_lookup_cjk_ordering_by_language(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_image_type")] - public static extern int ll_fz_lookup_image_type([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_lookup_image_type(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_metadata")] - public static extern int ll_fz_lookup_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, string jarg3, int jarg4); + public static extern int ll_fz_lookup_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_metadata2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string ll_fz_lookup_metadata2(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string ll_fz_lookup_metadata2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_noto_boxes_font")] public static extern global::System.IntPtr ll_fz_lookup_noto_boxes_font(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -71906,6 +74033,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_noto_music_font")] public static extern global::System.IntPtr ll_fz_lookup_noto_music_font(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_noto_stem_from_script")] + public static extern string ll_fz_lookup_noto_stem_from_script(int jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_noto_symbol1_font")] public static extern global::System.IntPtr ll_fz_lookup_noto_symbol1_font(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -71913,10 +74043,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_lookup_noto_symbol2_font(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_rendering_intent")] - public static extern int ll_fz_lookup_rendering_intent([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_lookup_rendering_intent(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_make_bookmark")] - public static extern int ll_fz_make_bookmark(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern long ll_fz_make_bookmark(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_make_irect")] public static extern global::System.IntPtr ll_fz_make_irect(int jarg1, int jarg2, int jarg3, int jarg4); @@ -71994,7 +74124,7 @@ static mupdfPINVOKE() { public static extern void ll_fz_md5_update_int64(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_measure_string")] - public static extern global::System.IntPtr ll_fz_measure_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4, int jarg5, int jarg6, int jarg7); + public static extern global::System.IntPtr ll_fz_measure_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4, int jarg5, int jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_memmem")] public static extern global::System.IntPtr ll_fz_memmem(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4); @@ -72021,7 +74151,7 @@ static mupdfPINVOKE() { public static extern void ll_fz_morph_error(int jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_mount_multi_archive")] - public static extern void ll_fz_mount_multi_archive(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void ll_fz_mount_multi_archive(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_moveto")] public static extern void ll_fz_moveto(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3); @@ -72048,7 +74178,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_band_writer_of_size(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_base14_font")] - public static extern global::System.IntPtr ll_fz_new_base14_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_new_base14_font(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_bbox_device")] public static extern global::System.IntPtr ll_fz_new_bbox_device(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -72066,7 +74196,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_buffer(uint jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_buffer_from_base64")] - public static extern global::System.IntPtr ll_fz_new_buffer_from_base64([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, uint jarg2); + public static extern global::System.IntPtr ll_fz_new_buffer_from_base64(string jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_buffer_from_copied_data")] public static extern global::System.IntPtr ll_fz_new_buffer_from_copied_data(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); @@ -72102,7 +74232,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_buffer_from_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_buffer_from_page_with_format")] - public static extern global::System.IntPtr ll_fz_new_buffer_from_page_with_format(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr ll_fz_new_buffer_from_page_with_format(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_buffer_from_pixmap_as_jpeg")] public static extern global::System.IntPtr ll_fz_new_buffer_from_pixmap_as_jpeg(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4); @@ -72129,7 +74259,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_buffer_from_stext_page(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_builtin_font")] - public static extern global::System.IntPtr ll_fz_new_builtin_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2, int jarg3); + public static extern global::System.IntPtr ll_fz_new_builtin_font(string jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_cal_gray_colorspace")] public static extern global::System.IntPtr ll_fz_new_cal_gray_colorspace(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, float jarg3); @@ -72138,10 +74268,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_cal_rgb_colorspace(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_cbz_writer")] - public static extern global::System.IntPtr ll_fz_new_cbz_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_cbz_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_cbz_writer_with_output")] - public static extern global::System.IntPtr ll_fz_new_cbz_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_cbz_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_cjk_font")] public static extern global::System.IntPtr ll_fz_new_cjk_font(int jarg1); @@ -72150,13 +74280,19 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_color_pcl_band_writer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_colorspace")] - public static extern global::System.IntPtr ll_fz_new_colorspace(int jarg1, int jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr ll_fz_new_colorspace(int jarg1, int jarg2, int jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_compressed_buffer")] public static extern global::System.IntPtr ll_fz_new_compressed_buffer(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_context_imp")] - public static extern global::System.IntPtr ll_fz_new_context_imp(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr ll_fz_new_context_imp(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, string jarg4); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_csv_writer")] + public static extern global::System.IntPtr ll_fz_new_csv_writer(string jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_csv_writer_with_output")] + public static extern global::System.IntPtr ll_fz_new_csv_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_default_colorspaces")] public static extern global::System.IntPtr ll_fz_new_default_colorspaces(); @@ -72186,40 +74322,40 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_display_list_from_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_display_list_from_svg")] - public static extern global::System.IntPtr ll_fz_new_display_list_from_svg(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr ll_fz_new_display_list_from_svg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_display_list_from_svg_xml")] - public static extern global::System.IntPtr ll_fz_new_display_list_from_svg_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern global::System.IntPtr ll_fz_new_display_list_from_svg_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_document_of_size")] public static extern global::System.IntPtr ll_fz_new_document_of_size(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_document_writer")] - public static extern global::System.IntPtr ll_fz_new_document_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr ll_fz_new_document_writer(string jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_document_writer_of_size")] public static extern global::System.IntPtr ll_fz_new_document_writer_of_size(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_document_writer_with_buffer")] - public static extern global::System.IntPtr ll_fz_new_document_writer_with_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr ll_fz_new_document_writer_with_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_document_writer_with_output")] - public static extern global::System.IntPtr ll_fz_new_document_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr ll_fz_new_document_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_docx_writer")] - public static extern global::System.IntPtr ll_fz_new_docx_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_docx_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_docx_writer_with_output")] - public static extern global::System.IntPtr ll_fz_new_docx_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_docx_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_dom")] - public static extern global::System.IntPtr ll_fz_new_dom([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_new_dom(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_dom_node")] - public static extern global::System.IntPtr ll_fz_new_dom_node(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_dom_node(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_dom_text_node")] - public static extern global::System.IntPtr ll_fz_new_dom_text_node(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_dom_text_node(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_draw_device")] public static extern global::System.IntPtr ll_fz_new_draw_device(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -72240,13 +74376,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_draw_device_with_proof(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_font_from_buffer")] - public static extern global::System.IntPtr ll_fz_new_font_from_buffer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4); + public static extern global::System.IntPtr ll_fz_new_font_from_buffer(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_font_from_file")] - public static extern global::System.IntPtr ll_fz_new_font_from_file([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3, int jarg4); + public static extern global::System.IntPtr ll_fz_new_font_from_file(string jarg1, string jarg2, int jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_font_from_memory")] - public static extern global::System.IntPtr ll_fz_new_font_from_memory([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, int jarg5); + public static extern global::System.IntPtr ll_fz_new_font_from_memory(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_function_of_size")] public static extern global::System.IntPtr ll_fz_new_function_of_size(int jarg1, uint jarg2, int jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); @@ -72255,7 +74391,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_hash_table(int jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_icc_colorspace")] - public static extern global::System.IntPtr ll_fz_new_icc_colorspace(int jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr ll_fz_new_icc_colorspace(int jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_image_from_buffer")] public static extern global::System.IntPtr ll_fz_new_image_from_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -72270,16 +74406,16 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_image_from_display_list(float jarg1, float jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_image_from_file")] - public static extern global::System.IntPtr ll_fz_new_image_from_file([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_new_image_from_file(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_image_from_pixmap")] public static extern global::System.IntPtr ll_fz_new_image_from_pixmap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_image_from_svg")] - public static extern global::System.IntPtr ll_fz_new_image_from_svg(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr ll_fz_new_image_from_svg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_image_from_svg_xml")] - public static extern global::System.IntPtr ll_fz_new_image_from_svg_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr ll_fz_new_image_from_svg_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_image_of_size")] public static extern global::System.IntPtr ll_fz_new_image_of_size(int jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, int jarg6, int jarg7, int jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10, global::System.Runtime.InteropServices.HandleRef jarg11, uint jarg12, global::System.Runtime.InteropServices.HandleRef jarg13, global::System.Runtime.InteropServices.HandleRef jarg14, global::System.Runtime.InteropServices.HandleRef jarg15); @@ -72288,19 +74424,19 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_indexed_colorspace(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_jpeg_pixmap_writer")] - public static extern global::System.IntPtr ll_fz_new_jpeg_pixmap_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_jpeg_pixmap_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_layout")] public static extern global::System.IntPtr ll_fz_new_layout(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_link_of_size")] - public static extern global::System.IntPtr ll_fz_new_link_of_size(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr ll_fz_new_link_of_size(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_list_device")] public static extern global::System.IntPtr ll_fz_new_list_device(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_log_for_module")] - public static extern global::System.IntPtr ll_fz_new_log_for_module([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_new_log_for_module(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_mono_pcl_band_writer")] public static extern global::System.IntPtr ll_fz_new_mono_pcl_band_writer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -72312,13 +74448,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_multi_archive(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_ocr_device")] - public static extern global::System.IntPtr ll_fz_new_ocr_device(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); + public static extern global::System.IntPtr ll_fz_new_ocr_device(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, string jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_odt_writer")] - public static extern global::System.IntPtr ll_fz_new_odt_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_odt_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_odt_writer_with_output")] - public static extern global::System.IntPtr ll_fz_new_odt_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_odt_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_outline")] public static extern global::System.IntPtr ll_fz_new_outline(); @@ -72339,7 +74475,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_output_with_file_ptr(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_output_with_path")] - public static extern global::System.IntPtr ll_fz_new_output_with_path([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2); + public static extern global::System.IntPtr ll_fz_new_output_with_path(string jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_page_of_size")] public static extern global::System.IntPtr ll_fz_new_page_of_size(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -72348,7 +74484,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_pam_band_writer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pam_pixmap_writer")] - public static extern global::System.IntPtr ll_fz_new_pam_pixmap_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pam_pixmap_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_path")] public static extern global::System.IntPtr ll_fz_new_path(); @@ -72357,43 +74493,43 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_pbm_band_writer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pbm_pixmap_writer")] - public static extern global::System.IntPtr ll_fz_new_pbm_pixmap_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pbm_pixmap_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pcl_writer")] - public static extern global::System.IntPtr ll_fz_new_pcl_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pcl_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pcl_writer_with_output")] - public static extern global::System.IntPtr ll_fz_new_pcl_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pcl_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pclm_band_writer")] public static extern global::System.IntPtr ll_fz_new_pclm_band_writer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pclm_writer")] - public static extern global::System.IntPtr ll_fz_new_pclm_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pclm_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pclm_writer_with_output")] - public static extern global::System.IntPtr ll_fz_new_pclm_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pclm_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pdf_document_from_fz_document")] public static extern global::System.IntPtr ll_fz_new_pdf_document_from_fz_document(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pdf_writer")] - public static extern global::System.IntPtr ll_fz_new_pdf_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pdf_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pdf_writer_with_output")] - public static extern global::System.IntPtr ll_fz_new_pdf_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pdf_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pdfocr_band_writer")] public static extern global::System.IntPtr ll_fz_new_pdfocr_band_writer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pdfocr_writer")] - public static extern global::System.IntPtr ll_fz_new_pdfocr_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pdfocr_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pdfocr_writer_with_output")] - public static extern global::System.IntPtr ll_fz_new_pdfocr_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pdfocr_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pgm_pixmap_writer")] - public static extern global::System.IntPtr ll_fz_new_pgm_pixmap_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pgm_pixmap_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pixmap")] public static extern global::System.IntPtr ll_fz_new_pixmap(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); @@ -72441,40 +74577,40 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_pixmap_with_data(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, int jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pixmap_writer")] - public static extern global::System.IntPtr ll_fz_new_pixmap_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr ll_fz_new_pixmap_writer(string jarg1, string jarg2, string jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pkm_band_writer")] public static extern global::System.IntPtr ll_fz_new_pkm_band_writer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pkm_pixmap_writer")] - public static extern global::System.IntPtr ll_fz_new_pkm_pixmap_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pkm_pixmap_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_png_band_writer")] public static extern global::System.IntPtr ll_fz_new_png_band_writer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_png_pixmap_writer")] - public static extern global::System.IntPtr ll_fz_new_png_pixmap_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_png_pixmap_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pnm_band_writer")] public static extern global::System.IntPtr ll_fz_new_pnm_band_writer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pnm_pixmap_writer")] - public static extern global::System.IntPtr ll_fz_new_pnm_pixmap_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pnm_pixmap_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pool")] public static extern global::System.IntPtr ll_fz_new_pool(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_ppm_pixmap_writer")] - public static extern global::System.IntPtr ll_fz_new_ppm_pixmap_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_ppm_pixmap_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_ps_band_writer")] public static extern global::System.IntPtr ll_fz_new_ps_band_writer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_ps_writer")] - public static extern global::System.IntPtr ll_fz_new_ps_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_ps_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_ps_writer_with_output")] - public static extern global::System.IntPtr ll_fz_new_ps_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_ps_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_psd_band_writer")] public static extern global::System.IntPtr ll_fz_new_psd_band_writer(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -72483,10 +74619,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_pwg_band_writer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pwg_writer")] - public static extern global::System.IntPtr ll_fz_new_pwg_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pwg_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_pwg_writer_with_output")] - public static extern global::System.IntPtr ll_fz_new_pwg_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_pwg_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_rle_output")] public static extern global::System.IntPtr ll_fz_new_rle_output(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -72516,13 +74652,13 @@ static mupdfPINVOKE() { public static extern void ll_fz_new_store_context(uint jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_story")] - public static extern global::System.IntPtr ll_fz_new_story(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, float jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr ll_fz_new_story(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, float jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_stream")] public static extern global::System.IntPtr ll_fz_new_stream(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_string")] - public static extern global::System.IntPtr ll_fz_new_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_new_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_stroke_state")] public static extern global::System.IntPtr ll_fz_new_stroke_state(); @@ -72537,10 +74673,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_svg_device_with_id(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, int jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_svg_writer")] - public static extern global::System.IntPtr ll_fz_new_svg_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_svg_writer(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_svg_writer_with_output")] - public static extern global::System.IntPtr ll_fz_new_svg_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_new_svg_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_test_device")] public static extern global::System.IntPtr ll_fz_new_test_device(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -72549,10 +74685,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_text(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_text_writer")] - public static extern global::System.IntPtr ll_fz_new_text_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr ll_fz_new_text_writer(string jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_text_writer_with_output")] - public static extern global::System.IntPtr ll_fz_new_text_writer_with_output([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr ll_fz_new_text_writer_with_output(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_trace_device")] public static extern global::System.IntPtr ll_fz_new_trace_device(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -72561,7 +74697,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_tree_archive(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_type3_font")] - public static extern global::System.IntPtr ll_fz_new_type3_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern global::System.IntPtr ll_fz_new_type3_font(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_xhtml_document_from_document")] public static extern global::System.IntPtr ll_fz_new_xhtml_document_from_document(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -72570,7 +74706,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_new_xmltext_device(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_zip_writer")] - public static extern global::System.IntPtr ll_fz_new_zip_writer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_new_zip_writer(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_zip_writer_with_output")] public static extern global::System.IntPtr ll_fz_new_zip_writer_with_output(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -72585,13 +74721,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_open_a85d(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_accelerated_document")] - public static extern global::System.IntPtr ll_fz_open_accelerated_document([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_open_accelerated_document(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_accelerated_document_with_stream")] - public static extern global::System.IntPtr ll_fz_open_accelerated_document_with_stream([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr ll_fz_open_accelerated_document_with_stream(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_accelerated_document_with_stream_and_dir")] - public static extern global::System.IntPtr ll_fz_open_accelerated_document_with_stream_and_dir([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr ll_fz_open_accelerated_document_with_stream_and_dir(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_aesd")] public static extern global::System.IntPtr ll_fz_open_aesd(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); @@ -72603,10 +74739,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_open_arc4(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_archive")] - public static extern global::System.IntPtr ll_fz_open_archive([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_open_archive(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_archive_entry")] - public static extern global::System.IntPtr ll_fz_open_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_open_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_archive_with_stream")] public static extern global::System.IntPtr ll_fz_open_archive_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -72615,7 +74751,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_open_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_cfb_archive")] - public static extern global::System.IntPtr ll_fz_open_cfb_archive([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_open_cfb_archive(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_cfb_archive_with_stream")] public static extern global::System.IntPtr ll_fz_open_cfb_archive_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -72630,19 +74766,19 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_open_dctd(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_directory")] - public static extern global::System.IntPtr ll_fz_open_directory([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_open_directory(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_document")] - public static extern global::System.IntPtr ll_fz_open_document([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_open_document(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_document_with_buffer")] - public static extern global::System.IntPtr ll_fz_open_document_with_buffer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern global::System.IntPtr ll_fz_open_document_with_buffer(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_document_with_stream")] - public static extern global::System.IntPtr ll_fz_open_document_with_stream([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern global::System.IntPtr ll_fz_open_document_with_stream(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_document_with_stream_and_dir")] - public static extern global::System.IntPtr ll_fz_open_document_with_stream_and_dir([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr ll_fz_open_document_with_stream_and_dir(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_endstream_filter")] public static extern global::System.IntPtr ll_fz_open_endstream_filter(global::System.Runtime.InteropServices.HandleRef jarg1, ulong jarg2, long jarg3); @@ -72651,10 +74787,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_open_faxd(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, int jarg6, int jarg7, int jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_file")] - public static extern global::System.IntPtr ll_fz_open_file([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_open_file(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_file_autodelete")] - public static extern global::System.IntPtr ll_fz_open_file_autodelete([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_open_file_autodelete(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_file_ptr_no_close")] public static extern global::System.IntPtr ll_fz_open_file_ptr_no_close(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -72675,7 +74811,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_open_leecher(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_libarchive_archive")] - public static extern global::System.IntPtr ll_fz_open_libarchive_archive([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_open_libarchive_archive(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_libarchive_archive_with_stream")] public static extern global::System.IntPtr ll_fz_open_libarchive_archive_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -72714,7 +74850,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_open_sgilog32(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_tar_archive")] - public static extern global::System.IntPtr ll_fz_open_tar_archive([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_open_tar_archive(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_tar_archive_with_stream")] public static extern global::System.IntPtr ll_fz_open_tar_archive_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -72723,16 +74859,16 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_open_thunder(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_zip_archive")] - public static extern global::System.IntPtr ll_fz_open_zip_archive([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_open_zip_archive(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_open_zip_archive_with_stream")] public static extern global::System.IntPtr ll_fz_open_zip_archive_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_opt_from_list")] - public static extern int ll_fz_opt_from_list(string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_fz_opt_from_list(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_option_eq")] - public static extern int ll_fz_option_eq([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_fz_option_eq(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_outline_glyph")] public static extern global::System.IntPtr ll_fz_outline_glyph(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -72780,7 +74916,6 @@ static mupdfPINVOKE() { public static extern int ll_fz_packed_path_size(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_page_label")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_page_label(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_page_number_from_location")] @@ -72798,30 +74933,35 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_paint_shade")] public static extern void ll_fz_paint_shade(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_paragraph_break")] + public static extern void ll_fz_paragraph_break(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_parse_draw_options")] - public static extern global::System.IntPtr ll_fz_parse_draw_options(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_parse_draw_options(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_parse_json")] + public static extern global::System.IntPtr ll_fz_parse_json(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_parse_page_range")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string ll_fz_parse_page_range([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); + public static extern string ll_fz_parse_page_range(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_parse_pcl_options")] - public static extern global::System.IntPtr ll_fz_parse_pcl_options(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_parse_pcl_options(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_parse_pclm_options")] - public static extern global::System.IntPtr ll_fz_parse_pclm_options(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_parse_pclm_options(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_parse_pdfocr_options")] - public static extern global::System.IntPtr ll_fz_parse_pdfocr_options(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_parse_pdfocr_options(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_parse_stext_options")] - public static extern global::System.IntPtr ll_fz_parse_stext_options(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_parse_stext_options(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_parse_xml")] public static extern global::System.IntPtr ll_fz_parse_xml(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_parse_xml_archive_entry")] - public static extern global::System.IntPtr ll_fz_parse_xml_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr ll_fz_parse_xml_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_parse_xml_from_html5")] public static extern global::System.IntPtr ll_fz_parse_xml_from_html5(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -72830,7 +74970,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_parse_xml_stream(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_pcl_preset")] - public static extern void ll_fz_pcl_preset(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_pcl_preset(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_pdfocr_band_writer_set_progress")] public static extern void ll_fz_pdfocr_band_writer_set_progress(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -72899,7 +75039,7 @@ static mupdfPINVOKE() { public static extern uint ll_fz_pool_size(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_pool_strdup")] - public static extern string ll_fz_pool_strdup(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string ll_fz_pool_strdup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_pop_clip")] public static extern void ll_fz_pop_clip(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -72983,7 +75123,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_read_all(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_read_archive_entry")] - public static extern global::System.IntPtr ll_fz_read_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_read_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_read_best")] public static extern global::System.IntPtr ll_fz_read_best(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4); @@ -72995,7 +75135,7 @@ static mupdfPINVOKE() { public static extern int ll_fz_read_byte(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_read_file")] - public static extern global::System.IntPtr ll_fz_read_file([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_read_file(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_read_float")] public static extern float ll_fz_read_float(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -73070,19 +75210,19 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_realloc_no_throw(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_realpath")] - public static extern string ll_fz_realpath([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, string jarg2); + public static extern string ll_fz_realpath(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_recognize_document")] - public static extern global::System.IntPtr ll_fz_recognize_document([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_recognize_document(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_recognize_document_content")] - public static extern global::System.IntPtr ll_fz_recognize_document_content([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_recognize_document_content(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_recognize_document_stream_and_dir_content")] - public static extern global::System.IntPtr ll_fz_recognize_document_stream_and_dir_content(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr ll_fz_recognize_document_stream_and_dir_content(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_recognize_document_stream_content")] - public static extern global::System.IntPtr ll_fz_recognize_document_stream_content(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_recognize_document_stream_content(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_recognize_image_format")] public static extern int ll_fz_recognize_image_format(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -73096,6 +75236,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_rectto")] public static extern void ll_fz_rectto(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, float jarg4, float jarg5); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_register_activity_logger")] + public static extern void ll_fz_register_activity_logger(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_register_archive_handler")] public static extern void ll_fz_register_archive_handler(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -73115,10 +75258,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_render_glyph_pixmap(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_render_t3_glyph_direct")] - public static extern void ll_fz_render_t3_glyph_direct(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern void ll_fz_render_t3_glyph_direct(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_rendering_intent_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_rendering_intent_name(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_report_error")] @@ -73134,10 +75276,10 @@ static mupdfPINVOKE() { public static extern void ll_fz_resize_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_resolve_link")] - public static extern global::System.IntPtr ll_fz_resolve_link(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr ll_fz_resolve_link(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_resolve_link_dest")] - public static extern global::System.IntPtr ll_fz_resolve_link_dest(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_resolve_link_dest(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_rethrow")] public static extern void ll_fz_rethrow(); @@ -73176,14 +75318,13 @@ static mupdfPINVOKE() { public static extern void ll_fz_run_t3_glyph(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_runeidx")] - public static extern int ll_fz_runeidx([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_fz_runeidx(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_runelen")] public static extern int ll_fz_runelen(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_runeptr")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string ll_fz_runeptr([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2); + public static extern string ll_fz_runeptr(string jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_runetochar")] public static extern int ll_fz_runetochar(string jarg1, int jarg2); @@ -73195,34 +75336,34 @@ static mupdfPINVOKE() { public static extern void ll_fz_samples_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_accelerator")] - public static extern void ll_fz_save_accelerator(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_save_accelerator(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_bitmap_as_pbm")] - public static extern void ll_fz_save_bitmap_as_pbm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_save_bitmap_as_pbm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_bitmap_as_pcl")] public static extern void ll_fz_save_bitmap_as_pcl(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_bitmap_as_pkm")] - public static extern void ll_fz_save_bitmap_as_pkm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_save_bitmap_as_pkm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_bitmap_as_pwg")] public static extern void ll_fz_save_bitmap_as_pwg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_buffer")] - public static extern void ll_fz_save_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_save_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_pixmap_as_jpeg")] - public static extern void ll_fz_save_pixmap_as_jpeg(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void ll_fz_save_pixmap_as_jpeg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_pixmap_as_jpx")] - public static extern void ll_fz_save_pixmap_as_jpx(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void ll_fz_save_pixmap_as_jpx(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_pixmap_as_pam")] - public static extern void ll_fz_save_pixmap_as_pam(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_save_pixmap_as_pam(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_pixmap_as_pbm")] - public static extern void ll_fz_save_pixmap_as_pbm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_save_pixmap_as_pbm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_pixmap_as_pcl")] public static extern void ll_fz_save_pixmap_as_pcl(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -73234,25 +75375,25 @@ static mupdfPINVOKE() { public static extern void ll_fz_save_pixmap_as_pdfocr(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_pixmap_as_pkm")] - public static extern void ll_fz_save_pixmap_as_pkm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_save_pixmap_as_pkm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_pixmap_as_png")] - public static extern void ll_fz_save_pixmap_as_png(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_save_pixmap_as_png(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_pixmap_as_pnm")] - public static extern void ll_fz_save_pixmap_as_pnm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_save_pixmap_as_pnm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_pixmap_as_ps")] public static extern void ll_fz_save_pixmap_as_ps(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_pixmap_as_psd")] - public static extern void ll_fz_save_pixmap_as_psd(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_save_pixmap_as_psd(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_pixmap_as_pwg")] public static extern void ll_fz_save_pixmap_as_pwg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_save_xml")] - public static extern void ll_fz_save_xml(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void ll_fz_save_xml(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_scale")] public static extern global::System.IntPtr ll_fz_scale(float jarg1, float jarg2); @@ -73261,22 +75402,37 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_scale_pixmap(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, float jarg4, float jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_chapter_page_number")] - public static extern int ll_fz_search_chapter_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, int jarg7); + public static extern int ll_fz_search_chapter_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, int jarg7); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_chapter_page_number_cb")] + public static extern int ll_fz_search_chapter_page_number_cb(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_display_list")] - public static extern int ll_fz_search_display_list(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + public static extern int ll_fz_search_display_list(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_display_list_cb")] + public static extern int ll_fz_search_display_list_cb(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_page")] - public static extern int ll_fz_search_page(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + public static extern int ll_fz_search_page(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_page2")] - public static extern global::System.IntPtr ll_fz_search_page2(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern global::System.IntPtr ll_fz_search_page2(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_page_cb")] + public static extern int ll_fz_search_page_cb(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_page_number")] - public static extern int ll_fz_search_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6); + public static extern int ll_fz_search_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_page_number_cb")] + public static extern int ll_fz_search_page_number_cb(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_stext_page")] - public static extern int ll_fz_search_stext_page(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + public static extern int ll_fz_search_stext_page(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_stext_page_cb")] + public static extern int ll_fz_search_stext_page_cb(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_seek")] public static extern void ll_fz_seek(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, int jarg3); @@ -73284,6 +75440,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_seek_output")] public static extern void ll_fz_seek_output(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_segment_stext_page")] + public static extern int ll_fz_segment_stext_page(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_separation_current_behavior")] public static extern int ll_fz_separation_current_behavior(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -73291,7 +75450,6 @@ static mupdfPINVOKE() { public static extern void ll_fz_separation_equivalent(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_separation_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_separation_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_set_aa_level")] @@ -73334,10 +75492,10 @@ static mupdfPINVOKE() { public static extern void ll_fz_set_link_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_set_link_uri")] - public static extern void ll_fz_set_link_uri(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_set_link_uri(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_set_metadata")] - public static extern void ll_fz_set_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void ll_fz_set_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_set_pixmap_image_tile")] public static extern void ll_fz_set_pixmap_image_tile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -73361,7 +75519,7 @@ static mupdfPINVOKE() { public static extern void ll_fz_set_user_context(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_set_user_css")] - public static extern void ll_fz_set_user_css([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void ll_fz_set_user_css(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_set_warning_callback")] public static extern void ll_fz_set_warning_callback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -73403,7 +75561,7 @@ static mupdfPINVOKE() { public static extern void ll_fz_show_glyph_aux(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, float jarg4, int jarg5, int jarg6, int jarg7, int jarg8, int jarg9, int jarg10, int jarg11); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_show_string")] - public static extern global::System.IntPtr ll_fz_show_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, int jarg5, int jarg6, int jarg7, int jarg8); + public static extern global::System.IntPtr ll_fz_show_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, int jarg5, int jarg6, int jarg7, int jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_shrink_store")] public static extern int ll_fz_shrink_store(uint jarg1); @@ -73418,7 +75576,7 @@ static mupdfPINVOKE() { public static extern void ll_fz_skip_space(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_skip_string")] - public static extern int ll_fz_skip_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_fz_skip_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_slice_buffer")] public static extern global::System.IntPtr ll_fz_slice_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3); @@ -73430,10 +75588,10 @@ static mupdfPINVOKE() { public static extern void ll_fz_start_throw_on_repair(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_stat_ctime")] - public static extern long ll_fz_stat_ctime([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern long ll_fz_stat_ctime(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_stat_mtime")] - public static extern long ll_fz_stat_mtime([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern long ll_fz_stat_mtime(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_stddbg")] public static extern global::System.IntPtr ll_fz_stddbg(); @@ -73460,48 +75618,43 @@ static mupdfPINVOKE() { public static extern void ll_fz_story_positions(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_story_warnings")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_story_warnings(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_strcasecmp")] - public static extern int ll_fz_strcasecmp([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_fz_strcasecmp(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_strdup")] - public static extern string ll_fz_strdup([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string ll_fz_strdup(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_stream_filename")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_stream_filename(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_stream_from_output")] public static extern global::System.IntPtr ll_fz_stream_from_output(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_string_from_box_type")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_string_from_box_type(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_string_from_buffer")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_string_from_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_string_from_text_language")] public static extern string ll_fz_string_from_text_language(string jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_string_from_text_language2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_string_from_text_language2(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_strlcat")] - public static extern uint ll_fz_strlcat(string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, uint jarg3); + public static extern uint ll_fz_strlcat(string jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_strlcpy")] - public static extern uint ll_fz_strlcpy(string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, uint jarg3); + public static extern uint ll_fz_strlcpy(string jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_strncasecmp")] - public static extern int ll_fz_strncasecmp([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, uint jarg3); + public static extern int ll_fz_strncasecmp(string jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_strnlen")] - public static extern uint ll_fz_strnlen([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, uint jarg2); + public static extern uint ll_fz_strnlen(string jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_stroke_path")] public static extern void ll_fz_stroke_path(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, float jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); @@ -73510,16 +75663,21 @@ static mupdfPINVOKE() { public static extern void ll_fz_stroke_text(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, float jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_strsep")] - public static extern string ll_fz_strsep(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string ll_fz_strsep(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_strstr")] + public static extern string ll_fz_strstr(string jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_strstrcase")] + public static extern string ll_fz_strstrcase(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_strtof")] - public static extern float ll_fz_strtof([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern float ll_fz_strtof(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_structure_from_string")] - public static extern int ll_fz_structure_from_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_structure_from_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_structure_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_structure_to_string(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_subpixel_adjust")] @@ -73537,6 +75695,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_sync_bits")] public static extern void ll_fz_sync_bits(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_table_hunt")] + public static extern void ll_fz_table_hunt(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_tell")] public static extern long ll_fz_tell(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -73550,7 +75711,7 @@ static mupdfPINVOKE() { public static extern int ll_fz_text_aa_level(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_text_language_from_string")] - public static extern int ll_fz_text_language_from_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_text_language_from_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_tint_pixmap")] public static extern void ll_fz_tint_pixmap(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); @@ -73592,16 +75753,16 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_translate_rect(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_tree_archive_add_buffer")] - public static extern void ll_fz_tree_archive_add_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void ll_fz_tree_archive_add_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_tree_archive_add_data")] - public static extern void ll_fz_tree_archive_add_data(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4); + public static extern void ll_fz_tree_archive_add_data(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_tree_insert")] - public static extern global::System.IntPtr ll_fz_tree_insert(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr ll_fz_tree_insert(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_tree_lookup")] - public static extern global::System.IntPtr ll_fz_tree_lookup(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_tree_lookup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_trim_buffer")] public static extern void ll_fz_trim_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -73616,22 +75777,22 @@ static mupdfPINVOKE() { public static extern int ll_fz_try_invert_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_try_open_archive_entry")] - public static extern global::System.IntPtr ll_fz_try_open_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_try_open_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_try_open_archive_with_stream")] public static extern global::System.IntPtr ll_fz_try_open_archive_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_try_open_file")] - public static extern global::System.IntPtr ll_fz_try_open_file([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_try_open_file(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_try_parse_xml_archive_entry")] - public static extern global::System.IntPtr ll_fz_try_parse_xml_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr ll_fz_try_parse_xml_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_try_read_archive_entry")] - public static extern global::System.IntPtr ll_fz_try_read_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_try_read_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_try_read_file")] - public static extern global::System.IntPtr ll_fz_try_read_file([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_fz_try_read_file(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_tune_image_decode")] public static extern void ll_fz_tune_image_decode(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -73640,10 +75801,10 @@ static mupdfPINVOKE() { public static extern void ll_fz_tune_image_scale(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_unicode_from_glyph_name")] - public static extern int ll_fz_unicode_from_glyph_name([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_unicode_from_glyph_name(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_unicode_from_glyph_name_strict")] - public static extern int ll_fz_unicode_from_glyph_name_strict([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_unicode_from_glyph_name_strict(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_union_rect")] public static extern global::System.IntPtr ll_fz_union_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -73673,11 +75834,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_fz_user_context(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_user_css")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_user_css(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_utflen")] - public static extern int ll_fz_utflen([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_fz_utflen(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_var_imp")] public static extern void ll_fz_var_imp(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -73686,7 +75846,7 @@ static mupdfPINVOKE() { public static extern void ll_fz_walk_path(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_warn")] - public static extern void ll_fz_warn([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void ll_fz_warn(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_warning_callback")] public static extern global::System.IntPtr ll_fz_warning_callback(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -73772,6 +75932,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_write_int32_le")] public static extern void ll_fz_write_int32_le(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_write_json")] + public static extern void ll_fz_write_json(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_write_pixmap_as_data_uri")] public static extern void ll_fz_write_pixmap_as_data_uri(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -73824,7 +75987,7 @@ static mupdfPINVOKE() { public static extern void ll_fz_write_rune(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_write_stabilized_story")] - public static extern void ll_fz_write_stabilized_story(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, float jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10); + public static extern void ll_fz_write_stabilized_story(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, float jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_write_story")] public static extern void ll_fz_write_story(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); @@ -73833,7 +75996,7 @@ static mupdfPINVOKE() { public static extern void ll_fz_write_stream(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_write_string")] - public static extern void ll_fz_write_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_write_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_write_uint16_be")] public static extern void ll_fz_write_uint16_be(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); @@ -73851,55 +76014,55 @@ static mupdfPINVOKE() { public static extern void ll_fz_write_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_write_zip_entry")] - public static extern void ll_fz_write_zip_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); + public static extern void ll_fz_write_zip_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_add_att")] - public static extern void ll_fz_xml_add_att(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern void ll_fz_xml_add_att(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_att")] - public static extern string ll_fz_xml_att(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string ll_fz_xml_att(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_att_alt")] - public static extern string ll_fz_xml_att_alt(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern string ll_fz_xml_att_alt(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_att_eq")] - public static extern int ll_fz_xml_att_eq(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern int ll_fz_xml_att_eq(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_down")] public static extern global::System.IntPtr ll_fz_xml_down(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_find")] - public static extern global::System.IntPtr ll_fz_xml_find(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_xml_find(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_find_dfs")] - public static extern global::System.IntPtr ll_fz_xml_find_dfs(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr ll_fz_xml_find_dfs(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_find_dfs_top")] - public static extern global::System.IntPtr ll_fz_xml_find_dfs_top(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr ll_fz_xml_find_dfs_top(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_find_down")] - public static extern global::System.IntPtr ll_fz_xml_find_down(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_xml_find_down(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_find_down_match")] - public static extern global::System.IntPtr ll_fz_xml_find_down_match(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr ll_fz_xml_find_down_match(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_find_match")] - public static extern global::System.IntPtr ll_fz_xml_find_match(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr ll_fz_xml_find_match(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_find_next")] - public static extern global::System.IntPtr ll_fz_xml_find_next(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_fz_xml_find_next(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_find_next_dfs")] - public static extern global::System.IntPtr ll_fz_xml_find_next_dfs(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr ll_fz_xml_find_next_dfs(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_find_next_dfs_top")] - public static extern global::System.IntPtr ll_fz_xml_find_next_dfs_top(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr ll_fz_xml_find_next_dfs_top(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_find_next_match")] - public static extern global::System.IntPtr ll_fz_xml_find_next_match(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr ll_fz_xml_find_next_match(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_is_tag")] - public static extern int ll_fz_xml_is_tag(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_fz_xml_is_tag(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_xml_next")] public static extern global::System.IntPtr ll_fz_xml_next(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -73926,7 +76089,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_access_alert_event(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_access_exec_menu_item_event")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_access_exec_menu_item_event(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_access_launch_url_event")] @@ -73962,8 +76124,11 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_add_codespace")] public static extern void ll_pdf_add_codespace(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_add_colorspace")] + public static extern global::System.IntPtr ll_pdf_add_colorspace(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_add_embedded_file")] - public static extern global::System.IntPtr ll_pdf_add_embedded_file(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, long jarg5, long jarg6, int jarg7); + public static extern global::System.IntPtr ll_pdf_add_embedded_file(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, long jarg5, long jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_add_hmtx")] public static extern void ll_pdf_add_hmtx(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4); @@ -74020,7 +76185,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_annot_ap(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_author")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_annot_author(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_border")] @@ -74057,7 +76221,6 @@ static mupdfPINVOKE() { public static extern void ll_pdf_annot_color(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_contents")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_annot_contents(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_creation_date")] @@ -74109,11 +76272,9 @@ static mupdfPINVOKE() { public static extern int ll_pdf_annot_field_flags(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_field_label")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_annot_field_label(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_field_value")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_annot_field_value(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_filespec")] @@ -74180,7 +76341,6 @@ static mupdfPINVOKE() { public static extern int ll_pdf_annot_hot(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_icon_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_annot_icon_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_ink_list_count")] @@ -74286,7 +76446,7 @@ static mupdfPINVOKE() { public static extern int ll_pdf_annot_type(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_type_from_string")] - public static extern int ll_pdf_annot_type_from_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_pdf_annot_type_from_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_vertex")] public static extern global::System.IntPtr ll_pdf_annot_vertex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -74295,10 +76455,10 @@ static mupdfPINVOKE() { public static extern int ll_pdf_annot_vertex_count(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_append_explicit_dest_to_uri")] - public static extern string ll_pdf_append_explicit_dest_to_uri([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern string ll_pdf_append_explicit_dest_to_uri(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_append_named_dest_to_uri")] - public static extern string ll_pdf_append_named_dest_to_uri([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string ll_pdf_append_named_dest_to_uri(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_append_token")] public static extern void ll_pdf_append_token(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -74328,7 +76488,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_array_get_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_get_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_array_get_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_get_real")] @@ -74338,11 +76497,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_array_get_rect(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_get_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_array_get_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_get_text_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_array_get_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_insert")] @@ -74373,16 +76530,16 @@ static mupdfPINVOKE() { public static extern void ll_pdf_array_push_int(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_push_name")] - public static extern void ll_pdf_array_push_name(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_array_push_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_push_real")] public static extern void ll_pdf_array_push_real(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_push_string")] - public static extern void ll_pdf_array_push_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, uint jarg3); + public static extern void ll_pdf_array_push_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_push_text_string")] - public static extern void ll_pdf_array_push_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_array_push_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_put")] public static extern void ll_pdf_array_put(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -74403,19 +76560,19 @@ static mupdfPINVOKE() { public static extern void ll_pdf_array_put_int(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_put_name")] - public static extern void ll_pdf_array_put_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void ll_pdf_array_put_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_put_real")] public static extern void ll_pdf_array_put_real(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_put_string")] - public static extern void ll_pdf_array_put_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, uint jarg4); + public static extern void ll_pdf_array_put_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_put_text_string")] - public static extern void ll_pdf_array_put_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void ll_pdf_array_put_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_authenticate_password")] - public static extern int ll_pdf_authenticate_password(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_pdf_authenticate_password(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_bake_document")] public static extern void ll_pdf_bake_document(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); @@ -74424,7 +76581,7 @@ static mupdfPINVOKE() { public static extern void ll_pdf_begin_implicit_operation(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_begin_operation")] - public static extern void ll_pdf_begin_operation(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_begin_operation(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_bound_annot")] public static extern global::System.IntPtr ll_pdf_bound_annot(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -74466,7 +76623,6 @@ static mupdfPINVOKE() { public static extern int ll_pdf_check_widget_digest(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_choice_field_option")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_choice_field_option(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_choice_field_option_count")] @@ -74491,8 +76647,7 @@ static mupdfPINVOKE() { public static extern void ll_pdf_clean_file(string jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_clean_font_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string ll_pdf_clean_font_name([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string ll_pdf_clean_font_name(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_clean_obj")] public static extern void ll_pdf_clean_obj(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -74518,6 +76673,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_clear_xref_to_mark")] public static extern void ll_pdf_clear_xref_to_mark(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_clip_page")] + public static extern void ll_pdf_clip_page(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_close_processor")] public static extern void ll_pdf_close_processor(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -74579,10 +76737,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_create_document(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_create_field_name")] - public static extern void ll_pdf_create_field_name(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, string jarg3, uint jarg4); + public static extern void ll_pdf_create_field_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_create_link")] - public static extern global::System.IntPtr ll_pdf_create_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr ll_pdf_create_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_create_object")] public static extern int ll_pdf_create_object(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -74600,7 +76758,6 @@ static mupdfPINVOKE() { public static extern int ll_pdf_crypt_length(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_crypt_method")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_crypt_method(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_crypt_obj")] @@ -74622,11 +76779,9 @@ static mupdfPINVOKE() { public static extern int ll_pdf_crypt_revision(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_crypt_stream_method")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_crypt_stream_method(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_crypt_string_method")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_crypt_string_method(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_crypt_user_encryption")] @@ -74684,7 +76839,7 @@ static mupdfPINVOKE() { public static extern void ll_pdf_dict_del(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_dels")] - public static extern void ll_pdf_dict_dels(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_dict_dels(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get")] public static extern global::System.IntPtr ll_pdf_dict_get(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -74717,7 +76872,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_dict_get_inheritable_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_inheritable_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_dict_get_inheritable_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_inheritable_real")] @@ -74727,11 +76881,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_dict_get_inheritable_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_inheritable_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_dict_get_inheritable_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_inheritable_text_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_dict_get_inheritable_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_int")] @@ -74750,7 +76902,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_dict_get_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_dict_get_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_point")] @@ -74769,15 +76920,12 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_dict_get_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_dict_get_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_text_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_dict_get_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_text_string_opt")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_dict_get_text_string_opt(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_val")] @@ -74787,19 +76935,19 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_dict_geta(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_getp")] - public static extern global::System.IntPtr ll_pdf_dict_getp(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_pdf_dict_getp(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_getp_inheritable")] - public static extern global::System.IntPtr ll_pdf_dict_getp_inheritable(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_pdf_dict_getp_inheritable(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_gets")] - public static extern global::System.IntPtr ll_pdf_dict_gets(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_pdf_dict_gets(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_gets_inheritable")] - public static extern global::System.IntPtr ll_pdf_dict_gets_inheritable(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_pdf_dict_gets_inheritable(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_getsa")] - public static extern global::System.IntPtr ll_pdf_dict_getsa(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr ll_pdf_dict_getsa(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_len")] public static extern int ll_pdf_dict_len(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -74832,7 +76980,7 @@ static mupdfPINVOKE() { public static extern void ll_pdf_dict_put_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_put_name")] - public static extern void ll_pdf_dict_put_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void ll_pdf_dict_put_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_put_point")] public static extern void ll_pdf_dict_put_point(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -74844,28 +76992,28 @@ static mupdfPINVOKE() { public static extern void ll_pdf_dict_put_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_put_string")] - public static extern void ll_pdf_dict_put_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, uint jarg4); + public static extern void ll_pdf_dict_put_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_put_text_string")] - public static extern void ll_pdf_dict_put_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void ll_pdf_dict_put_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_put_val_null")] public static extern void ll_pdf_dict_put_val_null(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_putp")] - public static extern void ll_pdf_dict_putp(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void ll_pdf_dict_putp(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_putp_drop")] - public static extern void ll_pdf_dict_putp_drop(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void ll_pdf_dict_putp_drop(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_puts")] - public static extern void ll_pdf_dict_puts(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void ll_pdf_dict_puts(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_puts_dict")] - public static extern global::System.IntPtr ll_pdf_dict_puts_dict(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr ll_pdf_dict_puts_dict(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_puts_drop")] - public static extern void ll_pdf_dict_puts_drop(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void ll_pdf_dict_puts_drop(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dirty_annot")] public static extern void ll_pdf_dirty_annot(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -74991,7 +77139,7 @@ static mupdfPINVOKE() { public static extern void ll_pdf_drop_widget(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_edit_text_field_value")] - public static extern int ll_pdf_edit_text_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern int ll_pdf_edit_text_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_empty_store")] public static extern void ll_pdf_empty_store(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -75030,10 +77178,10 @@ static mupdfPINVOKE() { public static extern void ll_pdf_event_issue_alert(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_event_issue_exec_menu_item")] - public static extern void ll_pdf_event_issue_exec_menu_item(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_event_issue_exec_menu_item(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_event_issue_launch_url")] - public static extern void ll_pdf_event_issue_launch_url(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void ll_pdf_event_issue_launch_url(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_event_issue_mail_doc")] public static extern void ll_pdf_event_issue_mail_doc(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -75057,23 +77205,22 @@ static mupdfPINVOKE() { public static extern int ll_pdf_field_event_keystroke(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_field_event_validate")] - public static extern int ll_pdf_field_event_validate(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int ll_pdf_field_event_validate(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_field_flags")] public static extern int ll_pdf_field_flags(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_field_label")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_field_label(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_field_reset")] public static extern void ll_pdf_field_reset(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_field_set_border_style")] - public static extern void ll_pdf_field_set_border_style(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_field_set_border_style(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_field_set_button_caption")] - public static extern void ll_pdf_field_set_button_caption(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_field_set_button_caption(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_field_set_display")] public static extern void ll_pdf_field_set_display(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -75088,11 +77235,9 @@ static mupdfPINVOKE() { public static extern int ll_pdf_field_type(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_field_type_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_field_type_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_field_value")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_field_value(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_filter_annot_contents")] @@ -75104,6 +77249,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_filter_xobject_instance")] public static extern global::System.IntPtr ll_pdf_filter_xobject_instance(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_find_colorspace_resource")] + public static extern global::System.IntPtr ll_pdf_find_colorspace_resource(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_find_font_resource")] public static extern global::System.IntPtr ll_pdf_find_font_resource(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); @@ -75203,6 +77351,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_incremental_change_since_signing_widget")] public static extern int ll_pdf_incremental_change_since_signing_widget(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_insert_colorspace_resource")] + public static extern global::System.IntPtr ll_pdf_insert_colorspace_resource(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_insert_font_resource")] public static extern global::System.IntPtr ll_pdf_insert_font_resource(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -75213,7 +77364,7 @@ static mupdfPINVOKE() { public static extern int ll_pdf_intent_from_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_intent_from_string")] - public static extern int ll_pdf_intent_from_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_pdf_intent_from_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_invalidate_xfa")] public static extern void ll_pdf_invalidate_xfa(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -75231,7 +77382,7 @@ static mupdfPINVOKE() { public static extern int ll_pdf_is_embedded_file(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_is_field_locked")] - public static extern int ll_pdf_is_field_locked(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_pdf_is_field_locked(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_is_filespec")] public static extern int ll_pdf_is_filespec(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -75258,7 +77409,7 @@ static mupdfPINVOKE() { public static extern int ll_pdf_is_number(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_is_ocg_hidden")] - public static extern int ll_pdf_is_ocg_hidden(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int ll_pdf_is_ocg_hidden(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_is_real")] public static extern int ll_pdf_is_real(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -75273,7 +77424,7 @@ static mupdfPINVOKE() { public static extern int ll_pdf_is_tint_colorspace(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_js_event_init")] - public static extern void ll_pdf_js_event_init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern void ll_pdf_js_event_init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_js_event_init_keystroke")] public static extern void ll_pdf_js_event_init_keystroke(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -75291,7 +77442,7 @@ static mupdfPINVOKE() { public static extern string ll_pdf_js_event_value(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_js_execute")] - public static extern void ll_pdf_js_execute(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void ll_pdf_js_execute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_js_get_console")] public static extern global::System.IntPtr ll_pdf_js_get_console(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -75345,11 +77496,10 @@ static mupdfPINVOKE() { public static extern int ll_pdf_layer_is_enabled(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_layer_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_layer_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_layout_fit_text")] - public static extern global::System.IntPtr ll_pdf_layout_fit_text(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr ll_pdf_layout_fit_text(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_layout_text_widget")] public static extern global::System.IntPtr ll_pdf_layout_text_widget(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -75364,7 +77514,7 @@ static mupdfPINVOKE() { public static extern void ll_pdf_lexbuf_fin(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_lexbuf_grow")] - public static extern global::System.IntPtr ll_pdf_lexbuf_grow(global::System.Runtime.InteropServices.HandleRef jarg1); + public static extern int ll_pdf_lexbuf_grow(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_lexbuf_init")] public static extern void ll_pdf_lexbuf_init(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -75373,10 +77523,10 @@ static mupdfPINVOKE() { public static extern int ll_pdf_line_ending_from_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_line_ending_from_string")] - public static extern int ll_pdf_line_ending_from_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int ll_pdf_line_ending_from_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_builtin_cmap")] - public static extern global::System.IntPtr ll_pdf_load_builtin_cmap([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_pdf_load_builtin_cmap(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_cmap")] public static extern global::System.IntPtr ll_pdf_load_cmap(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -75400,13 +77550,12 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_load_embedded_file_contents(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_encoding")] - public static extern void ll_pdf_load_encoding(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_load_encoding(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_field_name")] public static extern string ll_pdf_load_field_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_field_name2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_load_field_name2(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_font")] @@ -75425,7 +77574,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_load_inline_image(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_journal")] - public static extern void ll_pdf_load_journal(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_load_journal(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_link_annots")] public static extern global::System.IntPtr ll_pdf_load_link_annots(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); @@ -75473,7 +77622,7 @@ static mupdfPINVOKE() { public static extern string ll_pdf_load_stream_or_string_as_utf8(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_system_cmap")] - public static extern global::System.IntPtr ll_pdf_load_system_cmap([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_pdf_load_system_cmap(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_to_unicode")] public static extern void ll_pdf_load_to_unicode(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); @@ -75497,17 +77646,16 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_lookup_dest(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_lookup_field")] - public static extern global::System.IntPtr ll_pdf_lookup_field(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_pdf_lookup_field(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_lookup_hmtx")] public static extern global::System.IntPtr ll_pdf_lookup_hmtx(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_lookup_metadata")] - public static extern int ll_pdf_lookup_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, string jarg3, uint jarg4); + public static extern int ll_pdf_lookup_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_lookup_metadata2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string ll_pdf_lookup_metadata2(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string ll_pdf_lookup_metadata2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_lookup_name")] public static extern global::System.IntPtr ll_pdf_lookup_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -75582,7 +77730,7 @@ static mupdfPINVOKE() { public static extern int ll_pdf_needs_password(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_action_from_link")] - public static extern global::System.IntPtr ll_pdf_new_action_from_link(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_pdf_new_action_from_link(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_array")] public static extern global::System.IntPtr ll_pdf_new_array(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -75603,7 +77751,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_new_date(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_dest_from_link")] - public static extern global::System.IntPtr ll_pdf_new_dest_from_link(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr ll_pdf_new_dest_from_link(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_dict")] public static extern global::System.IntPtr ll_pdf_new_dict(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -75612,7 +77760,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_new_display_list_from_annot(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_encrypt")] - public static extern global::System.IntPtr ll_pdf_new_encrypt([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, int jarg5); + public static extern global::System.IntPtr ll_pdf_new_encrypt(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_font_desc")] public static extern global::System.IntPtr ll_pdf_new_font_desc(); @@ -75630,7 +77778,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_new_int(long jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_link")] - public static extern global::System.IntPtr ll_pdf_new_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr ll_pdf_new_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_local_xref")] public static extern global::System.IntPtr ll_pdf_new_local_xref(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -75642,7 +77790,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_new_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_name")] - public static extern global::System.IntPtr ll_pdf_new_name([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_pdf_new_name(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_outline_iterator")] public static extern global::System.IntPtr ll_pdf_new_outline_iterator(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -75657,16 +77805,16 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_new_pixmap_from_annot(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_pixmap_from_page_contents_with_separations_and_usage")] - public static extern global::System.IntPtr ll_pdf_new_pixmap_from_page_contents_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6, int jarg7); + public static extern global::System.IntPtr ll_pdf_new_pixmap_from_page_contents_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, string jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_pixmap_from_page_contents_with_usage")] - public static extern global::System.IntPtr ll_pdf_new_pixmap_from_page_contents_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, int jarg6); + public static extern global::System.IntPtr ll_pdf_new_pixmap_from_page_contents_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_pixmap_from_page_with_separations_and_usage")] - public static extern global::System.IntPtr ll_pdf_new_pixmap_from_page_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6, int jarg7); + public static extern global::System.IntPtr ll_pdf_new_pixmap_from_page_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, string jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_pixmap_from_page_with_usage")] - public static extern global::System.IntPtr ll_pdf_new_pixmap_from_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, int jarg6); + public static extern global::System.IntPtr ll_pdf_new_pixmap_from_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_point")] public static extern global::System.IntPtr ll_pdf_new_point(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -75681,7 +77829,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_new_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_run_processor")] - public static extern global::System.IntPtr ll_pdf_new_run_processor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); + public static extern global::System.IntPtr ll_pdf_new_run_processor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_sanitize_filter")] public static extern global::System.IntPtr ll_pdf_new_sanitize_filter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); @@ -75690,25 +77838,25 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_new_stext_page_from_annot(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_string")] - public static extern global::System.IntPtr ll_pdf_new_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, uint jarg2); + public static extern global::System.IntPtr ll_pdf_new_string(string jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_text_string")] - public static extern global::System.IntPtr ll_pdf_new_text_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_pdf_new_text_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_uri_from_explicit_dest")] public static extern string ll_pdf_new_uri_from_explicit_dest(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_uri_from_path_and_explicit_dest")] - public static extern string ll_pdf_new_uri_from_path_and_explicit_dest([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern string ll_pdf_new_uri_from_path_and_explicit_dest(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_uri_from_path_and_named_dest")] - public static extern string ll_pdf_new_uri_from_path_and_named_dest([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string ll_pdf_new_uri_from_path_and_named_dest(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_utf8_from_pdf_stream_obj")] public static extern string ll_pdf_new_utf8_from_pdf_stream_obj(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_utf8_from_pdf_string")] - public static extern string ll_pdf_new_utf8_from_pdf_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, uint jarg2); + public static extern string ll_pdf_new_utf8_from_pdf_string(string jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_new_utf8_from_pdf_string_obj")] public static extern string ll_pdf_new_utf8_from_pdf_string_obj(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -75771,7 +77919,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_open_crypt_with_filter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_open_document")] - public static extern global::System.IntPtr ll_pdf_open_document([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr ll_pdf_open_document(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_open_document_with_stream")] public static extern global::System.IntPtr ll_pdf_open_document_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -75849,13 +77997,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_parse_array(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_parse_date")] - public static extern long ll_pdf_parse_date([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern long ll_pdf_parse_date(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_parse_default_appearance")] - public static extern void ll_pdf_parse_default_appearance([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void ll_pdf_parse_default_appearance(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_parse_default_appearance_unmapped")] - public static extern void ll_pdf_parse_default_appearance_unmapped([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern void ll_pdf_parse_default_appearance_unmapped(string jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_parse_dict")] public static extern global::System.IntPtr ll_pdf_parse_dict(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -75870,22 +78018,22 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_parse_stm_obj(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_parse_write_options")] - public static extern global::System.IntPtr ll_pdf_parse_write_options(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_pdf_parse_write_options(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_pin_document")] public static extern global::System.IntPtr ll_pdf_pin_document(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_preview_signature_as_display_list")] - public static extern global::System.IntPtr ll_pdf_preview_signature_as_display_list(float jarg1, float jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg7, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg8); + public static extern global::System.IntPtr ll_pdf_preview_signature_as_display_list(float jarg1, float jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, string jarg7, string jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_preview_signature_as_pixmap")] - public static extern global::System.IntPtr ll_pdf_preview_signature_as_pixmap(int jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg7, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg8); + public static extern global::System.IntPtr ll_pdf_preview_signature_as_pixmap(int jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, string jarg7, string jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_print_crypt")] public static extern void ll_pdf_print_crypt(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_print_default_appearance")] - public static extern void ll_pdf_print_default_appearance(string jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, float jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern void ll_pdf_print_default_appearance(string jarg1, int jarg2, string jarg3, float jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_print_encrypted_obj")] public static extern void ll_pdf_print_encrypted_obj(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6, int jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); @@ -75917,8 +78065,8 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_progressive_advance")] public static extern global::System.IntPtr ll_pdf_progressive_advance(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_purge_local_font_resources")] - public static extern void ll_pdf_purge_local_font_resources(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_purge_local_resources")] + public static extern void ll_pdf_purge_local_resources(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_purge_locals_from_store")] public static extern void ll_pdf_purge_locals_from_store(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -75933,10 +78081,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_read_ocg(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_rearrange_pages")] - public static extern void ll_pdf_rearrange_pages(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void ll_pdf_rearrange_pages(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_rearrange_pages2")] - public static extern void ll_pdf_rearrange_pages2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern void ll_pdf_rearrange_pages2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_recolor_page")] public static extern void ll_pdf_recolor_page(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -75968,6 +78116,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_repair_xref")] public static extern void ll_pdf_repair_xref(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_repair_xref_base")] + public static extern void ll_pdf_repair_xref_base(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_replace_xref")] public static extern void ll_pdf_replace_xref(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); @@ -75984,10 +78135,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_resolve_indirect_chain(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_resolve_link")] - public static extern int ll_pdf_resolve_link(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int ll_pdf_resolve_link(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_resolve_link_dest")] - public static extern global::System.IntPtr ll_pdf_resolve_link_dest(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr ll_pdf_resolve_link_dest(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_rewrite_images")] public static extern void ll_pdf_rewrite_images(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -75999,7 +78150,7 @@ static mupdfPINVOKE() { public static extern void ll_pdf_run_document_structure(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_run_glyph")] - public static extern void ll_pdf_run_glyph(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); + public static extern void ll_pdf_run_glyph(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_run_page")] public static extern void ll_pdf_run_page(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -76008,34 +78159,34 @@ static mupdfPINVOKE() { public static extern void ll_pdf_run_page_annots(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_run_page_annots_with_usage")] - public static extern void ll_pdf_run_page_annots_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void ll_pdf_run_page_annots_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_run_page_contents")] public static extern void ll_pdf_run_page_contents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_run_page_contents_with_usage")] - public static extern void ll_pdf_run_page_contents_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void ll_pdf_run_page_contents_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_run_page_widgets")] public static extern void ll_pdf_run_page_widgets(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_run_page_widgets_with_usage")] - public static extern void ll_pdf_run_page_widgets_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void ll_pdf_run_page_widgets_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_run_page_with_usage")] - public static extern void ll_pdf_run_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void ll_pdf_run_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_sample_shade_function")] public static extern void ll_pdf_sample_shade_function(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, float jarg5, float jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_save_document")] - public static extern void ll_pdf_save_document(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void ll_pdf_save_document(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_save_journal")] - public static extern void ll_pdf_save_journal(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_save_journal(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_save_snapshot")] - public static extern void ll_pdf_save_snapshot(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_save_snapshot(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_select_layer_config")] public static extern void ll_pdf_select_layer_config(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -76050,13 +78201,13 @@ static mupdfPINVOKE() { public static extern void ll_pdf_set_annot_active(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_annot_appearance")] - public static extern void ll_pdf_set_annot_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); + public static extern void ll_pdf_set_annot_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_annot_appearance_from_display_list")] - public static extern void ll_pdf_set_annot_appearance_from_display_list(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void ll_pdf_set_annot_appearance_from_display_list(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_annot_author")] - public static extern void ll_pdf_set_annot_author(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_set_annot_author(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_annot_border")] public static extern void ll_pdf_set_annot_border(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); @@ -76086,16 +78237,16 @@ static mupdfPINVOKE() { public static extern void ll_pdf_set_annot_color(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_annot_contents")] - public static extern void ll_pdf_set_annot_contents(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_set_annot_contents(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_annot_creation_date")] public static extern void ll_pdf_set_annot_creation_date(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_annot_default_appearance")] - public static extern void ll_pdf_set_annot_default_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, float jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void ll_pdf_set_annot_default_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, float jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_annot_field_value")] - public static extern int ll_pdf_set_annot_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern int ll_pdf_set_annot_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_annot_filespec")] public static extern void ll_pdf_set_annot_filespec(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -76110,7 +78261,7 @@ static mupdfPINVOKE() { public static extern void ll_pdf_set_annot_hot(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_annot_icon_name")] - public static extern void ll_pdf_set_annot_icon_name(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_set_annot_icon_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_annot_ink_list")] public static extern void ll_pdf_set_annot_ink_list(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -76185,7 +78336,7 @@ static mupdfPINVOKE() { public static extern void ll_pdf_set_annot_vertices(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_choice_field_value")] - public static extern int ll_pdf_set_choice_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_pdf_set_choice_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_cmap_wmode")] public static extern void ll_pdf_set_cmap_wmode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -76203,7 +78354,7 @@ static mupdfPINVOKE() { public static extern void ll_pdf_set_document_language(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_field_value")] - public static extern int ll_pdf_set_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern int ll_pdf_set_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_font_wmode")] public static extern void ll_pdf_set_font_wmode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -76224,7 +78375,7 @@ static mupdfPINVOKE() { public static extern void ll_pdf_set_page_box(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_page_labels")] - public static extern void ll_pdf_set_page_labels(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, int jarg5); + public static extern void ll_pdf_set_page_labels(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_populating_xref_trailer")] public static extern void ll_pdf_set_populating_xref_trailer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -76233,7 +78384,7 @@ static mupdfPINVOKE() { public static extern void ll_pdf_set_str_len(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_text_field_value")] - public static extern int ll_pdf_set_text_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int ll_pdf_set_text_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_set_usecmap")] public static extern void ll_pdf_set_usecmap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -76242,13 +78393,13 @@ static mupdfPINVOKE() { public static extern void ll_pdf_set_widget_editing_state(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_sign_signature")] - public static extern void ll_pdf_sign_signature(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6); + public static extern void ll_pdf_sign_signature(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, string jarg5, string jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_sign_signature_with_appearance")] public static extern void ll_pdf_sign_signature_with_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_signature_appearance_signed")] - public static extern global::System.IntPtr ll_pdf_signature_appearance_signed(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, int jarg6); + public static extern global::System.IntPtr ll_pdf_signature_appearance_signed(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, string jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_signature_appearance_unsigned")] public static extern global::System.IntPtr ll_pdf_signature_appearance_unsigned(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -76281,7 +78432,7 @@ static mupdfPINVOKE() { public static extern int ll_pdf_signature_incremental_change_since_signing(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_signature_info")] - public static extern string ll_pdf_signature_info([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, long jarg5, int jarg6); + public static extern string ll_pdf_signature_info(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4, long jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_signature_is_signed")] public static extern int ll_pdf_signature_is_signed(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -76305,15 +78456,12 @@ static mupdfPINVOKE() { public static extern void ll_pdf_store_item(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_string_from_annot_type")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_string_from_annot_type(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_string_from_intent")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_string_from_intent(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_string_from_line_ending")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_string_from_line_ending(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_structure_type")] @@ -76368,7 +78516,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_to_matrix(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_to_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_to_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_to_num")] @@ -76396,11 +78543,9 @@ static mupdfPINVOKE() { public static extern uint ll_pdf_to_str_len(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_to_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_to_text_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_to_text_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_toggle_layer_config_ui")] @@ -76446,7 +78591,6 @@ static mupdfPINVOKE() { public static extern int ll_pdf_undoredo_state(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_undoredo_step")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_undoredo_step(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_unmark_obj")] @@ -76567,228 +78711,179 @@ static mupdfPINVOKE() { public static extern int ll_pdf_zugferd_profile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_zugferd_profile_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_zugferd_profile_to_string(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_zugferd_xml")] public static extern global::System.IntPtr ll_pdf_zugferd_xml(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_aa_context")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_aa_context(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_0")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_color_params")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_color_params(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_1")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_cookie")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_cookie(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_draw_options")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_draw_options(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_3")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_install_load_system_font_funcs_args")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_install_load_system_font_funcs_args(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_4")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_irect")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_irect(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_5")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_location")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_location(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_6")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_6(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_matrix")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_matrix(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_7")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_7(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_md5")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_md5(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_8")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_8(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_outline_item")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_outline_item(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_9")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_9(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_pdfocr_options")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_pdfocr_options(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_10")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_10(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_point")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_point(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_11")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_11(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_pwg_options")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_pwg_options(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_12")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_12(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_quad")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_quad(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_13")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_13(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_rect")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_rect(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_14")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_14(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_stext_options")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_stext_options(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_15")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_15(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_story_element_position")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_story_element_position(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_16")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_16(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_fz_transition")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_fz_transition(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_17")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_17(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_pdf_clean_options")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_pdf_clean_options(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_18")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_18(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_pdf_filter_factory")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_pdf_filter_factory(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_19")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_19(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_pdf_filter_options")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_pdf_filter_options(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_20")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_20(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_pdf_image_rewriter_options")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_pdf_image_rewriter_options(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_21")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_21(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_pdf_layer_config")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_pdf_layer_config(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_22")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_22(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_pdf_layer_config_ui")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string_pdf_layer_config_ui(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_23")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_23(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_pdf_redact_options")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string to_string_pdf_redact_options(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_pdf_recolor_options")] + public static extern string to_string_pdf_recolor_options(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_24")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_24(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_pdf_sanitize_filter_options")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string to_string_pdf_sanitize_filter_options(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_pdf_redact_options")] + public static extern string to_string_pdf_redact_options(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_25")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_25(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_pdf_write_options")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string to_string_pdf_write_options(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_pdf_sanitize_filter_options")] + public static extern string to_string_pdf_sanitize_filter_options(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_26")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string to_string__SWIG_26(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string_pdf_write_options")] + public static extern string to_string_pdf_write_options(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_to_string__SWIG_27")] + public static extern string to_string__SWIG_27(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_reinit_singlethreaded")] public static extern void reinit_singlethreaded(); @@ -76847,9 +78942,32 @@ static mupdfPINVOKE() { public static extern int FzAaContext_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzAaContext_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzAaContext_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzActivityContext__SWIG_0")] + public static extern global::System.IntPtr new_FzActivityContext__SWIG_0(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzActivityContext__SWIG_1")] + public static extern global::System.IntPtr new_FzActivityContext__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzActivityContext")] + public static extern void delete_FzActivityContext(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzActivityContext_m_internal_value")] + public static extern long FzActivityContext_m_internal_value(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzActivityContext_m_internal_set")] + public static extern void FzActivityContext_m_internal_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzActivityContext_m_internal_get")] + public static extern global::System.IntPtr FzActivityContext_m_internal_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzActivityContext_s_num_instances_set")] + public static extern void FzActivityContext_s_num_instances_set(int jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzActivityContext_s_num_instances_get")] + public static extern int FzActivityContext_s_num_instances_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzAes__SWIG_0")] public static extern global::System.IntPtr new_FzAes__SWIG_0(); @@ -76953,45 +79071,43 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzArchive__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzArchive_fz_archive_format")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzArchive_fz_archive_format(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzArchive_fz_count_archive_entries")] public static extern int FzArchive_fz_count_archive_entries(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzArchive_fz_has_archive_entry")] - public static extern int FzArchive_fz_has_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int FzArchive_fz_has_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzArchive_fz_list_archive_entry")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzArchive_fz_list_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzArchive_fz_mount_multi_archive")] - public static extern void FzArchive_fz_mount_multi_archive(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void FzArchive_fz_mount_multi_archive(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzArchive_fz_open_archive_entry")] - public static extern global::System.IntPtr FzArchive_fz_open_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzArchive_fz_open_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzArchive_fz_parse_xml_archive_entry")] - public static extern global::System.IntPtr FzArchive_fz_parse_xml_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr FzArchive_fz_parse_xml_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzArchive_fz_read_archive_entry")] - public static extern global::System.IntPtr FzArchive_fz_read_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzArchive_fz_read_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzArchive_fz_tree_archive_add_buffer")] - public static extern void FzArchive_fz_tree_archive_add_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void FzArchive_fz_tree_archive_add_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzArchive_fz_tree_archive_add_data")] - public static extern void FzArchive_fz_tree_archive_add_data(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4); + public static extern void FzArchive_fz_tree_archive_add_data(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzArchive_fz_try_open_archive_entry")] - public static extern global::System.IntPtr FzArchive_fz_try_open_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzArchive_fz_try_open_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzArchive_fz_try_parse_xml_archive_entry")] - public static extern global::System.IntPtr FzArchive_fz_try_parse_xml_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr FzArchive_fz_try_parse_xml_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzArchive_fz_try_read_archive_entry")] - public static extern global::System.IntPtr FzArchive_fz_try_read_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzArchive_fz_try_read_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzArchive__SWIG_4")] public static extern global::System.IntPtr new_FzArchive__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -77153,13 +79269,13 @@ static mupdfPINVOKE() { public static extern void FzBitmap_fz_invert_bitmap(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBitmap_fz_save_bitmap_as_pbm")] - public static extern void FzBitmap_fz_save_bitmap_as_pbm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzBitmap_fz_save_bitmap_as_pbm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBitmap_fz_save_bitmap_as_pcl")] public static extern void FzBitmap_fz_save_bitmap_as_pcl(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBitmap_fz_save_bitmap_as_pkm")] - public static extern void FzBitmap_fz_save_bitmap_as_pkm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzBitmap_fz_save_bitmap_as_pkm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBitmap_fz_save_bitmap_as_pwg")] public static extern void FzBitmap_fz_save_bitmap_as_pwg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -77213,7 +79329,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzBuffer__SWIG_0(uint jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzBuffer__SWIG_1")] - public static extern global::System.IntPtr new_FzBuffer__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, uint jarg2); + public static extern global::System.IntPtr new_FzBuffer__SWIG_1(string jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzBuffer__SWIG_2")] public static extern global::System.IntPtr new_FzBuffer__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); @@ -77237,7 +79353,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzBuffer__SWIG_8(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzBuffer__SWIG_9")] - public static extern global::System.IntPtr new_FzBuffer__SWIG_9(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr new_FzBuffer__SWIG_9(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzBuffer__SWIG_10")] public static extern global::System.IntPtr new_FzBuffer__SWIG_10(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4); @@ -77252,7 +79368,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzBuffer__SWIG_14(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzBuffer__SWIG_15")] - public static extern global::System.IntPtr new_FzBuffer__SWIG_15([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzBuffer__SWIG_15(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzBuffer__SWIG_16")] public static extern global::System.IntPtr new_FzBuffer__SWIG_16(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -77314,8 +79430,11 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_append_int32_le")] public static extern void FzBuffer_fz_append_int32_le(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_append_json")] + public static extern void FzBuffer_fz_append_json(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_append_pdf_string")] - public static extern void FzBuffer_fz_append_pdf_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzBuffer_fz_append_pdf_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_append_pixmap_as_data_uri")] public static extern void FzBuffer_fz_append_pixmap_as_data_uri(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -77324,7 +79443,7 @@ static mupdfPINVOKE() { public static extern void FzBuffer_fz_append_rune(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_append_string")] - public static extern void FzBuffer_fz_append_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzBuffer_fz_append_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_buffer_extract")] public static extern uint FzBuffer_fz_buffer_extract(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -77348,13 +79467,13 @@ static mupdfPINVOKE() { public static extern void FzBuffer_fz_md5_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_new_display_list_from_svg")] - public static extern global::System.IntPtr FzBuffer_fz_new_display_list_from_svg(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr FzBuffer_fz_new_display_list_from_svg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_new_image_from_buffer")] public static extern global::System.IntPtr FzBuffer_fz_new_image_from_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_new_image_from_svg")] - public static extern global::System.IntPtr FzBuffer_fz_new_image_from_svg(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr FzBuffer_fz_new_image_from_svg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_open_buffer")] public static extern global::System.IntPtr FzBuffer_fz_open_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -77369,13 +79488,12 @@ static mupdfPINVOKE() { public static extern void FzBuffer_fz_resize_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_save_buffer")] - public static extern void FzBuffer_fz_save_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzBuffer_fz_save_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_slice_buffer")] public static extern global::System.IntPtr FzBuffer_fz_slice_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_string_from_buffer")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzBuffer_fz_string_from_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzBuffer_fz_subset_cff_for_gids")] @@ -77463,7 +79581,6 @@ static mupdfPINVOKE() { public static extern int FzColorParams_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzColorParams_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzColorParams_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzColorspace__SWIG_0")] @@ -77473,10 +79590,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzColorspace__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzColorspace__SWIG_2")] - public static extern global::System.IntPtr new_FzColorspace__SWIG_2(int jarg1, int jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr new_FzColorspace__SWIG_2(int jarg1, int jarg2, int jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzColorspace__SWIG_3")] - public static extern global::System.IntPtr new_FzColorspace__SWIG_3(int jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr new_FzColorspace__SWIG_3(int jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzColorspace__SWIG_4")] public static extern global::System.IntPtr new_FzColorspace__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -77497,7 +79614,6 @@ static mupdfPINVOKE() { public static extern void FzColorspace_fz_clamp_color(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzColorspace_fz_colorspace_colorant")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzColorspace_fz_colorspace_colorant(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzColorspace_fz_colorspace_device_n_has_cmyk")] @@ -77506,6 +79622,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzColorspace_fz_colorspace_device_n_has_only_cmyk")] public static extern int FzColorspace_fz_colorspace_device_n_has_only_cmyk(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzColorspace_fz_colorspace_digest")] + public static extern void FzColorspace_fz_colorspace_digest(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzColorspace_fz_colorspace_is_cmyk")] public static extern int FzColorspace_fz_colorspace_is_cmyk(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -77524,6 +79643,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzColorspace_fz_colorspace_is_gray")] public static extern int FzColorspace_fz_colorspace_is_gray(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzColorspace_fz_colorspace_is_icc")] + public static extern int FzColorspace_fz_colorspace_is_icc(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzColorspace_fz_colorspace_is_indexed")] public static extern int FzColorspace_fz_colorspace_is_indexed(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -77543,11 +79665,10 @@ static mupdfPINVOKE() { public static extern int FzColorspace_fz_colorspace_n(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzColorspace_fz_colorspace_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzColorspace_fz_colorspace_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzColorspace_fz_colorspace_name_colorant")] - public static extern void FzColorspace_fz_colorspace_name_colorant(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void FzColorspace_fz_colorspace_name_colorant(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzColorspace_fz_colorspace_type")] public static extern int FzColorspace_fz_colorspace_type(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -77715,7 +79836,7 @@ static mupdfPINVOKE() { public static extern int FzCompressionParams_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzContext__SWIG_0")] - public static extern global::System.IntPtr new_FzContext__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr new_FzContext__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzContext__SWIG_1")] public static extern global::System.IntPtr new_FzContext__SWIG_1(); @@ -77781,7 +79902,6 @@ static mupdfPINVOKE() { public static extern int FzCookie_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzCookie_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzCookie_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDefaultColorspaces__SWIG_0")] @@ -77866,7 +79986,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzDevice__SWIG_7(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDevice__SWIG_8")] - public static extern global::System.IntPtr new_FzDevice__SWIG_8(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); + public static extern global::System.IntPtr new_FzDevice__SWIG_8(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, string jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDevice__SWIG_9")] public static extern global::System.IntPtr new_FzDevice__SWIG_9(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -77902,16 +80022,16 @@ static mupdfPINVOKE() { public static extern void FzDevice_fz_begin_group(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, int jarg5, int jarg6, float jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice_fz_begin_layer")] - public static extern void FzDevice_fz_begin_layer(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzDevice_fz_begin_layer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice_fz_begin_mask")] public static extern void FzDevice_fz_begin_mask(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice_fz_begin_metatext")] - public static extern void FzDevice_fz_begin_metatext(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void FzDevice_fz_begin_metatext(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice_fz_begin_structure")] - public static extern void FzDevice_fz_begin_structure(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern void FzDevice_fz_begin_structure(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice_fz_begin_tile")] public static extern void FzDevice_fz_begin_tile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, float jarg4, float jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); @@ -77986,7 +80106,7 @@ static mupdfPINVOKE() { public static extern void FzDevice_fz_ignore_text(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice_fz_new_ocr_device")] - public static extern global::System.IntPtr FzDevice_fz_new_ocr_device(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); + public static extern global::System.IntPtr FzDevice_fz_new_ocr_device(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, string jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice_fz_pop_clip")] public static extern void FzDevice_fz_pop_clip(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -77995,7 +80115,7 @@ static mupdfPINVOKE() { public static extern void FzDevice_fz_render_flags(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice_fz_render_t3_glyph_direct")] - public static extern void FzDevice_fz_render_t3_glyph_direct(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern void FzDevice_fz_render_t3_glyph_direct(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice_fz_set_default_colorspaces")] public static extern void FzDevice_fz_set_default_colorspaces(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -78030,6 +80150,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDevice2")] public static extern global::System.IntPtr new_FzDevice2(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzDevice2")] + public static extern void delete_FzDevice2(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice2_use_virtual_close_device__SWIG_0")] public static extern void FzDevice2_use_virtual_close_device__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); @@ -78355,10 +80478,10 @@ static mupdfPINVOKE() { public static extern void FzDevice2_set_default_colorspacesSwigExplicitFzDevice2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice2_begin_layer")] - public static extern void FzDevice2_begin_layer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void FzDevice2_begin_layer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice2_begin_layerSwigExplicitFzDevice2")] - public static extern void FzDevice2_begin_layerSwigExplicitFzDevice2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void FzDevice2_begin_layerSwigExplicitFzDevice2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice2_end_layer")] public static extern void FzDevice2_end_layer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -78367,10 +80490,10 @@ static mupdfPINVOKE() { public static extern void FzDevice2_end_layerSwigExplicitFzDevice2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice2_begin_structure")] - public static extern void FzDevice2_begin_structure(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, int jarg5); + public static extern void FzDevice2_begin_structure(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, string jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice2_begin_structureSwigExplicitFzDevice2")] - public static extern void FzDevice2_begin_structureSwigExplicitFzDevice2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, int jarg5); + public static extern void FzDevice2_begin_structureSwigExplicitFzDevice2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, string jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice2_end_structure")] public static extern void FzDevice2_end_structure(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -78379,10 +80502,10 @@ static mupdfPINVOKE() { public static extern void FzDevice2_end_structureSwigExplicitFzDevice2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice2_begin_metatext")] - public static extern void FzDevice2_begin_metatext(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern void FzDevice2_begin_metatext(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice2_begin_metatextSwigExplicitFzDevice2")] - public static extern void FzDevice2_begin_metatextSwigExplicitFzDevice2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern void FzDevice2_begin_metatextSwigExplicitFzDevice2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice2_end_metatext")] public static extern void FzDevice2_end_metatext(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -78390,9 +80513,6 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice2_end_metatextSwigExplicitFzDevice2")] public static extern void FzDevice2_end_metatextSwigExplicitFzDevice2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzDevice2")] - public static extern void delete_FzDevice2(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDevice2_director_connect")] public static extern void FzDevice2_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, FzDevice2.SwigDelegateFzDevice2_0 delegate0, FzDevice2.SwigDelegateFzDevice2_1 delegate1, FzDevice2.SwigDelegateFzDevice2_2 delegate2, FzDevice2.SwigDelegateFzDevice2_3 delegate3, FzDevice2.SwigDelegateFzDevice2_4 delegate4, FzDevice2.SwigDelegateFzDevice2_5 delegate5, FzDevice2.SwigDelegateFzDevice2_6 delegate6, FzDevice2.SwigDelegateFzDevice2_7 delegate7, FzDevice2.SwigDelegateFzDevice2_8 delegate8, FzDevice2.SwigDelegateFzDevice2_9 delegate9, FzDevice2.SwigDelegateFzDevice2_10 delegate10, FzDevice2.SwigDelegateFzDevice2_11 delegate11, FzDevice2.SwigDelegateFzDevice2_12 delegate12, FzDevice2.SwigDelegateFzDevice2_13 delegate13, FzDevice2.SwigDelegateFzDevice2_14 delegate14, FzDevice2.SwigDelegateFzDevice2_15 delegate15, FzDevice2.SwigDelegateFzDevice2_16 delegate16, FzDevice2.SwigDelegateFzDevice2_17 delegate17, FzDevice2.SwigDelegateFzDevice2_18 delegate18, FzDevice2.SwigDelegateFzDevice2_19 delegate19, FzDevice2.SwigDelegateFzDevice2_20 delegate20, FzDevice2.SwigDelegateFzDevice2_21 delegate21, FzDevice2.SwigDelegateFzDevice2_22 delegate22, FzDevice2.SwigDelegateFzDevice2_23 delegate23, FzDevice2.SwigDelegateFzDevice2_24 delegate24, FzDevice2.SwigDelegateFzDevice2_25 delegate25, FzDevice2.SwigDelegateFzDevice2_26 delegate26, FzDevice2.SwigDelegateFzDevice2_27 delegate27, FzDevice2.SwigDelegateFzDevice2_28 delegate28, FzDevice2.SwigDelegateFzDevice2_29 delegate29); @@ -78430,10 +80550,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzDisplayList__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDisplayList__SWIG_3")] - public static extern global::System.IntPtr new_FzDisplayList__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr new_FzDisplayList__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDisplayList__SWIG_4")] - public static extern global::System.IntPtr new_FzDisplayList__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern global::System.IntPtr new_FzDisplayList__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDisplayList__SWIG_5")] public static extern global::System.IntPtr new_FzDisplayList__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -78472,7 +80592,10 @@ static mupdfPINVOKE() { public static extern void FzDisplayList_fz_run_display_list(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDisplayList_fz_search_display_list")] - public static extern int FzDisplayList_fz_search_display_list(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + public static extern int FzDisplayList_fz_search_display_list(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDisplayList_fz_search_display_list_cb")] + public static extern int FzDisplayList_fz_search_display_list_cb(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDisplayList__SWIG_8")] public static extern global::System.IntPtr new_FzDisplayList__SWIG_8(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -78496,25 +80619,25 @@ static mupdfPINVOKE() { public static extern int FzDisplayList_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocument__SWIG_0")] - public static extern global::System.IntPtr new_FzDocument__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr new_FzDocument__SWIG_0(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocument__SWIG_1")] - public static extern global::System.IntPtr new_FzDocument__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr new_FzDocument__SWIG_1(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocument__SWIG_2")] - public static extern global::System.IntPtr new_FzDocument__SWIG_2([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr new_FzDocument__SWIG_2(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocument__SWIG_3")] - public static extern global::System.IntPtr new_FzDocument__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzDocument__SWIG_3(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocument__SWIG_4")] - public static extern global::System.IntPtr new_FzDocument__SWIG_4([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern global::System.IntPtr new_FzDocument__SWIG_4(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocument__SWIG_5")] - public static extern global::System.IntPtr new_FzDocument__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern global::System.IntPtr new_FzDocument__SWIG_5(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocument__SWIG_6")] - public static extern global::System.IntPtr new_FzDocument__SWIG_6([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr new_FzDocument__SWIG_6(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocument__SWIG_7")] public static extern global::System.IntPtr new_FzDocument__SWIG_7(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -78526,7 +80649,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzDocument_fz_new_xhtml_document_from_document__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_authenticate_password")] - public static extern int FzDocument_fz_authenticate_password(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int FzDocument_fz_authenticate_password(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_clamp_location")] public static extern global::System.IntPtr FzDocument_fz_clamp_location(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -78574,14 +80697,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzDocument_fz_location_from_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_lookup_bookmark")] - public static extern global::System.IntPtr FzDocument_fz_lookup_bookmark(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + public static extern global::System.IntPtr FzDocument_fz_lookup_bookmark(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_lookup_metadata")] - public static extern int FzDocument_fz_lookup_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, string jarg3, int jarg4); + public static extern int FzDocument_fz_lookup_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_lookup_metadata2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string FzDocument_fz_lookup_metadata2(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string FzDocument_fz_lookup_metadata2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_needs_password")] public static extern int FzDocument_fz_needs_password(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -78620,25 +80742,31 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzDocument_fz_process_opened_pages(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_resolve_link")] - public static extern global::System.IntPtr FzDocument_fz_resolve_link(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr FzDocument_fz_resolve_link(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_run_document_structure")] public static extern void FzDocument_fz_run_document_structure(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_save_accelerator")] - public static extern void FzDocument_fz_save_accelerator(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzDocument_fz_save_accelerator(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_search_chapter_page_number")] - public static extern int FzDocument_fz_search_chapter_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, int jarg7); + public static extern int FzDocument_fz_search_chapter_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, int jarg7); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_search_chapter_page_number_cb")] + public static extern int FzDocument_fz_search_chapter_page_number_cb(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_search_page2")] - public static extern global::System.IntPtr FzDocument_fz_search_page2(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern global::System.IntPtr FzDocument_fz_search_page2(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_search_page_number")] - public static extern int FzDocument_fz_search_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6); + public static extern int FzDocument_fz_search_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_search_page_number_cb")] + public static extern int FzDocument_fz_search_page_number_cb(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_fz_set_metadata")] - public static extern void FzDocument_fz_set_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void FzDocument_fz_set_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocument_pdf_count_pages_imp")] public static extern int FzDocument_pdf_count_pages_imp(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -78686,7 +80814,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzDocumentHandler_fz_document_handler_open(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocumentHandler_fz_document_handler_recognize")] - public static extern int FzDocumentHandler_fz_document_handler_recognize(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int FzDocumentHandler_fz_document_handler_recognize(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocumentHandler_fz_register_document_handler")] public static extern void FzDocumentHandler_fz_register_document_handler(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -78737,34 +80865,34 @@ static mupdfPINVOKE() { public static extern int FzDocumentHandlerContext_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocumentWriter__SWIG_0")] - public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_0(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_0(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocumentWriter__SWIG_1")] - public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_1(uint jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocumentWriter__SWIG_2")] - public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_2([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocumentWriter__SWIG_3")] - public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_3(string jarg1, string jarg2, string jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocumentWriter__SWIG_4")] - public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocumentWriter__SWIG_5")] - public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_5(string jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocumentWriter__SWIG_6")] - public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_6(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_6(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocumentWriter__SWIG_7")] - public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_7([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_7(string jarg1, string jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocumentWriter__SWIG_8")] - public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_8(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_8(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocumentWriter__SWIG_9")] - public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_9([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_9(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDocumentWriter__SWIG_10")] public static extern global::System.IntPtr new_FzDocumentWriter__SWIG_10(); @@ -78785,7 +80913,7 @@ static mupdfPINVOKE() { public static extern void FzDocumentWriter_fz_write_document(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocumentWriter_fz_write_stabilized_story")] - public static extern void FzDocumentWriter_fz_write_stabilized_story(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, float jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10); + public static extern void FzDocumentWriter_fz_write_stabilized_story(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, float jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDocumentWriter_fz_write_story")] public static extern void FzDocumentWriter_fz_write_story(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); @@ -78812,7 +80940,7 @@ static mupdfPINVOKE() { public static extern int FzDocumentWriter_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDrawOptions__SWIG_0")] - public static extern global::System.IntPtr new_FzDrawOptions__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr new_FzDrawOptions__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzDrawOptions__SWIG_1")] public static extern global::System.IntPtr new_FzDrawOptions__SWIG_1(); @@ -78887,7 +81015,6 @@ static mupdfPINVOKE() { public static extern int FzDrawOptions_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzDrawOptions_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzDrawOptions_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorContext__SWIG_0")] @@ -78939,25 +81066,25 @@ static mupdfPINVOKE() { public static extern int FzErrorStackSlot_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzFont__SWIG_0")] - public static extern global::System.IntPtr new_FzFont__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzFont__SWIG_0(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzFont__SWIG_1")] - public static extern global::System.IntPtr new_FzFont__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2, int jarg3); + public static extern global::System.IntPtr new_FzFont__SWIG_1(string jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzFont__SWIG_2")] public static extern global::System.IntPtr new_FzFont__SWIG_2(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzFont__SWIG_3")] - public static extern global::System.IntPtr new_FzFont__SWIG_3([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4); + public static extern global::System.IntPtr new_FzFont__SWIG_3(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzFont__SWIG_4")] - public static extern global::System.IntPtr new_FzFont__SWIG_4([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3, int jarg4); + public static extern global::System.IntPtr new_FzFont__SWIG_4(string jarg1, string jarg2, int jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzFont__SWIG_5")] - public static extern global::System.IntPtr new_FzFont__SWIG_5([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, int jarg5); + public static extern global::System.IntPtr new_FzFont__SWIG_5(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzFont__SWIG_6")] - public static extern global::System.IntPtr new_FzFont__SWIG_6([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern global::System.IntPtr new_FzFont__SWIG_6(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzFont__SWIG_7")] public static extern global::System.IntPtr new_FzFont__SWIG_7(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -78978,7 +81105,7 @@ static mupdfPINVOKE() { public static extern int FzFont_fz_encode_character(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzFont_fz_encode_character_by_glyph_name")] - public static extern int FzFont_fz_encode_character_by_glyph_name(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int FzFont_fz_encode_character_by_glyph_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzFont_fz_encode_character_sc")] public static extern int FzFont_fz_encode_character_sc(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -78986,6 +81113,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzFont_fz_encode_character_with_fallback")] public static extern int FzFont_fz_encode_character_with_fallback(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzFont_fz_enumerate_font_cmap")] + public static extern void FzFont_fz_enumerate_font_cmap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzFont_fz_enumerate_font_cmap2")] + public static extern global::System.IntPtr FzFont_fz_enumerate_font_cmap2(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzFont_fz_extract_ttf_from_ttc")] public static extern global::System.IntPtr FzFont_fz_extract_ttf_from_ttc(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -79017,7 +81150,6 @@ static mupdfPINVOKE() { public static extern int FzFont_fz_font_is_serif(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzFont_fz_font_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzFont_fz_font_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzFont_fz_font_t3_procs")] @@ -79027,14 +81159,13 @@ static mupdfPINVOKE() { public static extern void FzFont_fz_get_glyph_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzFont_fz_get_glyph_name2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzFont_fz_get_glyph_name2(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzFont_fz_glyph_cacheable")] public static extern int FzFont_fz_glyph_cacheable(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzFont_fz_measure_string")] - public static extern global::System.IntPtr FzFont_fz_measure_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4, int jarg5, int jarg6, int jarg7); + public static extern global::System.IntPtr FzFont_fz_measure_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4, int jarg5, int jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzFont_fz_outline_glyph")] public static extern global::System.IntPtr FzFont_fz_outline_glyph(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -79058,7 +81189,7 @@ static mupdfPINVOKE() { public static extern int FzFont_pdf_font_writing_supported(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzFont_pdf_layout_fit_text")] - public static extern global::System.IntPtr FzFont_pdf_layout_fit_text(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr FzFont_pdf_layout_fit_text(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzFont__SWIG_9")] public static extern global::System.IntPtr new_FzFont__SWIG_9(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -79358,16 +81489,16 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzImage__SWIG_3(float jarg1, float jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzImage__SWIG_4")] - public static extern global::System.IntPtr new_FzImage__SWIG_4([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzImage__SWIG_4(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzImage__SWIG_5")] public static extern global::System.IntPtr new_FzImage__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzImage__SWIG_6")] - public static extern global::System.IntPtr new_FzImage__SWIG_6(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr new_FzImage__SWIG_6(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzImage__SWIG_7")] - public static extern global::System.IntPtr new_FzImage__SWIG_7(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr new_FzImage__SWIG_7(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzImage__SWIG_8")] public static extern global::System.IntPtr new_FzImage__SWIG_8(int jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, int jarg6, int jarg7, int jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10, global::System.Runtime.InteropServices.HandleRef jarg11, uint jarg12, global::System.Runtime.InteropServices.HandleRef jarg13, global::System.Runtime.InteropServices.HandleRef jarg14, global::System.Runtime.InteropServices.HandleRef jarg15); @@ -79520,12 +81651,14 @@ static mupdfPINVOKE() { public static extern int FzInstallLoadSystemFontFuncsArgs_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzInstallLoadSystemFontFuncsArgs_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzInstallLoadSystemFontFuncsArgs_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzInstallLoadSystemFontFuncsArgs2")] public static extern global::System.IntPtr new_FzInstallLoadSystemFontFuncsArgs2(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzInstallLoadSystemFontFuncsArgs2")] + public static extern void delete_FzInstallLoadSystemFontFuncsArgs2(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzInstallLoadSystemFontFuncsArgs2_use_virtual_f__SWIG_0")] public static extern void FzInstallLoadSystemFontFuncsArgs2_use_virtual_f__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); @@ -79545,16 +81678,16 @@ static mupdfPINVOKE() { public static extern void FzInstallLoadSystemFontFuncsArgs2_use_virtual_f_fallback__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzInstallLoadSystemFontFuncsArgs2_f")] - public static extern global::System.IntPtr FzInstallLoadSystemFontFuncsArgs2_f(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4, int jarg5, int jarg6); + public static extern global::System.IntPtr FzInstallLoadSystemFontFuncsArgs2_f(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4, int jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzInstallLoadSystemFontFuncsArgs2_fSwigExplicitFzInstallLoadSystemFontFuncsArgs2")] - public static extern global::System.IntPtr FzInstallLoadSystemFontFuncsArgs2_fSwigExplicitFzInstallLoadSystemFontFuncsArgs2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4, int jarg5, int jarg6); + public static extern global::System.IntPtr FzInstallLoadSystemFontFuncsArgs2_fSwigExplicitFzInstallLoadSystemFontFuncsArgs2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4, int jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzInstallLoadSystemFontFuncsArgs2_f_cjk")] - public static extern global::System.IntPtr FzInstallLoadSystemFontFuncsArgs2_f_cjk(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4, int jarg5); + public static extern global::System.IntPtr FzInstallLoadSystemFontFuncsArgs2_f_cjk(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzInstallLoadSystemFontFuncsArgs2_f_cjkSwigExplicitFzInstallLoadSystemFontFuncsArgs2")] - public static extern global::System.IntPtr FzInstallLoadSystemFontFuncsArgs2_f_cjkSwigExplicitFzInstallLoadSystemFontFuncsArgs2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4, int jarg5); + public static extern global::System.IntPtr FzInstallLoadSystemFontFuncsArgs2_f_cjkSwigExplicitFzInstallLoadSystemFontFuncsArgs2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzInstallLoadSystemFontFuncsArgs2_f_fallback")] public static extern global::System.IntPtr FzInstallLoadSystemFontFuncsArgs2_f_fallback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, int jarg5, int jarg6, int jarg7); @@ -79562,9 +81695,6 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzInstallLoadSystemFontFuncsArgs2_f_fallbackSwigExplicitFzInstallLoadSystemFontFuncsArgs2")] public static extern global::System.IntPtr FzInstallLoadSystemFontFuncsArgs2_f_fallbackSwigExplicitFzInstallLoadSystemFontFuncsArgs2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, int jarg5, int jarg6, int jarg7); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzInstallLoadSystemFontFuncsArgs2")] - public static extern void delete_FzInstallLoadSystemFontFuncsArgs2(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzInstallLoadSystemFontFuncsArgs2_director_connect")] public static extern void FzInstallLoadSystemFontFuncsArgs2_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, FzInstallLoadSystemFontFuncsArgs2.SwigDelegateFzInstallLoadSystemFontFuncsArgs2_0 delegate0, FzInstallLoadSystemFontFuncsArgs2.SwigDelegateFzInstallLoadSystemFontFuncsArgs2_1 delegate1, FzInstallLoadSystemFontFuncsArgs2.SwigDelegateFzInstallLoadSystemFontFuncsArgs2_2 delegate2); @@ -79595,6 +81725,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzInt2Heap__SWIG_0")] public static extern global::System.IntPtr new_FzInt2Heap__SWIG_0(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzInt2Heap_fz_int2_heap_debug")] + public static extern void FzInt2Heap_fz_int2_heap_debug(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzInt2Heap_fz_int2_heap_insert")] public static extern void FzInt2Heap_fz_int2_heap_insert(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -79628,6 +81761,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzIntHeap__SWIG_0")] public static extern global::System.IntPtr new_FzIntHeap__SWIG_0(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzIntHeap_fz_int_heap_debug")] + public static extern void FzIntHeap_fz_int_heap_debug(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzIntHeap_fz_int_heap_insert")] public static extern void FzIntHeap_fz_int_heap_insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -79685,6 +81821,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzIntptrHeap__SWIG_0")] public static extern global::System.IntPtr new_FzIntptrHeap__SWIG_0(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzIntptrHeap_fz_intptr_heap_debug")] + public static extern void FzIntptrHeap_fz_intptr_heap_debug(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzIntptrHeap_fz_intptr_heap_insert")] public static extern void FzIntptrHeap_fz_intptr_heap_insert(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -79791,7 +81930,6 @@ static mupdfPINVOKE() { public static extern int FzIrect_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzIrect_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzIrect_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzJbig2Globals__SWIG_0")] @@ -79824,6 +81962,108 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJbig2Globals_s_num_instances_get")] public static extern int FzJbig2Globals_s_num_instances_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzJson__SWIG_0")] + public static extern global::System.IntPtr new_FzJson__SWIG_0(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_fz_json_array_length")] + public static extern int FzJson_fz_json_array_length(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_fz_json_is_array")] + public static extern int FzJson_fz_json_is_array(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_fz_json_is_boolean")] + public static extern int FzJson_fz_json_is_boolean(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_fz_json_is_null")] + public static extern int FzJson_fz_json_is_null(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_fz_json_is_number")] + public static extern int FzJson_fz_json_is_number(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_fz_json_is_object")] + public static extern int FzJson_fz_json_is_object(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_fz_json_is_string")] + public static extern int FzJson_fz_json_is_string(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_fz_json_to_boolean")] + public static extern int FzJson_fz_json_to_boolean(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_fz_json_to_number")] + public static extern double FzJson_fz_json_to_number(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_fz_json_to_string")] + public static extern string FzJson_fz_json_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzJson__SWIG_1")] + public static extern global::System.IntPtr new_FzJson__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzJson")] + public static extern void delete_FzJson(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_m_internal_value")] + public static extern long FzJson_m_internal_value(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_m_internal_set")] + public static extern void FzJson_m_internal_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_m_internal_get")] + public static extern global::System.IntPtr FzJson_m_internal_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_s_num_instances_set")] + public static extern void FzJson_s_num_instances_set(int jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJson_s_num_instances_get")] + public static extern int FzJson_s_num_instances_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzJsonArray__SWIG_0")] + public static extern global::System.IntPtr new_FzJsonArray__SWIG_0(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzJsonArray__SWIG_1")] + public static extern global::System.IntPtr new_FzJsonArray__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzJsonArray")] + public static extern void delete_FzJsonArray(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJsonArray_m_internal_value")] + public static extern long FzJsonArray_m_internal_value(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJsonArray_m_internal_set")] + public static extern void FzJsonArray_m_internal_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJsonArray_m_internal_get")] + public static extern global::System.IntPtr FzJsonArray_m_internal_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJsonArray_s_num_instances_set")] + public static extern void FzJsonArray_s_num_instances_set(int jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJsonArray_s_num_instances_get")] + public static extern int FzJsonArray_s_num_instances_get(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzJsonObject__SWIG_0")] + public static extern global::System.IntPtr new_FzJsonObject__SWIG_0(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzJsonObject__SWIG_1")] + public static extern global::System.IntPtr new_FzJsonObject__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzJsonObject")] + public static extern void delete_FzJsonObject(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJsonObject_m_internal_value")] + public static extern long FzJsonObject_m_internal_value(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJsonObject_m_internal_set")] + public static extern void FzJsonObject_m_internal_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJsonObject_m_internal_get")] + public static extern global::System.IntPtr FzJsonObject_m_internal_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJsonObject_s_num_instances_set")] + public static extern void FzJsonObject_s_num_instances_set(int jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzJsonObject_s_num_instances_get")] + public static extern int FzJsonObject_s_num_instances_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzKeyStorable__SWIG_0")] public static extern global::System.IntPtr new_FzKeyStorable__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -79855,10 +82095,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzLayoutBlock__SWIG_0(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzLayoutBlock_fz_add_layout_char")] - public static extern void FzLayoutBlock_fz_add_layout_char(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern void FzLayoutBlock_fz_add_layout_char(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzLayoutBlock_fz_add_layout_line")] - public static extern void FzLayoutBlock_fz_add_layout_line(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, float jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5); + public static extern void FzLayoutBlock_fz_add_layout_line(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, float jarg4, string jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzLayoutBlock__SWIG_1")] public static extern global::System.IntPtr new_FzLayoutBlock__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -79930,13 +82170,13 @@ static mupdfPINVOKE() { public static extern int FzLayoutLine_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzLink__SWIG_0")] - public static extern global::System.IntPtr new_FzLink__SWIG_0(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr new_FzLink__SWIG_0(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzLink__SWIG_1")] - public static extern global::System.IntPtr new_FzLink__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr new_FzLink__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzLink__SWIG_2")] - public static extern global::System.IntPtr new_FzLink__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr new_FzLink__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzLink__SWIG_3")] public static extern global::System.IntPtr new_FzLink__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -79945,7 +82185,7 @@ static mupdfPINVOKE() { public static extern void FzLink_fz_set_link_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzLink_fz_set_link_uri")] - public static extern void FzLink_fz_set_link_uri(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzLink_fz_set_link_uri(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzLink_begin")] public static extern global::System.IntPtr FzLink_begin(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -79969,7 +82209,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzLink_rect(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzLink_uri")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzLink_uri(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzLink")] @@ -80051,7 +82290,6 @@ static mupdfPINVOKE() { public static extern int FzLocation_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzLocation_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzLocation_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzLocksContext__SWIG_0")] @@ -80190,7 +82428,6 @@ static mupdfPINVOKE() { public static extern int FzMatrix_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzMatrix_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzMatrix_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzMd5__SWIG_0")] @@ -80251,7 +82488,6 @@ static mupdfPINVOKE() { public static extern int FzMd5_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzMd5_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzMd5_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzOutline__SWIG_0")] @@ -80273,11 +82509,9 @@ static mupdfPINVOKE() { public static extern int FzOutline_refs(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutline_title")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzOutline_title(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutline_uri")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzOutline_uri(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutline_page")] @@ -80296,7 +82530,19 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzOutline_down(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutline_is_open")] - public static extern int FzOutline_is_open(global::System.Runtime.InteropServices.HandleRef jarg1); + public static extern uint FzOutline_is_open(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutline_flags")] + public static extern uint FzOutline_flags(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutline_r")] + public static extern uint FzOutline_r(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutline_g")] + public static extern uint FzOutline_g(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutline_b")] + public static extern uint FzOutline_b(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzOutline")] public static extern void delete_FzOutline(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -80320,11 +82566,9 @@ static mupdfPINVOKE() { public static extern bool FzOutlineItem_valid(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutlineItem_title")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzOutlineItem_title(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutlineItem_uri")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzOutlineItem_uri(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutlineItem_is_open")] @@ -80412,7 +82656,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzOutput__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzOutput__SWIG_2")] - public static extern global::System.IntPtr new_FzOutput__SWIG_2([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzOutput__SWIG_2(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzOutput__SWIG_3")] public static extern global::System.IntPtr new_FzOutput__SWIG_3(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); @@ -80424,7 +82668,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzOutput__SWIG_5(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzOutput__SWIG_6")] - public static extern global::System.IntPtr new_FzOutput__SWIG_6([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2); + public static extern global::System.IntPtr new_FzOutput__SWIG_6(string jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzOutput__SWIG_7")] public static extern global::System.IntPtr new_FzOutput__SWIG_7(int jarg1); @@ -80444,6 +82688,15 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutput_fz_flush_output")] public static extern void FzOutput_fz_flush_output(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutput_fz_int2_heap_dump")] + public static extern void FzOutput_fz_int2_heap_dump(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutput_fz_int_heap_dump")] + public static extern void FzOutput_fz_int_heap_dump(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutput_fz_intptr_heap_dump")] + public static extern void FzOutput_fz_intptr_heap_dump(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutput_fz_new_svg_device")] public static extern global::System.IntPtr FzOutput_fz_new_svg_device(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, int jarg4, int jarg5); @@ -80567,6 +82820,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutput_fz_write_int32_le")] public static extern void FzOutput_fz_write_int32_le(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutput_fz_write_json")] + public static extern void FzOutput_fz_write_json(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutput_fz_write_pixmap_as_data_uri")] public static extern void FzOutput_fz_write_pixmap_as_data_uri(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -80622,7 +82878,7 @@ static mupdfPINVOKE() { public static extern void FzOutput_fz_write_stream(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutput_fz_write_string")] - public static extern void FzOutput_fz_write_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzOutput_fz_write_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutput_fz_write_uint16_be")] public static extern void FzOutput_fz_write_uint16_be(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); @@ -80681,6 +82937,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzOutput2")] public static extern global::System.IntPtr new_FzOutput2(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzOutput2")] + public static extern void delete_FzOutput2(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutput2_use_virtual_write__SWIG_0")] public static extern void FzOutput2_use_virtual_write__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); @@ -80777,9 +83036,6 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutput2_truncateSwigExplicitFzOutput2")] public static extern void FzOutput2_truncateSwigExplicitFzOutput2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzOutput2")] - public static extern void delete_FzOutput2(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzOutput2_director_connect")] public static extern void FzOutput2_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, FzOutput2.SwigDelegateFzOutput2_0 delegate0, FzOutput2.SwigDelegateFzOutput2_1 delegate1, FzOutput2.SwigDelegateFzOutput2_2 delegate2, FzOutput2.SwigDelegateFzOutput2_3 delegate3, FzOutput2.SwigDelegateFzOutput2_4 delegate4, FzOutput2.SwigDelegateFzOutput2_5 delegate5, FzOutput2.SwigDelegateFzOutput2_6 delegate6, FzOutput2.SwigDelegateFzOutput2_7 delegate7); @@ -80832,7 +83088,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzPage_fz_bound_page_box(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPage_fz_create_link")] - public static extern global::System.IntPtr FzPage_fz_create_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr FzPage_fz_create_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPage_fz_delete_link")] public static extern void FzPage_fz_delete_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -80844,7 +83100,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzPage_fz_new_buffer_from_page(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPage_fz_new_buffer_from_page_with_format")] - public static extern global::System.IntPtr FzPage_fz_new_buffer_from_page_with_format(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr FzPage_fz_new_buffer_from_page_with_format(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPage_fz_new_display_list_from_page")] public static extern global::System.IntPtr FzPage_fz_new_display_list_from_page(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -80865,7 +83121,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzPage_fz_new_pixmap_from_page_with_separations(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPage_fz_page_label")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzPage_fz_page_label(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPage_fz_page_presentation")] @@ -80890,7 +83145,10 @@ static mupdfPINVOKE() { public static extern void FzPage_fz_run_page_widgets(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPage_fz_search_page")] - public static extern int FzPage_fz_search_page(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + public static extern int FzPage_fz_search_page(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPage_fz_search_page_cb")] + public static extern int FzPage_fz_search_page_cb(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPage_pdf_page_from_fz_page")] public static extern global::System.IntPtr FzPage_pdf_page_from_fz_page(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -81121,13 +83379,13 @@ static mupdfPINVOKE() { public static extern void FzPathWalker2_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, FzPathWalker2.SwigDelegateFzPathWalker2_0 delegate0, FzPathWalker2.SwigDelegateFzPathWalker2_1 delegate1, FzPathWalker2.SwigDelegateFzPathWalker2_2 delegate2, FzPathWalker2.SwigDelegateFzPathWalker2_3 delegate3, FzPathWalker2.SwigDelegateFzPathWalker2_4 delegate4, FzPathWalker2.SwigDelegateFzPathWalker2_5 delegate5, FzPathWalker2.SwigDelegateFzPathWalker2_6 delegate6, FzPathWalker2.SwigDelegateFzPathWalker2_7 delegate7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzPclOptions__SWIG_0")] - public static extern global::System.IntPtr new_FzPclOptions__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr new_FzPclOptions__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzPclOptions__SWIG_1")] public static extern global::System.IntPtr new_FzPclOptions__SWIG_1(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPclOptions_fz_pcl_preset")] - public static extern void FzPclOptions_fz_pcl_preset(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzPclOptions_fz_pcl_preset(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzPclOptions__SWIG_2")] public static extern global::System.IntPtr new_FzPclOptions__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -81151,10 +83409,10 @@ static mupdfPINVOKE() { public static extern int FzPclOptions_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzPclmOptions__SWIG_0")] - public static extern global::System.IntPtr new_FzPclmOptions__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr new_FzPclmOptions__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzPclmOptions__SWIG_1")] - public static extern global::System.IntPtr new_FzPclmOptions__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzPclmOptions__SWIG_1(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzPclmOptions__SWIG_2")] public static extern global::System.IntPtr new_FzPclmOptions__SWIG_2(); @@ -81184,13 +83442,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzPdfocrOptions__SWIG_0(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPdfocrOptions_fz_parse_pdfocr_options")] - public static extern global::System.IntPtr FzPdfocrOptions_fz_parse_pdfocr_options(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzPdfocrOptions_fz_parse_pdfocr_options(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPdfocrOptions_language_set2")] - public static extern void FzPdfocrOptions_language_set2(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzPdfocrOptions_language_set2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPdfocrOptions_datadir_set2")] - public static extern void FzPdfocrOptions_datadir_set2(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzPdfocrOptions_datadir_set2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzPdfocrOptions__SWIG_1")] public static extern global::System.IntPtr new_FzPdfocrOptions__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -81256,7 +83514,6 @@ static mupdfPINVOKE() { public static extern int FzPdfocrOptions_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPdfocrOptions_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzPdfocrOptions_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzPixmap__SWIG_0")] @@ -81299,10 +83556,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzPixmap__SWIG_12(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzPixmap__SWIG_13")] - public static extern global::System.IntPtr new_FzPixmap__SWIG_13(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6, int jarg7); + public static extern global::System.IntPtr new_FzPixmap__SWIG_13(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, string jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzPixmap__SWIG_14")] - public static extern global::System.IntPtr new_FzPixmap__SWIG_14(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, int jarg6); + public static extern global::System.IntPtr new_FzPixmap__SWIG_14(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzPixmap__SWIG_15")] public static extern global::System.IntPtr new_FzPixmap__SWIG_15(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -81311,10 +83568,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzPixmap__SWIG_16(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_pdf_new_pixmap_from_page_with_usage")] - public static extern global::System.IntPtr FzPixmap_pdf_new_pixmap_from_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, int jarg6); + public static extern global::System.IntPtr FzPixmap_pdf_new_pixmap_from_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_pdf_new_pixmap_from_page_with_separations_and_usage")] - public static extern global::System.IntPtr FzPixmap_pdf_new_pixmap_from_page_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6, int jarg7); + public static extern global::System.IntPtr FzPixmap_pdf_new_pixmap_from_page_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, string jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_fz_new_pixmap_from_page_contents")] public static extern global::System.IntPtr FzPixmap_fz_new_pixmap_from_page_contents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); @@ -81476,16 +83733,16 @@ static mupdfPINVOKE() { public static extern void FzPixmap_fz_samples_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_fz_save_pixmap_as_jpeg")] - public static extern void FzPixmap_fz_save_pixmap_as_jpeg(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void FzPixmap_fz_save_pixmap_as_jpeg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_fz_save_pixmap_as_jpx")] - public static extern void FzPixmap_fz_save_pixmap_as_jpx(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void FzPixmap_fz_save_pixmap_as_jpx(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_fz_save_pixmap_as_pam")] - public static extern void FzPixmap_fz_save_pixmap_as_pam(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzPixmap_fz_save_pixmap_as_pam(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_fz_save_pixmap_as_pbm")] - public static extern void FzPixmap_fz_save_pixmap_as_pbm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzPixmap_fz_save_pixmap_as_pbm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_fz_save_pixmap_as_pcl")] public static extern void FzPixmap_fz_save_pixmap_as_pcl(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -81497,19 +83754,19 @@ static mupdfPINVOKE() { public static extern void FzPixmap_fz_save_pixmap_as_pdfocr(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_fz_save_pixmap_as_pkm")] - public static extern void FzPixmap_fz_save_pixmap_as_pkm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzPixmap_fz_save_pixmap_as_pkm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_fz_save_pixmap_as_png")] - public static extern void FzPixmap_fz_save_pixmap_as_png(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzPixmap_fz_save_pixmap_as_png(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_fz_save_pixmap_as_pnm")] - public static extern void FzPixmap_fz_save_pixmap_as_pnm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzPixmap_fz_save_pixmap_as_pnm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_fz_save_pixmap_as_ps")] public static extern void FzPixmap_fz_save_pixmap_as_ps(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_fz_save_pixmap_as_psd")] - public static extern void FzPixmap_fz_save_pixmap_as_psd(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzPixmap_fz_save_pixmap_as_psd(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_fz_save_pixmap_as_pwg")] public static extern void FzPixmap_fz_save_pixmap_as_pwg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -81560,7 +83817,7 @@ static mupdfPINVOKE() { public static extern byte FzPixmap_flags(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_stride")] - public static extern global::System.IntPtr FzPixmap_stride(global::System.Runtime.InteropServices.HandleRef jarg1); + public static extern int FzPixmap_stride(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPixmap_seps")] public static extern global::System.IntPtr FzPixmap_seps(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -81686,12 +83943,17 @@ static mupdfPINVOKE() { public static extern int FzPoint_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPoint_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzPoint_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzPool__SWIG_0")] public static extern global::System.IntPtr new_FzPool__SWIG_0(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPool_fz_json_array_push")] + public static extern void FzPool_fz_json_array_push(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPool_fz_json_object_set")] + public static extern void FzPool_fz_json_object_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPool_fz_pool_alloc")] public static extern global::System.IntPtr FzPool_fz_pool_alloc(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); @@ -81699,10 +83961,10 @@ static mupdfPINVOKE() { public static extern uint FzPool_fz_pool_size(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPool_fz_pool_strdup")] - public static extern string FzPool_fz_pool_strdup(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string FzPool_fz_pool_strdup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPool_fz_xml_add_att")] - public static extern void FzPool_fz_xml_add_att(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern void FzPool_fz_xml_add_att(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzPool__SWIG_1")] public static extern global::System.IntPtr new_FzPool__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -81873,7 +84135,6 @@ static mupdfPINVOKE() { public static extern int FzPwgOptions_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzPwgOptions_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzPwgOptions_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzQuad__SWIG_0")] @@ -81946,7 +84207,6 @@ static mupdfPINVOKE() { public static extern int FzQuad_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzQuad_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzQuad_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzRange__SWIG_0")] @@ -82049,7 +84309,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzRect_fz_translate_rect(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzRect_pdf_signature_appearance_signed")] - public static extern global::System.IntPtr FzRect_pdf_signature_appearance_signed(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, int jarg6); + public static extern global::System.IntPtr FzRect_pdf_signature_appearance_signed(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, string jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzRect_pdf_signature_appearance_unsigned")] public static extern global::System.IntPtr FzRect_pdf_signature_appearance_unsigned(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -82109,7 +84369,6 @@ static mupdfPINVOKE() { public static extern int FzRect_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzRect_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzRect_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzSeparations__SWIG_0")] @@ -82119,10 +84378,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzSeparations__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzSeparations_fz_add_separation")] - public static extern void FzSeparations_fz_add_separation(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); + public static extern void FzSeparations_fz_add_separation(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzSeparations_fz_add_separation_equivalents")] - public static extern void FzSeparations_fz_add_separation_equivalents(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern void FzSeparations_fz_add_separation_equivalents(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzSeparations_fz_clone_separations_for_overprint")] public static extern global::System.IntPtr FzSeparations_fz_clone_separations_for_overprint(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -82140,7 +84399,6 @@ static mupdfPINVOKE() { public static extern void FzSeparations_fz_separation_equivalent(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzSeparations_fz_separation_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzSeparations_fz_separation_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzSeparations_fz_set_separation_behavior")] @@ -82477,7 +84735,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzStextOptions__SWIG_1(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextOptions_fz_parse_stext_options")] - public static extern global::System.IntPtr FzStextOptions_fz_parse_stext_options(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzStextOptions_fz_parse_stext_options(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzStextOptions__SWIG_2")] public static extern global::System.IntPtr new_FzStextOptions__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -82500,6 +84758,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextOptions_scale_get")] public static extern float FzStextOptions_scale_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextOptions_clip_set")] + public static extern void FzStextOptions_clip_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextOptions_clip_get")] + public static extern global::System.IntPtr FzStextOptions_clip_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextOptions_s_num_instances_set")] public static extern void FzStextOptions_s_num_instances_set(int jarg1); @@ -82507,7 +84771,6 @@ static mupdfPINVOKE() { public static extern int FzStextOptions_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextOptions_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzStextOptions_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzStextPage__SWIG_0")] @@ -82543,22 +84806,32 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextPage_fz_new_stext_device")] public static extern global::System.IntPtr FzStextPage_fz_new_stext_device(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextPage_fz_paragraph_break")] + public static extern void FzStextPage_fz_paragraph_break(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextPage_fz_search_stext_page")] - public static extern int FzStextPage_fz_search_stext_page(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + public static extern int FzStextPage_fz_search_stext_page(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextPage_fz_search_stext_page_cb")] + public static extern int FzStextPage_fz_search_stext_page_cb(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextPage_fz_segment_stext_page")] + public static extern int FzStextPage_fz_segment_stext_page(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextPage_fz_snap_selection")] public static extern global::System.IntPtr FzStextPage_fz_snap_selection(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextPage_fz_table_hunt")] + public static extern void FzStextPage_fz_table_hunt(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextPage_fz_copy_selection")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzStextPage_fz_copy_selection(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextPage_fz_copy_rectangle")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzStextPage_fz_copy_rectangle(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextPage_search_stext_page")] - public static extern global::System.IntPtr FzStextPage_search_stext_page(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); + public static extern global::System.IntPtr FzStextPage_search_stext_page(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStextPage_begin")] public static extern global::System.IntPtr FzStextPage_begin(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -82711,7 +84984,7 @@ static mupdfPINVOKE() { public static extern int FzStoreType_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzStory__SWIG_0")] - public static extern global::System.IntPtr new_FzStory__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, float jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr new_FzStory__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, float jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzStory__SWIG_1")] public static extern global::System.IntPtr new_FzStory__SWIG_1(); @@ -82735,7 +85008,6 @@ static mupdfPINVOKE() { public static extern void FzStory_fz_story_positions(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStory_fz_story_warnings")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzStory_fz_story_warnings(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzStory__SWIG_2")] @@ -82784,17 +85056,15 @@ static mupdfPINVOKE() { public static extern int FzStoryElementPosition_heading_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStoryElementPosition_id_set")] - public static extern void FzStoryElementPosition_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzStoryElementPosition_id_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStoryElementPosition_id_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzStoryElementPosition_id_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStoryElementPosition_href_set")] - public static extern void FzStoryElementPosition_href_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzStoryElementPosition_href_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStoryElementPosition_href_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzStoryElementPosition_href_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStoryElementPosition_rect_set")] @@ -82804,10 +85074,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzStoryElementPosition_rect_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStoryElementPosition_text_set")] - public static extern void FzStoryElementPosition_text_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzStoryElementPosition_text_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStoryElementPosition_text_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzStoryElementPosition_text_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStoryElementPosition_open_close_set")] @@ -82829,14 +85098,13 @@ static mupdfPINVOKE() { public static extern int FzStoryElementPosition_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStoryElementPosition_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzStoryElementPosition_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzStream__SWIG_0")] public static extern global::System.IntPtr new_FzStream__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzStream__SWIG_1")] - public static extern global::System.IntPtr new_FzStream__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzStream__SWIG_1(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzStream__SWIG_2")] public static extern global::System.IntPtr new_FzStream__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -82851,7 +85119,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzStream__SWIG_6(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStream_fz_open_file_autodelete")] - public static extern global::System.IntPtr FzStream_fz_open_file_autodelete([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr FzStream_fz_open_file_autodelete(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStream_fz_available")] public static extern uint FzStream_fz_available(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); @@ -83055,10 +85323,9 @@ static mupdfPINVOKE() { public static extern void FzStream_fz_skip_space(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStream_fz_skip_string")] - public static extern int FzStream_fz_skip_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int FzStream_fz_skip_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStream_fz_stream_filename")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzStream_fz_stream_filename(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzStream_fz_sync_bits")] @@ -83110,7 +85377,7 @@ static mupdfPINVOKE() { public static extern int FzStream_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzString__SWIG_0")] - public static extern global::System.IntPtr new_FzString__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzString__SWIG_0(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzString__SWIG_1")] public static extern global::System.IntPtr new_FzString__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -83218,7 +85485,7 @@ static mupdfPINVOKE() { public static extern void FzText_fz_show_glyph_aux(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, float jarg4, int jarg5, int jarg6, int jarg7, int jarg8, int jarg9, int jarg10, int jarg11); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzText_fz_show_string")] - public static extern global::System.IntPtr FzText_fz_show_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, int jarg5, int jarg6, int jarg7, int jarg8); + public static extern global::System.IntPtr FzText_fz_show_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, int jarg5, int jarg6, int jarg7, int jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzText__SWIG_2")] public static extern global::System.IntPtr new_FzText__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -83245,7 +85512,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzTextDecoder__SWIG_0(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzTextDecoder_fz_init_text_decoder")] - public static extern void FzTextDecoder_fz_init_text_decoder(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzTextDecoder_fz_init_text_decoder(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzTextDecoder__SWIG_1")] public static extern global::System.IntPtr new_FzTextDecoder__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -83386,7 +85653,6 @@ static mupdfPINVOKE() { public static extern int FzTransition_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzTransition_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzTransition_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzTree__SWIG_0")] @@ -83396,7 +85662,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzTree_fz_new_tree_archive(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzTree_fz_tree_lookup")] - public static extern global::System.IntPtr FzTree_fz_tree_lookup(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzTree_fz_tree_lookup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzTree__SWIG_1")] public static extern global::System.IntPtr new_FzTree__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -83540,10 +85806,10 @@ static mupdfPINVOKE() { public static extern int FzWriteStoryPositions_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzXml__SWIG_0")] - public static extern global::System.IntPtr new_FzXml__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzXml__SWIG_0(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzXml__SWIG_1")] - public static extern global::System.IntPtr new_FzXml__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr new_FzXml__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzXml__SWIG_2")] public static extern global::System.IntPtr new_FzXml__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -83552,7 +85818,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_FzXml__SWIG_3(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_new_dom_text_node__SWIG_0")] - public static extern global::System.IntPtr FzXml_fz_new_dom_text_node__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzXml_fz_new_dom_text_node__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_debug_xml")] public static extern void FzXml_fz_debug_xml(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -83561,14 +85827,13 @@ static mupdfPINVOKE() { public static extern void FzXml_fz_detach_xml(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_dom_add_attribute")] - public static extern void FzXml_fz_dom_add_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void FzXml_fz_dom_add_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_dom_append_child")] public static extern void FzXml_fz_dom_append_child(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_dom_attribute")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string FzXml_fz_dom_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string FzXml_fz_dom_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_dom_body")] public static extern global::System.IntPtr FzXml_fz_dom_body(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -83577,25 +85842,24 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzXml_fz_dom_clone(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_dom_create_element")] - public static extern global::System.IntPtr FzXml_fz_dom_create_element(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzXml_fz_dom_create_element(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_dom_create_text_node")] - public static extern global::System.IntPtr FzXml_fz_dom_create_text_node(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzXml_fz_dom_create_text_node(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_dom_document_element")] public static extern global::System.IntPtr FzXml_fz_dom_document_element(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_dom_find")] - public static extern global::System.IntPtr FzXml_fz_dom_find(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr FzXml_fz_dom_find(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_dom_find_next")] - public static extern global::System.IntPtr FzXml_fz_dom_find_next(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr FzXml_fz_dom_find_next(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_dom_first_child")] public static extern global::System.IntPtr FzXml_fz_dom_first_child(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_dom_get_attribute")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzXml_fz_dom_get_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_dom_insert_after")] @@ -83617,67 +85881,67 @@ static mupdfPINVOKE() { public static extern void FzXml_fz_dom_remove(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_dom_remove_attribute")] - public static extern void FzXml_fz_dom_remove_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzXml_fz_dom_remove_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_new_display_list_from_svg_xml")] - public static extern global::System.IntPtr FzXml_fz_new_display_list_from_svg_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern global::System.IntPtr FzXml_fz_new_display_list_from_svg_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_new_dom_node")] - public static extern global::System.IntPtr FzXml_fz_new_dom_node(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzXml_fz_new_dom_node(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_new_image_from_svg_xml")] - public static extern global::System.IntPtr FzXml_fz_new_image_from_svg_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr FzXml_fz_new_image_from_svg_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_save_xml")] - public static extern void FzXml_fz_save_xml(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void FzXml_fz_save_xml(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_write_xml")] public static extern void FzXml_fz_write_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_att")] - public static extern string FzXml_fz_xml_att(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string FzXml_fz_xml_att(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_att_alt")] - public static extern string FzXml_fz_xml_att_alt(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern string FzXml_fz_xml_att_alt(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_att_eq")] - public static extern int FzXml_fz_xml_att_eq(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern int FzXml_fz_xml_att_eq(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_down")] public static extern global::System.IntPtr FzXml_fz_xml_down(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_find")] - public static extern global::System.IntPtr FzXml_fz_xml_find(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzXml_fz_xml_find(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_find_dfs")] - public static extern global::System.IntPtr FzXml_fz_xml_find_dfs(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr FzXml_fz_xml_find_dfs(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_find_dfs_top")] - public static extern global::System.IntPtr FzXml_fz_xml_find_dfs_top(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr FzXml_fz_xml_find_dfs_top(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_find_down")] - public static extern global::System.IntPtr FzXml_fz_xml_find_down(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzXml_fz_xml_find_down(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_find_down_match")] - public static extern global::System.IntPtr FzXml_fz_xml_find_down_match(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr FzXml_fz_xml_find_down_match(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_find_match")] - public static extern global::System.IntPtr FzXml_fz_xml_find_match(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr FzXml_fz_xml_find_match(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_find_next")] - public static extern global::System.IntPtr FzXml_fz_xml_find_next(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr FzXml_fz_xml_find_next(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_find_next_dfs")] - public static extern global::System.IntPtr FzXml_fz_xml_find_next_dfs(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr FzXml_fz_xml_find_next_dfs(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_find_next_dfs_top")] - public static extern global::System.IntPtr FzXml_fz_xml_find_next_dfs_top(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr FzXml_fz_xml_find_next_dfs_top(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_find_next_match")] - public static extern global::System.IntPtr FzXml_fz_xml_find_next_match(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr FzXml_fz_xml_find_next_match(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_is_tag")] - public static extern int FzXml_fz_xml_is_tag(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int FzXml_fz_xml_is_tag(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzXml_fz_xml_next")] public static extern global::System.IntPtr FzXml_fz_xml_next(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -83743,7 +86007,7 @@ static mupdfPINVOKE() { public static extern int FzXmlDoc_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzZipWriter__SWIG_0")] - public static extern global::System.IntPtr new_FzZipWriter__SWIG_0([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzZipWriter__SWIG_0(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzZipWriter__SWIG_1")] public static extern global::System.IntPtr new_FzZipWriter__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -83755,7 +86019,7 @@ static mupdfPINVOKE() { public static extern void FzZipWriter_fz_close_zip_writer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzZipWriter_fz_write_zip_entry")] - public static extern void FzZipWriter_fz_write_zip_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); + public static extern void FzZipWriter_fz_write_zip_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzZipWriter__SWIG_3")] public static extern global::System.IntPtr new_FzZipWriter__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -83839,7 +86103,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfAnnot_pdf_annot_ap(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_annot_author")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfAnnot_pdf_annot_author(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_annot_border")] @@ -83873,7 +86136,6 @@ static mupdfPINVOKE() { public static extern void PdfAnnot_pdf_annot_color(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_annot_contents")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfAnnot_pdf_annot_contents(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_annot_creation_date")] @@ -83922,11 +86184,9 @@ static mupdfPINVOKE() { public static extern int PdfAnnot_pdf_annot_field_flags(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_annot_field_label")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfAnnot_pdf_annot_field_label(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_annot_field_value")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfAnnot_pdf_annot_field_value(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_annot_filespec")] @@ -83993,7 +86253,6 @@ static mupdfPINVOKE() { public static extern int PdfAnnot_pdf_annot_hot(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_annot_icon_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfAnnot_pdf_annot_icon_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_annot_ink_list_count")] @@ -84144,7 +86403,7 @@ static mupdfPINVOKE() { public static extern void PdfAnnot_pdf_dirty_annot(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_edit_text_field_value")] - public static extern int PdfAnnot_pdf_edit_text_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern int PdfAnnot_pdf_edit_text_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_get_widget_editing_state")] public static extern int PdfAnnot_pdf_get_widget_editing_state(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -84171,13 +86430,13 @@ static mupdfPINVOKE() { public static extern void PdfAnnot_pdf_set_annot_active(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_set_annot_appearance")] - public static extern void PdfAnnot_pdf_set_annot_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); + public static extern void PdfAnnot_pdf_set_annot_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_set_annot_appearance_from_display_list")] - public static extern void PdfAnnot_pdf_set_annot_appearance_from_display_list(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void PdfAnnot_pdf_set_annot_appearance_from_display_list(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_set_annot_author")] - public static extern void PdfAnnot_pdf_set_annot_author(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfAnnot_pdf_set_annot_author(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_set_annot_border")] public static extern void PdfAnnot_pdf_set_annot_border(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); @@ -84204,13 +86463,13 @@ static mupdfPINVOKE() { public static extern void PdfAnnot_pdf_set_annot_color(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_set_annot_contents")] - public static extern void PdfAnnot_pdf_set_annot_contents(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfAnnot_pdf_set_annot_contents(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_set_annot_creation_date")] public static extern void PdfAnnot_pdf_set_annot_creation_date(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_set_annot_default_appearance")] - public static extern void PdfAnnot_pdf_set_annot_default_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, float jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void PdfAnnot_pdf_set_annot_default_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, float jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_set_annot_filespec")] public static extern void PdfAnnot_pdf_set_annot_filespec(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -84225,7 +86484,7 @@ static mupdfPINVOKE() { public static extern void PdfAnnot_pdf_set_annot_hot(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_set_annot_icon_name")] - public static extern void PdfAnnot_pdf_set_annot_icon_name(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfAnnot_pdf_set_annot_icon_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_set_annot_ink_list")] public static extern void PdfAnnot_pdf_set_annot_ink_list(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -84300,16 +86559,16 @@ static mupdfPINVOKE() { public static extern void PdfAnnot_pdf_set_annot_vertices(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_set_choice_field_value")] - public static extern int PdfAnnot_pdf_set_choice_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int PdfAnnot_pdf_set_choice_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_set_text_field_value")] - public static extern int PdfAnnot_pdf_set_text_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int PdfAnnot_pdf_set_text_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_set_widget_editing_state")] public static extern void PdfAnnot_pdf_set_widget_editing_state(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_sign_signature")] - public static extern void PdfAnnot_pdf_sign_signature(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6); + public static extern void PdfAnnot_pdf_sign_signature(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, string jarg5, string jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfAnnot_pdf_sign_signature_with_appearance")] public static extern void PdfAnnot_pdf_sign_signature_with_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -84372,10 +86631,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_PdfCleanOptions__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfCleanOptions_write_opwd_utf8_set")] - public static extern void PdfCleanOptions_write_opwd_utf8_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfCleanOptions_write_opwd_utf8_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfCleanOptions_write_upwd_utf8_set")] - public static extern void PdfCleanOptions_write_upwd_utf8_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfCleanOptions_write_upwd_utf8_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfCleanOptions__SWIG_2")] public static extern global::System.IntPtr new_PdfCleanOptions__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -84404,6 +86663,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfCleanOptions_subset_fonts_get")] public static extern int PdfCleanOptions_subset_fonts_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfCleanOptions_structure_set")] + public static extern void PdfCleanOptions_structure_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfCleanOptions_structure_get")] + public static extern int PdfCleanOptions_structure_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfCleanOptions_s_num_instances_set")] public static extern void PdfCleanOptions_s_num_instances_set(int jarg1); @@ -84411,7 +86676,6 @@ static mupdfPINVOKE() { public static extern int PdfCleanOptions_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfCleanOptions_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfCleanOptions_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfCmap__SWIG_0")] @@ -84501,11 +86765,35 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfColorFilterOptions_s_num_instances_get")] public static extern int PdfColorFilterOptions_s_num_instances_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfColorspaceResourceKey__SWIG_0")] + public static extern global::System.IntPtr new_PdfColorspaceResourceKey__SWIG_0(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfColorspaceResourceKey__SWIG_1")] + public static extern global::System.IntPtr new_PdfColorspaceResourceKey__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_PdfColorspaceResourceKey")] + public static extern void delete_PdfColorspaceResourceKey(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfColorspaceResourceKey_m_internal_value")] + public static extern long PdfColorspaceResourceKey_m_internal_value(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfColorspaceResourceKey_m_internal_set")] + public static extern void PdfColorspaceResourceKey_m_internal_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfColorspaceResourceKey_m_internal_get")] + public static extern global::System.IntPtr PdfColorspaceResourceKey_m_internal_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfColorspaceResourceKey_s_num_instances_set")] + public static extern void PdfColorspaceResourceKey_s_num_instances_set(int jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfColorspaceResourceKey_s_num_instances_get")] + public static extern int PdfColorspaceResourceKey_s_num_instances_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfCrypt__SWIG_0")] public static extern global::System.IntPtr new_PdfCrypt__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfCrypt__SWIG_1")] - public static extern global::System.IntPtr new_PdfCrypt__SWIG_1([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, int jarg5); + public static extern global::System.IntPtr new_PdfCrypt__SWIG_1(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfCrypt__SWIG_2")] public static extern global::System.IntPtr new_PdfCrypt__SWIG_2(); @@ -84520,7 +86808,6 @@ static mupdfPINVOKE() { public static extern int PdfCrypt_pdf_crypt_length(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfCrypt_pdf_crypt_method")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfCrypt_pdf_crypt_method(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfCrypt_pdf_crypt_obj")] @@ -84542,11 +86829,9 @@ static mupdfPINVOKE() { public static extern int PdfCrypt_pdf_crypt_revision(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfCrypt_pdf_crypt_stream_method")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfCrypt_pdf_crypt_stream_method(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfCrypt_pdf_crypt_string_method")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfCrypt_pdf_crypt_string_method(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfCrypt_pdf_crypt_user_encryption")] @@ -84640,7 +86925,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_PdfDocEvent__SWIG_0(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocEvent_pdf_access_exec_menu_item_event")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfDocEvent_pdf_access_exec_menu_item_event(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfDocEvent__SWIG_1")] @@ -84671,7 +86955,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_PdfDocument__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfDocument__SWIG_2")] - public static extern global::System.IntPtr new_PdfDocument__SWIG_2([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_PdfDocument__SWIG_2(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfDocument__SWIG_3")] public static extern global::System.IntPtr new_PdfDocument__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -84688,8 +86972,11 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_add_cjk_font")] public static extern global::System.IntPtr PdfDocument_pdf_add_cjk_font(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, int jarg5); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_add_colorspace")] + public static extern global::System.IntPtr PdfDocument_pdf_add_colorspace(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_add_embedded_file")] - public static extern global::System.IntPtr PdfDocument_pdf_add_embedded_file(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, long jarg5, long jarg6, int jarg7); + public static extern global::System.IntPtr PdfDocument_pdf_add_embedded_file(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, long jarg5, long jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_add_image")] public static extern global::System.IntPtr PdfDocument_pdf_add_image(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -84722,7 +87009,7 @@ static mupdfPINVOKE() { public static extern int PdfDocument_pdf_annot_field_event_keystroke(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_authenticate_password")] - public static extern int PdfDocument_pdf_authenticate_password(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int PdfDocument_pdf_authenticate_password(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_bake_document")] public static extern void PdfDocument_pdf_bake_document(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); @@ -84731,7 +87018,7 @@ static mupdfPINVOKE() { public static extern void PdfDocument_pdf_begin_implicit_operation(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_begin_operation")] - public static extern void PdfDocument_pdf_begin_operation(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfDocument_pdf_begin_operation(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_calculate_form")] public static extern void PdfDocument_pdf_calculate_form(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -84782,7 +87069,7 @@ static mupdfPINVOKE() { public static extern int PdfDocument_pdf_count_versions(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_create_field_name")] - public static extern void PdfDocument_pdf_create_field_name(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, string jarg3, uint jarg4); + public static extern void PdfDocument_pdf_create_field_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_create_object")] public static extern int PdfDocument_pdf_create_object(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -84860,10 +87147,10 @@ static mupdfPINVOKE() { public static extern void PdfDocument_pdf_event_issue_alert(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_event_issue_exec_menu_item")] - public static extern void PdfDocument_pdf_event_issue_exec_menu_item(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfDocument_pdf_event_issue_exec_menu_item(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_event_issue_launch_url")] - public static extern void PdfDocument_pdf_event_issue_launch_url(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void PdfDocument_pdf_event_issue_launch_url(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_event_issue_mail_doc")] public static extern void PdfDocument_pdf_event_issue_mail_doc(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -84881,7 +87168,7 @@ static mupdfPINVOKE() { public static extern int PdfDocument_pdf_field_event_keystroke(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_field_event_validate")] - public static extern int PdfDocument_pdf_field_event_validate(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int PdfDocument_pdf_field_event_validate(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_field_reset")] public static extern void PdfDocument_pdf_field_reset(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -84892,6 +87179,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_filter_page_contents")] public static extern void PdfDocument_pdf_filter_page_contents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_find_colorspace_resource")] + public static extern global::System.IntPtr PdfDocument_pdf_find_colorspace_resource(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_find_font_resource")] public static extern global::System.IntPtr PdfDocument_pdf_find_font_resource(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); @@ -84919,6 +87209,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_has_unsaved_sigs")] public static extern int PdfDocument_pdf_has_unsaved_sigs(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_insert_colorspace_resource")] + public static extern global::System.IntPtr PdfDocument_pdf_insert_colorspace_resource(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_insert_font_resource")] public static extern global::System.IntPtr PdfDocument_pdf_insert_font_resource(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -84932,7 +87225,7 @@ static mupdfPINVOKE() { public static extern int PdfDocument_pdf_is_local_object(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_is_ocg_hidden")] - public static extern int PdfDocument_pdf_is_ocg_hidden(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int PdfDocument_pdf_is_ocg_hidden(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_js_set_console")] public static extern void PdfDocument_pdf_js_set_console(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -84950,7 +87243,6 @@ static mupdfPINVOKE() { public static extern int PdfDocument_pdf_layer_is_enabled(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_layer_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfDocument_pdf_layer_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_load_compressed_inline_image")] @@ -84972,7 +87264,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfDocument_pdf_load_inline_image(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_load_journal")] - public static extern void PdfDocument_pdf_load_journal(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfDocument_pdf_load_journal(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_load_link_annots")] public static extern global::System.IntPtr PdfDocument_pdf_load_link_annots(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); @@ -85017,11 +87309,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfDocument_pdf_lookup_dest(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_lookup_metadata")] - public static extern int PdfDocument_pdf_lookup_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, string jarg3, uint jarg4); + public static extern int PdfDocument_pdf_lookup_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_lookup_metadata2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string PdfDocument_pdf_lookup_metadata2(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string PdfDocument_pdf_lookup_metadata2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_lookup_name")] public static extern global::System.IntPtr PdfDocument_pdf_lookup_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -85048,7 +87339,7 @@ static mupdfPINVOKE() { public static extern int PdfDocument_pdf_needs_password(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_new_action_from_link")] - public static extern global::System.IntPtr PdfDocument_pdf_new_action_from_link(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr PdfDocument_pdf_new_action_from_link(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_new_array")] public static extern global::System.IntPtr PdfDocument_pdf_new_array(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -85060,7 +87351,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfDocument_pdf_new_date(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_new_dest_from_link")] - public static extern global::System.IntPtr PdfDocument_pdf_new_dest_from_link(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr PdfDocument_pdf_new_dest_from_link(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_new_dict")] public static extern global::System.IntPtr PdfDocument_pdf_new_dict(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -85084,7 +87375,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfDocument_pdf_new_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_new_run_processor")] - public static extern global::System.IntPtr PdfDocument_pdf_new_run_processor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); + public static extern global::System.IntPtr PdfDocument_pdf_new_run_processor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_new_sanitize_filter")] public static extern global::System.IntPtr PdfDocument_pdf_new_sanitize_filter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); @@ -85134,8 +87425,8 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_progressive_advance")] public static extern global::System.IntPtr PdfDocument_pdf_progressive_advance(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_purge_local_font_resources")] - public static extern void PdfDocument_pdf_purge_local_font_resources(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_purge_local_resources")] + public static extern void PdfDocument_pdf_purge_local_resources(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_purge_locals_from_store")] public static extern void PdfDocument_pdf_purge_locals_from_store(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -85147,10 +87438,10 @@ static mupdfPINVOKE() { public static extern void PdfDocument_pdf_read_journal(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_rearrange_pages")] - public static extern void PdfDocument_pdf_rearrange_pages(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void PdfDocument_pdf_rearrange_pages(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_rearrange_pages2")] - public static extern void PdfDocument_pdf_rearrange_pages2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern void PdfDocument_pdf_rearrange_pages2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_recolor_page")] public static extern void PdfDocument_pdf_recolor_page(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -85176,6 +87467,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_repair_xref")] public static extern void PdfDocument_pdf_repair_xref(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_repair_xref_base")] + public static extern void PdfDocument_pdf_repair_xref_base(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_replace_xref")] public static extern void PdfDocument_pdf_replace_xref(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); @@ -85183,7 +87477,7 @@ static mupdfPINVOKE() { public static extern void PdfDocument_pdf_reset_form(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_resolve_link")] - public static extern int PdfDocument_pdf_resolve_link(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int PdfDocument_pdf_resolve_link(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_rewrite_images")] public static extern void PdfDocument_pdf_rewrite_images(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -85192,16 +87486,16 @@ static mupdfPINVOKE() { public static extern void PdfDocument_pdf_run_document_structure(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_run_glyph")] - public static extern void PdfDocument_pdf_run_glyph(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); + public static extern void PdfDocument_pdf_run_glyph(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_save_document")] - public static extern void PdfDocument_pdf_save_document(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void PdfDocument_pdf_save_document(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_save_journal")] - public static extern void PdfDocument_pdf_save_journal(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfDocument_pdf_save_journal(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_save_snapshot")] - public static extern void PdfDocument_pdf_save_snapshot(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfDocument_pdf_save_snapshot(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_select_layer_config")] public static extern void PdfDocument_pdf_select_layer_config(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -85213,7 +87507,7 @@ static mupdfPINVOKE() { public static extern void PdfDocument_pdf_serialise_journal(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_set_annot_field_value")] - public static extern int PdfDocument_pdf_set_annot_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern int PdfDocument_pdf_set_annot_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_set_doc_event_callback")] public static extern void PdfDocument_pdf_set_doc_event_callback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -85222,13 +87516,13 @@ static mupdfPINVOKE() { public static extern void PdfDocument_pdf_set_document_language(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_set_field_value")] - public static extern int PdfDocument_pdf_set_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern int PdfDocument_pdf_set_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_set_layer_config_as_default")] public static extern void PdfDocument_pdf_set_layer_config_as_default(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_set_page_labels")] - public static extern void PdfDocument_pdf_set_page_labels(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, int jarg5); + public static extern void PdfDocument_pdf_set_page_labels(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_set_populating_xref_trailer")] public static extern void PdfDocument_pdf_set_populating_xref_trailer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -85273,7 +87567,6 @@ static mupdfPINVOKE() { public static extern int PdfDocument_pdf_undoredo_state(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_undoredo_step")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfDocument_pdf_undoredo_step(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfDocument_pdf_update_object")] @@ -85442,12 +87735,14 @@ static mupdfPINVOKE() { public static extern int PdfFilterFactory_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfFilterFactory_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfFilterFactory_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfFilterFactory2")] public static extern global::System.IntPtr new_PdfFilterFactory2(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_PdfFilterFactory2")] + public static extern void delete_PdfFilterFactory2(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfFilterFactory2_use_virtual_filter__SWIG_0")] public static extern void PdfFilterFactory2_use_virtual_filter__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); @@ -85460,9 +87755,6 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfFilterFactory2_filterSwigExplicitPdfFilterFactory2")] public static extern global::System.IntPtr PdfFilterFactory2_filterSwigExplicitPdfFilterFactory2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_PdfFilterFactory2")] - public static extern void delete_PdfFilterFactory2(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfFilterFactory2_director_connect")] public static extern void PdfFilterFactory2_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, PdfFilterFactory2.SwigDelegatePdfFilterFactory2_0 delegate0); @@ -85536,7 +87828,6 @@ static mupdfPINVOKE() { public static extern int PdfFilterOptions_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfFilterOptions_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfFilterOptions_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfFilterOptions_m_filters_set")] @@ -85548,6 +87839,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfFilterOptions2")] public static extern global::System.IntPtr new_PdfFilterOptions2(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_PdfFilterOptions2")] + public static extern void delete_PdfFilterOptions2(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfFilterOptions2_use_virtual_complete__SWIG_0")] public static extern void PdfFilterOptions2_use_virtual_complete__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); @@ -85560,9 +87854,6 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfFilterOptions2_completeSwigExplicitPdfFilterOptions2")] public static extern void PdfFilterOptions2_completeSwigExplicitPdfFilterOptions2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_PdfFilterOptions2")] - public static extern void delete_PdfFilterOptions2(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfFilterOptions2_director_connect")] public static extern void PdfFilterOptions2_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, PdfFilterOptions2.SwigDelegatePdfFilterOptions2_0 delegate0); @@ -85972,7 +88263,6 @@ static mupdfPINVOKE() { public static extern int PdfImageRewriterOptions_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfImageRewriterOptions_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfImageRewriterOptions_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfJournal__SWIG_0")] @@ -86006,7 +88296,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_PdfJs__SWIG_0(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfJs_pdf_js_event_init")] - public static extern void PdfJs_pdf_js_event_init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern void PdfJs_pdf_js_event_init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfJs_pdf_js_event_init_keystroke")] public static extern void PdfJs_pdf_js_event_init_keystroke(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -86024,7 +88314,7 @@ static mupdfPINVOKE() { public static extern string PdfJs_pdf_js_event_value(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfJs_pdf_js_execute")] - public static extern void PdfJs_pdf_js_execute(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfJs_pdf_js_execute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfJs__SWIG_1")] public static extern global::System.IntPtr new_PdfJs__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -86132,17 +88422,15 @@ static mupdfPINVOKE() { public static extern void delete_PdfLayerConfig(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfLayerConfig_name_set")] - public static extern void PdfLayerConfig_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfLayerConfig_name_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfLayerConfig_name_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfLayerConfig_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfLayerConfig_creator_set")] - public static extern void PdfLayerConfig_creator_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfLayerConfig_creator_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfLayerConfig_creator_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfLayerConfig_creator_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfLayerConfig_s_num_instances_set")] @@ -86152,7 +88440,6 @@ static mupdfPINVOKE() { public static extern int PdfLayerConfig_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfLayerConfig_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfLayerConfig_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfLayerConfigUi__SWIG_0")] @@ -86168,10 +88455,9 @@ static mupdfPINVOKE() { public static extern void delete_PdfLayerConfigUi(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfLayerConfigUi_text_set")] - public static extern void PdfLayerConfigUi_text_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfLayerConfigUi_text_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfLayerConfigUi_text_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfLayerConfigUi_text_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfLayerConfigUi_depth_set")] @@ -86205,7 +88491,6 @@ static mupdfPINVOKE() { public static extern int PdfLayerConfigUi_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfLayerConfigUi_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfLayerConfigUi_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfLexbuf__SWIG_0")] @@ -86218,7 +88503,7 @@ static mupdfPINVOKE() { public static extern void PdfLexbuf_pdf_lexbuf_fin(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfLexbuf_pdf_lexbuf_grow")] - public static extern global::System.IntPtr PdfLexbuf_pdf_lexbuf_grow(global::System.Runtime.InteropServices.HandleRef jarg1); + public static extern int PdfLexbuf_pdf_lexbuf_grow(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfLexbuf_pdf_lexbuf_init")] public static extern void PdfLexbuf_pdf_lexbuf_init(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -86272,7 +88557,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_PdfLockedFields__SWIG_0(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfLockedFields_pdf_is_field_locked")] - public static extern int PdfLockedFields_pdf_is_field_locked(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int PdfLockedFields_pdf_is_field_locked(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfLockedFields__SWIG_1")] public static extern global::System.IntPtr new_PdfLockedFields__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -86416,7 +88701,7 @@ static mupdfPINVOKE() { public static extern int PdfMrange_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfObj__SWIG_0")] - public static extern global::System.IntPtr new_PdfObj__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr new_PdfObj__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfObj__SWIG_1")] public static extern global::System.IntPtr new_PdfObj__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -86425,7 +88710,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_PdfObj__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfObj__SWIG_3")] - public static extern global::System.IntPtr new_PdfObj__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr new_PdfObj__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfObj__SWIG_4")] public static extern global::System.IntPtr new_PdfObj__SWIG_4(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); @@ -86437,7 +88722,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_PdfObj__SWIG_6(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfObj__SWIG_7")] - public static extern global::System.IntPtr new_PdfObj__SWIG_7([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_PdfObj__SWIG_7(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfObj__SWIG_8")] public static extern global::System.IntPtr new_PdfObj__SWIG_8(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -86449,7 +88734,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_PdfObj__SWIG_10(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfObj__SWIG_11")] - public static extern global::System.IntPtr new_PdfObj__SWIG_11([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, uint jarg2); + public static extern global::System.IntPtr new_PdfObj__SWIG_11(string jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfObj__SWIG_12")] public static extern global::System.IntPtr new_PdfObj__SWIG_12(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); @@ -86458,7 +88743,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_PdfObj__SWIG_13(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_new_text_string")] - public static extern global::System.IntPtr PdfObj_pdf_new_text_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr PdfObj_pdf_new_text_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_new_dict")] public static extern global::System.IntPtr PdfObj_pdf_new_dict(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -86485,7 +88770,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfObj_pdf_array_get_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_get_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_array_get_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_get_real")] @@ -86495,11 +88779,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfObj_pdf_array_get_rect(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_get_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_array_get_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_get_text_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_array_get_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_insert")] @@ -86524,16 +88806,16 @@ static mupdfPINVOKE() { public static extern void PdfObj_pdf_array_push_int(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_push_name")] - public static extern void PdfObj_pdf_array_push_name(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfObj_pdf_array_push_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_push_real")] public static extern void PdfObj_pdf_array_push_real(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_push_string")] - public static extern void PdfObj_pdf_array_push_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, uint jarg3); + public static extern void PdfObj_pdf_array_push_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_push_text_string")] - public static extern void PdfObj_pdf_array_push_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfObj_pdf_array_push_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_put")] public static extern void PdfObj_pdf_array_put(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -86551,22 +88833,21 @@ static mupdfPINVOKE() { public static extern void PdfObj_pdf_array_put_int(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_put_name")] - public static extern void PdfObj_pdf_array_put_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void PdfObj_pdf_array_put_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_put_real")] public static extern void PdfObj_pdf_array_put_real(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_put_string")] - public static extern void PdfObj_pdf_array_put_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, uint jarg4); + public static extern void PdfObj_pdf_array_put_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_array_put_text_string")] - public static extern void PdfObj_pdf_array_put_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void PdfObj_pdf_array_put_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_button_field_on_state")] public static extern global::System.IntPtr PdfObj_pdf_button_field_on_state(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_choice_field_option")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_choice_field_option(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_choice_field_option_count")] @@ -86594,7 +88875,7 @@ static mupdfPINVOKE() { public static extern void PdfObj_pdf_dict_del(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_dels")] - public static extern void PdfObj_pdf_dict_dels(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfObj_pdf_dict_dels(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_get__SWIG_0")] public static extern global::System.IntPtr PdfObj_pdf_dict_get__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -86627,7 +88908,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfObj_pdf_dict_get_inheritable_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_get_inheritable_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_dict_get_inheritable_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_get_inheritable_real")] @@ -86637,11 +88917,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfObj_pdf_dict_get_inheritable_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_get_inheritable_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_dict_get_inheritable_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_get_inheritable_text_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_dict_get_inheritable_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_get_int")] @@ -86660,7 +88938,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfObj_pdf_dict_get_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_get_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_dict_get_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_get_point")] @@ -86676,15 +88953,12 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfObj_pdf_dict_get_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_get_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_dict_get_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_get_text_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_dict_get_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_get_text_string_opt")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_dict_get_text_string_opt(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_get_val")] @@ -86694,19 +88968,19 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfObj_pdf_dict_geta(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_getp")] - public static extern global::System.IntPtr PdfObj_pdf_dict_getp(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr PdfObj_pdf_dict_getp(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_getp_inheritable")] - public static extern global::System.IntPtr PdfObj_pdf_dict_getp_inheritable(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr PdfObj_pdf_dict_getp_inheritable(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_gets")] - public static extern global::System.IntPtr PdfObj_pdf_dict_gets(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr PdfObj_pdf_dict_gets(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_gets_inheritable")] - public static extern global::System.IntPtr PdfObj_pdf_dict_gets_inheritable(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr PdfObj_pdf_dict_gets_inheritable(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_getsa")] - public static extern global::System.IntPtr PdfObj_pdf_dict_getsa(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr PdfObj_pdf_dict_getsa(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_len")] public static extern int PdfObj_pdf_dict_len(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -86736,7 +89010,7 @@ static mupdfPINVOKE() { public static extern void PdfObj_pdf_dict_put_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_put_name")] - public static extern void PdfObj_pdf_dict_put_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void PdfObj_pdf_dict_put_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_put_point")] public static extern void PdfObj_pdf_dict_put_point(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -86748,22 +89022,22 @@ static mupdfPINVOKE() { public static extern void PdfObj_pdf_dict_put_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_put_string")] - public static extern void PdfObj_pdf_dict_put_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, uint jarg4); + public static extern void PdfObj_pdf_dict_put_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_put_text_string")] - public static extern void PdfObj_pdf_dict_put_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void PdfObj_pdf_dict_put_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_put_val_null")] public static extern void PdfObj_pdf_dict_put_val_null(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_putp")] - public static extern void PdfObj_pdf_dict_putp(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void PdfObj_pdf_dict_putp(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_puts")] - public static extern void PdfObj_pdf_dict_puts(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void PdfObj_pdf_dict_puts(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dict_puts_dict")] - public static extern global::System.IntPtr PdfObj_pdf_dict_puts_dict(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr PdfObj_pdf_dict_puts_dict(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_dirty_obj")] public static extern void PdfObj_pdf_dirty_obj(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -86778,14 +89052,13 @@ static mupdfPINVOKE() { public static extern int PdfObj_pdf_field_flags(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_field_label")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_field_label(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_field_set_border_style")] - public static extern void PdfObj_pdf_field_set_border_style(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfObj_pdf_field_set_border_style(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_field_set_button_caption")] - public static extern void PdfObj_pdf_field_set_button_caption(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfObj_pdf_field_set_button_caption(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_field_set_display")] public static extern void PdfObj_pdf_field_set_display(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -86800,11 +89073,9 @@ static mupdfPINVOKE() { public static extern int PdfObj_pdf_field_type(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_field_type_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_field_type_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_field_value")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_field_value(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_filter_xobject_instance")] @@ -86895,7 +89166,7 @@ static mupdfPINVOKE() { public static extern string PdfObj_pdf_load_stream_or_string_as_utf8(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_lookup_field")] - public static extern global::System.IntPtr PdfObj_pdf_lookup_field(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr PdfObj_pdf_lookup_field(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_lookup_number")] public static extern global::System.IntPtr PdfObj_pdf_lookup_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -87006,7 +89277,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfObj_pdf_to_matrix(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_to_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_to_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_to_num")] @@ -87034,11 +89304,9 @@ static mupdfPINVOKE() { public static extern uint PdfObj_pdf_to_str_len(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_to_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_to_text_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_to_text_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_unmark_obj")] @@ -87075,7 +89343,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfObj_pdf_dict_get__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfObj_pdf_load_field_name2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfObj_pdf_load_field_name2(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfObj__SWIG_14")] @@ -87135,6 +89402,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_bound_page")] public static extern global::System.IntPtr PdfPage_pdf_bound_page(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_clip_page")] + public static extern void PdfPage_pdf_clip_page(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_count_page_associated_files")] public static extern int PdfPage_pdf_count_page_associated_files(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -87145,7 +89415,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfPage_pdf_create_annot_raw(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_create_link")] - public static extern global::System.IntPtr PdfPage_pdf_create_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr PdfPage_pdf_create_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_create_signature_widget")] public static extern global::System.IntPtr PdfPage_pdf_create_signature_widget(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); @@ -87166,19 +89436,19 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr PdfPage_pdf_load_links(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_new_link")] - public static extern global::System.IntPtr PdfPage_pdf_new_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr PdfPage_pdf_new_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_new_pixmap_from_page_contents_with_separations_and_usage")] - public static extern global::System.IntPtr PdfPage_pdf_new_pixmap_from_page_contents_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6, int jarg7); + public static extern global::System.IntPtr PdfPage_pdf_new_pixmap_from_page_contents_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, string jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_new_pixmap_from_page_contents_with_usage")] - public static extern global::System.IntPtr PdfPage_pdf_new_pixmap_from_page_contents_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, int jarg6); + public static extern global::System.IntPtr PdfPage_pdf_new_pixmap_from_page_contents_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_new_pixmap_from_page_with_separations_and_usage")] - public static extern global::System.IntPtr PdfPage_pdf_new_pixmap_from_page_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6, int jarg7); + public static extern global::System.IntPtr PdfPage_pdf_new_pixmap_from_page_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, string jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_new_pixmap_from_page_with_usage")] - public static extern global::System.IntPtr PdfPage_pdf_new_pixmap_from_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, int jarg6); + public static extern global::System.IntPtr PdfPage_pdf_new_pixmap_from_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_nuke_annots")] public static extern void PdfPage_pdf_nuke_annots(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -87229,22 +89499,22 @@ static mupdfPINVOKE() { public static extern void PdfPage_pdf_run_page_annots(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_run_page_annots_with_usage")] - public static extern void PdfPage_pdf_run_page_annots_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void PdfPage_pdf_run_page_annots_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_run_page_contents")] public static extern void PdfPage_pdf_run_page_contents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_run_page_contents_with_usage")] - public static extern void PdfPage_pdf_run_page_contents_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void PdfPage_pdf_run_page_contents_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_run_page_widgets")] public static extern void PdfPage_pdf_run_page_widgets(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_run_page_widgets_with_usage")] - public static extern void PdfPage_pdf_run_page_widgets_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void PdfPage_pdf_run_page_widgets_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_run_page_with_usage")] - public static extern void PdfPage_pdf_run_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void PdfPage_pdf_run_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfPage_pdf_set_page_box")] public static extern void PdfPage_pdf_set_page_box(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -87403,7 +89673,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_PdfProcessor__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfProcessor__SWIG_2")] - public static extern global::System.IntPtr new_PdfProcessor__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); + public static extern global::System.IntPtr new_PdfProcessor__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfProcessor__SWIG_3")] public static extern global::System.IntPtr new_PdfProcessor__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); @@ -87465,6 +89735,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfProcessor2")] public static extern global::System.IntPtr new_PdfProcessor2(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_PdfProcessor2")] + public static extern void delete_PdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_use_virtual_close_processor__SWIG_0")] public static extern void PdfProcessor2_use_virtual_close_processor__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); @@ -88060,10 +90333,10 @@ static mupdfPINVOKE() { public static extern void PdfProcessor2_op_dSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, float jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_ri")] - public static extern void PdfProcessor2_op_ri(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void PdfProcessor2_op_ri(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_riSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_riSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void PdfProcessor2_op_riSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_i")] public static extern void PdfProcessor2_op_i(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, float jarg3); @@ -88072,16 +90345,16 @@ static mupdfPINVOKE() { public static extern void PdfProcessor2_op_iSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, float jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_gs_begin")] - public static extern void PdfProcessor2_op_gs_begin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_gs_begin(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_gs_beginSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_gs_beginSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_gs_beginSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_gs_BM")] - public static extern void PdfProcessor2_op_gs_BM(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void PdfProcessor2_op_gs_BM(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_gs_BMSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_gs_BMSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void PdfProcessor2_op_gs_BMSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_gs_ca")] public static extern void PdfProcessor2_op_gs_ca(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, float jarg3); @@ -88276,10 +90549,10 @@ static mupdfPINVOKE() { public static extern void PdfProcessor2_op_TLSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, float jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_Tf")] - public static extern void PdfProcessor2_op_Tf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, float jarg5); + public static extern void PdfProcessor2_op_Tf(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, float jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_TfSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_TfSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, float jarg5); + public static extern void PdfProcessor2_op_TfSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, float jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_Tr")] public static extern void PdfProcessor2_op_Tr(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); @@ -88354,40 +90627,40 @@ static mupdfPINVOKE() { public static extern void PdfProcessor2_op_d1SwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, float jarg3, float jarg4, float jarg5, float jarg6, float jarg7, float jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_CS")] - public static extern void PdfProcessor2_op_CS(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_CS(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_CSSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_CSSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_CSSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_cs")] - public static extern void PdfProcessor2_op_cs(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_cs(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_csSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_csSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_csSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_SC_pattern")] - public static extern void PdfProcessor2_op_SC_pattern(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern void PdfProcessor2_op_SC_pattern(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_SC_patternSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_SC_patternSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern void PdfProcessor2_op_SC_patternSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_sc_pattern")] - public static extern void PdfProcessor2_op_sc_pattern(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern void PdfProcessor2_op_sc_pattern(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_sc_patternSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_sc_patternSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern void PdfProcessor2_op_sc_patternSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_SC_shade")] - public static extern void PdfProcessor2_op_SC_shade(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_SC_shade(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_SC_shadeSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_SC_shadeSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_SC_shadeSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_sc_shade")] - public static extern void PdfProcessor2_op_sc_shade(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_sc_shade(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_sc_shadeSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_sc_shadeSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_sc_shadeSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_SC_color")] public static extern void PdfProcessor2_op_SC_color(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -88438,52 +90711,52 @@ static mupdfPINVOKE() { public static extern void PdfProcessor2_op_kSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, float jarg3, float jarg4, float jarg5, float jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_BI")] - public static extern void PdfProcessor2_op_BI(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern void PdfProcessor2_op_BI(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_BISwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_BISwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern void PdfProcessor2_op_BISwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_sh")] - public static extern void PdfProcessor2_op_sh(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_sh(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_shSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_shSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_shSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_Do_image")] - public static extern void PdfProcessor2_op_Do_image(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_Do_image(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_Do_imageSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_Do_imageSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_Do_imageSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_Do_form")] - public static extern void PdfProcessor2_op_Do_form(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_Do_form(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_Do_formSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_Do_formSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void PdfProcessor2_op_Do_formSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_MP")] - public static extern void PdfProcessor2_op_MP(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void PdfProcessor2_op_MP(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_MPSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_MPSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void PdfProcessor2_op_MPSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_DP")] - public static extern void PdfProcessor2_op_DP(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void PdfProcessor2_op_DP(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_DPSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_DPSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void PdfProcessor2_op_DPSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_BMC")] - public static extern void PdfProcessor2_op_BMC(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void PdfProcessor2_op_BMC(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_BMCSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_BMCSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void PdfProcessor2_op_BMCSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_BDC")] - public static extern void PdfProcessor2_op_BDC(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void PdfProcessor2_op_BDC(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_BDCSwigExplicitPdfProcessor2")] - public static extern void PdfProcessor2_op_BDCSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void PdfProcessor2_op_BDCSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_EMC")] public static extern void PdfProcessor2_op_EMC(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -88533,9 +90806,6 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_op_ENDSwigExplicitPdfProcessor2")] public static extern void PdfProcessor2_op_ENDSwigExplicitPdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_PdfProcessor2")] - public static extern void delete_PdfProcessor2(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfProcessor2_director_connect")] public static extern void PdfProcessor2_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, PdfProcessor2.SwigDelegatePdfProcessor2_0 delegate0, PdfProcessor2.SwigDelegatePdfProcessor2_1 delegate1, PdfProcessor2.SwigDelegatePdfProcessor2_2 delegate2, PdfProcessor2.SwigDelegatePdfProcessor2_3 delegate3, PdfProcessor2.SwigDelegatePdfProcessor2_4 delegate4, PdfProcessor2.SwigDelegatePdfProcessor2_5 delegate5, PdfProcessor2.SwigDelegatePdfProcessor2_6 delegate6, PdfProcessor2.SwigDelegatePdfProcessor2_7 delegate7, PdfProcessor2.SwigDelegatePdfProcessor2_8 delegate8, PdfProcessor2.SwigDelegatePdfProcessor2_9 delegate9, PdfProcessor2.SwigDelegatePdfProcessor2_10 delegate10, PdfProcessor2.SwigDelegatePdfProcessor2_11 delegate11, PdfProcessor2.SwigDelegatePdfProcessor2_12 delegate12, PdfProcessor2.SwigDelegatePdfProcessor2_13 delegate13, PdfProcessor2.SwigDelegatePdfProcessor2_14 delegate14, PdfProcessor2.SwigDelegatePdfProcessor2_15 delegate15, PdfProcessor2.SwigDelegatePdfProcessor2_16 delegate16, PdfProcessor2.SwigDelegatePdfProcessor2_17 delegate17, PdfProcessor2.SwigDelegatePdfProcessor2_18 delegate18, PdfProcessor2.SwigDelegatePdfProcessor2_19 delegate19, PdfProcessor2.SwigDelegatePdfProcessor2_20 delegate20, PdfProcessor2.SwigDelegatePdfProcessor2_21 delegate21, PdfProcessor2.SwigDelegatePdfProcessor2_22 delegate22, PdfProcessor2.SwigDelegatePdfProcessor2_23 delegate23, PdfProcessor2.SwigDelegatePdfProcessor2_24 delegate24, PdfProcessor2.SwigDelegatePdfProcessor2_25 delegate25, PdfProcessor2.SwigDelegatePdfProcessor2_26 delegate26, PdfProcessor2.SwigDelegatePdfProcessor2_27 delegate27, PdfProcessor2.SwigDelegatePdfProcessor2_28 delegate28, PdfProcessor2.SwigDelegatePdfProcessor2_29 delegate29, PdfProcessor2.SwigDelegatePdfProcessor2_30 delegate30, PdfProcessor2.SwigDelegatePdfProcessor2_31 delegate31, PdfProcessor2.SwigDelegatePdfProcessor2_32 delegate32, PdfProcessor2.SwigDelegatePdfProcessor2_33 delegate33, PdfProcessor2.SwigDelegatePdfProcessor2_34 delegate34, PdfProcessor2.SwigDelegatePdfProcessor2_35 delegate35, PdfProcessor2.SwigDelegatePdfProcessor2_36 delegate36, PdfProcessor2.SwigDelegatePdfProcessor2_37 delegate37, PdfProcessor2.SwigDelegatePdfProcessor2_38 delegate38, PdfProcessor2.SwigDelegatePdfProcessor2_39 delegate39, PdfProcessor2.SwigDelegatePdfProcessor2_40 delegate40, PdfProcessor2.SwigDelegatePdfProcessor2_41 delegate41, PdfProcessor2.SwigDelegatePdfProcessor2_42 delegate42, PdfProcessor2.SwigDelegatePdfProcessor2_43 delegate43, PdfProcessor2.SwigDelegatePdfProcessor2_44 delegate44, PdfProcessor2.SwigDelegatePdfProcessor2_45 delegate45, PdfProcessor2.SwigDelegatePdfProcessor2_46 delegate46, PdfProcessor2.SwigDelegatePdfProcessor2_47 delegate47, PdfProcessor2.SwigDelegatePdfProcessor2_48 delegate48, PdfProcessor2.SwigDelegatePdfProcessor2_49 delegate49, PdfProcessor2.SwigDelegatePdfProcessor2_50 delegate50, PdfProcessor2.SwigDelegatePdfProcessor2_51 delegate51, PdfProcessor2.SwigDelegatePdfProcessor2_52 delegate52, PdfProcessor2.SwigDelegatePdfProcessor2_53 delegate53, PdfProcessor2.SwigDelegatePdfProcessor2_54 delegate54, PdfProcessor2.SwigDelegatePdfProcessor2_55 delegate55, PdfProcessor2.SwigDelegatePdfProcessor2_56 delegate56, PdfProcessor2.SwigDelegatePdfProcessor2_57 delegate57, PdfProcessor2.SwigDelegatePdfProcessor2_58 delegate58, PdfProcessor2.SwigDelegatePdfProcessor2_59 delegate59, PdfProcessor2.SwigDelegatePdfProcessor2_60 delegate60, PdfProcessor2.SwigDelegatePdfProcessor2_61 delegate61, PdfProcessor2.SwigDelegatePdfProcessor2_62 delegate62, PdfProcessor2.SwigDelegatePdfProcessor2_63 delegate63, PdfProcessor2.SwigDelegatePdfProcessor2_64 delegate64, PdfProcessor2.SwigDelegatePdfProcessor2_65 delegate65, PdfProcessor2.SwigDelegatePdfProcessor2_66 delegate66, PdfProcessor2.SwigDelegatePdfProcessor2_67 delegate67, PdfProcessor2.SwigDelegatePdfProcessor2_68 delegate68, PdfProcessor2.SwigDelegatePdfProcessor2_69 delegate69, PdfProcessor2.SwigDelegatePdfProcessor2_70 delegate70, PdfProcessor2.SwigDelegatePdfProcessor2_71 delegate71, PdfProcessor2.SwigDelegatePdfProcessor2_72 delegate72, PdfProcessor2.SwigDelegatePdfProcessor2_73 delegate73, PdfProcessor2.SwigDelegatePdfProcessor2_74 delegate74, PdfProcessor2.SwigDelegatePdfProcessor2_75 delegate75, PdfProcessor2.SwigDelegatePdfProcessor2_76 delegate76, PdfProcessor2.SwigDelegatePdfProcessor2_77 delegate77, PdfProcessor2.SwigDelegatePdfProcessor2_78 delegate78, PdfProcessor2.SwigDelegatePdfProcessor2_79 delegate79, PdfProcessor2.SwigDelegatePdfProcessor2_80 delegate80, PdfProcessor2.SwigDelegatePdfProcessor2_81 delegate81, PdfProcessor2.SwigDelegatePdfProcessor2_82 delegate82, PdfProcessor2.SwigDelegatePdfProcessor2_83 delegate83, PdfProcessor2.SwigDelegatePdfProcessor2_84 delegate84, PdfProcessor2.SwigDelegatePdfProcessor2_85 delegate85, PdfProcessor2.SwigDelegatePdfProcessor2_86 delegate86, PdfProcessor2.SwigDelegatePdfProcessor2_87 delegate87, PdfProcessor2.SwigDelegatePdfProcessor2_88 delegate88); @@ -88569,17 +90839,17 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfRecolorOptions__SWIG_1")] public static extern global::System.IntPtr new_PdfRecolorOptions__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfRecolorOptions_internal___SWIG_0")] + public static extern global::System.IntPtr PdfRecolorOptions_internal___SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_PdfRecolorOptions")] public static extern void delete_PdfRecolorOptions(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfRecolorOptions_m_internal_value")] - public static extern long PdfRecolorOptions_m_internal_value(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfRecolorOptions_m_internal_set")] - public static extern void PdfRecolorOptions_m_internal_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfRecolorOptions_num_comp_set")] + public static extern void PdfRecolorOptions_num_comp_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfRecolorOptions_m_internal_get")] - public static extern global::System.IntPtr PdfRecolorOptions_m_internal_get(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfRecolorOptions_num_comp_get")] + public static extern int PdfRecolorOptions_num_comp_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfRecolorOptions_s_num_instances_set")] public static extern void PdfRecolorOptions_s_num_instances_set(int jarg1); @@ -88587,6 +90857,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfRecolorOptions_s_num_instances_get")] public static extern int PdfRecolorOptions_s_num_instances_get(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfRecolorOptions_to_string")] + public static extern string PdfRecolorOptions_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfRedactOptions__SWIG_0")] public static extern global::System.IntPtr new_PdfRedactOptions__SWIG_0(); @@ -88630,7 +90903,6 @@ static mupdfPINVOKE() { public static extern int PdfRedactOptions_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfRedactOptions_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfRedactOptions_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfRevPageMap__SWIG_0")] @@ -88706,12 +90978,14 @@ static mupdfPINVOKE() { public static extern int PdfSanitizeFilterOptions_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfSanitizeFilterOptions_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfSanitizeFilterOptions_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfSanitizeFilterOptions2")] public static extern global::System.IntPtr new_PdfSanitizeFilterOptions2(); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_PdfSanitizeFilterOptions2")] + public static extern void delete_PdfSanitizeFilterOptions2(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfSanitizeFilterOptions2_use_virtual_image_filter__SWIG_0")] public static extern void PdfSanitizeFilterOptions2_use_virtual_image_filter__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); @@ -88737,10 +91011,10 @@ static mupdfPINVOKE() { public static extern void PdfSanitizeFilterOptions2_use_virtual_culler__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfSanitizeFilterOptions2_image_filter")] - public static extern global::System.IntPtr PdfSanitizeFilterOptions2_image_filter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern global::System.IntPtr PdfSanitizeFilterOptions2_image_filter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfSanitizeFilterOptions2_image_filterSwigExplicitPdfSanitizeFilterOptions2")] - public static extern global::System.IntPtr PdfSanitizeFilterOptions2_image_filterSwigExplicitPdfSanitizeFilterOptions2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern global::System.IntPtr PdfSanitizeFilterOptions2_image_filterSwigExplicitPdfSanitizeFilterOptions2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfSanitizeFilterOptions2_text_filter")] public static extern int PdfSanitizeFilterOptions2_text_filter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); @@ -88760,9 +91034,6 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfSanitizeFilterOptions2_cullerSwigExplicitPdfSanitizeFilterOptions2")] public static extern int PdfSanitizeFilterOptions2_cullerSwigExplicitPdfSanitizeFilterOptions2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_PdfSanitizeFilterOptions2")] - public static extern void delete_PdfSanitizeFilterOptions2(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfSanitizeFilterOptions2_director_connect")] public static extern void PdfSanitizeFilterOptions2_director_connect(global::System.Runtime.InteropServices.HandleRef jarg1, PdfSanitizeFilterOptions2.SwigDelegatePdfSanitizeFilterOptions2_0 delegate0, PdfSanitizeFilterOptions2.SwigDelegatePdfSanitizeFilterOptions2_1 delegate1, PdfSanitizeFilterOptions2.SwigDelegatePdfSanitizeFilterOptions2_2 delegate2, PdfSanitizeFilterOptions2.SwigDelegatePdfSanitizeFilterOptions2_3 delegate3); @@ -88890,13 +91161,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr new_PdfWriteOptions__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfWriteOptions_pdf_parse_write_options")] - public static extern global::System.IntPtr PdfWriteOptions_pdf_parse_write_options(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr PdfWriteOptions_pdf_parse_write_options(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfWriteOptions_opwd_utf8_set_value")] - public static extern void PdfWriteOptions_opwd_utf8_set_value(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfWriteOptions_opwd_utf8_set_value(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfWriteOptions_upwd_utf8_set_value")] - public static extern void PdfWriteOptions_upwd_utf8_set_value(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void PdfWriteOptions_upwd_utf8_set_value(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfWriteOptions__SWIG_2")] public static extern global::System.IntPtr new_PdfWriteOptions__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -89040,7 +91311,6 @@ static mupdfPINVOKE() { public static extern int PdfWriteOptions_s_num_instances_get(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_PdfWriteOptions_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string PdfWriteOptions_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_PdfXrange__SWIG_0")] @@ -89164,7 +91434,7 @@ static mupdfPINVOKE() { public static extern void FzLinkIterator_fz_set_link_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzLinkIterator_fz_set_link_uri")] - public static extern void FzLinkIterator_fz_set_link_uri(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzLinkIterator_fz_set_link_uri(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzLinkIterator_begin")] public static extern global::System.IntPtr FzLinkIterator_begin(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -89182,7 +91452,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr FzLinkIterator_rect(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzLinkIterator_uri")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzLinkIterator_uri(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzLinkIterator_m_internal_value")] @@ -89318,16 +91587,16 @@ static mupdfPINVOKE() { public static extern int fz_absi(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_add_layout_char")] - public static extern void fz_add_layout_char(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern void fz_add_layout_char(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_add_layout_line")] - public static extern void fz_add_layout_line(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, float jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5); + public static extern void fz_add_layout_line(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, float jarg4, string jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_add_separation")] - public static extern void fz_add_separation(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); + public static extern void fz_add_separation(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_add_separation_equivalents")] - public static extern void fz_add_separation_equivalents(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern void fz_add_separation_equivalents(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_adjust_rect_for_stroke")] public static extern global::System.IntPtr fz_adjust_rect_for_stroke(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -89383,8 +91652,11 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_append_int32_le")] public static extern void fz_append_int32_le(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_append_json")] + public static extern void fz_append_json(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_append_pdf_string")] - public static extern void fz_append_pdf_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_append_pdf_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_append_pixmap_as_data_uri")] public static extern void fz_append_pixmap_as_data_uri(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -89393,7 +91665,7 @@ static mupdfPINVOKE() { public static extern void fz_append_rune(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_append_string")] - public static extern void fz_append_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_append_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_arc4_encrypt")] public static extern void fz_arc4_encrypt(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4); @@ -89405,20 +91677,22 @@ static mupdfPINVOKE() { public static extern void fz_arc4_init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_archive_format")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_archive_format(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_atof")] - public static extern float fz_atof([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern float fz_atof(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_atoi")] - public static extern int fz_atoi([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_atoi(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_atoi64")] - public static extern long fz_atoi64([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern long fz_atoi64(string jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_atoz")] + public static extern uint fz_atoz(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_authenticate_password")] - public static extern int fz_authenticate_password(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int fz_authenticate_password(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_autowarp_pixmap")] public static extern global::System.IntPtr fz_autowarp_pixmap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -89430,26 +91704,25 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_base_colorspace(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_basename")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string fz_basename([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string fz_basename(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_begin_group")] public static extern void fz_begin_group(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, int jarg5, int jarg6, float jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_begin_layer")] - public static extern void fz_begin_layer(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_begin_layer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_begin_mask")] public static extern void fz_begin_mask(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_begin_metatext")] - public static extern void fz_begin_metatext(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void fz_begin_metatext(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_begin_page")] public static extern global::System.IntPtr fz_begin_page(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_begin_structure")] - public static extern void fz_begin_structure(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern void fz_begin_structure(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_begin_tile")] public static extern void fz_begin_tile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, float jarg4, float jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); @@ -89464,7 +91737,6 @@ static mupdfPINVOKE() { public static extern void fz_bitmap_details(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_blendmode_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_blendmode_name(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_bound_display_list")] @@ -89489,7 +91761,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_bound_text(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_box_type_from_string")] - public static extern int fz_box_type_from_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_box_type_from_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_buffer_extract")] public static extern uint fz_buffer_extract(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -89510,11 +91782,13 @@ static mupdfPINVOKE() { public static extern int fz_caught_errno(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_caught_message")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_caught_message(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_chartorune")] - public static extern int fz_chartorune(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int fz_chartorune(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_chartorunen")] + public static extern int fz_chartorunen(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_clamp")] public static extern float fz_clamp(float jarg1, float jarg2, float jarg3); @@ -89541,7 +91815,7 @@ static mupdfPINVOKE() { public static extern string fz_cleanname(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_cleanname_strdup")] - public static extern string fz_cleanname_strdup([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string fz_cleanname_strdup(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_clear_bitmap")] public static extern void fz_clear_bitmap(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -89613,7 +91887,6 @@ static mupdfPINVOKE() { public static extern void fz_closepath(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_colorspace_colorant")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_colorspace_colorant(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_colorspace_device_n_has_cmyk")] @@ -89622,6 +91895,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_colorspace_device_n_has_only_cmyk")] public static extern int fz_colorspace_device_n_has_only_cmyk(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_colorspace_digest")] + public static extern void fz_colorspace_digest(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_colorspace_is_cmyk")] public static extern int fz_colorspace_is_cmyk(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -89640,6 +91916,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_colorspace_is_gray")] public static extern int fz_colorspace_is_gray(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_colorspace_is_icc")] + public static extern int fz_colorspace_is_icc(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_colorspace_is_indexed")] public static extern int fz_colorspace_is_indexed(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -89659,11 +91938,10 @@ static mupdfPINVOKE() { public static extern int fz_colorspace_n(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_colorspace_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_colorspace_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_colorspace_name_colorant")] - public static extern void fz_colorspace_name_colorant(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void fz_colorspace_name_colorant(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_colorspace_type")] public static extern int fz_colorspace_type(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -89672,10 +91950,10 @@ static mupdfPINVOKE() { public static extern int fz_compare_separations(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_compress_ccitt_fax_g3")] - public static extern global::System.IntPtr fz_compress_ccitt_fax_g3(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr fz_compress_ccitt_fax_g3(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_compress_ccitt_fax_g4")] - public static extern global::System.IntPtr fz_compress_ccitt_fax_g4(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr fz_compress_ccitt_fax_g4(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_compressed_buffer_size")] public static extern uint fz_compressed_buffer_size(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -89696,7 +91974,6 @@ static mupdfPINVOKE() { public static extern void fz_convert_color(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_convert_error")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_convert_error(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_convert_indexed_pixmap_to_base")] @@ -89712,7 +91989,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_convert_separation_pixmap_to_base(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_copy_option")] - public static extern uint fz_copy_option([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, string jarg2, uint jarg3); + public static extern uint fz_copy_option(string jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_copy_pixmap_rect")] public static extern void fz_copy_pixmap_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -89742,7 +92019,7 @@ static mupdfPINVOKE() { public static extern int fz_count_separations(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_create_link")] - public static extern global::System.IntPtr fz_create_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr fz_create_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_currentpoint")] public static extern global::System.IntPtr fz_currentpoint(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -89766,10 +92043,10 @@ static mupdfPINVOKE() { public static extern void fz_decode_tile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_decode_uri")] - public static extern string fz_decode_uri([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string fz_decode_uri(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_decode_uri_component")] - public static extern string fz_decode_uri_component([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string fz_decode_uri_component(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_decomp_image_from_stream")] public static extern global::System.IntPtr fz_decomp_image_from_stream(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); @@ -89781,7 +92058,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_default_cmyk(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_default_error_callback")] - public static extern void fz_default_error_callback(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_default_error_callback(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_default_gray")] public static extern global::System.IntPtr fz_default_gray(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -89796,7 +92073,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_default_rgb(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_default_warning_callback")] - public static extern void fz_default_warning_callback(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_default_warning_callback(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_defer_reap_end")] public static extern void fz_defer_reap_end(); @@ -89841,7 +92118,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_device_rgb(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dirname")] - public static extern void fz_dirname(string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, uint jarg3); + public static extern void fz_dirname(string jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_disable_device_hints")] public static extern void fz_disable_device_hints(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -89868,7 +92145,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_document_handler_open(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_document_handler_recognize")] - public static extern int fz_document_handler_recognize(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int fz_document_handler_recognize(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_document_output_intent")] public static extern global::System.IntPtr fz_document_output_intent(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -89877,14 +92154,13 @@ static mupdfPINVOKE() { public static extern int fz_document_supports_accelerator(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dom_add_attribute")] - public static extern void fz_dom_add_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void fz_dom_add_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dom_append_child")] public static extern void fz_dom_append_child(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dom_attribute")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string fz_dom_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string fz_dom_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dom_body")] public static extern global::System.IntPtr fz_dom_body(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -89893,25 +92169,24 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_dom_clone(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dom_create_element")] - public static extern global::System.IntPtr fz_dom_create_element(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_dom_create_element(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dom_create_text_node")] - public static extern global::System.IntPtr fz_dom_create_text_node(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_dom_create_text_node(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dom_document_element")] public static extern global::System.IntPtr fz_dom_document_element(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dom_find")] - public static extern global::System.IntPtr fz_dom_find(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr fz_dom_find(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dom_find_next")] - public static extern global::System.IntPtr fz_dom_find_next(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr fz_dom_find_next(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dom_first_child")] public static extern global::System.IntPtr fz_dom_first_child(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dom_get_attribute")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_dom_get_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dom_insert_after")] @@ -89933,7 +92208,7 @@ static mupdfPINVOKE() { public static extern void fz_dom_remove(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_dom_remove_attribute")] - public static extern void fz_dom_remove_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_dom_remove_attribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_draw_story")] public static extern void fz_draw_story(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -89957,7 +92232,7 @@ static mupdfPINVOKE() { public static extern int fz_encode_character(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_encode_character_by_glyph_name")] - public static extern int fz_encode_character_by_glyph_name(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int fz_encode_character_by_glyph_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_encode_character_sc")] public static extern int fz_encode_character_sc(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -89966,13 +92241,13 @@ static mupdfPINVOKE() { public static extern int fz_encode_character_with_fallback(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_encode_uri")] - public static extern string fz_encode_uri([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string fz_encode_uri(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_encode_uri_component")] - public static extern string fz_encode_uri_component([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string fz_encode_uri_component(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_encode_uri_pathname")] - public static extern string fz_encode_uri_pathname([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string fz_encode_uri_pathname(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_end_group")] public static extern void fz_end_group(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -90001,6 +92276,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_end_tile")] public static extern void fz_end_tile(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_enumerate_font_cmap")] + public static extern void fz_enumerate_font_cmap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_enumerate_font_cmap2")] + public static extern global::System.IntPtr fz_enumerate_font_cmap2(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_error_callback")] public static extern global::System.IntPtr fz_error_callback(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -90017,7 +92298,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_extract_ttf_from_ttc(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_file_exists")] - public static extern int fz_file_exists([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_file_exists(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_fill_image")] public static extern void fz_fill_image(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, float jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); @@ -90080,21 +92361,19 @@ static mupdfPINVOKE() { public static extern int fz_font_is_serif(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_font_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_font_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_font_t3_procs")] public static extern global::System.IntPtr fz_font_t3_procs(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_format_double")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string fz_format_double([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, double jarg2); + public static extern string fz_format_double(string jarg1, double jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_format_link_uri")] public static extern string fz_format_link_uri(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_format_output_path")] - public static extern void fz_format_output_path(string jarg1, uint jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern void fz_format_output_path(string jarg1, uint jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_free")] public static extern void fz_free(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -90124,7 +92403,6 @@ static mupdfPINVOKE() { public static extern void fz_get_glyph_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_get_glyph_name2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_get_glyph_name2(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_get_pixmap_from_image")] @@ -90134,10 +92412,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_get_unscaled_pixmap_from_image(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_getopt")] - public static extern int fz_getopt(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern int fz_getopt(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_getopt_long")] - public static extern int fz_getopt_long(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int fz_getopt_long(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_glyph_bbox")] public static extern global::System.IntPtr fz_glyph_bbox(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -90152,7 +92430,6 @@ static mupdfPINVOKE() { public static extern int fz_glyph_height(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_glyph_name_from_unicode_sc")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_glyph_name_from_unicode_sc(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_glyph_width")] @@ -90174,10 +92451,10 @@ static mupdfPINVOKE() { public static extern void fz_grow_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_has_archive_entry")] - public static extern int fz_has_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int fz_has_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_has_option")] - public static extern int fz_has_option([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern int fz_has_option(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_has_permission")] public static extern int fz_has_permission(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -90228,14 +92505,13 @@ static mupdfPINVOKE() { public static extern uint fz_image_size(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_image_type_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_image_type_name(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_include_point_in_rect")] public static extern global::System.IntPtr fz_include_point_in_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_init_text_decoder")] - public static extern void fz_init_text_decoder(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_init_text_decoder(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_install_load_system_font_funcs")] public static extern void fz_install_load_system_font_funcs(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -90243,6 +92519,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_install_load_system_font_funcs2")] public static extern void fz_install_load_system_font_funcs2(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_int2_heap_debug")] + public static extern void fz_int2_heap_debug(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_int2_heap_dump")] + public static extern void fz_int2_heap_dump(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_int2_heap_insert")] public static extern void fz_int2_heap_insert(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -90252,6 +92534,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_int2_heap_uniq")] public static extern void fz_int2_heap_uniq(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_int_heap_debug")] + public static extern void fz_int_heap_debug(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_int_heap_dump")] + public static extern void fz_int_heap_dump(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_int_heap_insert")] public static extern void fz_int_heap_insert(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -90267,6 +92555,12 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_intersect_rect")] public static extern global::System.IntPtr fz_intersect_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_intptr_heap_debug")] + public static extern void fz_intptr_heap_debug(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_intptr_heap_dump")] + public static extern void fz_intptr_heap_dump(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_intptr_heap_insert")] public static extern void fz_intptr_heap_insert(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -90310,7 +92604,7 @@ static mupdfPINVOKE() { public static extern int fz_is_cfb_archive(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_is_directory")] - public static extern int fz_is_directory([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_is_directory(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_is_document_reflowable")] public static extern int fz_is_document_reflowable(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -90331,7 +92625,7 @@ static mupdfPINVOKE() { public static extern int fz_is_eof_bits(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_is_external_link")] - public static extern int fz_is_external_link([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_is_external_link(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_is_identity")] public static extern int fz_is_identity(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -90349,7 +92643,7 @@ static mupdfPINVOKE() { public static extern int fz_is_libarchive_archive(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_is_page_range")] - public static extern int fz_is_page_range([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_is_page_range(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_is_pixmap_monochrome")] public static extern int fz_is_pixmap_monochrome(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -90402,6 +92696,42 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_jbig2_globals_data")] public static extern global::System.IntPtr fz_jbig2_globals_data(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_array_length")] + public static extern int fz_json_array_length(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_array_push")] + public static extern void fz_json_array_push(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_is_array")] + public static extern int fz_json_is_array(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_is_boolean")] + public static extern int fz_json_is_boolean(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_is_null")] + public static extern int fz_json_is_null(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_is_number")] + public static extern int fz_json_is_number(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_is_object")] + public static extern int fz_json_is_object(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_is_string")] + public static extern int fz_json_is_string(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_object_set")] + public static extern void fz_json_object_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_to_boolean")] + public static extern int fz_json_to_boolean(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_to_number")] + public static extern double fz_json_to_number(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_json_to_string")] + public static extern string fz_json_to_string(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_koi8u_from_unicode")] public static extern int fz_koi8u_from_unicode(int jarg1); @@ -90415,7 +92745,6 @@ static mupdfPINVOKE() { public static extern void fz_lineto(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_list_archive_entry")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_list_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_load_bmp_subimage")] @@ -90461,10 +92790,10 @@ static mupdfPINVOKE() { public static extern int fz_load_pnm_subimage_count(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_load_system_cjk_font")] - public static extern global::System.IntPtr fz_load_system_cjk_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2, int jarg3); + public static extern global::System.IntPtr fz_load_system_cjk_font(string jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_load_system_font")] - public static extern global::System.IntPtr fz_load_system_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2, int jarg3, int jarg4); + public static extern global::System.IntPtr fz_load_system_font(string jarg1, int jarg2, int jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_load_tiff_subimage")] public static extern global::System.IntPtr fz_load_tiff_subimage(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, int jarg3); @@ -90472,6 +92801,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_load_tiff_subimage_count")] public static extern int fz_load_tiff_subimage_count(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_load_user_css")] + public static extern void fz_load_user_css(string jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_location_from_page_number")] public static extern global::System.IntPtr fz_location_from_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -90479,38 +92811,37 @@ static mupdfPINVOKE() { public static extern void fz_lock(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_log_error")] - public static extern void fz_log_error([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void fz_log_error(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_base14_font")] - public static extern global::System.IntPtr fz_lookup_base14_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern global::System.IntPtr fz_lookup_base14_font(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_blendmode")] - public static extern int fz_lookup_blendmode([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_lookup_blendmode(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_bookmark")] - public static extern global::System.IntPtr fz_lookup_bookmark(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + public static extern global::System.IntPtr fz_lookup_bookmark(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_builtin_font")] - public static extern global::System.IntPtr fz_lookup_builtin_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr fz_lookup_builtin_font(string jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_cjk_font")] public static extern global::System.IntPtr fz_lookup_cjk_font(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_cjk_font_by_language")] - public static extern global::System.IntPtr fz_lookup_cjk_font_by_language([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr fz_lookup_cjk_font_by_language(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_cjk_ordering_by_language")] - public static extern int fz_lookup_cjk_ordering_by_language([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_lookup_cjk_ordering_by_language(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_image_type")] - public static extern int fz_lookup_image_type([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_lookup_image_type(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_metadata")] - public static extern int fz_lookup_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, string jarg3, int jarg4); + public static extern int fz_lookup_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_metadata2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string fz_lookup_metadata2(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string fz_lookup_metadata2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_noto_boxes_font")] public static extern global::System.IntPtr fz_lookup_noto_boxes_font(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -90527,6 +92858,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_noto_music_font")] public static extern global::System.IntPtr fz_lookup_noto_music_font(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_noto_stem_from_script")] + public static extern string fz_lookup_noto_stem_from_script(int jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_noto_symbol1_font")] public static extern global::System.IntPtr fz_lookup_noto_symbol1_font(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -90534,10 +92868,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_lookup_noto_symbol2_font(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_lookup_rendering_intent")] - public static extern int fz_lookup_rendering_intent([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_lookup_rendering_intent(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_make_bookmark")] - public static extern int fz_make_bookmark(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern long fz_make_bookmark(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_make_irect")] public static extern global::System.IntPtr fz_make_irect(int jarg1, int jarg2, int jarg3, int jarg4); @@ -90609,7 +92943,7 @@ static mupdfPINVOKE() { public static extern void fz_md5_update_int64(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_measure_string")] - public static extern global::System.IntPtr fz_measure_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4, int jarg5, int jarg6, int jarg7); + public static extern global::System.IntPtr fz_measure_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4, int jarg5, int jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_memmem")] public static extern global::System.IntPtr fz_memmem(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4); @@ -90636,7 +92970,7 @@ static mupdfPINVOKE() { public static extern void fz_morph_error(int jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_mount_multi_archive")] - public static extern void fz_mount_multi_archive(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void fz_mount_multi_archive(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_moveto")] public static extern void fz_moveto(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3); @@ -90651,7 +92985,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_new_archive_of_size(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_base14_font")] - public static extern global::System.IntPtr fz_new_base14_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_new_base14_font(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_bbox_device")] public static extern global::System.IntPtr fz_new_bbox_device(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -90669,7 +93003,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_new_buffer(uint jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_buffer_from_base64")] - public static extern global::System.IntPtr fz_new_buffer_from_base64([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, uint jarg2); + public static extern global::System.IntPtr fz_new_buffer_from_base64(string jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_buffer_from_copied_data")] public static extern global::System.IntPtr fz_new_buffer_from_copied_data(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); @@ -90705,7 +93039,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_new_buffer_from_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_buffer_from_page_with_format")] - public static extern global::System.IntPtr fz_new_buffer_from_page_with_format(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr fz_new_buffer_from_page_with_format(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_buffer_from_pixmap_as_jpeg")] public static extern global::System.IntPtr fz_new_buffer_from_pixmap_as_jpeg(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4); @@ -90732,7 +93066,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_new_buffer_from_stext_page(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_builtin_font")] - public static extern global::System.IntPtr fz_new_builtin_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2, int jarg3); + public static extern global::System.IntPtr fz_new_builtin_font(string jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_cal_gray_colorspace")] public static extern global::System.IntPtr fz_new_cal_gray_colorspace(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, float jarg3); @@ -90744,7 +93078,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_new_cjk_font(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_colorspace")] - public static extern global::System.IntPtr fz_new_colorspace(int jarg1, int jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr fz_new_colorspace(int jarg1, int jarg2, int jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_compressed_buffer")] public static extern global::System.IntPtr fz_new_compressed_buffer(); @@ -90774,22 +93108,22 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_new_display_list_from_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_display_list_from_svg")] - public static extern global::System.IntPtr fz_new_display_list_from_svg(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr fz_new_display_list_from_svg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_display_list_from_svg_xml")] - public static extern global::System.IntPtr fz_new_display_list_from_svg_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern global::System.IntPtr fz_new_display_list_from_svg_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_document_of_size")] public static extern global::System.IntPtr fz_new_document_of_size(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_dom")] - public static extern global::System.IntPtr fz_new_dom([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_new_dom(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_dom_node")] - public static extern global::System.IntPtr fz_new_dom_node(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_new_dom_node(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_dom_text_node")] - public static extern global::System.IntPtr fz_new_dom_text_node(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_new_dom_text_node(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_draw_device")] public static extern global::System.IntPtr fz_new_draw_device(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -90810,19 +93144,19 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_new_draw_device_with_proof(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_font_from_buffer")] - public static extern global::System.IntPtr fz_new_font_from_buffer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4); + public static extern global::System.IntPtr fz_new_font_from_buffer(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_font_from_file")] - public static extern global::System.IntPtr fz_new_font_from_file([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3, int jarg4); + public static extern global::System.IntPtr fz_new_font_from_file(string jarg1, string jarg2, int jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_font_from_memory")] - public static extern global::System.IntPtr fz_new_font_from_memory([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, int jarg5); + public static extern global::System.IntPtr fz_new_font_from_memory(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_function_of_size")] public static extern global::System.IntPtr fz_new_function_of_size(int jarg1, uint jarg2, int jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_icc_colorspace")] - public static extern global::System.IntPtr fz_new_icc_colorspace(int jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr fz_new_icc_colorspace(int jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_image_from_buffer")] public static extern global::System.IntPtr fz_new_image_from_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -90837,16 +93171,16 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_new_image_from_display_list(float jarg1, float jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_image_from_file")] - public static extern global::System.IntPtr fz_new_image_from_file([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_new_image_from_file(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_image_from_pixmap")] public static extern global::System.IntPtr fz_new_image_from_pixmap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_image_from_svg")] - public static extern global::System.IntPtr fz_new_image_from_svg(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr fz_new_image_from_svg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_image_from_svg_xml")] - public static extern global::System.IntPtr fz_new_image_from_svg_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr fz_new_image_from_svg_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_image_of_size")] public static extern global::System.IntPtr fz_new_image_of_size(int jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, int jarg6, int jarg7, int jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10, global::System.Runtime.InteropServices.HandleRef jarg11, uint jarg12, global::System.Runtime.InteropServices.HandleRef jarg13, global::System.Runtime.InteropServices.HandleRef jarg14, global::System.Runtime.InteropServices.HandleRef jarg15); @@ -90855,7 +93189,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_new_indexed_colorspace(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_link_of_size")] - public static extern global::System.IntPtr fz_new_link_of_size(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr fz_new_link_of_size(int jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_list_device")] public static extern global::System.IntPtr fz_new_list_device(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -90864,7 +93198,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_new_multi_archive(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_ocr_device")] - public static extern global::System.IntPtr fz_new_ocr_device(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); + public static extern global::System.IntPtr fz_new_ocr_device(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, string jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_outline")] public static extern global::System.IntPtr fz_new_outline(); @@ -90936,7 +93270,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_new_stream(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_string")] - public static extern global::System.IntPtr fz_new_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_new_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_stroke_state")] public static extern global::System.IntPtr fz_new_stroke_state(); @@ -90963,7 +93297,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_new_tree_archive(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_type3_font")] - public static extern global::System.IntPtr fz_new_type3_font([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern global::System.IntPtr fz_new_type3_font(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_new_xhtml_document_from_document")] public static extern global::System.IntPtr fz_new_xhtml_document_from_document(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -90981,13 +93315,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_open_a85d(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_accelerated_document")] - public static extern global::System.IntPtr fz_open_accelerated_document([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_open_accelerated_document(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_accelerated_document_with_stream")] - public static extern global::System.IntPtr fz_open_accelerated_document_with_stream([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr fz_open_accelerated_document_with_stream(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_accelerated_document_with_stream_and_dir")] - public static extern global::System.IntPtr fz_open_accelerated_document_with_stream_and_dir([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr fz_open_accelerated_document_with_stream_and_dir(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_aesd")] public static extern global::System.IntPtr fz_open_aesd(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); @@ -90999,10 +93333,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_open_arc4(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_archive")] - public static extern global::System.IntPtr fz_open_archive([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_open_archive(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_archive_entry")] - public static extern global::System.IntPtr fz_open_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_open_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_archive_with_stream")] public static extern global::System.IntPtr fz_open_archive_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -91011,7 +93345,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_open_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_cfb_archive")] - public static extern global::System.IntPtr fz_open_cfb_archive([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_open_cfb_archive(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_cfb_archive_with_stream")] public static extern global::System.IntPtr fz_open_cfb_archive_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -91026,19 +93360,19 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_open_dctd(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_directory")] - public static extern global::System.IntPtr fz_open_directory([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_open_directory(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_document")] - public static extern global::System.IntPtr fz_open_document([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_open_document(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_document_with_buffer")] - public static extern global::System.IntPtr fz_open_document_with_buffer([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern global::System.IntPtr fz_open_document_with_buffer(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_document_with_stream")] - public static extern global::System.IntPtr fz_open_document_with_stream([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern global::System.IntPtr fz_open_document_with_stream(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_document_with_stream_and_dir")] - public static extern global::System.IntPtr fz_open_document_with_stream_and_dir([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr fz_open_document_with_stream_and_dir(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_endstream_filter")] public static extern global::System.IntPtr fz_open_endstream_filter(global::System.Runtime.InteropServices.HandleRef jarg1, ulong jarg2, long jarg3); @@ -91047,10 +93381,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_open_faxd(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, int jarg6, int jarg7, int jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_file")] - public static extern global::System.IntPtr fz_open_file([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_open_file(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_file_autodelete")] - public static extern global::System.IntPtr fz_open_file_autodelete([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_open_file_autodelete(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_file_ptr_no_close")] public static extern global::System.IntPtr fz_open_file_ptr_no_close(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -91071,7 +93405,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_open_leecher(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_libarchive_archive")] - public static extern global::System.IntPtr fz_open_libarchive_archive([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_open_libarchive_archive(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_libarchive_archive_with_stream")] public static extern global::System.IntPtr fz_open_libarchive_archive_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -91110,7 +93444,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_open_sgilog32(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_tar_archive")] - public static extern global::System.IntPtr fz_open_tar_archive([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_open_tar_archive(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_tar_archive_with_stream")] public static extern global::System.IntPtr fz_open_tar_archive_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -91119,16 +93453,16 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_open_thunder(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_zip_archive")] - public static extern global::System.IntPtr fz_open_zip_archive([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_open_zip_archive(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_open_zip_archive_with_stream")] public static extern global::System.IntPtr fz_open_zip_archive_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_opt_from_list")] - public static extern int fz_opt_from_list(string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int fz_opt_from_list(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_option_eq")] - public static extern int fz_option_eq([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int fz_option_eq(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_outline_glyph")] public static extern global::System.IntPtr fz_outline_glyph(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -91167,7 +93501,6 @@ static mupdfPINVOKE() { public static extern int fz_packed_path_size(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_page_label")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_page_label(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_page_number_from_location")] @@ -91185,21 +93518,23 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_paint_shade")] public static extern void fz_paint_shade(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_paragraph_break")] + public static extern void fz_paragraph_break(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_parse_page_range")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string fz_parse_page_range([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); + public static extern string fz_parse_page_range(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_parse_pdfocr_options")] - public static extern global::System.IntPtr fz_parse_pdfocr_options(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_parse_pdfocr_options(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_parse_stext_options")] - public static extern global::System.IntPtr fz_parse_stext_options(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_parse_stext_options(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_parse_xml")] public static extern global::System.IntPtr fz_parse_xml(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_parse_xml_archive_entry")] - public static extern global::System.IntPtr fz_parse_xml_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr fz_parse_xml_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_parse_xml_from_html5")] public static extern global::System.IntPtr fz_parse_xml_from_html5(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -91208,7 +93543,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_parse_xml_stream(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pcl_preset")] - public static extern void fz_pcl_preset(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_pcl_preset(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pdfocr_band_writer_set_progress")] public static extern void fz_pdfocr_band_writer_set_progress(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -91277,7 +93612,7 @@ static mupdfPINVOKE() { public static extern uint fz_pool_size(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pool_strdup")] - public static extern string fz_pool_strdup(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string fz_pool_strdup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_pop_clip")] public static extern void fz_pop_clip(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -91361,7 +93696,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_read_all(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_read_archive_entry")] - public static extern global::System.IntPtr fz_read_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_read_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_read_best")] public static extern global::System.IntPtr fz_read_best(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4); @@ -91373,7 +93708,7 @@ static mupdfPINVOKE() { public static extern int fz_read_byte(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_read_file")] - public static extern global::System.IntPtr fz_read_file([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_read_file(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_read_float")] public static extern float fz_read_float(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -91448,7 +93783,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_realloc_no_throw(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_realpath")] - public static extern string fz_realpath([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, string jarg2); + public static extern string fz_realpath(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_recognize_image_format")] public static extern int fz_recognize_image_format(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -91462,6 +93797,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_rectto")] public static extern void fz_rectto(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, float jarg4, float jarg5); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_register_activity_logger")] + public static extern void fz_register_activity_logger(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_register_archive_handler")] public static extern void fz_register_archive_handler(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -91481,10 +93819,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_render_glyph_pixmap(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_render_t3_glyph_direct")] - public static extern void fz_render_t3_glyph_direct(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern void fz_render_t3_glyph_direct(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_rendering_intent_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_rendering_intent_name(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_report_error")] @@ -91500,7 +93837,7 @@ static mupdfPINVOKE() { public static extern void fz_resize_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_resolve_link")] - public static extern global::System.IntPtr fz_resolve_link(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr fz_resolve_link(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_rethrow")] public static extern void fz_rethrow(); @@ -91539,14 +93876,13 @@ static mupdfPINVOKE() { public static extern void fz_run_t3_glyph(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_runeidx")] - public static extern int fz_runeidx([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int fz_runeidx(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_runelen")] public static extern int fz_runelen(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_runeptr")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string fz_runeptr([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2); + public static extern string fz_runeptr(string jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_runetochar")] public static extern int fz_runetochar(string jarg1, int jarg2); @@ -91558,34 +93894,34 @@ static mupdfPINVOKE() { public static extern void fz_samples_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_accelerator")] - public static extern void fz_save_accelerator(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_save_accelerator(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_bitmap_as_pbm")] - public static extern void fz_save_bitmap_as_pbm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_save_bitmap_as_pbm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_bitmap_as_pcl")] public static extern void fz_save_bitmap_as_pcl(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_bitmap_as_pkm")] - public static extern void fz_save_bitmap_as_pkm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_save_bitmap_as_pkm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_bitmap_as_pwg")] public static extern void fz_save_bitmap_as_pwg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_buffer")] - public static extern void fz_save_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_save_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_pixmap_as_jpeg")] - public static extern void fz_save_pixmap_as_jpeg(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void fz_save_pixmap_as_jpeg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_pixmap_as_jpx")] - public static extern void fz_save_pixmap_as_jpx(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void fz_save_pixmap_as_jpx(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_pixmap_as_pam")] - public static extern void fz_save_pixmap_as_pam(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_save_pixmap_as_pam(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_pixmap_as_pbm")] - public static extern void fz_save_pixmap_as_pbm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_save_pixmap_as_pbm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_pixmap_as_pcl")] public static extern void fz_save_pixmap_as_pcl(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -91597,25 +93933,25 @@ static mupdfPINVOKE() { public static extern void fz_save_pixmap_as_pdfocr(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_pixmap_as_pkm")] - public static extern void fz_save_pixmap_as_pkm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_save_pixmap_as_pkm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_pixmap_as_png")] - public static extern void fz_save_pixmap_as_png(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_save_pixmap_as_png(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_pixmap_as_pnm")] - public static extern void fz_save_pixmap_as_pnm(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_save_pixmap_as_pnm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_pixmap_as_ps")] public static extern void fz_save_pixmap_as_ps(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_pixmap_as_psd")] - public static extern void fz_save_pixmap_as_psd(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_save_pixmap_as_psd(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_pixmap_as_pwg")] public static extern void fz_save_pixmap_as_pwg(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_save_xml")] - public static extern void fz_save_xml(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void fz_save_xml(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_scale")] public static extern global::System.IntPtr fz_scale(float jarg1, float jarg2); @@ -91624,22 +93960,37 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_scale_pixmap(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, float jarg4, float jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_search_chapter_page_number")] - public static extern int fz_search_chapter_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, int jarg7); + public static extern int fz_search_chapter_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, int jarg7); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_search_chapter_page_number_cb")] + public static extern int fz_search_chapter_page_number_cb(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_search_display_list")] - public static extern int fz_search_display_list(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + public static extern int fz_search_display_list(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_search_display_list_cb")] + public static extern int fz_search_display_list_cb(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_search_page")] - public static extern int fz_search_page(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + public static extern int fz_search_page(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_search_page2")] - public static extern global::System.IntPtr fz_search_page2(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern global::System.IntPtr fz_search_page2(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_search_page_cb")] + public static extern int fz_search_page_cb(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_search_page_number")] - public static extern int fz_search_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6); + public static extern int fz_search_page_number(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_search_page_number_cb")] + public static extern int fz_search_page_number_cb(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_search_stext_page")] - public static extern int fz_search_stext_page(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + public static extern int fz_search_stext_page(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_search_stext_page_cb")] + public static extern int fz_search_stext_page_cb(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_seek")] public static extern void fz_seek(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, int jarg3); @@ -91647,6 +93998,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_seek_output")] public static extern void fz_seek_output(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_segment_stext_page")] + public static extern int fz_segment_stext_page(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_separation_current_behavior")] public static extern int fz_separation_current_behavior(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -91654,7 +94008,6 @@ static mupdfPINVOKE() { public static extern void fz_separation_equivalent(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_separation_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_separation_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_set_aa_level")] @@ -91697,10 +94050,10 @@ static mupdfPINVOKE() { public static extern void fz_set_link_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_set_link_uri")] - public static extern void fz_set_link_uri(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_set_link_uri(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_set_metadata")] - public static extern void fz_set_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void fz_set_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_set_pixmap_image_tile")] public static extern void fz_set_pixmap_image_tile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -91724,7 +94077,7 @@ static mupdfPINVOKE() { public static extern void fz_set_user_context(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_set_user_css")] - public static extern void fz_set_user_css([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void fz_set_user_css(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_set_warning_callback")] public static extern void fz_set_warning_callback(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -91766,7 +94119,7 @@ static mupdfPINVOKE() { public static extern void fz_show_glyph_aux(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, float jarg4, int jarg5, int jarg6, int jarg7, int jarg8, int jarg9, int jarg10, int jarg11); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_show_string")] - public static extern global::System.IntPtr fz_show_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, int jarg5, int jarg6, int jarg7, int jarg8); + public static extern global::System.IntPtr fz_show_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, int jarg5, int jarg6, int jarg7, int jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_shrink_store")] public static extern int fz_shrink_store(uint jarg1); @@ -91781,7 +94134,7 @@ static mupdfPINVOKE() { public static extern void fz_skip_space(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_skip_string")] - public static extern int fz_skip_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int fz_skip_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_slice_buffer")] public static extern global::System.IntPtr fz_slice_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3); @@ -91793,10 +94146,10 @@ static mupdfPINVOKE() { public static extern void fz_start_throw_on_repair(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stat_ctime")] - public static extern long fz_stat_ctime([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern long fz_stat_ctime(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stat_mtime")] - public static extern long fz_stat_mtime([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern long fz_stat_mtime(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_store_item")] public static extern global::System.IntPtr fz_store_item(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -91814,48 +94167,43 @@ static mupdfPINVOKE() { public static extern void fz_story_positions(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_story_warnings")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_story_warnings(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_strcasecmp")] - public static extern int fz_strcasecmp([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int fz_strcasecmp(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_strdup")] - public static extern string fz_strdup([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string fz_strdup(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stream_filename")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_stream_filename(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stream_from_output")] public static extern global::System.IntPtr fz_stream_from_output(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_string_from_box_type")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_string_from_box_type(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_string_from_buffer")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_string_from_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_string_from_text_language")] public static extern string fz_string_from_text_language(string jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_string_from_text_language2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_string_from_text_language2(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_strlcat")] - public static extern uint fz_strlcat(string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, uint jarg3); + public static extern uint fz_strlcat(string jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_strlcpy")] - public static extern uint fz_strlcpy(string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, uint jarg3); + public static extern uint fz_strlcpy(string jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_strncasecmp")] - public static extern int fz_strncasecmp([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, uint jarg3); + public static extern int fz_strncasecmp(string jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_strnlen")] - public static extern uint fz_strnlen([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, uint jarg2); + public static extern uint fz_strnlen(string jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_stroke_path")] public static extern void fz_stroke_path(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, float jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); @@ -91864,16 +94212,21 @@ static mupdfPINVOKE() { public static extern void fz_stroke_text(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, float jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_strsep")] - public static extern string fz_strsep(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string fz_strsep(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_strstr")] + public static extern string fz_strstr(string jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_strstrcase")] + public static extern string fz_strstrcase(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_strtof")] - public static extern float fz_strtof([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern float fz_strtof(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_structure_from_string")] - public static extern int fz_structure_from_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_structure_from_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_structure_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_structure_to_string(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_subpixel_adjust")] @@ -91891,6 +94244,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_sync_bits")] public static extern void fz_sync_bits(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_table_hunt")] + public static extern void fz_table_hunt(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_tell")] public static extern long fz_tell(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -91904,7 +94260,7 @@ static mupdfPINVOKE() { public static extern int fz_text_aa_level(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_text_language_from_string")] - public static extern int fz_text_language_from_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_text_language_from_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_tint_pixmap")] public static extern void fz_tint_pixmap(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); @@ -91946,13 +94302,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_translate_rect(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_tree_archive_add_buffer")] - public static extern void fz_tree_archive_add_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void fz_tree_archive_add_buffer(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_tree_archive_add_data")] - public static extern void fz_tree_archive_add_data(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4); + public static extern void fz_tree_archive_add_data(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_tree_lookup")] - public static extern global::System.IntPtr fz_tree_lookup(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_tree_lookup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_trim_buffer")] public static extern void fz_trim_buffer(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -91967,22 +94323,22 @@ static mupdfPINVOKE() { public static extern int fz_try_invert_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_try_open_archive_entry")] - public static extern global::System.IntPtr fz_try_open_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_try_open_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_try_open_archive_with_stream")] public static extern global::System.IntPtr fz_try_open_archive_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_try_open_file")] - public static extern global::System.IntPtr fz_try_open_file([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_try_open_file(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_try_parse_xml_archive_entry")] - public static extern global::System.IntPtr fz_try_parse_xml_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr fz_try_parse_xml_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_try_read_archive_entry")] - public static extern global::System.IntPtr fz_try_read_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_try_read_archive_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_try_read_file")] - public static extern global::System.IntPtr fz_try_read_file([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr fz_try_read_file(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_tune_image_decode")] public static extern void fz_tune_image_decode(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -91991,10 +94347,10 @@ static mupdfPINVOKE() { public static extern void fz_tune_image_scale(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_unicode_from_glyph_name")] - public static extern int fz_unicode_from_glyph_name([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_unicode_from_glyph_name(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_unicode_from_glyph_name_strict")] - public static extern int fz_unicode_from_glyph_name_strict([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_unicode_from_glyph_name_strict(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_union_rect")] public static extern global::System.IntPtr fz_union_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -92024,11 +94380,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr fz_user_context(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_user_css")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string fz_user_css(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_utflen")] - public static extern int fz_utflen([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int fz_utflen(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_var_imp")] public static extern void fz_var_imp(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -92037,7 +94392,7 @@ static mupdfPINVOKE() { public static extern void fz_walk_path(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_warn")] - public static extern void fz_warn([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern void fz_warn(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_warning_callback")] public static extern global::System.IntPtr fz_warning_callback(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -92123,6 +94478,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_write_int32_le")] public static extern void fz_write_int32_le(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_write_json")] + public static extern void fz_write_json(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_write_pixmap_as_data_uri")] public static extern void fz_write_pixmap_as_data_uri(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -92175,7 +94533,7 @@ static mupdfPINVOKE() { public static extern void fz_write_rune(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_write_stabilized_story")] - public static extern void fz_write_stabilized_story(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, float jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10); + public static extern void fz_write_stabilized_story(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, float jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_write_story")] public static extern void fz_write_story(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); @@ -92184,7 +94542,7 @@ static mupdfPINVOKE() { public static extern void fz_write_stream(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_write_string")] - public static extern void fz_write_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void fz_write_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_write_uint16_be")] public static extern void fz_write_uint16_be(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); @@ -92202,55 +94560,55 @@ static mupdfPINVOKE() { public static extern void fz_write_xml(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_write_zip_entry")] - public static extern void fz_write_zip_entry(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); + public static extern void fz_write_zip_entry(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_add_att")] - public static extern void fz_xml_add_att(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern void fz_xml_add_att(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_att")] - public static extern string fz_xml_att(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string fz_xml_att(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_att_alt")] - public static extern string fz_xml_att_alt(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern string fz_xml_att_alt(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_att_eq")] - public static extern int fz_xml_att_eq(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern int fz_xml_att_eq(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_down")] public static extern global::System.IntPtr fz_xml_down(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_find")] - public static extern global::System.IntPtr fz_xml_find(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_xml_find(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_find_dfs")] - public static extern global::System.IntPtr fz_xml_find_dfs(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr fz_xml_find_dfs(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_find_dfs_top")] - public static extern global::System.IntPtr fz_xml_find_dfs_top(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr fz_xml_find_dfs_top(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_find_down")] - public static extern global::System.IntPtr fz_xml_find_down(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_xml_find_down(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_find_down_match")] - public static extern global::System.IntPtr fz_xml_find_down_match(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr fz_xml_find_down_match(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_find_match")] - public static extern global::System.IntPtr fz_xml_find_match(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr fz_xml_find_match(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_find_next")] - public static extern global::System.IntPtr fz_xml_find_next(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr fz_xml_find_next(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_find_next_dfs")] - public static extern global::System.IntPtr fz_xml_find_next_dfs(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr fz_xml_find_next_dfs(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_find_next_dfs_top")] - public static extern global::System.IntPtr fz_xml_find_next_dfs_top(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr fz_xml_find_next_dfs_top(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_find_next_match")] - public static extern global::System.IntPtr fz_xml_find_next_match(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4); + public static extern global::System.IntPtr fz_xml_find_next_match(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_is_tag")] - public static extern int fz_xml_is_tag(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int fz_xml_is_tag(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_fz_xml_next")] public static extern global::System.IntPtr fz_xml_next(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -92274,7 +94632,6 @@ static mupdfPINVOKE() { public static extern void pdf_abandon_operation(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_access_exec_menu_item_event")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_access_exec_menu_item_event(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_add_annot_border_dash_item")] @@ -92304,8 +94661,11 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_add_codespace")] public static extern void pdf_add_codespace(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_add_colorspace")] + public static extern global::System.IntPtr pdf_add_colorspace(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_add_embedded_file")] - public static extern global::System.IntPtr pdf_add_embedded_file(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, long jarg5, long jarg6, int jarg7); + public static extern global::System.IntPtr pdf_add_embedded_file(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, long jarg5, long jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_add_hmtx")] public static extern void pdf_add_hmtx(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4); @@ -92359,7 +94719,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_annot_ap(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_annot_author")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_annot_author(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_annot_border")] @@ -92396,7 +94755,6 @@ static mupdfPINVOKE() { public static extern void pdf_annot_color(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_annot_contents")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_annot_contents(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_annot_creation_date")] @@ -92448,11 +94806,9 @@ static mupdfPINVOKE() { public static extern int pdf_annot_field_flags(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_annot_field_label")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_annot_field_label(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_annot_field_value")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_annot_field_value(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_annot_filespec")] @@ -92519,7 +94875,6 @@ static mupdfPINVOKE() { public static extern int pdf_annot_hot(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_annot_icon_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_annot_icon_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_annot_ink_list_count")] @@ -92625,7 +94980,7 @@ static mupdfPINVOKE() { public static extern int pdf_annot_type(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_annot_type_from_string")] - public static extern int pdf_annot_type_from_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int pdf_annot_type_from_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_annot_vertex")] public static extern global::System.IntPtr pdf_annot_vertex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -92634,10 +94989,10 @@ static mupdfPINVOKE() { public static extern int pdf_annot_vertex_count(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_append_explicit_dest_to_uri")] - public static extern string pdf_append_explicit_dest_to_uri([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern string pdf_append_explicit_dest_to_uri(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_append_named_dest_to_uri")] - public static extern string pdf_append_named_dest_to_uri([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string pdf_append_named_dest_to_uri(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_append_token")] public static extern void pdf_append_token(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -92667,7 +95022,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_array_get_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_get_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_array_get_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_get_real")] @@ -92677,11 +95031,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_array_get_rect(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_get_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_array_get_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_get_text_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_array_get_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_insert")] @@ -92706,16 +95058,16 @@ static mupdfPINVOKE() { public static extern void pdf_array_push_int(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_push_name")] - public static extern void pdf_array_push_name(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_array_push_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_push_real")] public static extern void pdf_array_push_real(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_push_string")] - public static extern void pdf_array_push_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, uint jarg3); + public static extern void pdf_array_push_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_push_text_string")] - public static extern void pdf_array_push_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_array_push_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_put")] public static extern void pdf_array_put(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -92733,19 +95085,19 @@ static mupdfPINVOKE() { public static extern void pdf_array_put_int(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, long jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_put_name")] - public static extern void pdf_array_put_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void pdf_array_put_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_put_real")] public static extern void pdf_array_put_real(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_put_string")] - public static extern void pdf_array_put_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, uint jarg4); + public static extern void pdf_array_put_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_array_put_text_string")] - public static extern void pdf_array_put_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void pdf_array_put_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_authenticate_password")] - public static extern int pdf_authenticate_password(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int pdf_authenticate_password(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_bake_document")] public static extern void pdf_bake_document(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); @@ -92754,7 +95106,7 @@ static mupdfPINVOKE() { public static extern void pdf_begin_implicit_operation(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_begin_operation")] - public static extern void pdf_begin_operation(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_begin_operation(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_bound_annot")] public static extern global::System.IntPtr pdf_bound_annot(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -92793,7 +95145,6 @@ static mupdfPINVOKE() { public static extern int pdf_check_widget_digest(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_choice_field_option")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_choice_field_option(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_choice_field_option_count")] @@ -92818,8 +95169,7 @@ static mupdfPINVOKE() { public static extern void pdf_clean_file(string jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_clean_font_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string pdf_clean_font_name([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern string pdf_clean_font_name(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_clean_obj")] public static extern void pdf_clean_obj(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -92845,6 +95195,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_clear_xref_to_mark")] public static extern void pdf_clear_xref_to_mark(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_clip_page")] + public static extern void pdf_clip_page(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_close_processor")] public static extern void pdf_close_processor(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -92906,10 +95259,10 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_create_document(); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_create_field_name")] - public static extern void pdf_create_field_name(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, string jarg3, uint jarg4); + public static extern void pdf_create_field_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_create_link")] - public static extern global::System.IntPtr pdf_create_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr pdf_create_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_create_object")] public static extern int pdf_create_object(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -92927,7 +95280,6 @@ static mupdfPINVOKE() { public static extern int pdf_crypt_length(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_crypt_method")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_crypt_method(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_crypt_obj")] @@ -92949,11 +95301,9 @@ static mupdfPINVOKE() { public static extern int pdf_crypt_revision(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_crypt_stream_method")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_crypt_stream_method(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_crypt_string_method")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_crypt_string_method(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_crypt_user_encryption")] @@ -93011,7 +95361,7 @@ static mupdfPINVOKE() { public static extern void pdf_dict_del(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_dels")] - public static extern void pdf_dict_dels(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_dict_dels(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_get")] public static extern global::System.IntPtr pdf_dict_get(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -93044,7 +95394,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_dict_get_inheritable_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_get_inheritable_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_dict_get_inheritable_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_get_inheritable_real")] @@ -93054,11 +95403,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_dict_get_inheritable_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_get_inheritable_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_dict_get_inheritable_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_get_inheritable_text_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_dict_get_inheritable_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_get_int")] @@ -93077,7 +95424,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_dict_get_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_get_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_dict_get_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_get_point")] @@ -93093,15 +95439,12 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_dict_get_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_get_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_dict_get_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_get_text_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_dict_get_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_get_text_string_opt")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_dict_get_text_string_opt(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_get_val")] @@ -93111,19 +95454,19 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_dict_geta(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_getp")] - public static extern global::System.IntPtr pdf_dict_getp(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr pdf_dict_getp(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_getp_inheritable")] - public static extern global::System.IntPtr pdf_dict_getp_inheritable(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr pdf_dict_getp_inheritable(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_gets")] - public static extern global::System.IntPtr pdf_dict_gets(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr pdf_dict_gets(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_gets_inheritable")] - public static extern global::System.IntPtr pdf_dict_gets_inheritable(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr pdf_dict_gets_inheritable(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_getsa")] - public static extern global::System.IntPtr pdf_dict_getsa(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern global::System.IntPtr pdf_dict_getsa(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_len")] public static extern int pdf_dict_len(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -93153,7 +95496,7 @@ static mupdfPINVOKE() { public static extern void pdf_dict_put_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_put_name")] - public static extern void pdf_dict_put_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void pdf_dict_put_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_put_point")] public static extern void pdf_dict_put_point(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -93165,22 +95508,22 @@ static mupdfPINVOKE() { public static extern void pdf_dict_put_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_put_string")] - public static extern void pdf_dict_put_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, uint jarg4); + public static extern void pdf_dict_put_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_put_text_string")] - public static extern void pdf_dict_put_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3); + public static extern void pdf_dict_put_text_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_put_val_null")] public static extern void pdf_dict_put_val_null(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_putp")] - public static extern void pdf_dict_putp(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void pdf_dict_putp(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_puts")] - public static extern void pdf_dict_puts(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void pdf_dict_puts(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dict_puts_dict")] - public static extern global::System.IntPtr pdf_dict_puts_dict(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr pdf_dict_puts_dict(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_dirty_annot")] public static extern void pdf_dirty_annot(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -93228,7 +95571,7 @@ static mupdfPINVOKE() { public static extern int pdf_document_permissions(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_edit_text_field_value")] - public static extern int pdf_edit_text_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern int pdf_edit_text_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_empty_store")] public static extern void pdf_empty_store(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -93267,10 +95610,10 @@ static mupdfPINVOKE() { public static extern void pdf_event_issue_alert(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_event_issue_exec_menu_item")] - public static extern void pdf_event_issue_exec_menu_item(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_event_issue_exec_menu_item(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_event_issue_launch_url")] - public static extern void pdf_event_issue_launch_url(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern void pdf_event_issue_launch_url(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_event_issue_mail_doc")] public static extern void pdf_event_issue_mail_doc(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -93294,23 +95637,22 @@ static mupdfPINVOKE() { public static extern int pdf_field_event_keystroke(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_field_event_validate")] - public static extern int pdf_field_event_validate(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int pdf_field_event_validate(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_field_flags")] public static extern int pdf_field_flags(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_field_label")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_field_label(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_field_reset")] public static extern void pdf_field_reset(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_field_set_border_style")] - public static extern void pdf_field_set_border_style(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_field_set_border_style(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_field_set_button_caption")] - public static extern void pdf_field_set_button_caption(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_field_set_button_caption(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_field_set_display")] public static extern void pdf_field_set_display(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -93325,11 +95667,9 @@ static mupdfPINVOKE() { public static extern int pdf_field_type(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_field_type_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_field_type_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_field_value")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_field_value(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_filter_annot_contents")] @@ -93341,6 +95681,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_filter_xobject_instance")] public static extern global::System.IntPtr pdf_filter_xobject_instance(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_find_colorspace_resource")] + public static extern global::System.IntPtr pdf_find_colorspace_resource(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_find_font_resource")] public static extern global::System.IntPtr pdf_find_font_resource(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); @@ -93419,6 +95762,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_incremental_change_since_signing_widget")] public static extern int pdf_incremental_change_since_signing_widget(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_insert_colorspace_resource")] + public static extern global::System.IntPtr pdf_insert_colorspace_resource(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_insert_font_resource")] public static extern global::System.IntPtr pdf_insert_font_resource(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -93429,7 +95775,7 @@ static mupdfPINVOKE() { public static extern int pdf_intent_from_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_intent_from_string")] - public static extern int pdf_intent_from_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int pdf_intent_from_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_invalidate_xfa")] public static extern void pdf_invalidate_xfa(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -93447,7 +95793,7 @@ static mupdfPINVOKE() { public static extern int pdf_is_embedded_file(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_is_field_locked")] - public static extern int pdf_is_field_locked(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int pdf_is_field_locked(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_is_filespec")] public static extern int pdf_is_filespec(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -93474,7 +95820,7 @@ static mupdfPINVOKE() { public static extern int pdf_is_number(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_is_ocg_hidden")] - public static extern int pdf_is_ocg_hidden(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int pdf_is_ocg_hidden(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_is_real")] public static extern int pdf_is_real(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -93489,7 +95835,7 @@ static mupdfPINVOKE() { public static extern int pdf_is_tint_colorspace(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_js_event_init")] - public static extern void pdf_js_event_init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern void pdf_js_event_init(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_js_event_init_keystroke")] public static extern void pdf_js_event_init_keystroke(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -93507,7 +95853,7 @@ static mupdfPINVOKE() { public static extern string pdf_js_event_value(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_js_execute")] - public static extern void pdf_js_execute(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void pdf_js_execute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_js_set_console")] public static extern void pdf_js_set_console(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -93525,11 +95871,10 @@ static mupdfPINVOKE() { public static extern int pdf_layer_is_enabled(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_layer_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_layer_name(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_layout_fit_text")] - public static extern global::System.IntPtr pdf_layout_fit_text(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr pdf_layout_fit_text(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_lex")] public static extern int pdf_lex(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -93541,7 +95886,7 @@ static mupdfPINVOKE() { public static extern void pdf_lexbuf_fin(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_lexbuf_grow")] - public static extern global::System.IntPtr pdf_lexbuf_grow(global::System.Runtime.InteropServices.HandleRef jarg1); + public static extern int pdf_lexbuf_grow(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_lexbuf_init")] public static extern void pdf_lexbuf_init(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -93550,10 +95895,10 @@ static mupdfPINVOKE() { public static extern int pdf_line_ending_from_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_line_ending_from_string")] - public static extern int pdf_line_ending_from_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int pdf_line_ending_from_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_load_builtin_cmap")] - public static extern global::System.IntPtr pdf_load_builtin_cmap([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr pdf_load_builtin_cmap(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_load_cmap")] public static extern global::System.IntPtr pdf_load_cmap(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -93577,13 +95922,12 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_load_embedded_file_contents(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_load_encoding")] - public static extern void pdf_load_encoding(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_load_encoding(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_load_field_name")] public static extern string pdf_load_field_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_load_field_name2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_load_field_name2(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_load_function")] @@ -93596,7 +95940,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_load_inline_image(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_load_journal")] - public static extern void pdf_load_journal(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_load_journal(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_load_link_annots")] public static extern global::System.IntPtr pdf_load_link_annots(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); @@ -93644,7 +95988,7 @@ static mupdfPINVOKE() { public static extern string pdf_load_stream_or_string_as_utf8(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_load_system_cmap")] - public static extern global::System.IntPtr pdf_load_system_cmap([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr pdf_load_system_cmap(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_load_to_unicode")] public static extern void pdf_load_to_unicode(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); @@ -93665,14 +96009,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_lookup_dest(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_lookup_field")] - public static extern global::System.IntPtr pdf_lookup_field(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr pdf_lookup_field(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_lookup_metadata")] - public static extern int pdf_lookup_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, string jarg3, uint jarg4); + public static extern int pdf_lookup_metadata(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, uint jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_lookup_metadata2")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string pdf_lookup_metadata2(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string pdf_lookup_metadata2(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_lookup_name")] public static extern global::System.IntPtr pdf_lookup_name(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -93744,7 +96087,7 @@ static mupdfPINVOKE() { public static extern int pdf_needs_password(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_action_from_link")] - public static extern global::System.IntPtr pdf_new_action_from_link(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr pdf_new_action_from_link(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_array")] public static extern global::System.IntPtr pdf_new_array(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -93762,7 +96105,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_new_date(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_dest_from_link")] - public static extern global::System.IntPtr pdf_new_dest_from_link(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, int jarg3); + public static extern global::System.IntPtr pdf_new_dest_from_link(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_dict")] public static extern global::System.IntPtr pdf_new_dict(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -93783,13 +96126,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_new_int(long jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_link")] - public static extern global::System.IntPtr pdf_new_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr pdf_new_link(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_matrix")] public static extern global::System.IntPtr pdf_new_matrix(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_name")] - public static extern global::System.IntPtr pdf_new_name([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr pdf_new_name(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_output_processor")] public static extern global::System.IntPtr pdf_new_output_processor(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); @@ -93801,16 +96144,16 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_new_pixmap_from_annot(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_pixmap_from_page_contents_with_separations_and_usage")] - public static extern global::System.IntPtr pdf_new_pixmap_from_page_contents_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6, int jarg7); + public static extern global::System.IntPtr pdf_new_pixmap_from_page_contents_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, string jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_pixmap_from_page_contents_with_usage")] - public static extern global::System.IntPtr pdf_new_pixmap_from_page_contents_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, int jarg6); + public static extern global::System.IntPtr pdf_new_pixmap_from_page_contents_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_pixmap_from_page_with_separations_and_usage")] - public static extern global::System.IntPtr pdf_new_pixmap_from_page_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6, int jarg7); + public static extern global::System.IntPtr pdf_new_pixmap_from_page_with_separations_and_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, string jarg6, int jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_pixmap_from_page_with_usage")] - public static extern global::System.IntPtr pdf_new_pixmap_from_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, int jarg6); + public static extern global::System.IntPtr pdf_new_pixmap_from_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_point")] public static extern global::System.IntPtr pdf_new_point(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -93825,31 +96168,31 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_new_rect(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_run_processor")] - public static extern global::System.IntPtr pdf_new_run_processor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); + public static extern global::System.IntPtr pdf_new_run_processor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, string jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9, global::System.Runtime.InteropServices.HandleRef jarg10); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_sanitize_filter")] public static extern global::System.IntPtr pdf_new_sanitize_filter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_string")] - public static extern global::System.IntPtr pdf_new_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, uint jarg2); + public static extern global::System.IntPtr pdf_new_string(string jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_text_string")] - public static extern global::System.IntPtr pdf_new_text_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr pdf_new_text_string(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_uri_from_explicit_dest")] public static extern string pdf_new_uri_from_explicit_dest(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_uri_from_path_and_explicit_dest")] - public static extern string pdf_new_uri_from_path_and_explicit_dest([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern string pdf_new_uri_from_path_and_explicit_dest(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_uri_from_path_and_named_dest")] - public static extern string pdf_new_uri_from_path_and_named_dest([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern string pdf_new_uri_from_path_and_named_dest(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_utf8_from_pdf_stream_obj")] public static extern string pdf_new_utf8_from_pdf_stream_obj(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_utf8_from_pdf_string")] - public static extern string pdf_new_utf8_from_pdf_string([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, uint jarg2); + public static extern string pdf_new_utf8_from_pdf_string(string jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_new_utf8_from_pdf_string_obj")] public static extern string pdf_new_utf8_from_pdf_string_obj(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -93912,7 +96255,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_open_crypt_with_filter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_open_document")] - public static extern global::System.IntPtr pdf_open_document([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr pdf_open_document(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_open_document_with_stream")] public static extern global::System.IntPtr pdf_open_document_with_stream(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -93990,13 +96333,13 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_parse_array(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_parse_date")] - public static extern long pdf_parse_date([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern long pdf_parse_date(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_parse_default_appearance")] - public static extern void pdf_parse_default_appearance([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void pdf_parse_default_appearance(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_parse_default_appearance_unmapped")] - public static extern void pdf_parse_default_appearance_unmapped([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern void pdf_parse_default_appearance_unmapped(string jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_parse_dict")] public static extern global::System.IntPtr pdf_parse_dict(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -94011,22 +96354,22 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_parse_stm_obj(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_parse_write_options")] - public static extern global::System.IntPtr pdf_parse_write_options(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr pdf_parse_write_options(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_pin_document")] public static extern global::System.IntPtr pdf_pin_document(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_preview_signature_as_display_list")] - public static extern global::System.IntPtr pdf_preview_signature_as_display_list(float jarg1, float jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg7, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg8); + public static extern global::System.IntPtr pdf_preview_signature_as_display_list(float jarg1, float jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, string jarg7, string jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_preview_signature_as_pixmap")] - public static extern global::System.IntPtr pdf_preview_signature_as_pixmap(int jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg7, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg8); + public static extern global::System.IntPtr pdf_preview_signature_as_pixmap(int jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, string jarg7, string jarg8); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_print_crypt")] public static extern void pdf_print_crypt(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_print_default_appearance")] - public static extern void pdf_print_default_appearance(string jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, float jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern void pdf_print_default_appearance(string jarg1, int jarg2, string jarg3, float jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_print_encrypted_obj")] public static extern void pdf_print_encrypted_obj(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6, int jarg7, global::System.Runtime.InteropServices.HandleRef jarg8); @@ -94058,8 +96401,8 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_progressive_advance")] public static extern global::System.IntPtr pdf_progressive_advance(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_purge_local_font_resources")] - public static extern void pdf_purge_local_font_resources(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_purge_local_resources")] + public static extern void pdf_purge_local_resources(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_purge_locals_from_store")] public static extern void pdf_purge_locals_from_store(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -94071,10 +96414,10 @@ static mupdfPINVOKE() { public static extern void pdf_read_journal(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_rearrange_pages")] - public static extern void pdf_rearrange_pages(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void pdf_rearrange_pages(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_rearrange_pages2")] - public static extern void pdf_rearrange_pages2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern void pdf_rearrange_pages2(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_recolor_page")] public static extern void pdf_recolor_page(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -94106,6 +96449,9 @@ static mupdfPINVOKE() { [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_repair_xref")] public static extern void pdf_repair_xref(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_repair_xref_base")] + public static extern void pdf_repair_xref_base(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_replace_xref")] public static extern void pdf_replace_xref(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); @@ -94122,7 +96468,7 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_resolve_indirect_chain(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_resolve_link")] - public static extern int pdf_resolve_link(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int pdf_resolve_link(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_rewrite_images")] public static extern void pdf_rewrite_images(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -94134,7 +96480,7 @@ static mupdfPINVOKE() { public static extern void pdf_run_document_structure(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_run_glyph")] - public static extern void pdf_run_glyph(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); + public static extern void pdf_run_glyph(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_run_page")] public static extern void pdf_run_page(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -94143,34 +96489,34 @@ static mupdfPINVOKE() { public static extern void pdf_run_page_annots(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_run_page_annots_with_usage")] - public static extern void pdf_run_page_annots_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void pdf_run_page_annots_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_run_page_contents")] public static extern void pdf_run_page_contents(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_run_page_contents_with_usage")] - public static extern void pdf_run_page_contents_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void pdf_run_page_contents_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_run_page_widgets")] public static extern void pdf_run_page_widgets(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_run_page_widgets_with_usage")] - public static extern void pdf_run_page_widgets_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void pdf_run_page_widgets_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_run_page_with_usage")] - public static extern void pdf_run_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void pdf_run_page_with_usage(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_sample_shade_function")] public static extern void pdf_sample_shade_function(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, float jarg5, float jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_save_document")] - public static extern void pdf_save_document(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void pdf_save_document(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_save_journal")] - public static extern void pdf_save_journal(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_save_journal(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_save_snapshot")] - public static extern void pdf_save_snapshot(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_save_snapshot(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_select_layer_config")] public static extern void pdf_select_layer_config(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -94185,13 +96531,13 @@ static mupdfPINVOKE() { public static extern void pdf_set_annot_active(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_annot_appearance")] - public static extern void pdf_set_annot_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); + public static extern void pdf_set_annot_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_annot_appearance_from_display_list")] - public static extern void pdf_set_annot_appearance_from_display_list(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void pdf_set_annot_appearance_from_display_list(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_annot_author")] - public static extern void pdf_set_annot_author(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_set_annot_author(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_annot_border")] public static extern void pdf_set_annot_border(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); @@ -94221,16 +96567,16 @@ static mupdfPINVOKE() { public static extern void pdf_set_annot_color(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_annot_contents")] - public static extern void pdf_set_annot_contents(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_set_annot_contents(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_annot_creation_date")] public static extern void pdf_set_annot_creation_date(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_annot_default_appearance")] - public static extern void pdf_set_annot_default_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, float jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void pdf_set_annot_default_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, float jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_annot_field_value")] - public static extern int pdf_set_annot_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern int pdf_set_annot_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_annot_filespec")] public static extern void pdf_set_annot_filespec(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -94245,7 +96591,7 @@ static mupdfPINVOKE() { public static extern void pdf_set_annot_hot(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_annot_icon_name")] - public static extern void pdf_set_annot_icon_name(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void pdf_set_annot_icon_name(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_annot_ink_list")] public static extern void pdf_set_annot_ink_list(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); @@ -94320,7 +96666,7 @@ static mupdfPINVOKE() { public static extern void pdf_set_annot_vertices(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_choice_field_value")] - public static extern int pdf_set_choice_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int pdf_set_choice_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_cmap_wmode")] public static extern void pdf_set_cmap_wmode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -94338,7 +96684,7 @@ static mupdfPINVOKE() { public static extern void pdf_set_document_language(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_field_value")] - public static extern int pdf_set_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, int jarg4); + public static extern int pdf_set_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, int jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_font_wmode")] public static extern void pdf_set_font_wmode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -94359,7 +96705,7 @@ static mupdfPINVOKE() { public static extern void pdf_set_page_box(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_page_labels")] - public static extern void pdf_set_page_labels(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, int jarg5); + public static extern void pdf_set_page_labels(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4, int jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_populating_xref_trailer")] public static extern void pdf_set_populating_xref_trailer(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -94368,7 +96714,7 @@ static mupdfPINVOKE() { public static extern void pdf_set_str_len(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_text_field_value")] - public static extern int pdf_set_text_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int pdf_set_text_field_value(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_set_usecmap")] public static extern void pdf_set_usecmap(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -94377,13 +96723,13 @@ static mupdfPINVOKE() { public static extern void pdf_set_widget_editing_state(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_sign_signature")] - public static extern void pdf_sign_signature(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg6); + public static extern void pdf_sign_signature(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, string jarg5, string jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_sign_signature_with_appearance")] public static extern void pdf_sign_signature_with_appearance(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, long jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_signature_appearance_signed")] - public static extern global::System.IntPtr pdf_signature_appearance_signed(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg5, int jarg6); + public static extern global::System.IntPtr pdf_signature_appearance_signed(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, string jarg4, string jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_signature_appearance_unsigned")] public static extern global::System.IntPtr pdf_signature_appearance_unsigned(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -94410,7 +96756,7 @@ static mupdfPINVOKE() { public static extern int pdf_signature_incremental_change_since_signing(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_signature_info")] - public static extern string pdf_signature_info([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, long jarg5, int jarg6); + public static extern string pdf_signature_info(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, string jarg4, long jarg5, int jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_signature_is_signed")] public static extern int pdf_signature_is_signed(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -94434,15 +96780,12 @@ static mupdfPINVOKE() { public static extern void pdf_store_item(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_string_from_annot_type")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_string_from_annot_type(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_string_from_intent")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_string_from_intent(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_string_from_line_ending")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_string_from_line_ending(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_structure_type")] @@ -94497,7 +96840,6 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr pdf_to_matrix(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_to_name")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_to_name(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_to_num")] @@ -94525,11 +96867,9 @@ static mupdfPINVOKE() { public static extern uint pdf_to_str_len(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_to_string(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_to_text_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_to_text_string(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_toggle_layer_config_ui")] @@ -94575,7 +96915,6 @@ static mupdfPINVOKE() { public static extern int pdf_undoredo_state(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_undoredo_step")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_undoredo_step(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_unmark_obj")] @@ -94696,17 +97035,19 @@ static mupdfPINVOKE() { public static extern int pdf_zugferd_profile(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_zugferd_profile_to_string")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string pdf_zugferd_profile_to_string(int jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_pdf_zugferd_xml")] public static extern global::System.IntPtr pdf_zugferd_xml(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_internal_assert_fail")] + public static extern void internal_assert_fail(string jarg1, int jarg2, string jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_internal_env_flag")] - public static extern int internal_env_flag([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern int internal_env_flag(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_internal_env_flag_check_unset")] - public static extern int internal_env_flag_check_unset([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern int internal_env_flag_check_unset(string jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_internal_context_get")] public static extern global::System.IntPtr internal_context_get(); @@ -94718,97 +97059,94 @@ static mupdfPINVOKE() { public static extern int FzErrorBase_m_code_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzErrorBase_m_text_set")] - public static extern void FzErrorBase_m_text_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzErrorBase_m_text_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzErrorBase_m_text_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzErrorBase_m_text_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzErrorBase_m_what_set")] - public static extern void FzErrorBase_m_what_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void FzErrorBase_m_what_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzErrorBase_m_what_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzErrorBase_m_what_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_FzErrorBase_what")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string FzErrorBase_what(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorBase")] - public static extern global::System.IntPtr new_FzErrorBase(int jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern global::System.IntPtr new_FzErrorBase(int jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzErrorBase")] public static extern void delete_FzErrorBase(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorNone")] - public static extern global::System.IntPtr new_FzErrorNone([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzErrorNone(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzErrorNone")] public static extern void delete_FzErrorNone(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorGeneric")] - public static extern global::System.IntPtr new_FzErrorGeneric([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzErrorGeneric(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzErrorGeneric")] public static extern void delete_FzErrorGeneric(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorSystem")] - public static extern global::System.IntPtr new_FzErrorSystem([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzErrorSystem(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzErrorSystem")] public static extern void delete_FzErrorSystem(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorLibrary")] - public static extern global::System.IntPtr new_FzErrorLibrary([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzErrorLibrary(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzErrorLibrary")] public static extern void delete_FzErrorLibrary(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorArgument")] - public static extern global::System.IntPtr new_FzErrorArgument([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzErrorArgument(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzErrorArgument")] public static extern void delete_FzErrorArgument(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorLimit")] - public static extern global::System.IntPtr new_FzErrorLimit([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzErrorLimit(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzErrorLimit")] public static extern void delete_FzErrorLimit(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorUnsupported")] - public static extern global::System.IntPtr new_FzErrorUnsupported([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzErrorUnsupported(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzErrorUnsupported")] public static extern void delete_FzErrorUnsupported(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorFormat")] - public static extern global::System.IntPtr new_FzErrorFormat([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzErrorFormat(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzErrorFormat")] public static extern void delete_FzErrorFormat(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorSyntax")] - public static extern global::System.IntPtr new_FzErrorSyntax([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzErrorSyntax(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzErrorSyntax")] public static extern void delete_FzErrorSyntax(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorTrylater")] - public static extern global::System.IntPtr new_FzErrorTrylater([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzErrorTrylater(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzErrorTrylater")] public static extern void delete_FzErrorTrylater(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorAbort")] - public static extern global::System.IntPtr new_FzErrorAbort([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzErrorAbort(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzErrorAbort")] public static extern void delete_FzErrorAbort(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_FzErrorRepaired")] - public static extern global::System.IntPtr new_FzErrorRepaired([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_FzErrorRepaired(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_FzErrorRepaired")] public static extern void delete_FzErrorRepaired(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -94877,25 +97215,24 @@ static mupdfPINVOKE() { public static extern void ll_fz_convert_color2__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2, float jarg3, float jarg4, float jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, global::System.Runtime.InteropServices.HandleRef jarg8, global::System.Runtime.InteropServices.HandleRef jarg9); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_DiagnosticCallback")] - public static extern global::System.IntPtr new_DiagnosticCallback([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1); + public static extern global::System.IntPtr new_DiagnosticCallback(string jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_DiagnosticCallback__print")] - public static extern void DiagnosticCallback__print(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void DiagnosticCallback__print(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_DiagnosticCallback__printSwigExplicitDiagnosticCallback")] - public static extern void DiagnosticCallback__printSwigExplicitDiagnosticCallback(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void DiagnosticCallback__printSwigExplicitDiagnosticCallback(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_DiagnosticCallback")] public static extern void delete_DiagnosticCallback(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_DiagnosticCallback_s_print")] - public static extern void DiagnosticCallback_s_print(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void DiagnosticCallback_s_print(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_DiagnosticCallback_m_description_set")] - public static extern void DiagnosticCallback_m_description_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void DiagnosticCallback_m_description_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_DiagnosticCallback_m_description_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string DiagnosticCallback_m_description_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_DiagnosticCallback_director_connect")] @@ -95016,7 +97353,22 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_chartorune_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_chartorune_outparams_fn")] - public static extern int ll_fz_chartorune_outparams_fn([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern int ll_fz_chartorune_outparams_fn(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_chartorunen_outparams_rune_set")] + public static extern void ll_fz_chartorunen_outparams_rune_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_chartorunen_outparams_rune_get")] + public static extern int ll_fz_chartorunen_outparams_rune_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_ll_fz_chartorunen_outparams")] + public static extern global::System.IntPtr new_ll_fz_chartorunen_outparams(); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_delete_ll_fz_chartorunen_outparams")] + public static extern void delete_ll_fz_chartorunen_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_chartorunen_outparams_fn")] + public static extern int ll_fz_chartorunen_outparams_fn(string jarg1, uint jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_clamp_color_outparams_out__set")] public static extern void ll_fz_clamp_color_outparams_out__set(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); @@ -95061,7 +97413,6 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_convert_error_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_convert_error_outparams_fn")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_convert_error_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_convert_separation_colors_outparams_dst_color_set")] @@ -95110,10 +97461,9 @@ static mupdfPINVOKE() { public static extern void ll_fz_deflate_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, uint jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_get_attribute_outparams_att_set")] - public static extern void ll_fz_dom_get_attribute_outparams_att_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_dom_get_attribute_outparams_att_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_get_attribute_outparams_att_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_dom_get_attribute_outparams_att_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_ll_fz_dom_get_attribute_outparams")] @@ -95123,7 +97473,6 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_dom_get_attribute_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_dom_get_attribute_outparams_fn")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_dom_get_attribute_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_drop_imp_outparams_refs_set")] @@ -95250,7 +97599,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_getopt_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_getopt_outparams_fn")] - public static extern int ll_fz_getopt_outparams_fn(int jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern int ll_fz_getopt_outparams_fn(int jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_getopt_long_outparams_nargv_set")] public static extern void ll_fz_getopt_long_outparams_nargv_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); @@ -95265,7 +97614,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_getopt_long_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_getopt_long_outparams_fn")] - public static extern int ll_fz_getopt_long_outparams_fn(int jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int ll_fz_getopt_long_outparams_fn(int jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_grisu_outparams_exp_set")] public static extern void ll_fz_grisu_outparams_exp_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -95283,10 +97632,9 @@ static mupdfPINVOKE() { public static extern int ll_fz_grisu_outparams_fn(float jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_has_option_outparams_val_set")] - public static extern void ll_fz_has_option_outparams_val_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_fz_has_option_outparams_val_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_has_option_outparams_val_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_fz_has_option_outparams_val_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_ll_fz_has_option_outparams")] @@ -95296,7 +97644,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_has_option_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_has_option_outparams_fn")] - public static extern int ll_fz_has_option_outparams_fn([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern int ll_fz_has_option_outparams_fn(string jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_image_resolution_outparams_xres_set")] public static extern void ll_fz_image_resolution_outparams_xres_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -95377,7 +97725,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_lookup_base14_font_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_base14_font_outparams_fn")] - public static extern global::System.IntPtr ll_fz_lookup_base14_font_outparams_fn([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern global::System.IntPtr ll_fz_lookup_base14_font_outparams_fn(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_builtin_font_outparams_len_set")] public static extern void ll_fz_lookup_builtin_font_outparams_len_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -95392,7 +97740,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_lookup_builtin_font_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_builtin_font_outparams_fn")] - public static extern global::System.IntPtr ll_fz_lookup_builtin_font_outparams_fn([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr ll_fz_lookup_builtin_font_outparams_fn(string jarg1, int jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_cjk_font_outparams_len_set")] public static extern void ll_fz_lookup_cjk_font_outparams_len_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -95434,7 +97782,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_lookup_cjk_font_by_language_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_cjk_font_by_language_outparams_fn")] - public static extern global::System.IntPtr ll_fz_lookup_cjk_font_by_language_outparams_fn([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern global::System.IntPtr ll_fz_lookup_cjk_font_by_language_outparams_fn(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_lookup_noto_boxes_font_outparams_len_set")] public static extern void ll_fz_lookup_noto_boxes_font_outparams_len_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -95596,7 +97944,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_new_display_list_from_svg_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_display_list_from_svg_outparams_fn")] - public static extern global::System.IntPtr ll_fz_new_display_list_from_svg_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern global::System.IntPtr ll_fz_new_display_list_from_svg_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_display_list_from_svg_xml_outparams_w_set")] public static extern void ll_fz_new_display_list_from_svg_xml_outparams_w_set(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); @@ -95617,7 +97965,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_new_display_list_from_svg_xml_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_display_list_from_svg_xml_outparams_fn")] - public static extern global::System.IntPtr ll_fz_new_display_list_from_svg_xml_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern global::System.IntPtr ll_fz_new_display_list_from_svg_xml_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_new_draw_device_with_options_outparams_pixmap_set")] public static extern void ll_fz_new_draw_device_with_options_outparams_pixmap_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -95743,8 +98091,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_parse_page_range_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_parse_page_range_outparams_fn")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] - public static extern string ll_fz_parse_page_range_outparams_fn([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern string ll_fz_parse_page_range_outparams_fn(string jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_read_best_outparams_truncated_set")] public static extern void ll_fz_read_best_outparams_truncated_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -95780,7 +98127,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_resolve_link_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_resolve_link_outparams_fn")] - public static extern global::System.IntPtr ll_fz_resolve_link_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern global::System.IntPtr ll_fz_resolve_link_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_chapter_page_number_outparams_hit_mark_set")] public static extern void ll_fz_search_chapter_page_number_outparams_hit_mark_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -95795,7 +98142,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_search_chapter_page_number_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_chapter_page_number_outparams_fn")] - public static extern int ll_fz_search_chapter_page_number_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); + public static extern int ll_fz_search_chapter_page_number_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, int jarg6, global::System.Runtime.InteropServices.HandleRef jarg7); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_display_list_outparams_hit_mark_set")] public static extern void ll_fz_search_display_list_outparams_hit_mark_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -95810,7 +98157,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_search_display_list_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_display_list_outparams_fn")] - public static extern int ll_fz_search_display_list_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern int ll_fz_search_display_list_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_page_outparams_hit_mark_set")] public static extern void ll_fz_search_page_outparams_hit_mark_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -95825,7 +98172,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_search_page_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_page_outparams_fn")] - public static extern int ll_fz_search_page_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern int ll_fz_search_page_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_page_number_outparams_hit_mark_set")] public static extern void ll_fz_search_page_number_outparams_hit_mark_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -95840,7 +98187,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_search_page_number_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_page_number_outparams_fn")] - public static extern int ll_fz_search_page_number_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); + public static extern int ll_fz_search_page_number_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_stext_page_outparams_hit_mark_set")] public static extern void ll_fz_search_stext_page_outparams_hit_mark_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -95855,7 +98202,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_search_stext_page_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_search_stext_page_outparams_fn")] - public static extern int ll_fz_search_stext_page_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern int ll_fz_search_stext_page_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_separation_equivalent_outparams_dst_color_set")] public static extern void ll_fz_separation_equivalent_outparams_dst_color_set(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); @@ -95915,7 +98262,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_strsep_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_strsep_outparams_fn")] - public static extern string ll_fz_strsep_outparams_fn([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern string ll_fz_strsep_outparams_fn(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_strtof_outparams_es_set")] public static extern void ll_fz_strtof_outparams_es_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); @@ -95930,7 +98277,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_fz_strtof_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_strtof_outparams_fn")] - public static extern float ll_fz_strtof_outparams_fn([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern float ll_fz_strtof_outparams_fn(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_fz_subset_cff_for_gids_outparams_gids_set")] public static extern void ll_fz_subset_cff_for_gids_outparams_gids_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -96038,10 +98385,9 @@ static mupdfPINVOKE() { public static extern void ll_pdf_annot_color_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_default_appearance_outparams_font_set")] - public static extern void ll_pdf_annot_default_appearance_outparams_font_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_annot_default_appearance_outparams_font_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_default_appearance_outparams_font_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_annot_default_appearance_outparams_font_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_annot_default_appearance_outparams_size_set")] @@ -96135,7 +98481,6 @@ static mupdfPINVOKE() { public static extern void delete_ll_pdf_array_get_string_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_array_get_string_outparams_fn")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_array_get_string_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_count_q_balance_outparams_prepend_set")] @@ -96187,7 +98532,6 @@ static mupdfPINVOKE() { public static extern void delete_ll_pdf_dict_get_inheritable_string_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_inheritable_string_outparams_fn")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_dict_get_inheritable_string_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_put_drop_outparams_old_val_set")] @@ -96218,7 +98562,6 @@ static mupdfPINVOKE() { public static extern void delete_ll_pdf_dict_get_string_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_dict_get_string_outparams_fn")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_dict_get_string_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_edit_text_field_value_outparams_selStart_set")] @@ -96246,7 +98589,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_pdf_edit_text_field_value_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_edit_text_field_value_outparams_fn")] - public static extern int ll_pdf_edit_text_field_value_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int ll_pdf_edit_text_field_value_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_eval_function_outparams_out__set")] public static extern void ll_pdf_eval_function_outparams_out__set(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); @@ -96276,7 +98619,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_pdf_field_event_validate_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_field_event_validate_outparams_fn")] - public static extern int ll_pdf_field_event_validate_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern int ll_pdf_field_event_validate_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_js_event_result_validate_outparams_newvalue_set")] public static extern void ll_pdf_js_event_result_validate_outparams_newvalue_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); @@ -96306,13 +98649,12 @@ static mupdfPINVOKE() { public static extern void delete_ll_pdf_js_execute_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_js_execute_outparams_fn")] - public static extern void ll_pdf_js_execute_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); + public static extern void ll_pdf_js_execute_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_encoding_outparams_estrings_set")] - public static extern void ll_pdf_load_encoding_outparams_estrings_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_load_encoding_outparams_estrings_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_encoding_outparams_estrings_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_load_encoding_outparams_estrings_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_ll_pdf_load_encoding_outparams")] @@ -96322,13 +98664,12 @@ static mupdfPINVOKE() { public static extern void delete_ll_pdf_load_encoding_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_encoding_outparams_fn")] - public static extern void ll_pdf_load_encoding_outparams_fn([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + public static extern void ll_pdf_load_encoding_outparams_fn(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_to_unicode_outparams_strings_set")] - public static extern void ll_pdf_load_to_unicode_outparams_strings_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_load_to_unicode_outparams_strings_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_load_to_unicode_outparams_strings_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_load_to_unicode_outparams_strings_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_new_ll_pdf_load_to_unicode_outparams")] @@ -96458,10 +98799,9 @@ static mupdfPINVOKE() { public static extern global::System.IntPtr ll_pdf_page_write_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_parse_default_appearance_outparams_font_set")] - public static extern void ll_pdf_parse_default_appearance_outparams_font_set(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2); + public static extern void ll_pdf_parse_default_appearance_outparams_font_set(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_parse_default_appearance_outparams_font_get")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_parse_default_appearance_outparams_font_get(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_parse_default_appearance_outparams_size_set")] @@ -96483,7 +98823,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_pdf_parse_default_appearance_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_parse_default_appearance_outparams_fn")] - public static extern void ll_pdf_parse_default_appearance_outparams_fn([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern void ll_pdf_parse_default_appearance_outparams_fn(string jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_parse_default_appearance_unmapped_outparams_size_set")] public static extern void ll_pdf_parse_default_appearance_unmapped_outparams_size_set(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); @@ -96504,7 +98844,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_pdf_parse_default_appearance_unmapped_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_parse_default_appearance_unmapped_outparams_fn")] - public static extern void ll_pdf_parse_default_appearance_unmapped_outparams_fn([global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); + public static extern void ll_pdf_parse_default_appearance_unmapped_outparams_fn(string jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_parse_ind_obj_outparams_num_set")] public static extern void ll_pdf_parse_ind_obj_outparams_num_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -96666,7 +99006,7 @@ static mupdfPINVOKE() { public static extern void delete_ll_pdf_resolve_link_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_resolve_link_outparams_fn")] - public static extern int ll_pdf_resolve_link_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, [global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)]string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + public static extern int ll_pdf_resolve_link_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_sample_shade_function_outparams_samples_set")] public static extern void ll_pdf_sample_shade_function_outparams_samples_set(global::System.Runtime.InteropServices.HandleRef jarg1, float jarg2); @@ -96732,7 +99072,6 @@ static mupdfPINVOKE() { public static extern void delete_ll_pdf_to_string_outparams(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_to_string_outparams_fn")] - [return: global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPUTF8Str)] public static extern string ll_pdf_to_string_outparams_fn(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); [global::System.Runtime.InteropServices.DllImport("mupdfcsharp.dll", EntryPoint="CSharp_mupdf_ll_pdf_tos_make_trm_outparams_adv_set")] @@ -97676,13 +100015,19 @@ static mupdfPINVOKE() { namespace mupdf { public class mupdf { - public static SWIGTYPE_p_SWIGCDATA cdata(SWIGTYPE_p_void ptr, int nelements) { - SWIGTYPE_p_SWIGCDATA ret = new SWIGTYPE_p_SWIGCDATA(mupdfPINVOKE.cdata(SWIGTYPE_p_void.getCPtr(ptr), nelements), true); - return ret; + public static byte[] cdata(SWIGTYPE_p_void ptr, uint nelements) { + global::System.IntPtr mm = global::System.IntPtr.Zero; + int size = mupdfPINVOKE.SWIG_csharp_data(mupdfPINVOKE.cdata(SWIGTYPE_p_void.getCPtr(ptr), nelements), ref mm); + byte[] ret = new byte[size]; + if (size > 0) { + System.Runtime.InteropServices.Marshal.Copy(mm, ret, 0, size); } + return ret; +} - public static void memmove(SWIGTYPE_p_void data, SWIGTYPE_p_void indata, int inlen) { - mupdfPINVOKE.memmove(SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_void.getCPtr(indata), inlen); + public static void memmove(SWIGTYPE_p_void data, byte[] indata) { + mupdfPINVOKE.memmove(SWIGTYPE_p_void.getCPtr(data), mupdfPINVOKE.SWIG_csharp_bytes_to_c(indata)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } public static SWIGTYPE_p_unsigned_char new_bytes(uint nelements) { @@ -98464,6 +100809,10 @@ public static void ll_fz_append_int32_le(fz_buffer buf, int x) { mupdfPINVOKE.ll_fz_append_int32_le(fz_buffer.getCPtr(buf), x); } + public static void ll_fz_append_json(fz_buffer buf, fz_json value) { + mupdfPINVOKE.ll_fz_append_json(fz_buffer.getCPtr(buf), fz_json.getCPtr(value)); + } + public static void ll_fz_append_pdf_string(fz_buffer buffer, string text) { mupdfPINVOKE.ll_fz_append_pdf_string(fz_buffer.getCPtr(buffer), text); } @@ -98512,6 +100861,11 @@ public static long ll_fz_atoi64(string s) { return ret; } + public static uint ll_fz_atoz(string s) { + uint ret = mupdfPINVOKE.ll_fz_atoz(s); + return ret; + } + public static int ll_fz_authenticate_password(fz_document doc, string password) { int ret = mupdfPINVOKE.ll_fz_authenticate_password(fz_document.getCPtr(doc), password); return ret; @@ -98678,6 +101032,11 @@ public static int ll_fz_chartorune(SWIGTYPE_p_int rune, string str) { return ret; } + public static int ll_fz_chartorunen(SWIGTYPE_p_int rune, string str, uint n) { + int ret = mupdfPINVOKE.ll_fz_chartorunen(SWIGTYPE_p_int.getCPtr(rune), str, n); + return ret; + } + public static float ll_fz_clamp(float x, float min, float max) { float ret = mupdfPINVOKE.ll_fz_clamp(x, min, max); return ret; @@ -98858,6 +101217,10 @@ public static int ll_fz_colorspace_device_n_has_only_cmyk(fz_colorspace cs) { return ret; } + public static void ll_fz_colorspace_digest(fz_colorspace cs, SWIGTYPE_p_unsigned_char digest) { + mupdfPINVOKE.ll_fz_colorspace_digest(fz_colorspace.getCPtr(cs), SWIGTYPE_p_unsigned_char.getCPtr(digest)); + } + public static int ll_fz_colorspace_is_cmyk(fz_colorspace cs) { int ret = mupdfPINVOKE.ll_fz_colorspace_is_cmyk(fz_colorspace.getCPtr(cs)); return ret; @@ -98888,6 +101251,11 @@ public static int ll_fz_colorspace_is_gray(fz_colorspace cs) { return ret; } + public static int ll_fz_colorspace_is_icc(fz_colorspace cs) { + int ret = mupdfPINVOKE.ll_fz_colorspace_is_icc(fz_colorspace.getCPtr(cs)); + return ret; + } + public static int ll_fz_colorspace_is_indexed(fz_colorspace cs) { int ret = mupdfPINVOKE.ll_fz_colorspace_is_indexed(fz_colorspace.getCPtr(cs)); return ret; @@ -98937,17 +101305,15 @@ public static int ll_fz_compare_separations(SWIGTYPE_p_fz_separations sep1, SWIG return ret; } - public static fz_buffer ll_fz_compress_ccitt_fax_g3(SWIGTYPE_p_unsigned_char data, int columns, int rows, SWIGTYPE_p_ptrdiff_t stride) { - global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_compress_ccitt_fax_g3(SWIGTYPE_p_unsigned_char.getCPtr(data), columns, rows, SWIGTYPE_p_ptrdiff_t.getCPtr(stride)); + public static fz_buffer ll_fz_compress_ccitt_fax_g3(SWIGTYPE_p_unsigned_char data, int columns, int rows, int stride) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_compress_ccitt_fax_g3(SWIGTYPE_p_unsigned_char.getCPtr(data), columns, rows, stride); fz_buffer ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_buffer(cPtr, false); - if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } - public static fz_buffer ll_fz_compress_ccitt_fax_g4(SWIGTYPE_p_unsigned_char data, int columns, int rows, SWIGTYPE_p_ptrdiff_t stride) { - global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_compress_ccitt_fax_g4(SWIGTYPE_p_unsigned_char.getCPtr(data), columns, rows, SWIGTYPE_p_ptrdiff_t.getCPtr(stride)); + public static fz_buffer ll_fz_compress_ccitt_fax_g4(SWIGTYPE_p_unsigned_char data, int columns, int rows, int stride) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_compress_ccitt_fax_g4(SWIGTYPE_p_unsigned_char.getCPtr(data), columns, rows, stride); fz_buffer ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_buffer(cPtr, false); - if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -99706,6 +102072,15 @@ public static void ll_fz_end_tile(fz_device dev) { mupdfPINVOKE.ll_fz_end_tile(fz_device.getCPtr(dev)); } + public static void ll_fz_enumerate_font_cmap(fz_font font, SWIGTYPE_p_f_p_fz_context_p_void_unsigned_long_unsigned_int__void cb, SWIGTYPE_p_void opaque) { + mupdfPINVOKE.ll_fz_enumerate_font_cmap(fz_font.getCPtr(font), SWIGTYPE_p_f_p_fz_context_p_void_unsigned_long_unsigned_int__void.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + } + + public static vector_fz_font_ucs_gid ll_fz_enumerate_font_cmap2(fz_font font) { + vector_fz_font_ucs_gid ret = new vector_fz_font_ucs_gid(mupdfPINVOKE.ll_fz_enumerate_font_cmap2(fz_font.getCPtr(font)), true); + return ret; + } + public static SWIGTYPE_p_f_p_void_p_q_const__char__void ll_fz_error_callback(SWIGTYPE_p_p_void user) { global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_error_callback(SWIGTYPE_p_p_void.getCPtr(user)); SWIGTYPE_p_f_p_void_p_q_const__char__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_void_p_q_const__char__void(cPtr, false); @@ -100108,6 +102483,14 @@ public static void ll_fz_install_load_system_font_funcs2(fz_install_load_system_ mupdfPINVOKE.ll_fz_install_load_system_font_funcs2(fz_install_load_system_font_funcs_args.getCPtr(args)); } + public static void ll_fz_int2_heap_debug(SWIGTYPE_p_fz_int2_heap heap) { + mupdfPINVOKE.ll_fz_int2_heap_debug(SWIGTYPE_p_fz_int2_heap.getCPtr(heap)); + } + + public static void ll_fz_int2_heap_dump(fz_output out_, SWIGTYPE_p_fz_int2_heap heap) { + mupdfPINVOKE.ll_fz_int2_heap_dump(fz_output.getCPtr(out_), SWIGTYPE_p_fz_int2_heap.getCPtr(heap)); + } + public static void ll_fz_int2_heap_insert(SWIGTYPE_p_fz_int2_heap heap, SWIGTYPE_p_fz_int2 v) { mupdfPINVOKE.ll_fz_int2_heap_insert(SWIGTYPE_p_fz_int2_heap.getCPtr(heap), SWIGTYPE_p_fz_int2.getCPtr(v)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -100121,6 +102504,14 @@ public static void ll_fz_int2_heap_uniq(SWIGTYPE_p_fz_int2_heap heap) { mupdfPINVOKE.ll_fz_int2_heap_uniq(SWIGTYPE_p_fz_int2_heap.getCPtr(heap)); } + public static void ll_fz_int_heap_debug(SWIGTYPE_p_fz_int_heap heap) { + mupdfPINVOKE.ll_fz_int_heap_debug(SWIGTYPE_p_fz_int_heap.getCPtr(heap)); + } + + public static void ll_fz_int_heap_dump(fz_output out_, SWIGTYPE_p_fz_int_heap heap) { + mupdfPINVOKE.ll_fz_int_heap_dump(fz_output.getCPtr(out_), SWIGTYPE_p_fz_int_heap.getCPtr(heap)); + } + public static void ll_fz_int_heap_insert(SWIGTYPE_p_fz_int_heap heap, int v) { mupdfPINVOKE.ll_fz_int_heap_insert(SWIGTYPE_p_fz_int_heap.getCPtr(heap), v); } @@ -100145,6 +102536,14 @@ public static fz_rect ll_fz_intersect_rect(fz_rect a, fz_rect b) { return ret; } + public static void ll_fz_intptr_heap_debug(SWIGTYPE_p_fz_intptr_heap heap) { + mupdfPINVOKE.ll_fz_intptr_heap_debug(SWIGTYPE_p_fz_intptr_heap.getCPtr(heap)); + } + + public static void ll_fz_intptr_heap_dump(fz_output out_, SWIGTYPE_p_fz_intptr_heap heap) { + mupdfPINVOKE.ll_fz_intptr_heap_dump(fz_output.getCPtr(out_), SWIGTYPE_p_fz_intptr_heap.getCPtr(heap)); + } + public static void ll_fz_intptr_heap_insert(SWIGTYPE_p_fz_intptr_heap heap, SWIGTYPE_p_fz_intptr v) { mupdfPINVOKE.ll_fz_intptr_heap_insert(SWIGTYPE_p_fz_intptr_heap.getCPtr(heap), SWIGTYPE_p_fz_intptr.getCPtr(v)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -100384,6 +102783,112 @@ public static fz_buffer ll_fz_jbig2_globals_data(SWIGTYPE_p_fz_jbig2_globals glo return ret; } + public static fz_json ll_fz_json_array_get(fz_json array, int ix) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_json_array_get(fz_json.getCPtr(array), ix); + fz_json ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json(cPtr, false); + return ret; + } + + public static int ll_fz_json_array_length(fz_json array) { + int ret = mupdfPINVOKE.ll_fz_json_array_length(fz_json.getCPtr(array)); + return ret; + } + + public static void ll_fz_json_array_push(SWIGTYPE_p_fz_pool pool, fz_json array, fz_json item) { + mupdfPINVOKE.ll_fz_json_array_push(SWIGTYPE_p_fz_pool.getCPtr(pool), fz_json.getCPtr(array), fz_json.getCPtr(item)); + } + + public static int ll_fz_json_is_array(fz_json json) { + int ret = mupdfPINVOKE.ll_fz_json_is_array(fz_json.getCPtr(json)); + return ret; + } + + public static int ll_fz_json_is_boolean(fz_json json) { + int ret = mupdfPINVOKE.ll_fz_json_is_boolean(fz_json.getCPtr(json)); + return ret; + } + + public static int ll_fz_json_is_null(fz_json json) { + int ret = mupdfPINVOKE.ll_fz_json_is_null(fz_json.getCPtr(json)); + return ret; + } + + public static int ll_fz_json_is_number(fz_json json) { + int ret = mupdfPINVOKE.ll_fz_json_is_number(fz_json.getCPtr(json)); + return ret; + } + + public static int ll_fz_json_is_object(fz_json json) { + int ret = mupdfPINVOKE.ll_fz_json_is_object(fz_json.getCPtr(json)); + return ret; + } + + public static int ll_fz_json_is_string(fz_json json) { + int ret = mupdfPINVOKE.ll_fz_json_is_string(fz_json.getCPtr(json)); + return ret; + } + + public static fz_json ll_fz_json_new_array(SWIGTYPE_p_fz_pool pool) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_json_new_array(SWIGTYPE_p_fz_pool.getCPtr(pool)); + fz_json ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json(cPtr, false); + return ret; + } + + public static fz_json ll_fz_json_new_boolean(SWIGTYPE_p_fz_pool pool, int x) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_json_new_boolean(SWIGTYPE_p_fz_pool.getCPtr(pool), x); + fz_json ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json(cPtr, false); + return ret; + } + + public static fz_json ll_fz_json_new_null(SWIGTYPE_p_fz_pool pool) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_json_new_null(SWIGTYPE_p_fz_pool.getCPtr(pool)); + fz_json ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json(cPtr, false); + return ret; + } + + public static fz_json ll_fz_json_new_number(SWIGTYPE_p_fz_pool pool, double number) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_json_new_number(SWIGTYPE_p_fz_pool.getCPtr(pool), number); + fz_json ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json(cPtr, false); + return ret; + } + + public static fz_json ll_fz_json_new_object(SWIGTYPE_p_fz_pool pool) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_json_new_object(SWIGTYPE_p_fz_pool.getCPtr(pool)); + fz_json ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json(cPtr, false); + return ret; + } + + public static fz_json ll_fz_json_new_string(SWIGTYPE_p_fz_pool pool, string string_) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_json_new_string(SWIGTYPE_p_fz_pool.getCPtr(pool), string_); + fz_json ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json(cPtr, false); + return ret; + } + + public static fz_json ll_fz_json_object_get(fz_json object_, string key) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_json_object_get(fz_json.getCPtr(object_), key); + fz_json ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json(cPtr, false); + return ret; + } + + public static void ll_fz_json_object_set(SWIGTYPE_p_fz_pool pool, fz_json object_, string key, fz_json item) { + mupdfPINVOKE.ll_fz_json_object_set(SWIGTYPE_p_fz_pool.getCPtr(pool), fz_json.getCPtr(object_), key, fz_json.getCPtr(item)); + } + + public static int ll_fz_json_to_boolean(fz_json json) { + int ret = mupdfPINVOKE.ll_fz_json_to_boolean(fz_json.getCPtr(json)); + return ret; + } + + public static double ll_fz_json_to_number(fz_json json) { + double ret = mupdfPINVOKE.ll_fz_json_to_number(fz_json.getCPtr(json)); + return ret; + } + + public static string ll_fz_json_to_string(fz_json json) { + string ret = mupdfPINVOKE.ll_fz_json_to_string(fz_json.getCPtr(json)); + return ret; + } + public static fz_archive ll_fz_keep_archive(fz_archive arch) { global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_keep_archive(fz_archive.getCPtr(arch)); fz_archive ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_archive(cPtr, false); @@ -100733,6 +103238,10 @@ public static int ll_fz_load_tiff_subimage_count(SWIGTYPE_p_unsigned_char buf, u return ret; } + public static void ll_fz_load_user_css(string filename) { + mupdfPINVOKE.ll_fz_load_user_css(filename); + } + public static fz_location ll_fz_location_from_page_number(fz_document doc, int number) { fz_location ret = new fz_location(mupdfPINVOKE.ll_fz_location_from_page_number(fz_document.getCPtr(doc), number), true); return ret; @@ -100757,7 +103266,7 @@ public static int ll_fz_lookup_blendmode(string name) { return ret; } - public static fz_location ll_fz_lookup_bookmark(fz_document doc, int mark) { + public static fz_location ll_fz_lookup_bookmark(fz_document doc, long mark) { fz_location ret = new fz_location(mupdfPINVOKE.ll_fz_lookup_bookmark(fz_document.getCPtr(doc), mark), true); return ret; } @@ -100830,6 +103339,11 @@ public static SWIGTYPE_p_unsigned_char ll_fz_lookup_noto_music_font(SWIGTYPE_p_i return ret; } + public static string ll_fz_lookup_noto_stem_from_script(int script, int language) { + string ret = mupdfPINVOKE.ll_fz_lookup_noto_stem_from_script(script, language); + return ret; + } + public static SWIGTYPE_p_unsigned_char ll_fz_lookup_noto_symbol1_font(SWIGTYPE_p_int len) { global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_lookup_noto_symbol1_font(SWIGTYPE_p_int.getCPtr(len)); SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); @@ -100847,8 +103361,8 @@ public static int ll_fz_lookup_rendering_intent(string name) { return ret; } - public static int ll_fz_make_bookmark(fz_document doc, fz_location loc) { - int ret = mupdfPINVOKE.ll_fz_make_bookmark(fz_document.getCPtr(doc), fz_location.getCPtr(loc)); + public static long ll_fz_make_bookmark(fz_document doc, fz_location loc) { + long ret = mupdfPINVOKE.ll_fz_make_bookmark(fz_document.getCPtr(doc), fz_location.getCPtr(loc)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -101305,6 +103819,18 @@ public static fz_context ll_fz_new_context_imp(fz_alloc_context alloc, fz_locks_ return ret; } + public static fz_document_writer ll_fz_new_csv_writer(string path, string options) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_new_csv_writer(path, options); + fz_document_writer ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_document_writer(cPtr, false); + return ret; + } + + public static fz_document_writer ll_fz_new_csv_writer_with_output(fz_output out_, string options) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_new_csv_writer_with_output(fz_output.getCPtr(out_), options); + fz_document_writer ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_document_writer(cPtr, false); + return ret; + } + public static fz_default_colorspaces ll_fz_new_default_colorspaces() { global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_new_default_colorspaces(); fz_default_colorspaces ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_default_colorspaces(cPtr, false); @@ -102584,12 +105110,22 @@ public static void ll_fz_paint_shade(fz_shade shade, fz_colorspace override_cs, if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } + public static void ll_fz_paragraph_break(fz_stext_page page) { + mupdfPINVOKE.ll_fz_paragraph_break(fz_stext_page.getCPtr(page)); + } + public static fz_draw_options ll_fz_parse_draw_options(fz_draw_options options, string string_) { global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_parse_draw_options(fz_draw_options.getCPtr(options), string_); fz_draw_options ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_draw_options(cPtr, false); return ret; } + public static fz_json ll_fz_parse_json(SWIGTYPE_p_fz_pool pool, string s) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_fz_parse_json(SWIGTYPE_p_fz_pool.getCPtr(pool), s); + fz_json ret = (cPtr == global::System.IntPtr.Zero) ? null : new fz_json(cPtr, false); + return ret; + } + public static string ll_fz_parse_page_range(string s, SWIGTYPE_p_int a, SWIGTYPE_p_int b, int n) { string ret = mupdfPINVOKE.ll_fz_parse_page_range(s, SWIGTYPE_p_int.getCPtr(a), SWIGTYPE_p_int.getCPtr(b), n); return ret; @@ -103093,6 +105629,10 @@ public static void ll_fz_rectto(SWIGTYPE_p_fz_path path, float x0, float y0, flo mupdfPINVOKE.ll_fz_rectto(SWIGTYPE_p_fz_path.getCPtr(path), x0, y0, x1, y1); } + public static void ll_fz_register_activity_logger(SWIGTYPE_p_f_p_fz_context_p_void_enum_fz_activity_reason_p_void__void activity, SWIGTYPE_p_void opaque) { + mupdfPINVOKE.ll_fz_register_activity_logger(SWIGTYPE_p_f_p_fz_context_p_void_enum_fz_activity_reason_p_void__void.getCPtr(activity), SWIGTYPE_p_void.getCPtr(opaque)); + } + public static void ll_fz_register_archive_handler(fz_archive_handler handler) { mupdfPINVOKE.ll_fz_register_archive_handler(fz_archive_handler.getCPtr(handler)); } @@ -103119,8 +105659,8 @@ public static fz_pixmap ll_fz_render_glyph_pixmap(fz_font font, int gid, fz_matr return ret; } - public static void ll_fz_render_t3_glyph_direct(fz_device dev, fz_font font, int gid, fz_matrix trm, SWIGTYPE_p_void gstate, fz_default_colorspaces def_cs) { - mupdfPINVOKE.ll_fz_render_t3_glyph_direct(fz_device.getCPtr(dev), fz_font.getCPtr(font), gid, fz_matrix.getCPtr(trm), SWIGTYPE_p_void.getCPtr(gstate), fz_default_colorspaces.getCPtr(def_cs)); + public static void ll_fz_render_t3_glyph_direct(fz_device dev, fz_font font, int gid, fz_matrix trm, SWIGTYPE_p_void gstate, fz_default_colorspaces def_cs, SWIGTYPE_p_void fill_gstate, SWIGTYPE_p_void stroke_gstate) { + mupdfPINVOKE.ll_fz_render_t3_glyph_direct(fz_device.getCPtr(dev), fz_font.getCPtr(font), gid, fz_matrix.getCPtr(trm), SWIGTYPE_p_void.getCPtr(gstate), fz_default_colorspaces.getCPtr(def_cs), SWIGTYPE_p_void.getCPtr(fill_gstate), SWIGTYPE_p_void.getCPtr(stroke_gstate)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } @@ -103337,11 +105877,21 @@ public static int ll_fz_search_chapter_page_number(fz_document doc, int chapter, return ret; } + public static int ll_fz_search_chapter_page_number_cb(fz_document doc, int chapter, int page, string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.ll_fz_search_chapter_page_number_cb(fz_document.getCPtr(doc), chapter, page, needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + return ret; + } + public static int ll_fz_search_display_list(SWIGTYPE_p_fz_display_list list, string needle, SWIGTYPE_p_int hit_mark, fz_quad hit_bbox, int hit_max) { int ret = mupdfPINVOKE.ll_fz_search_display_list(SWIGTYPE_p_fz_display_list.getCPtr(list), needle, SWIGTYPE_p_int.getCPtr(hit_mark), fz_quad.getCPtr(hit_bbox), hit_max); return ret; } + public static int ll_fz_search_display_list_cb(SWIGTYPE_p_fz_display_list list, string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.ll_fz_search_display_list_cb(SWIGTYPE_p_fz_display_list.getCPtr(list), needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + return ret; + } + public static int ll_fz_search_page(fz_page page, string needle, SWIGTYPE_p_int hit_mark, fz_quad hit_bbox, int hit_max) { int ret = mupdfPINVOKE.ll_fz_search_page(fz_page.getCPtr(page), needle, SWIGTYPE_p_int.getCPtr(hit_mark), fz_quad.getCPtr(hit_bbox), hit_max); return ret; @@ -103352,16 +105902,31 @@ public static vector_search_page2_hit ll_fz_search_page2(fz_document doc, int nu return ret; } + public static int ll_fz_search_page_cb(fz_page page, string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.ll_fz_search_page_cb(fz_page.getCPtr(page), needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + return ret; + } + public static int ll_fz_search_page_number(fz_document doc, int number, string needle, SWIGTYPE_p_int hit_mark, fz_quad hit_bbox, int hit_max) { int ret = mupdfPINVOKE.ll_fz_search_page_number(fz_document.getCPtr(doc), number, needle, SWIGTYPE_p_int.getCPtr(hit_mark), fz_quad.getCPtr(hit_bbox), hit_max); return ret; } + public static int ll_fz_search_page_number_cb(fz_document doc, int number, string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.ll_fz_search_page_number_cb(fz_document.getCPtr(doc), number, needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + return ret; + } + public static int ll_fz_search_stext_page(fz_stext_page text, string needle, SWIGTYPE_p_int hit_mark, fz_quad hit_bbox, int hit_max) { int ret = mupdfPINVOKE.ll_fz_search_stext_page(fz_stext_page.getCPtr(text), needle, SWIGTYPE_p_int.getCPtr(hit_mark), fz_quad.getCPtr(hit_bbox), hit_max); return ret; } + public static int ll_fz_search_stext_page_cb(fz_stext_page text, string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.ll_fz_search_stext_page_cb(fz_stext_page.getCPtr(text), needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + return ret; + } + public static void ll_fz_seek(fz_stream stm, long offset, int whence) { mupdfPINVOKE.ll_fz_seek(fz_stream.getCPtr(stm), offset, whence); } @@ -103370,6 +105935,11 @@ public static void ll_fz_seek_output(fz_output out_, long off, int whence) { mupdfPINVOKE.ll_fz_seek_output(fz_output.getCPtr(out_), off, whence); } + public static int ll_fz_segment_stext_page(fz_stext_page page) { + int ret = mupdfPINVOKE.ll_fz_segment_stext_page(fz_stext_page.getCPtr(page)); + return ret; + } + public static fz_separation_behavior ll_fz_separation_current_behavior(SWIGTYPE_p_fz_separations sep, int separation) { fz_separation_behavior ret = (fz_separation_behavior)mupdfPINVOKE.ll_fz_separation_current_behavior(SWIGTYPE_p_fz_separations.getCPtr(sep), separation); return ret; @@ -103713,6 +106283,16 @@ public static string ll_fz_strsep(SWIGTYPE_p_p_char stringp, string delim) { return ret; } + public static string ll_fz_strstr(string haystack, string needle) { + string ret = mupdfPINVOKE.ll_fz_strstr(haystack, needle); + return ret; + } + + public static string ll_fz_strstrcase(string haystack, string needle) { + string ret = mupdfPINVOKE.ll_fz_strstrcase(haystack, needle); + return ret; + } + public static float ll_fz_strtof(string s, SWIGTYPE_p_p_char es) { float ret = mupdfPINVOKE.ll_fz_strtof(s, SWIGTYPE_p_p_char.getCPtr(es)); return ret; @@ -103753,6 +106333,10 @@ public static void ll_fz_sync_bits(fz_stream stm) { mupdfPINVOKE.ll_fz_sync_bits(fz_stream.getCPtr(stm)); } + public static void ll_fz_table_hunt(fz_stext_page page) { + mupdfPINVOKE.ll_fz_table_hunt(fz_stext_page.getCPtr(page)); + } + public static long ll_fz_tell(fz_stream stm) { long ret = mupdfPINVOKE.ll_fz_tell(fz_stream.getCPtr(stm)); return ret; @@ -104130,6 +106714,10 @@ public static void ll_fz_write_int32_le(fz_output out_, int x) { mupdfPINVOKE.ll_fz_write_int32_le(fz_output.getCPtr(out_), x); } + public static void ll_fz_write_json(fz_output out_, fz_json value) { + mupdfPINVOKE.ll_fz_write_json(fz_output.getCPtr(out_), fz_json.getCPtr(value)); + } + public static void ll_fz_write_pixmap_as_data_uri(fz_output out_, fz_pixmap pixmap) { mupdfPINVOKE.ll_fz_write_pixmap_as_data_uri(fz_output.getCPtr(out_), fz_pixmap.getCPtr(pixmap)); } @@ -104432,8 +107020,14 @@ public static void ll_pdf_add_codespace(pdf_cmap cmap, uint low, uint high, uint mupdfPINVOKE.ll_pdf_add_codespace(pdf_cmap.getCPtr(cmap), low, high, n); } - public static SWIGTYPE_p_pdf_obj ll_pdf_add_embedded_file(pdf_document doc, string filename, string mimetype, fz_buffer contents, long created, long modifed, int add_checksum) { - global::System.IntPtr cPtr = mupdfPINVOKE.ll_pdf_add_embedded_file(pdf_document.getCPtr(doc), filename, mimetype, fz_buffer.getCPtr(contents), created, modifed, add_checksum); + public static SWIGTYPE_p_pdf_obj ll_pdf_add_colorspace(pdf_document doc, fz_colorspace cs) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_pdf_add_colorspace(pdf_document.getCPtr(doc), fz_colorspace.getCPtr(cs)); + SWIGTYPE_p_pdf_obj ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(cPtr, false); + return ret; + } + + public static SWIGTYPE_p_pdf_obj ll_pdf_add_embedded_file(pdf_document doc, string filename, string mimetype, fz_buffer contents, long created, long modified, int add_checksum) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_pdf_add_embedded_file(pdf_document.getCPtr(doc), filename, mimetype, fz_buffer.getCPtr(contents), created, modified, add_checksum); SWIGTYPE_p_pdf_obj ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(cPtr, false); return ret; } @@ -105303,6 +107897,10 @@ public static void ll_pdf_clear_xref_to_mark(pdf_document doc) { mupdfPINVOKE.ll_pdf_clear_xref_to_mark(pdf_document.getCPtr(doc)); } + public static void ll_pdf_clip_page(pdf_page page, fz_rect clip) { + mupdfPINVOKE.ll_pdf_clip_page(pdf_page.getCPtr(page), fz_rect.getCPtr(clip)); + } + public static void ll_pdf_close_processor(pdf_processor proc) { mupdfPINVOKE.ll_pdf_close_processor(pdf_processor.getCPtr(proc)); } @@ -106201,6 +108799,12 @@ public static SWIGTYPE_p_pdf_obj ll_pdf_filter_xobject_instance(SWIGTYPE_p_pdf_o return ret; } + public static SWIGTYPE_p_pdf_obj ll_pdf_find_colorspace_resource(pdf_document doc, fz_colorspace item, pdf_colorspace_resource_key key) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_pdf_find_colorspace_resource(pdf_document.getCPtr(doc), fz_colorspace.getCPtr(item), pdf_colorspace_resource_key.getCPtr(key)); + SWIGTYPE_p_pdf_obj ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(cPtr, false); + return ret; + } + public static SWIGTYPE_p_pdf_obj ll_pdf_find_font_resource(pdf_document doc, int type, int encoding, fz_font item, pdf_font_resource_key key) { global::System.IntPtr cPtr = mupdfPINVOKE.ll_pdf_find_font_resource(pdf_document.getCPtr(doc), type, encoding, fz_font.getCPtr(item), pdf_font_resource_key.getCPtr(key)); SWIGTYPE_p_pdf_obj ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(cPtr, false); @@ -106376,6 +108980,12 @@ public static int ll_pdf_incremental_change_since_signing_widget(SWIGTYPE_p_pdf_ return ret; } + public static SWIGTYPE_p_pdf_obj ll_pdf_insert_colorspace_resource(pdf_document doc, pdf_colorspace_resource_key key, SWIGTYPE_p_pdf_obj obj) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_pdf_insert_colorspace_resource(pdf_document.getCPtr(doc), pdf_colorspace_resource_key.getCPtr(key), SWIGTYPE_p_pdf_obj.getCPtr(obj)); + SWIGTYPE_p_pdf_obj ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(cPtr, false); + return ret; + } + public static SWIGTYPE_p_pdf_obj ll_pdf_insert_font_resource(pdf_document doc, pdf_font_resource_key key, SWIGTYPE_p_pdf_obj obj) { global::System.IntPtr cPtr = mupdfPINVOKE.ll_pdf_insert_font_resource(pdf_document.getCPtr(doc), pdf_font_resource_key.getCPtr(key), SWIGTYPE_p_pdf_obj.getCPtr(obj)); SWIGTYPE_p_pdf_obj ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(cPtr, false); @@ -106648,8 +109258,8 @@ public static void ll_pdf_lexbuf_fin(pdf_lexbuf lexbuf) { mupdfPINVOKE.ll_pdf_lexbuf_fin(pdf_lexbuf.getCPtr(lexbuf)); } - public static SWIGTYPE_p_ptrdiff_t ll_pdf_lexbuf_grow(pdf_lexbuf lexbuf) { - SWIGTYPE_p_ptrdiff_t ret = new SWIGTYPE_p_ptrdiff_t(mupdfPINVOKE.ll_pdf_lexbuf_grow(pdf_lexbuf.getCPtr(lexbuf)), true); + public static int ll_pdf_lexbuf_grow(pdf_lexbuf lexbuf) { + int ret = mupdfPINVOKE.ll_pdf_lexbuf_grow(pdf_lexbuf.getCPtr(lexbuf)); return ret; } @@ -107241,8 +109851,8 @@ public static SWIGTYPE_p_pdf_obj ll_pdf_new_rect(pdf_document doc, fz_rect rect) return ret; } - public static pdf_processor ll_pdf_new_run_processor(pdf_document doc, fz_device dev, fz_matrix ctm, int struct_parent, string usage, SWIGTYPE_p_pdf_gstate gstate, fz_default_colorspaces default_cs, fz_cookie cookie) { - global::System.IntPtr cPtr = mupdfPINVOKE.ll_pdf_new_run_processor(pdf_document.getCPtr(doc), fz_device.getCPtr(dev), fz_matrix.getCPtr(ctm), struct_parent, usage, SWIGTYPE_p_pdf_gstate.getCPtr(gstate), fz_default_colorspaces.getCPtr(default_cs), fz_cookie.getCPtr(cookie)); + public static pdf_processor ll_pdf_new_run_processor(pdf_document doc, fz_device dev, fz_matrix ctm, int struct_parent, string usage, SWIGTYPE_p_pdf_gstate gstate, fz_default_colorspaces default_cs, fz_cookie cookie, SWIGTYPE_p_pdf_gstate fill_gstate, SWIGTYPE_p_pdf_gstate stroke_gstate) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_pdf_new_run_processor(pdf_document.getCPtr(doc), fz_device.getCPtr(dev), fz_matrix.getCPtr(ctm), struct_parent, usage, SWIGTYPE_p_pdf_gstate.getCPtr(gstate), fz_default_colorspaces.getCPtr(default_cs), fz_cookie.getCPtr(cookie), SWIGTYPE_p_pdf_gstate.getCPtr(fill_gstate), SWIGTYPE_p_pdf_gstate.getCPtr(stroke_gstate)); pdf_processor ret = (cPtr == global::System.IntPtr.Zero) ? null : new pdf_processor(cPtr, false); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; @@ -107563,8 +110173,8 @@ public static SWIGTYPE_p_pdf_obj ll_pdf_parse_dict(pdf_document doc, fz_stream f return ret; } - public static SWIGTYPE_p_pdf_obj ll_pdf_parse_ind_obj(pdf_document doc, fz_stream f, SWIGTYPE_p_int num, SWIGTYPE_p_int gen, SWIGTYPE_p_long_long stm_ofs, SWIGTYPE_p_int try_repair) { - global::System.IntPtr cPtr = mupdfPINVOKE.ll_pdf_parse_ind_obj(pdf_document.getCPtr(doc), fz_stream.getCPtr(f), SWIGTYPE_p_int.getCPtr(num), SWIGTYPE_p_int.getCPtr(gen), SWIGTYPE_p_long_long.getCPtr(stm_ofs), SWIGTYPE_p_int.getCPtr(try_repair)); + public static SWIGTYPE_p_pdf_obj ll_pdf_parse_ind_obj(pdf_document doc, fz_stream f, SWIGTYPE_p_int num, SWIGTYPE_p_int gen, SWIGTYPE_p_long stm_ofs, SWIGTYPE_p_int try_repair) { + global::System.IntPtr cPtr = mupdfPINVOKE.ll_pdf_parse_ind_obj(pdf_document.getCPtr(doc), fz_stream.getCPtr(f), SWIGTYPE_p_int.getCPtr(num), SWIGTYPE_p_int.getCPtr(gen), SWIGTYPE_p_long.getCPtr(stm_ofs), SWIGTYPE_p_int.getCPtr(try_repair)); SWIGTYPE_p_pdf_obj ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_pdf_obj(cPtr, false); return ret; } @@ -107657,8 +110267,8 @@ public static SWIGTYPE_p_pdf_obj ll_pdf_progressive_advance(pdf_document doc, in return ret; } - public static void ll_pdf_purge_local_font_resources(pdf_document doc) { - mupdfPINVOKE.ll_pdf_purge_local_font_resources(pdf_document.getCPtr(doc)); + public static void ll_pdf_purge_local_resources(pdf_document doc) { + mupdfPINVOKE.ll_pdf_purge_local_resources(pdf_document.getCPtr(doc)); } public static void ll_pdf_purge_locals_from_store(pdf_document doc) { @@ -107679,12 +110289,12 @@ public static SWIGTYPE_p_pdf_ocg_descriptor ll_pdf_read_ocg(pdf_document doc) { return ret; } - public static void ll_pdf_rearrange_pages(pdf_document doc, int count, SWIGTYPE_p_int pages) { - mupdfPINVOKE.ll_pdf_rearrange_pages(pdf_document.getCPtr(doc), count, SWIGTYPE_p_int.getCPtr(pages)); + public static void ll_pdf_rearrange_pages(pdf_document doc, int count, SWIGTYPE_p_int pages, pdf_clean_options_structure structure) { + mupdfPINVOKE.ll_pdf_rearrange_pages(pdf_document.getCPtr(doc), count, SWIGTYPE_p_int.getCPtr(pages), (int)structure); } - public static void ll_pdf_rearrange_pages2(pdf_document doc, vectori pages) { - mupdfPINVOKE.ll_pdf_rearrange_pages2(pdf_document.getCPtr(doc), vectori.getCPtr(pages)); + public static void ll_pdf_rearrange_pages2(pdf_document doc, vectori pages, pdf_clean_options_structure structure) { + mupdfPINVOKE.ll_pdf_rearrange_pages2(pdf_document.getCPtr(doc), vectori.getCPtr(pages), (int)structure); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } @@ -107715,8 +110325,8 @@ public static void ll_pdf_remove_output_intents(pdf_document doc) { mupdfPINVOKE.ll_pdf_remove_output_intents(pdf_document.getCPtr(doc)); } - public static int ll_pdf_repair_obj(pdf_document doc, pdf_lexbuf buf, SWIGTYPE_p_long_long stmofsp, SWIGTYPE_p_long_long stmlenp, SWIGTYPE_p_p_pdf_obj encrypt, SWIGTYPE_p_p_pdf_obj id, SWIGTYPE_p_p_pdf_obj page, SWIGTYPE_p_long_long tmpofs, SWIGTYPE_p_p_pdf_obj root) { - int ret = mupdfPINVOKE.ll_pdf_repair_obj(pdf_document.getCPtr(doc), pdf_lexbuf.getCPtr(buf), SWIGTYPE_p_long_long.getCPtr(stmofsp), SWIGTYPE_p_long_long.getCPtr(stmlenp), SWIGTYPE_p_p_pdf_obj.getCPtr(encrypt), SWIGTYPE_p_p_pdf_obj.getCPtr(id), SWIGTYPE_p_p_pdf_obj.getCPtr(page), SWIGTYPE_p_long_long.getCPtr(tmpofs), SWIGTYPE_p_p_pdf_obj.getCPtr(root)); + public static int ll_pdf_repair_obj(pdf_document doc, pdf_lexbuf buf, SWIGTYPE_p_long stmofsp, SWIGTYPE_p_long stmlenp, SWIGTYPE_p_p_pdf_obj encrypt, SWIGTYPE_p_p_pdf_obj id, SWIGTYPE_p_p_pdf_obj page, SWIGTYPE_p_long tmpofs, SWIGTYPE_p_p_pdf_obj root) { + int ret = mupdfPINVOKE.ll_pdf_repair_obj(pdf_document.getCPtr(doc), pdf_lexbuf.getCPtr(buf), SWIGTYPE_p_long.getCPtr(stmofsp), SWIGTYPE_p_long.getCPtr(stmlenp), SWIGTYPE_p_p_pdf_obj.getCPtr(encrypt), SWIGTYPE_p_p_pdf_obj.getCPtr(id), SWIGTYPE_p_p_pdf_obj.getCPtr(page), SWIGTYPE_p_long.getCPtr(tmpofs), SWIGTYPE_p_p_pdf_obj.getCPtr(root)); return ret; } @@ -107732,6 +110342,10 @@ public static void ll_pdf_repair_xref(pdf_document doc) { mupdfPINVOKE.ll_pdf_repair_xref(pdf_document.getCPtr(doc)); } + public static void ll_pdf_repair_xref_base(pdf_document doc) { + mupdfPINVOKE.ll_pdf_repair_xref_base(pdf_document.getCPtr(doc)); + } + public static void ll_pdf_replace_xref(pdf_document doc, pdf_xref_entry entries, int n) { mupdfPINVOKE.ll_pdf_replace_xref(pdf_document.getCPtr(doc), pdf_xref_entry.getCPtr(entries), n); } @@ -107779,8 +110393,8 @@ public static void ll_pdf_run_document_structure(pdf_document doc, fz_device dev mupdfPINVOKE.ll_pdf_run_document_structure(pdf_document.getCPtr(doc), fz_device.getCPtr(dev), fz_cookie.getCPtr(cookie)); } - public static void ll_pdf_run_glyph(pdf_document doc, SWIGTYPE_p_pdf_obj resources, fz_buffer contents, fz_device dev, fz_matrix ctm, SWIGTYPE_p_void gstate, fz_default_colorspaces default_cs) { - mupdfPINVOKE.ll_pdf_run_glyph(pdf_document.getCPtr(doc), SWIGTYPE_p_pdf_obj.getCPtr(resources), fz_buffer.getCPtr(contents), fz_device.getCPtr(dev), fz_matrix.getCPtr(ctm), SWIGTYPE_p_void.getCPtr(gstate), fz_default_colorspaces.getCPtr(default_cs)); + public static void ll_pdf_run_glyph(pdf_document doc, SWIGTYPE_p_pdf_obj resources, fz_buffer contents, fz_device dev, fz_matrix ctm, SWIGTYPE_p_void gstate, fz_default_colorspaces default_cs, SWIGTYPE_p_void fill_gstate, SWIGTYPE_p_void stroke_gstate) { + mupdfPINVOKE.ll_pdf_run_glyph(pdf_document.getCPtr(doc), SWIGTYPE_p_pdf_obj.getCPtr(resources), fz_buffer.getCPtr(contents), fz_device.getCPtr(dev), fz_matrix.getCPtr(ctm), SWIGTYPE_p_void.getCPtr(gstate), fz_default_colorspaces.getCPtr(default_cs), SWIGTYPE_p_void.getCPtr(fill_gstate), SWIGTYPE_p_void.getCPtr(stroke_gstate)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } @@ -108934,6 +111548,18 @@ public static string to_string(pdf_layer_config_ui s) { return ret; } + public static string to_string_pdf_recolor_options(pdf_recolor_options s) { + string ret = mupdfPINVOKE.to_string_pdf_recolor_options(pdf_recolor_options.getCPtr(s)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static string to_string(pdf_recolor_options s) { + string ret = mupdfPINVOKE.to_string__SWIG_24(pdf_recolor_options.getCPtr(s)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static string to_string_pdf_redact_options(pdf_redact_options s) { string ret = mupdfPINVOKE.to_string_pdf_redact_options(pdf_redact_options.getCPtr(s)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -108941,7 +111567,7 @@ public static string to_string_pdf_redact_options(pdf_redact_options s) { } public static string to_string(pdf_redact_options s) { - string ret = mupdfPINVOKE.to_string__SWIG_24(pdf_redact_options.getCPtr(s)); + string ret = mupdfPINVOKE.to_string__SWIG_25(pdf_redact_options.getCPtr(s)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -108953,7 +111579,7 @@ public static string to_string_pdf_sanitize_filter_options(pdf_sanitize_filter_o } public static string to_string(pdf_sanitize_filter_options s) { - string ret = mupdfPINVOKE.to_string__SWIG_25(pdf_sanitize_filter_options.getCPtr(s)); + string ret = mupdfPINVOKE.to_string__SWIG_26(pdf_sanitize_filter_options.getCPtr(s)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -108965,7 +111591,7 @@ public static string to_string_pdf_write_options(pdf_write_options s) { } public static string to_string(pdf_write_options s) { - string ret = mupdfPINVOKE.to_string__SWIG_26(pdf_write_options.getCPtr(s)); + string ret = mupdfPINVOKE.to_string__SWIG_27(pdf_write_options.getCPtr(s)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -109109,6 +111735,11 @@ public static void fz_append_int32_le(FzBuffer buf, int x) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } + public static void fz_append_json(FzBuffer buf, FzJson value) { + mupdfPINVOKE.fz_append_json(FzBuffer.getCPtr(buf), FzJson.getCPtr(value)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public static void fz_append_pdf_string(FzBuffer buffer, string text) { mupdfPINVOKE.fz_append_pdf_string(FzBuffer.getCPtr(buffer), text); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -109165,6 +111796,11 @@ public static long fz_atoi64(string s) { return ret; } + public static uint fz_atoz(string s) { + uint ret = mupdfPINVOKE.fz_atoz(s); + return ret; + } + public static int fz_authenticate_password(FzDocument doc, string password) { int ret = mupdfPINVOKE.fz_authenticate_password(FzDocument.getCPtr(doc), password); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -109341,6 +111977,11 @@ public static int fz_chartorune(SWIGTYPE_p_int rune, string str) { return ret; } + public static int fz_chartorunen(SWIGTYPE_p_int rune, string str, uint n) { + int ret = mupdfPINVOKE.fz_chartorunen(SWIGTYPE_p_int.getCPtr(rune), str, n); + return ret; + } + public static float fz_clamp(float x, float min, float max) { float ret = mupdfPINVOKE.fz_clamp(x, min, max); return ret; @@ -109528,6 +112169,11 @@ public static int fz_colorspace_device_n_has_only_cmyk(FzColorspace cs) { return ret; } + public static void fz_colorspace_digest(FzColorspace cs, SWIGTYPE_p_unsigned_char digest) { + mupdfPINVOKE.fz_colorspace_digest(FzColorspace.getCPtr(cs), SWIGTYPE_p_unsigned_char.getCPtr(digest)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public static int fz_colorspace_is_cmyk(FzColorspace cs) { int ret = mupdfPINVOKE.fz_colorspace_is_cmyk(FzColorspace.getCPtr(cs)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -109564,6 +112210,12 @@ public static int fz_colorspace_is_gray(FzColorspace cs) { return ret; } + public static int fz_colorspace_is_icc(FzColorspace cs) { + int ret = mupdfPINVOKE.fz_colorspace_is_icc(FzColorspace.getCPtr(cs)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static int fz_colorspace_is_indexed(FzColorspace cs) { int ret = mupdfPINVOKE.fz_colorspace_is_indexed(FzColorspace.getCPtr(cs)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -109623,15 +112275,13 @@ public static int fz_compare_separations(FzSeparations sep1, FzSeparations sep2) return ret; } - public static FzBuffer fz_compress_ccitt_fax_g3(SWIGTYPE_p_unsigned_char data, int columns, int rows, SWIGTYPE_p_ptrdiff_t stride) { - FzBuffer ret = new FzBuffer(mupdfPINVOKE.fz_compress_ccitt_fax_g3(SWIGTYPE_p_unsigned_char.getCPtr(data), columns, rows, SWIGTYPE_p_ptrdiff_t.getCPtr(stride)), true); - if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + public static FzBuffer fz_compress_ccitt_fax_g3(SWIGTYPE_p_unsigned_char data, int columns, int rows, int stride) { + FzBuffer ret = new FzBuffer(mupdfPINVOKE.fz_compress_ccitt_fax_g3(SWIGTYPE_p_unsigned_char.getCPtr(data), columns, rows, stride), true); return ret; } - public static FzBuffer fz_compress_ccitt_fax_g4(SWIGTYPE_p_unsigned_char data, int columns, int rows, SWIGTYPE_p_ptrdiff_t stride) { - FzBuffer ret = new FzBuffer(mupdfPINVOKE.fz_compress_ccitt_fax_g4(SWIGTYPE_p_unsigned_char.getCPtr(data), columns, rows, SWIGTYPE_p_ptrdiff_t.getCPtr(stride)), true); - if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + public static FzBuffer fz_compress_ccitt_fax_g4(SWIGTYPE_p_unsigned_char data, int columns, int rows, int stride) { + FzBuffer ret = new FzBuffer(mupdfPINVOKE.fz_compress_ccitt_fax_g4(SWIGTYPE_p_unsigned_char.getCPtr(data), columns, rows, stride), true); return ret; } @@ -110209,6 +112859,17 @@ public static void fz_end_tile(FzDevice dev) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } + public static void fz_enumerate_font_cmap(FzFont font, SWIGTYPE_p_f_p_fz_context_p_void_unsigned_long_unsigned_int__void cb, SWIGTYPE_p_void opaque) { + mupdfPINVOKE.fz_enumerate_font_cmap(FzFont.getCPtr(font), SWIGTYPE_p_f_p_fz_context_p_void_unsigned_long_unsigned_int__void.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public static vector_fz_font_ucs_gid fz_enumerate_font_cmap2(FzFont font) { + vector_fz_font_ucs_gid ret = new vector_fz_font_ucs_gid(mupdfPINVOKE.fz_enumerate_font_cmap2(FzFont.getCPtr(font)), true); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static SWIGTYPE_p_f_p_void_p_q_const__char__void fz_error_callback(SWIGTYPE_p_p_void user) { global::System.IntPtr cPtr = mupdfPINVOKE.fz_error_callback(SWIGTYPE_p_p_void.getCPtr(user)); SWIGTYPE_p_f_p_void_p_q_const__char__void ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_void_p_q_const__char__void(cPtr, false); @@ -110638,6 +113299,16 @@ public static void fz_install_load_system_font_funcs2(FzInstallLoadSystemFontFun if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } + public static void fz_int2_heap_debug(FzInt2Heap heap) { + mupdfPINVOKE.fz_int2_heap_debug(FzInt2Heap.getCPtr(heap)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public static void fz_int2_heap_dump(FzOutput out_, FzInt2Heap heap) { + mupdfPINVOKE.fz_int2_heap_dump(FzOutput.getCPtr(out_), FzInt2Heap.getCPtr(heap)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public static void fz_int2_heap_insert(FzInt2Heap heap, FzInt2 v) { mupdfPINVOKE.fz_int2_heap_insert(FzInt2Heap.getCPtr(heap), FzInt2.getCPtr(v)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -110653,6 +113324,16 @@ public static void fz_int2_heap_uniq(FzInt2Heap heap) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } + public static void fz_int_heap_debug(FzIntHeap heap) { + mupdfPINVOKE.fz_int_heap_debug(FzIntHeap.getCPtr(heap)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public static void fz_int_heap_dump(FzOutput out_, FzIntHeap heap) { + mupdfPINVOKE.fz_int_heap_dump(FzOutput.getCPtr(out_), FzIntHeap.getCPtr(heap)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public static void fz_int_heap_insert(FzIntHeap heap, int v) { mupdfPINVOKE.fz_int_heap_insert(FzIntHeap.getCPtr(heap), v); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -110680,6 +113361,16 @@ public static FzRect fz_intersect_rect(FzRect a, FzRect b) { return ret; } + public static void fz_intptr_heap_debug(FzIntptrHeap heap) { + mupdfPINVOKE.fz_intptr_heap_debug(FzIntptrHeap.getCPtr(heap)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public static void fz_intptr_heap_dump(FzOutput out_, FzIntptrHeap heap) { + mupdfPINVOKE.fz_intptr_heap_dump(FzOutput.getCPtr(out_), FzIntptrHeap.getCPtr(heap)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public static void fz_intptr_heap_insert(FzIntptrHeap heap, FzIntptr v) { mupdfPINVOKE.fz_intptr_heap_insert(FzIntptrHeap.getCPtr(heap), FzIntptr.getCPtr(v)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -110935,6 +113626,76 @@ public static FzBuffer fz_jbig2_globals_data(FzJbig2Globals globals) { return ret; } + public static int fz_json_array_length(FzJson array) { + int ret = mupdfPINVOKE.fz_json_array_length(FzJson.getCPtr(array)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static void fz_json_array_push(FzPool pool, FzJson array, FzJson item) { + mupdfPINVOKE.fz_json_array_push(FzPool.getCPtr(pool), FzJson.getCPtr(array), FzJson.getCPtr(item)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public static int fz_json_is_array(FzJson json) { + int ret = mupdfPINVOKE.fz_json_is_array(FzJson.getCPtr(json)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static int fz_json_is_boolean(FzJson json) { + int ret = mupdfPINVOKE.fz_json_is_boolean(FzJson.getCPtr(json)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static int fz_json_is_null(FzJson json) { + int ret = mupdfPINVOKE.fz_json_is_null(FzJson.getCPtr(json)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static int fz_json_is_number(FzJson json) { + int ret = mupdfPINVOKE.fz_json_is_number(FzJson.getCPtr(json)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static int fz_json_is_object(FzJson json) { + int ret = mupdfPINVOKE.fz_json_is_object(FzJson.getCPtr(json)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static int fz_json_is_string(FzJson json) { + int ret = mupdfPINVOKE.fz_json_is_string(FzJson.getCPtr(json)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static void fz_json_object_set(FzPool pool, FzJson object_, string key, FzJson item) { + mupdfPINVOKE.fz_json_object_set(FzPool.getCPtr(pool), FzJson.getCPtr(object_), key, FzJson.getCPtr(item)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + + public static int fz_json_to_boolean(FzJson json) { + int ret = mupdfPINVOKE.fz_json_to_boolean(FzJson.getCPtr(json)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static double fz_json_to_number(FzJson json) { + double ret = mupdfPINVOKE.fz_json_to_number(FzJson.getCPtr(json)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static string fz_json_to_string(FzJson json) { + string ret = mupdfPINVOKE.fz_json_to_string(FzJson.getCPtr(json)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static int fz_koi8u_from_unicode(int u) { int ret = mupdfPINVOKE.fz_koi8u_from_unicode(u); return ret; @@ -111059,6 +113820,10 @@ public static int fz_load_tiff_subimage_count(SWIGTYPE_p_unsigned_char buf, uint return ret; } + public static void fz_load_user_css(string filename) { + mupdfPINVOKE.fz_load_user_css(filename); + } + public static FzLocation fz_location_from_page_number(FzDocument doc, int number) { FzLocation ret = new FzLocation(mupdfPINVOKE.fz_location_from_page_number(FzDocument.getCPtr(doc), number), true); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -111084,7 +113849,7 @@ public static int fz_lookup_blendmode(string name) { return ret; } - public static FzLocation fz_lookup_bookmark(FzDocument doc, int mark) { + public static FzLocation fz_lookup_bookmark(FzDocument doc, long mark) { FzLocation ret = new FzLocation(mupdfPINVOKE.fz_lookup_bookmark(FzDocument.getCPtr(doc), mark), true); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; @@ -111160,6 +113925,11 @@ public static SWIGTYPE_p_unsigned_char fz_lookup_noto_music_font(SWIGTYPE_p_int return ret; } + public static string fz_lookup_noto_stem_from_script(int script, int language) { + string ret = mupdfPINVOKE.fz_lookup_noto_stem_from_script(script, language); + return ret; + } + public static SWIGTYPE_p_unsigned_char fz_lookup_noto_symbol1_font(SWIGTYPE_p_int len) { global::System.IntPtr cPtr = mupdfPINVOKE.fz_lookup_noto_symbol1_font(SWIGTYPE_p_int.getCPtr(len)); SWIGTYPE_p_unsigned_char ret = (cPtr == global::System.IntPtr.Zero) ? null : new SWIGTYPE_p_unsigned_char(cPtr, false); @@ -111177,8 +113947,8 @@ public static int fz_lookup_rendering_intent(string name) { return ret; } - public static int fz_make_bookmark(FzDocument doc, FzLocation loc) { - int ret = mupdfPINVOKE.fz_make_bookmark(FzDocument.getCPtr(doc), FzLocation.getCPtr(loc)); + public static long fz_make_bookmark(FzDocument doc, FzLocation loc) { + long ret = mupdfPINVOKE.fz_make_bookmark(FzDocument.getCPtr(doc), FzLocation.getCPtr(loc)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -112397,6 +115167,11 @@ public static void fz_paint_shade(FzShade shade, FzColorspace override_cs, FzMat if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } + public static void fz_paragraph_break(FzStextPage page) { + mupdfPINVOKE.fz_paragraph_break(FzStextPage.getCPtr(page)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public static string fz_parse_page_range(string s, SWIGTYPE_p_int a, SWIGTYPE_p_int b, int n) { string ret = mupdfPINVOKE.fz_parse_page_range(s, SWIGTYPE_p_int.getCPtr(a), SWIGTYPE_p_int.getCPtr(b), n); return ret; @@ -112925,6 +115700,10 @@ public static void fz_rectto(FzPath path, float x0, float y0, float x1, float y1 if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } + public static void fz_register_activity_logger(SWIGTYPE_p_f_p_fz_context_p_void_enum_fz_activity_reason_p_void__void activity, SWIGTYPE_p_void opaque) { + mupdfPINVOKE.fz_register_activity_logger(SWIGTYPE_p_f_p_fz_context_p_void_enum_fz_activity_reason_p_void__void.getCPtr(activity), SWIGTYPE_p_void.getCPtr(opaque)); + } + public static void fz_register_archive_handler(FzArchiveHandler handler) { mupdfPINVOKE.fz_register_archive_handler(FzArchiveHandler.getCPtr(handler)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -112955,8 +115734,8 @@ public static FzPixmap fz_render_glyph_pixmap(FzFont font, int gid, FzMatrix ctm return ret; } - public static void fz_render_t3_glyph_direct(FzDevice dev, FzFont font, int gid, FzMatrix trm, SWIGTYPE_p_void gstate, FzDefaultColorspaces def_cs) { - mupdfPINVOKE.fz_render_t3_glyph_direct(FzDevice.getCPtr(dev), FzFont.getCPtr(font), gid, FzMatrix.getCPtr(trm), SWIGTYPE_p_void.getCPtr(gstate), FzDefaultColorspaces.getCPtr(def_cs)); + public static void fz_render_t3_glyph_direct(FzDevice dev, FzFont font, int gid, FzMatrix trm, SWIGTYPE_p_void gstate, FzDefaultColorspaces def_cs, SWIGTYPE_p_void fill_gstate, SWIGTYPE_p_void stroke_gstate) { + mupdfPINVOKE.fz_render_t3_glyph_direct(FzDevice.getCPtr(dev), FzFont.getCPtr(font), gid, FzMatrix.getCPtr(trm), SWIGTYPE_p_void.getCPtr(gstate), FzDefaultColorspaces.getCPtr(def_cs), SWIGTYPE_p_void.getCPtr(fill_gstate), SWIGTYPE_p_void.getCPtr(stroke_gstate)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } @@ -113196,12 +115975,24 @@ public static int fz_search_chapter_page_number(FzDocument doc, int chapter, int return ret; } + public static int fz_search_chapter_page_number_cb(FzDocument doc, int chapter, int page, string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.fz_search_chapter_page_number_cb(FzDocument.getCPtr(doc), chapter, page, needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static int fz_search_display_list(FzDisplayList list, string needle, SWIGTYPE_p_int hit_mark, FzQuad hit_bbox, int hit_max) { int ret = mupdfPINVOKE.fz_search_display_list(FzDisplayList.getCPtr(list), needle, SWIGTYPE_p_int.getCPtr(hit_mark), FzQuad.getCPtr(hit_bbox), hit_max); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } + public static int fz_search_display_list_cb(FzDisplayList list, string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.fz_search_display_list_cb(FzDisplayList.getCPtr(list), needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static int fz_search_page(FzPage page, string needle, SWIGTYPE_p_int hit_mark, FzQuad hit_bbox, int hit_max) { int ret = mupdfPINVOKE.fz_search_page(FzPage.getCPtr(page), needle, SWIGTYPE_p_int.getCPtr(hit_mark), FzQuad.getCPtr(hit_bbox), hit_max); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -113214,18 +116005,36 @@ public static vector_search_page2_hit fz_search_page2(FzDocument doc, int number return ret; } + public static int fz_search_page_cb(FzPage page, string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.fz_search_page_cb(FzPage.getCPtr(page), needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static int fz_search_page_number(FzDocument doc, int number, string needle, SWIGTYPE_p_int hit_mark, FzQuad hit_bbox, int hit_max) { int ret = mupdfPINVOKE.fz_search_page_number(FzDocument.getCPtr(doc), number, needle, SWIGTYPE_p_int.getCPtr(hit_mark), FzQuad.getCPtr(hit_bbox), hit_max); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } + public static int fz_search_page_number_cb(FzDocument doc, int number, string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.fz_search_page_number_cb(FzDocument.getCPtr(doc), number, needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static int fz_search_stext_page(FzStextPage text, string needle, SWIGTYPE_p_int hit_mark, FzQuad hit_bbox, int hit_max) { int ret = mupdfPINVOKE.fz_search_stext_page(FzStextPage.getCPtr(text), needle, SWIGTYPE_p_int.getCPtr(hit_mark), FzQuad.getCPtr(hit_bbox), hit_max); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } + public static int fz_search_stext_page_cb(FzStextPage text, string needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int cb, SWIGTYPE_p_void opaque) { + int ret = mupdfPINVOKE.fz_search_stext_page_cb(FzStextPage.getCPtr(text), needle, SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int.getCPtr(cb), SWIGTYPE_p_void.getCPtr(opaque)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static void fz_seek(FzStream stm, long offset, int whence) { mupdfPINVOKE.fz_seek(FzStream.getCPtr(stm), offset, whence); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -113236,6 +116045,12 @@ public static void fz_seek_output(FzOutput out_, long off, int whence) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } + public static int fz_segment_stext_page(FzStextPage page) { + int ret = mupdfPINVOKE.fz_segment_stext_page(FzStextPage.getCPtr(page)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static fz_separation_behavior fz_separation_current_behavior(FzSeparations sep, int separation) { fz_separation_behavior ret = (fz_separation_behavior)mupdfPINVOKE.fz_separation_current_behavior(FzSeparations.getCPtr(sep), separation); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -113596,6 +116411,16 @@ public static string fz_strsep(SWIGTYPE_p_p_char stringp, string delim) { return ret; } + public static string fz_strstr(string haystack, string needle) { + string ret = mupdfPINVOKE.fz_strstr(haystack, needle); + return ret; + } + + public static string fz_strstrcase(string haystack, string needle) { + string ret = mupdfPINVOKE.fz_strstrcase(haystack, needle); + return ret; + } + public static float fz_strtof(string s, SWIGTYPE_p_p_char es) { float ret = mupdfPINVOKE.fz_strtof(s, SWIGTYPE_p_p_char.getCPtr(es)); return ret; @@ -113639,6 +116464,11 @@ public static void fz_sync_bits(FzStream stm) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } + public static void fz_table_hunt(FzStextPage page) { + mupdfPINVOKE.fz_table_hunt(FzStextPage.getCPtr(page)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public static long fz_tell(FzStream stm) { long ret = mupdfPINVOKE.fz_tell(FzStream.getCPtr(stm)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -114043,6 +116873,11 @@ public static void fz_write_int32_le(FzOutput out_, int x) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } + public static void fz_write_json(FzOutput out_, FzJson value) { + mupdfPINVOKE.fz_write_json(FzOutput.getCPtr(out_), FzJson.getCPtr(value)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public static void fz_write_pixmap_as_data_uri(FzOutput out_, FzPixmap pixmap) { mupdfPINVOKE.fz_write_pixmap_as_data_uri(FzOutput.getCPtr(out_), FzPixmap.getCPtr(pixmap)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -114367,8 +117202,14 @@ public static void pdf_add_codespace(PdfCmap cmap, uint low, uint high, uint n) if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } - public static PdfObj pdf_add_embedded_file(PdfDocument doc, string filename, string mimetype, FzBuffer contents, long created, long modifed, int add_checksum) { - PdfObj ret = new PdfObj(mupdfPINVOKE.pdf_add_embedded_file(PdfDocument.getCPtr(doc), filename, mimetype, FzBuffer.getCPtr(contents), created, modifed, add_checksum), true); + public static PdfObj pdf_add_colorspace(PdfDocument doc, FzColorspace cs) { + PdfObj ret = new PdfObj(mupdfPINVOKE.pdf_add_colorspace(PdfDocument.getCPtr(doc), FzColorspace.getCPtr(cs)), true); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static PdfObj pdf_add_embedded_file(PdfDocument doc, string filename, string mimetype, FzBuffer contents, long created, long modified, int add_checksum) { + PdfObj ret = new PdfObj(mupdfPINVOKE.pdf_add_embedded_file(PdfDocument.getCPtr(doc), filename, mimetype, FzBuffer.getCPtr(contents), created, modified, add_checksum), true); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -115367,6 +118208,11 @@ public static void pdf_clear_xref_to_mark(PdfDocument doc) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } + public static void pdf_clip_page(PdfPage page, FzRect clip) { + mupdfPINVOKE.pdf_clip_page(PdfPage.getCPtr(page), FzRect.getCPtr(clip)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public static void pdf_close_processor(PdfProcessor proc) { mupdfPINVOKE.pdf_close_processor(PdfProcessor.getCPtr(proc)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -116273,6 +119119,12 @@ public static PdfObj pdf_filter_xobject_instance(PdfObj old_xobj, PdfObj page_re return ret; } + public static PdfObj pdf_find_colorspace_resource(PdfDocument doc, FzColorspace item, PdfColorspaceResourceKey key) { + PdfObj ret = new PdfObj(mupdfPINVOKE.pdf_find_colorspace_resource(PdfDocument.getCPtr(doc), FzColorspace.getCPtr(item), PdfColorspaceResourceKey.getCPtr(key)), true); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static PdfObj pdf_find_font_resource(PdfDocument doc, int type, int encoding, FzFont item, PdfFontResourceKey key) { PdfObj ret = new PdfObj(mupdfPINVOKE.pdf_find_font_resource(PdfDocument.getCPtr(doc), type, encoding, FzFont.getCPtr(item), PdfFontResourceKey.getCPtr(key)), true); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -116424,6 +119276,12 @@ public static int pdf_incremental_change_since_signing_widget(PdfAnnot widget) { return ret; } + public static PdfObj pdf_insert_colorspace_resource(PdfDocument doc, PdfColorspaceResourceKey key, PdfObj obj) { + PdfObj ret = new PdfObj(mupdfPINVOKE.pdf_insert_colorspace_resource(PdfDocument.getCPtr(doc), PdfColorspaceResourceKey.getCPtr(key), PdfObj.getCPtr(obj)), true); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static PdfObj pdf_insert_font_resource(PdfDocument doc, PdfFontResourceKey key, PdfObj obj) { PdfObj ret = new PdfObj(mupdfPINVOKE.pdf_insert_font_resource(PdfDocument.getCPtr(doc), PdfFontResourceKey.getCPtr(key), PdfObj.getCPtr(obj)), true); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -116654,8 +119512,8 @@ public static void pdf_lexbuf_fin(PdfLexbuf lexbuf) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } - public static SWIGTYPE_p_ptrdiff_t pdf_lexbuf_grow(PdfLexbuf lexbuf) { - SWIGTYPE_p_ptrdiff_t ret = new SWIGTYPE_p_ptrdiff_t(mupdfPINVOKE.pdf_lexbuf_grow(PdfLexbuf.getCPtr(lexbuf)), true); + public static int pdf_lexbuf_grow(PdfLexbuf lexbuf) { + int ret = mupdfPINVOKE.pdf_lexbuf_grow(PdfLexbuf.getCPtr(lexbuf)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -117192,8 +120050,8 @@ public static PdfObj pdf_new_rect(PdfDocument doc, FzRect rect) { return ret; } - public static PdfProcessor pdf_new_run_processor(PdfDocument doc, FzDevice dev, FzMatrix ctm, int struct_parent, string usage, PdfGstate gstate, FzDefaultColorspaces default_cs, FzCookie cookie) { - PdfProcessor ret = new PdfProcessor(mupdfPINVOKE.pdf_new_run_processor(PdfDocument.getCPtr(doc), FzDevice.getCPtr(dev), FzMatrix.getCPtr(ctm), struct_parent, usage, PdfGstate.getCPtr(gstate), FzDefaultColorspaces.getCPtr(default_cs), FzCookie.getCPtr(cookie)), true); + public static PdfProcessor pdf_new_run_processor(PdfDocument doc, FzDevice dev, FzMatrix ctm, int struct_parent, string usage, PdfGstate gstate, FzDefaultColorspaces default_cs, FzCookie cookie, PdfGstate fill_gstate, PdfGstate stroke_gstate) { + PdfProcessor ret = new PdfProcessor(mupdfPINVOKE.pdf_new_run_processor(PdfDocument.getCPtr(doc), FzDevice.getCPtr(dev), FzMatrix.getCPtr(ctm), struct_parent, usage, PdfGstate.getCPtr(gstate), FzDefaultColorspaces.getCPtr(default_cs), FzCookie.getCPtr(cookie), PdfGstate.getCPtr(fill_gstate), PdfGstate.getCPtr(stroke_gstate)), true); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -117525,8 +120383,8 @@ public static PdfObj pdf_parse_dict(PdfDocument doc, FzStream f, PdfLexbuf buf) return ret; } - public static PdfObj pdf_parse_ind_obj(PdfDocument doc, FzStream f, SWIGTYPE_p_int num, SWIGTYPE_p_int gen, SWIGTYPE_p_long_long stm_ofs, SWIGTYPE_p_int try_repair) { - PdfObj ret = new PdfObj(mupdfPINVOKE.pdf_parse_ind_obj(PdfDocument.getCPtr(doc), FzStream.getCPtr(f), SWIGTYPE_p_int.getCPtr(num), SWIGTYPE_p_int.getCPtr(gen), SWIGTYPE_p_long_long.getCPtr(stm_ofs), SWIGTYPE_p_int.getCPtr(try_repair)), true); + public static PdfObj pdf_parse_ind_obj(PdfDocument doc, FzStream f, SWIGTYPE_p_int num, SWIGTYPE_p_int gen, SWIGTYPE_p_long stm_ofs, SWIGTYPE_p_int try_repair) { + PdfObj ret = new PdfObj(mupdfPINVOKE.pdf_parse_ind_obj(PdfDocument.getCPtr(doc), FzStream.getCPtr(f), SWIGTYPE_p_int.getCPtr(num), SWIGTYPE_p_int.getCPtr(gen), SWIGTYPE_p_long.getCPtr(stm_ofs), SWIGTYPE_p_int.getCPtr(try_repair)), true); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -117628,8 +120486,8 @@ public static PdfObj pdf_progressive_advance(PdfDocument doc, int pagenum) { return ret; } - public static void pdf_purge_local_font_resources(PdfDocument doc) { - mupdfPINVOKE.pdf_purge_local_font_resources(PdfDocument.getCPtr(doc)); + public static void pdf_purge_local_resources(PdfDocument doc) { + mupdfPINVOKE.pdf_purge_local_resources(PdfDocument.getCPtr(doc)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } @@ -117648,13 +120506,13 @@ public static void pdf_read_journal(PdfDocument doc, FzStream stm) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } - public static void pdf_rearrange_pages(PdfDocument doc, int count, SWIGTYPE_p_int pages) { - mupdfPINVOKE.pdf_rearrange_pages(PdfDocument.getCPtr(doc), count, SWIGTYPE_p_int.getCPtr(pages)); + public static void pdf_rearrange_pages(PdfDocument doc, int count, SWIGTYPE_p_int pages, pdf_clean_options_structure structure) { + mupdfPINVOKE.pdf_rearrange_pages(PdfDocument.getCPtr(doc), count, SWIGTYPE_p_int.getCPtr(pages), (int)structure); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } - public static void pdf_rearrange_pages2(PdfDocument doc, vectori pages) { - mupdfPINVOKE.pdf_rearrange_pages2(PdfDocument.getCPtr(doc), vectori.getCPtr(pages)); + public static void pdf_rearrange_pages2(PdfDocument doc, vectori pages, pdf_clean_options_structure structure) { + mupdfPINVOKE.pdf_rearrange_pages2(PdfDocument.getCPtr(doc), vectori.getCPtr(pages), (int)structure); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } @@ -117690,8 +120548,8 @@ public static void pdf_remove_output_intents(PdfDocument doc) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } - public static int pdf_repair_obj(PdfDocument doc, PdfLexbuf buf, SWIGTYPE_p_long_long stmofsp, SWIGTYPE_p_long_long stmlenp, PdfObj encrypt, PdfObj id, PdfObj page, SWIGTYPE_p_long_long tmpofs, PdfObj root) { - int ret = mupdfPINVOKE.pdf_repair_obj(PdfDocument.getCPtr(doc), PdfLexbuf.getCPtr(buf), SWIGTYPE_p_long_long.getCPtr(stmofsp), SWIGTYPE_p_long_long.getCPtr(stmlenp), PdfObj.getCPtr(encrypt), PdfObj.getCPtr(id), PdfObj.getCPtr(page), SWIGTYPE_p_long_long.getCPtr(tmpofs), PdfObj.getCPtr(root)); + public static int pdf_repair_obj(PdfDocument doc, PdfLexbuf buf, SWIGTYPE_p_long stmofsp, SWIGTYPE_p_long stmlenp, PdfObj encrypt, PdfObj id, PdfObj page, SWIGTYPE_p_long tmpofs, PdfObj root) { + int ret = mupdfPINVOKE.pdf_repair_obj(PdfDocument.getCPtr(doc), PdfLexbuf.getCPtr(buf), SWIGTYPE_p_long.getCPtr(stmofsp), SWIGTYPE_p_long.getCPtr(stmlenp), PdfObj.getCPtr(encrypt), PdfObj.getCPtr(id), PdfObj.getCPtr(page), SWIGTYPE_p_long.getCPtr(tmpofs), PdfObj.getCPtr(root)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -117711,6 +120569,11 @@ public static void pdf_repair_xref(PdfDocument doc) { if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } + public static void pdf_repair_xref_base(PdfDocument doc) { + mupdfPINVOKE.pdf_repair_xref_base(PdfDocument.getCPtr(doc)); + if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); + } + public static void pdf_replace_xref(PdfDocument doc, PdfXrefEntry entries, int n) { mupdfPINVOKE.pdf_replace_xref(PdfDocument.getCPtr(doc), PdfXrefEntry.getCPtr(entries), n); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); @@ -117759,8 +120622,8 @@ public static void pdf_run_document_structure(PdfDocument doc, FzDevice dev, FzC if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } - public static void pdf_run_glyph(PdfDocument doc, PdfObj resources, FzBuffer contents, FzDevice dev, FzMatrix ctm, SWIGTYPE_p_void gstate, FzDefaultColorspaces default_cs) { - mupdfPINVOKE.pdf_run_glyph(PdfDocument.getCPtr(doc), PdfObj.getCPtr(resources), FzBuffer.getCPtr(contents), FzDevice.getCPtr(dev), FzMatrix.getCPtr(ctm), SWIGTYPE_p_void.getCPtr(gstate), FzDefaultColorspaces.getCPtr(default_cs)); + public static void pdf_run_glyph(PdfDocument doc, PdfObj resources, FzBuffer contents, FzDevice dev, FzMatrix ctm, SWIGTYPE_p_void gstate, FzDefaultColorspaces default_cs, SWIGTYPE_p_void fill_gstate, SWIGTYPE_p_void stroke_gstate) { + mupdfPINVOKE.pdf_run_glyph(PdfDocument.getCPtr(doc), PdfObj.getCPtr(resources), FzBuffer.getCPtr(contents), FzDevice.getCPtr(dev), FzMatrix.getCPtr(ctm), SWIGTYPE_p_void.getCPtr(gstate), FzDefaultColorspaces.getCPtr(default_cs), SWIGTYPE_p_void.getCPtr(fill_gstate), SWIGTYPE_p_void.getCPtr(stroke_gstate)); if (mupdfPINVOKE.SWIGPendingException.Pending) throw mupdfPINVOKE.SWIGPendingException.Retrieve(); } @@ -118764,6 +121627,10 @@ public static FzBuffer pdf_zugferd_xml(PdfDocument doc) { return ret; } + public static void internal_assert_fail(string file, int line, string fn, string expression) { + mupdfPINVOKE.internal_assert_fail(file, line, fn, expression); + } + public static int internal_env_flag(string name) { int ret = mupdfPINVOKE.internal_env_flag(name); return ret; @@ -118873,6 +121740,11 @@ public static int ll_fz_chartorune_outparams_fn(string str, ll_fz_chartorune_out return ret; } + public static int ll_fz_chartorunen_outparams_fn(string str, uint n, ll_fz_chartorunen_outparams outparams) { + int ret = mupdfPINVOKE.ll_fz_chartorunen_outparams_fn(str, n, ll_fz_chartorunen_outparams.getCPtr(outparams)); + return ret; + } + public static void ll_fz_clamp_color_outparams_fn(fz_colorspace cs, SWIGTYPE_p_float in_, ll_fz_clamp_color_outparams outparams) { mupdfPINVOKE.ll_fz_clamp_color_outparams_fn(fz_colorspace.getCPtr(cs), SWIGTYPE_p_float.getCPtr(in_), ll_fz_clamp_color_outparams.getCPtr(outparams)); } @@ -119411,7 +122283,6 @@ public static pdf_zugferd_profile ll_pdf_zugferd_profile_outparams_fn(pdf_docume public static readonly int FZ_VERSION_MAJOR = mupdfPINVOKE.FZ_VERSION_MAJOR_get(); public static readonly int FZ_VERSION_MINOR = mupdfPINVOKE.FZ_VERSION_MINOR_get(); public static readonly int FZ_VERSION_PATCH = mupdfPINVOKE.FZ_VERSION_PATCH_get(); - public static readonly int TOFU_CJK_EXT = mupdfPINVOKE.TOFU_CJK_EXT_get(); public static readonly int FZ_ENABLE_SPOT_RENDERING = mupdfPINVOKE.FZ_ENABLE_SPOT_RENDERING_get(); public static readonly int FZ_PLOTTERS_N = mupdfPINVOKE.FZ_PLOTTERS_N_get(); public static readonly int FZ_PLOTTERS_G = mupdfPINVOKE.FZ_PLOTTERS_G_get(); @@ -119424,12 +122295,17 @@ public static pdf_zugferd_profile ll_pdf_zugferd_profile_outparams_fn(pdf_docume public static readonly int FZ_ENABLE_IMG = mupdfPINVOKE.FZ_ENABLE_IMG_get(); public static readonly int FZ_ENABLE_HTML = mupdfPINVOKE.FZ_ENABLE_HTML_get(); public static readonly int FZ_ENABLE_EPUB = mupdfPINVOKE.FZ_ENABLE_EPUB_get(); + public static readonly int FZ_ENABLE_FB2 = mupdfPINVOKE.FZ_ENABLE_FB2_get(); + public static readonly int FZ_ENABLE_MOBI = mupdfPINVOKE.FZ_ENABLE_MOBI_get(); + public static readonly int FZ_ENABLE_TXT = mupdfPINVOKE.FZ_ENABLE_TXT_get(); + public static readonly int FZ_ENABLE_OFFICE = mupdfPINVOKE.FZ_ENABLE_OFFICE_get(); public static readonly int FZ_ENABLE_OCR_OUTPUT = mupdfPINVOKE.FZ_ENABLE_OCR_OUTPUT_get(); public static readonly int FZ_ENABLE_ODT_OUTPUT = mupdfPINVOKE.FZ_ENABLE_ODT_OUTPUT_get(); public static readonly int FZ_ENABLE_DOCX_OUTPUT = mupdfPINVOKE.FZ_ENABLE_DOCX_OUTPUT_get(); public static readonly int FZ_ENABLE_JPX = mupdfPINVOKE.FZ_ENABLE_JPX_get(); public static readonly int FZ_ENABLE_JS = mupdfPINVOKE.FZ_ENABLE_JS_get(); public static readonly int FZ_ENABLE_ICC = mupdfPINVOKE.FZ_ENABLE_ICC_get(); + public static readonly int FZ_ENABLE_HTML_ENGINE = mupdfPINVOKE.FZ_ENABLE_HTML_ENGINE_get(); public static readonly int MEMENTO_PREFILL = mupdfPINVOKE.MEMENTO_PREFILL_get(); public static readonly int MEMENTO_POSTFILL = mupdfPINVOKE.MEMENTO_POSTFILL_get(); public static readonly int MEMENTO_ALLOCFILL = mupdfPINVOKE.MEMENTO_ALLOCFILL_get(); @@ -119464,6 +122340,14 @@ public static pdf_zugferd_profile ll_pdf_zugferd_profile_outparams_fn(pdf_docume public static readonly int FZ_AES_DECRYPT = mupdfPINVOKE.FZ_AES_DECRYPT_get(); public static readonly int FZ_AES_ENCRYPT = mupdfPINVOKE.FZ_AES_ENCRYPT_get(); public static readonly int FZ_HASH_TABLE_KEY_LENGTH = mupdfPINVOKE.FZ_HASH_TABLE_KEY_LENGTH_get(); + public static readonly int FZ_JSON_NULL = mupdfPINVOKE.FZ_JSON_NULL_get(); + public static readonly int FZ_JSON_TRUE = mupdfPINVOKE.FZ_JSON_TRUE_get(); + public static readonly int FZ_JSON_FALSE = mupdfPINVOKE.FZ_JSON_FALSE_get(); + public static readonly int FZ_JSON_NUMBER = mupdfPINVOKE.FZ_JSON_NUMBER_get(); + public static readonly int FZ_JSON_STRING = mupdfPINVOKE.FZ_JSON_STRING_get(); + public static readonly int FZ_JSON_ARRAY = mupdfPINVOKE.FZ_JSON_ARRAY_get(); + public static readonly int FZ_JSON_OBJECT = mupdfPINVOKE.FZ_JSON_OBJECT_get(); + public static readonly int FZ_RI_PERCEPTUAL = mupdfPINVOKE.FZ_RI_PERCEPTUAL_get(); public static readonly int FZ_RI_RELATIVE_COLORIMETRIC = mupdfPINVOKE.FZ_RI_RELATIVE_COLORIMETRIC_get(); public static readonly int FZ_RI_SATURATION = mupdfPINVOKE.FZ_RI_SATURATION_get(); @@ -119525,6 +122409,7 @@ public static pdf_zugferd_profile ll_pdf_zugferd_profile_outparams_fn(pdf_docume public static readonly int FZ_DEVFLAG_LINEWIDTH_UNDEFINED = mupdfPINVOKE.FZ_DEVFLAG_LINEWIDTH_UNDEFINED_get(); public static readonly int FZ_DEVFLAG_BBOX_DEFINED = mupdfPINVOKE.FZ_DEVFLAG_BBOX_DEFINED_get(); public static readonly int FZ_DEVFLAG_GRIDFIT_AS_TILED = mupdfPINVOKE.FZ_DEVFLAG_GRIDFIT_AS_TILED_get(); + public static readonly int FZ_DEVFLAG_DASH_PATTERN_UNDEFINED = mupdfPINVOKE.FZ_DEVFLAG_DASH_PATTERN_UNDEFINED_get(); public static readonly int FZ_BLEND_NORMAL = mupdfPINVOKE.FZ_BLEND_NORMAL_get(); public static readonly int FZ_BLEND_MULTIPLY = mupdfPINVOKE.FZ_BLEND_MULTIPLY_get(); @@ -119567,12 +122452,19 @@ public static pdf_zugferd_profile ll_pdf_zugferd_profile_outparams_fn(pdf_docume public static readonly int FZ_STEXT_INHIBIT_SPACES = mupdfPINVOKE.FZ_STEXT_INHIBIT_SPACES_get(); public static readonly int FZ_STEXT_DEHYPHENATE = mupdfPINVOKE.FZ_STEXT_DEHYPHENATE_get(); public static readonly int FZ_STEXT_PRESERVE_SPANS = mupdfPINVOKE.FZ_STEXT_PRESERVE_SPANS_get(); - public static readonly int FZ_STEXT_MEDIABOX_CLIP = mupdfPINVOKE.FZ_STEXT_MEDIABOX_CLIP_get(); + public static readonly int FZ_STEXT_CLIP = mupdfPINVOKE.FZ_STEXT_CLIP_get(); public static readonly int FZ_STEXT_USE_CID_FOR_UNKNOWN_UNICODE = mupdfPINVOKE.FZ_STEXT_USE_CID_FOR_UNKNOWN_UNICODE_get(); public static readonly int FZ_STEXT_COLLECT_STRUCTURE = mupdfPINVOKE.FZ_STEXT_COLLECT_STRUCTURE_get(); public static readonly int FZ_STEXT_ACCURATE_BBOXES = mupdfPINVOKE.FZ_STEXT_ACCURATE_BBOXES_get(); public static readonly int FZ_STEXT_COLLECT_VECTORS = mupdfPINVOKE.FZ_STEXT_COLLECT_VECTORS_get(); public static readonly int FZ_STEXT_IGNORE_ACTUALTEXT = mupdfPINVOKE.FZ_STEXT_IGNORE_ACTUALTEXT_get(); + public static readonly int FZ_STEXT_SEGMENT = mupdfPINVOKE.FZ_STEXT_SEGMENT_get(); + public static readonly int FZ_STEXT_PARAGRAPH_BREAK = mupdfPINVOKE.FZ_STEXT_PARAGRAPH_BREAK_get(); + public static readonly int FZ_STEXT_TABLE_HUNT = mupdfPINVOKE.FZ_STEXT_TABLE_HUNT_get(); + public static readonly int FZ_STEXT_COLLECT_STYLES = mupdfPINVOKE.FZ_STEXT_COLLECT_STYLES_get(); + public static readonly int FZ_STEXT_USE_GID_FOR_UNKNOWN_UNICODE = mupdfPINVOKE.FZ_STEXT_USE_GID_FOR_UNKNOWN_UNICODE_get(); + public static readonly int FZ_STEXT_CLIP_RECT = mupdfPINVOKE.FZ_STEXT_CLIP_RECT_get(); + public static readonly int FZ_STEXT_MEDIABOX_CLIP = mupdfPINVOKE.FZ_STEXT_MEDIABOX_CLIP_get(); public static readonly int FZ_STEXT_BLOCK_TEXT = mupdfPINVOKE.FZ_STEXT_BLOCK_TEXT_get(); public static readonly int FZ_STEXT_BLOCK_IMAGE = mupdfPINVOKE.FZ_STEXT_BLOCK_IMAGE_get(); @@ -119580,9 +122472,21 @@ public static pdf_zugferd_profile ll_pdf_zugferd_profile_outparams_fn(pdf_docume public static readonly int FZ_STEXT_BLOCK_VECTOR = mupdfPINVOKE.FZ_STEXT_BLOCK_VECTOR_get(); public static readonly int FZ_STEXT_BLOCK_GRID = mupdfPINVOKE.FZ_STEXT_BLOCK_GRID_get(); + public static readonly int FZ_STEXT_TEXT_JUSTIFY_UNKNOWN = mupdfPINVOKE.FZ_STEXT_TEXT_JUSTIFY_UNKNOWN_get(); + public static readonly int FZ_STEXT_TEXT_JUSTIFY_LEFT = mupdfPINVOKE.FZ_STEXT_TEXT_JUSTIFY_LEFT_get(); + public static readonly int FZ_STEXT_TEXT_JUSTIFY_CENTRE = mupdfPINVOKE.FZ_STEXT_TEXT_JUSTIFY_CENTRE_get(); + public static readonly int FZ_STEXT_TEXT_JUSTIFY_RIGHT = mupdfPINVOKE.FZ_STEXT_TEXT_JUSTIFY_RIGHT_get(); + public static readonly int FZ_STEXT_TEXT_JUSTIFY_FULL = mupdfPINVOKE.FZ_STEXT_TEXT_JUSTIFY_FULL_get(); + public static readonly int FZ_STEXT_STRIKEOUT = mupdfPINVOKE.FZ_STEXT_STRIKEOUT_get(); public static readonly int FZ_STEXT_UNDERLINE = mupdfPINVOKE.FZ_STEXT_UNDERLINE_get(); public static readonly int FZ_STEXT_SYNTHETIC = mupdfPINVOKE.FZ_STEXT_SYNTHETIC_get(); + public static readonly int FZ_STEXT_BOLD = mupdfPINVOKE.FZ_STEXT_BOLD_get(); + public static readonly int FZ_STEXT_FILLED = mupdfPINVOKE.FZ_STEXT_FILLED_get(); + public static readonly int FZ_STEXT_STROKED = mupdfPINVOKE.FZ_STEXT_STROKED_get(); + public static readonly int FZ_STEXT_CLIPPED = mupdfPINVOKE.FZ_STEXT_CLIPPED_get(); + public static readonly int FZ_STEXT_UNICODE_IS_CID = mupdfPINVOKE.FZ_STEXT_UNICODE_IS_CID_get(); + public static readonly int FZ_STEXT_UNICODE_IS_GID = mupdfPINVOKE.FZ_STEXT_UNICODE_IS_GID_get(); public static readonly int FZ_SELECT_CHARS = mupdfPINVOKE.FZ_SELECT_CHARS_get(); public static readonly int FZ_SELECT_WORDS = mupdfPINVOKE.FZ_SELECT_WORDS_get(); @@ -119601,6 +122505,9 @@ public static pdf_zugferd_profile ll_pdf_zugferd_profile_outparams_fn(pdf_docume public static readonly int FZ_TRANSITION_UNCOVER = mupdfPINVOKE.FZ_TRANSITION_UNCOVER_get(); public static readonly int FZ_TRANSITION_FADE = mupdfPINVOKE.FZ_TRANSITION_FADE_get(); + public static readonly int FZ_OUTLINE_FLAG_BOLD = mupdfPINVOKE.FZ_OUTLINE_FLAG_BOLD_get(); + public static readonly int FZ_OUTLINE_FLAG_ITALIC = mupdfPINVOKE.FZ_OUTLINE_FLAG_ITALIC_get(); + public static readonly int FZ_LAYOUT_KINDLE_W = mupdfPINVOKE.FZ_LAYOUT_KINDLE_W_get(); public static readonly int FZ_LAYOUT_KINDLE_H = mupdfPINVOKE.FZ_LAYOUT_KINDLE_H_get(); public static readonly int FZ_LAYOUT_KINDLE_EM = mupdfPINVOKE.FZ_LAYOUT_KINDLE_EM_get(); @@ -119663,6 +122570,7 @@ public static pdf_zugferd_profile ll_pdf_zugferd_profile_outparams_fn(pdf_docume public static readonly int PDF_ENUM_NAME_AESV2 = mupdfPINVOKE.PDF_ENUM_NAME_AESV2_get(); public static readonly int PDF_ENUM_NAME_AESV3 = mupdfPINVOKE.PDF_ENUM_NAME_AESV3_get(); public static readonly int PDF_ENUM_NAME_AF = mupdfPINVOKE.PDF_ENUM_NAME_AF_get(); + public static readonly int PDF_ENUM_NAME_AFRelationship = mupdfPINVOKE.PDF_ENUM_NAME_AFRelationship_get(); public static readonly int PDF_ENUM_NAME_AHx = mupdfPINVOKE.PDF_ENUM_NAME_AHx_get(); public static readonly int PDF_ENUM_NAME_AP = mupdfPINVOKE.PDF_ENUM_NAME_AP_get(); public static readonly int PDF_ENUM_NAME_AS = mupdfPINVOKE.PDF_ENUM_NAME_AS_get(); @@ -119678,6 +122586,7 @@ public static pdf_zugferd_profile ll_pdf_zugferd_profile_outparams_fn(pdf_docume public static readonly int PDF_ENUM_NAME_Alpha = mupdfPINVOKE.PDF_ENUM_NAME_Alpha_get(); public static readonly int PDF_ENUM_NAME_Alt = mupdfPINVOKE.PDF_ENUM_NAME_Alt_get(); public static readonly int PDF_ENUM_NAME_Alternate = mupdfPINVOKE.PDF_ENUM_NAME_Alternate_get(); + public static readonly int PDF_ENUM_NAME_Alternative = mupdfPINVOKE.PDF_ENUM_NAME_Alternative_get(); public static readonly int PDF_ENUM_NAME_Annot = mupdfPINVOKE.PDF_ENUM_NAME_Annot_get(); public static readonly int PDF_ENUM_NAME_Annots = mupdfPINVOKE.PDF_ENUM_NAME_Annots_get(); public static readonly int PDF_ENUM_NAME_AnyOff = mupdfPINVOKE.PDF_ENUM_NAME_AnyOff_get(); @@ -119832,6 +122741,7 @@ public static pdf_zugferd_profile ll_pdf_zugferd_profile_outparams_fn(pdf_docume public static readonly int PDF_ENUM_NAME_Encoding = mupdfPINVOKE.PDF_ENUM_NAME_Encoding_get(); public static readonly int PDF_ENUM_NAME_Encrypt = mupdfPINVOKE.PDF_ENUM_NAME_Encrypt_get(); public static readonly int PDF_ENUM_NAME_EncryptMetadata = mupdfPINVOKE.PDF_ENUM_NAME_EncryptMetadata_get(); + public static readonly int PDF_ENUM_NAME_EncryptedPayload = mupdfPINVOKE.PDF_ENUM_NAME_EncryptedPayload_get(); public static readonly int PDF_ENUM_NAME_EndOfBlock = mupdfPINVOKE.PDF_ENUM_NAME_EndOfBlock_get(); public static readonly int PDF_ENUM_NAME_EndOfLine = mupdfPINVOKE.PDF_ENUM_NAME_EndOfLine_get(); public static readonly int PDF_ENUM_NAME_Exclude = mupdfPINVOKE.PDF_ENUM_NAME_Exclude_get(); @@ -119881,6 +122791,7 @@ public static pdf_zugferd_profile ll_pdf_zugferd_profile_outparams_fn(pdf_docume public static readonly int PDF_ENUM_NAME_ForComment = mupdfPINVOKE.PDF_ENUM_NAME_ForComment_get(); public static readonly int PDF_ENUM_NAME_ForPublicRelease = mupdfPINVOKE.PDF_ENUM_NAME_ForPublicRelease_get(); public static readonly int PDF_ENUM_NAME_Form = mupdfPINVOKE.PDF_ENUM_NAME_Form_get(); + public static readonly int PDF_ENUM_NAME_FormData = mupdfPINVOKE.PDF_ENUM_NAME_FormData_get(); public static readonly int PDF_ENUM_NAME_FormEx = mupdfPINVOKE.PDF_ENUM_NAME_FormEx_get(); public static readonly int PDF_ENUM_NAME_FormType = mupdfPINVOKE.PDF_ENUM_NAME_FormType_get(); public static readonly int PDF_ENUM_NAME_Formula = mupdfPINVOKE.PDF_ENUM_NAME_Formula_get(); @@ -120124,6 +123035,7 @@ public static pdf_zugferd_profile ll_pdf_zugferd_profile_outparams_fn(pdf_docume public static readonly int PDF_ENUM_NAME_Slash = mupdfPINVOKE.PDF_ENUM_NAME_Slash_get(); public static readonly int PDF_ENUM_NAME_Sold = mupdfPINVOKE.PDF_ENUM_NAME_Sold_get(); public static readonly int PDF_ENUM_NAME_Sound = mupdfPINVOKE.PDF_ENUM_NAME_Sound_get(); + public static readonly int PDF_ENUM_NAME_Source = mupdfPINVOKE.PDF_ENUM_NAME_Source_get(); public static readonly int PDF_ENUM_NAME_Span = mupdfPINVOKE.PDF_ENUM_NAME_Span_get(); public static readonly int PDF_ENUM_NAME_Split = mupdfPINVOKE.PDF_ENUM_NAME_Split_get(); public static readonly int PDF_ENUM_NAME_Square = mupdfPINVOKE.PDF_ENUM_NAME_Square_get(); @@ -120193,6 +123105,7 @@ public static pdf_zugferd_profile ll_pdf_zugferd_profile_outparams_fn(pdf_docume public static readonly int PDF_ENUM_NAME_Uncover = mupdfPINVOKE.PDF_ENUM_NAME_Uncover_get(); public static readonly int PDF_ENUM_NAME_Underline = mupdfPINVOKE.PDF_ENUM_NAME_Underline_get(); public static readonly int PDF_ENUM_NAME_Unix = mupdfPINVOKE.PDF_ENUM_NAME_Unix_get(); + public static readonly int PDF_ENUM_NAME_Unspecified = mupdfPINVOKE.PDF_ENUM_NAME_Unspecified_get(); public static readonly int PDF_ENUM_NAME_Usage = mupdfPINVOKE.PDF_ENUM_NAME_Usage_get(); public static readonly int PDF_ENUM_NAME_UseBlackPtComp = mupdfPINVOKE.PDF_ENUM_NAME_UseBlackPtComp_get(); public static readonly int PDF_ENUM_NAME_UseCMap = mupdfPINVOKE.PDF_ENUM_NAME_UseCMap_get(); @@ -121010,29 +123923,6 @@ protected SWIGTYPE_p_pdf_line_ending() { } namespace mupdf { -public class SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_long_int__void { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - - internal SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_long_int__void(global::System.IntPtr cPtr, bool futureUse) { - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_long_int__void() { - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_long_int__void obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_long_int__void obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } -} - -} -namespace mupdf { - public class SWIGTYPE_p_f_p_fz_context_p_void__void { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -121056,22 +123946,22 @@ protected SWIGTYPE_p_f_p_fz_context_p_void__void() { } namespace mupdf { -public class SWIGTYPE_p_unsigned_long_long { +public class SWIGTYPE_p_unsigned_long { private global::System.Runtime.InteropServices.HandleRef swigCPtr; - internal SWIGTYPE_p_unsigned_long_long(global::System.IntPtr cPtr, bool futureUse) { + internal SWIGTYPE_p_unsigned_long(global::System.IntPtr cPtr, bool futureUse) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - protected SWIGTYPE_p_unsigned_long_long() { + protected SWIGTYPE_p_unsigned_long() { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_unsigned_long_long obj) { + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_unsigned_long obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } - internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_unsigned_long_long obj) { + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_unsigned_long obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } } @@ -121654,22 +124544,22 @@ protected SWIGTYPE_p_f_p_fz_context_p_pdf_processor_int_p_float__void() { } namespace mupdf { -public class SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces__void { +public class SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces_p_void_p_void__void { private global::System.Runtime.InteropServices.HandleRef swigCPtr; - internal SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces__void(global::System.IntPtr cPtr, bool futureUse) { + internal SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces_p_void_p_void__void(global::System.IntPtr cPtr, bool futureUse) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - protected SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces__void() { + protected SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces_p_void_p_void__void() { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces__void obj) { + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces_p_void_p_void__void obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } - internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces__void obj) { + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_void_p_void_p_fz_buffer_p_fz_device_fz_matrix_p_void_p_fz_default_colorspaces_p_void_p_void__void obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } } @@ -121838,6 +124728,29 @@ protected SWIGTYPE_p_f_p_fz_context_p_void_p_int_int___fz_matrix___fz_matrix___f } namespace mupdf { +public class SWIGTYPE_p_long { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_long(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_long() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_long obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_long obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +namespace mupdf { + public class SWIGTYPE_p_f_p_fz_context_p_fz_document__p_fz_colorspace { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -122579,29 +125492,6 @@ protected SWIGTYPE_p_unsigned_short() { } namespace mupdf { -public class SWIGTYPE_p_long_long { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - - internal SWIGTYPE_p_long_long(global::System.IntPtr cPtr, bool futureUse) { - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_long_long() { - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_long_long obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_long_long obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } -} - -} -namespace mupdf { - public class SWIGTYPE_p_fz_bidi_direction { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -122786,22 +125676,22 @@ protected SWIGTYPE_p_f_p_fz_context_p_fz_device_fz_rect_p_fz_colorspace_int_int_ } namespace mupdf { -public class SWIGTYPE_p_f_p_fz_context_p_void__long_long { +public class SWIGTYPE_p_f_p_fz_context_p_pdf_processor_p_fz_image_p_q_const__char__void { private global::System.Runtime.InteropServices.HandleRef swigCPtr; - internal SWIGTYPE_p_f_p_fz_context_p_void__long_long(global::System.IntPtr cPtr, bool futureUse) { + internal SWIGTYPE_p_f_p_fz_context_p_pdf_processor_p_fz_image_p_q_const__char__void(global::System.IntPtr cPtr, bool futureUse) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - protected SWIGTYPE_p_f_p_fz_context_p_void__long_long() { + protected SWIGTYPE_p_f_p_fz_context_p_pdf_processor_p_fz_image_p_q_const__char__void() { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_void__long_long obj) { + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_pdf_processor_p_fz_image_p_q_const__char__void obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } - internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_void__long_long obj) { + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_pdf_processor_p_fz_image_p_q_const__char__void obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } } @@ -122809,22 +125699,22 @@ protected SWIGTYPE_p_f_p_fz_context_p_void__long_long() { } namespace mupdf { -public class SWIGTYPE_p_f_p_fz_context_p_pdf_processor_p_fz_image_p_q_const__char__void { +public class SWIGTYPE_p_signed_char { private global::System.Runtime.InteropServices.HandleRef swigCPtr; - internal SWIGTYPE_p_f_p_fz_context_p_pdf_processor_p_fz_image_p_q_const__char__void(global::System.IntPtr cPtr, bool futureUse) { + internal SWIGTYPE_p_signed_char(global::System.IntPtr cPtr, bool futureUse) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - protected SWIGTYPE_p_f_p_fz_context_p_pdf_processor_p_fz_image_p_q_const__char__void() { + protected SWIGTYPE_p_signed_char() { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_pdf_processor_p_fz_image_p_q_const__char__void obj) { + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_signed_char obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } - internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_pdf_processor_p_fz_image_p_q_const__char__void obj) { + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_signed_char obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } } @@ -122832,22 +125722,22 @@ protected SWIGTYPE_p_f_p_fz_context_p_pdf_processor_p_fz_image_p_q_const__char__ } namespace mupdf { -public class SWIGTYPE_p_signed_char { +public class SWIGTYPE_p_f_p_fz_context_p_void__long { private global::System.Runtime.InteropServices.HandleRef swigCPtr; - internal SWIGTYPE_p_signed_char(global::System.IntPtr cPtr, bool futureUse) { + internal SWIGTYPE_p_f_p_fz_context_p_void__long(global::System.IntPtr cPtr, bool futureUse) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - protected SWIGTYPE_p_signed_char() { + protected SWIGTYPE_p_f_p_fz_context_p_void__long() { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_signed_char obj) { + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_void__long obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } - internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_signed_char obj) { + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_void__long obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } } @@ -123614,6 +126504,29 @@ protected SWIGTYPE_p_fz_separations() { } namespace mupdf { +public class SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_int__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_int__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_int__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_int__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_fz_stream_long_int__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +namespace mupdf { + public class SWIGTYPE_p_p_fz_font { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -124189,22 +127102,22 @@ protected SWIGTYPE_p_f_p_fz_context_p_void_float_float__void() { } namespace mupdf { -public class SWIGTYPE_p_unsigned_int { +public class SWIGTYPE_p_f_p_fz_context_p_void_long_int__void { private global::System.Runtime.InteropServices.HandleRef swigCPtr; - internal SWIGTYPE_p_unsigned_int(global::System.IntPtr cPtr, bool futureUse) { + internal SWIGTYPE_p_f_p_fz_context_p_void_long_int__void(global::System.IntPtr cPtr, bool futureUse) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - protected SWIGTYPE_p_unsigned_int() { + protected SWIGTYPE_p_f_p_fz_context_p_void_long_int__void() { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_unsigned_int obj) { + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_void_long_int__void obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } - internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_unsigned_int obj) { + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_void_long_int__void obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } } @@ -124212,22 +127125,22 @@ protected SWIGTYPE_p_unsigned_int() { } namespace mupdf { -public class SWIGTYPE_p_f_p_fz_context_p_fz_buffer_p_void__void { +public class SWIGTYPE_p_unsigned_int { private global::System.Runtime.InteropServices.HandleRef swigCPtr; - internal SWIGTYPE_p_f_p_fz_context_p_fz_buffer_p_void__void(global::System.IntPtr cPtr, bool futureUse) { + internal SWIGTYPE_p_unsigned_int(global::System.IntPtr cPtr, bool futureUse) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - protected SWIGTYPE_p_f_p_fz_context_p_fz_buffer_p_void__void() { + protected SWIGTYPE_p_unsigned_int() { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_fz_buffer_p_void__void obj) { + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_unsigned_int obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } - internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_fz_buffer_p_void__void obj) { + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_unsigned_int obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } } @@ -124235,22 +127148,22 @@ protected SWIGTYPE_p_f_p_fz_context_p_fz_buffer_p_void__void() { } namespace mupdf { -public class SWIGTYPE_p_fz_icc_profile { +public class SWIGTYPE_p_f_p_fz_context_p_fz_buffer_p_void__void { private global::System.Runtime.InteropServices.HandleRef swigCPtr; - internal SWIGTYPE_p_fz_icc_profile(global::System.IntPtr cPtr, bool futureUse) { + internal SWIGTYPE_p_f_p_fz_context_p_fz_buffer_p_void__void(global::System.IntPtr cPtr, bool futureUse) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - protected SWIGTYPE_p_fz_icc_profile() { + protected SWIGTYPE_p_f_p_fz_context_p_fz_buffer_p_void__void() { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_fz_icc_profile obj) { + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_fz_buffer_p_void__void obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } - internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_fz_icc_profile obj) { + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_fz_buffer_p_void__void obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } } @@ -124258,22 +127171,22 @@ protected SWIGTYPE_p_fz_icc_profile() { } namespace mupdf { -public class SWIGTYPE_p_f_p_fz_context_p_void_long_long_int__void { +public class SWIGTYPE_p_fz_icc_profile { private global::System.Runtime.InteropServices.HandleRef swigCPtr; - internal SWIGTYPE_p_f_p_fz_context_p_void_long_long_int__void(global::System.IntPtr cPtr, bool futureUse) { + internal SWIGTYPE_p_fz_icc_profile(global::System.IntPtr cPtr, bool futureUse) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - protected SWIGTYPE_p_f_p_fz_context_p_void_long_long_int__void() { + protected SWIGTYPE_p_fz_icc_profile() { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_void_long_long_int__void obj) { + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_fz_icc_profile obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } - internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_void_long_long_int__void obj) { + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_fz_icc_profile obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } } @@ -124810,6 +127723,29 @@ protected SWIGTYPE_p_f_p_fz_context_p_fz_page_p_void__p_void() { } namespace mupdf { +public class SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_void_int_p_fz_quad__int obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +namespace mupdf { + public class SWIGTYPE_p_p_pdf_unsaved_sig { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -124833,22 +127769,22 @@ protected SWIGTYPE_p_p_pdf_unsaved_sig() { } namespace mupdf { -public class SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__int { +public class SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__long { private global::System.Runtime.InteropServices.HandleRef swigCPtr; - internal SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__int(global::System.IntPtr cPtr, bool futureUse) { + internal SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__long(global::System.IntPtr cPtr, bool futureUse) { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } - protected SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__int() { + protected SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__long() { swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__int obj) { + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__long obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } - internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__int obj) { + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_fz_document_fz_location__long obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } } @@ -125201,6 +128137,29 @@ protected SWIGTYPE_p_ptrdiff_t() { } namespace mupdf { +public class SWIGTYPE_p_f_p_fz_context_p_void_unsigned_long_unsigned_int__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_fz_context_p_void_unsigned_long_unsigned_int__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_fz_context_p_void_unsigned_long_unsigned_int__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_void_unsigned_long_unsigned_int__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_void_unsigned_long_unsigned_int__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +namespace mupdf { + public class SWIGTYPE_p_f_p_fz_context_p_fz_band_writer_p_fz_colorspace__void { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -125454,6 +128413,29 @@ protected SWIGTYPE_p_f_p_fz_context_p_void_p_void_int_p_void__void() { } namespace mupdf { +public class SWIGTYPE_p_f_p_fz_context_p_void_enum_fz_activity_reason_p_void__void { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_f_p_fz_context_p_void_enum_fz_activity_reason_p_void__void(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_f_p_fz_context_p_void_enum_fz_activity_reason_p_void__void() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_f_p_fz_context_p_void_enum_fz_activity_reason_p_void__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_f_p_fz_context_p_void_enum_fz_activity_reason_p_void__void obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} +namespace mupdf { + public class SWIGTYPE_p_f_p_fz_context_p_fz_outline_iterator__p_fz_outline_item { private global::System.Runtime.InteropServices.HandleRef swigCPtr; @@ -126098,29 +129080,6 @@ protected SWIGTYPE_p_p_fz_display_list() { } namespace mupdf { -public class SWIGTYPE_p_SWIGCDATA { - private global::System.Runtime.InteropServices.HandleRef swigCPtr; - - internal SWIGTYPE_p_SWIGCDATA(global::System.IntPtr cPtr, bool futureUse) { - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); - } - - protected SWIGTYPE_p_SWIGCDATA() { - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - - internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_SWIGCDATA obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } - - internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_SWIGCDATA obj) { - return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; - } -} - -} -namespace mupdf { - public class SWIGTYPE_p_p_fz_layout_line { private global::System.Runtime.InteropServices.HandleRef swigCPtr; diff --git a/MuPDF.NET/mupdfcpp64.dll b/MuPDF.NET/mupdfcpp64.dll deleted file mode 100644 index d743f081..00000000 Binary files a/MuPDF.NET/mupdfcpp64.dll and /dev/null differ diff --git a/MuPDF.NET/mupdfcsharp.dll b/MuPDF.NET/mupdfcsharp.dll deleted file mode 100644 index 7c66db93..00000000 Binary files a/MuPDF.NET/mupdfcsharp.dll and /dev/null differ diff --git a/MuPDF.NET/mupdfcsharp.so b/MuPDF.NET/mupdfcsharp.so deleted file mode 100644 index f57f18a1..00000000 Binary files a/MuPDF.NET/mupdfcsharp.so and /dev/null differ diff --git a/MuPDF.NET/structures/ColorSpace.cs b/MuPDF.NET/structures/ColorSpace.cs index 5c4cdcf9..57291887 100644 --- a/MuPDF.NET/structures/ColorSpace.cs +++ b/MuPDF.NET/structures/ColorSpace.cs @@ -1,4 +1,5 @@ using mupdf; +using System.Runtime.InteropServices; namespace MuPDF.NET { @@ -6,8 +7,14 @@ public class ColorSpace { static ColorSpace() { - if (!File.Exists("mupdfcsharp.dll")) - Utils.LoadEmbeddedDll(); + if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows)) + { + Utils.LoadEmbeddedDllForWindows(); + } + else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux)) + { + Utils.LoadEmbeddedDllForLinux(); + } } private readonly FzColorspace _nativeColorSpace;