14using System.Runtime.InteropServices;
17 private Object locker =
new Object();
18 private HandleRef swigCPtr;
20 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
23 swigCPtr =
new HandleRef(
this, cPtr);
25 [System.ComponentModel.EditorBrowsable(System.ComponentModel.EditorBrowsableState.Never)]
27 return (obj ==
null) ?
new HandleRef(
null, IntPtr.Zero) : obj.swigCPtr;
36 global::System.GC.SuppressFinalize(
this);
39 protected virtual void Dispose(
bool disposing) {
41 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
46 swigCPtr =
new global::System.Runtime.InteropServices.HandleRef(
null, global::System.IntPtr.Zero);
94IntPtr tmp_description = Marshal.StringToCoTaskMemUni(description);
95 IntPtr saved_description = tmp_description;
101if (tmp_description != saved_description) description = Marshal.PtrToStringUni(tmp_description);
225IntPtr tmp_str = Marshal.StringToCoTaskMemUni(str);
226 IntPtr saved_str = tmp_str;
232if (tmp_str != saved_str) str = Marshal.PtrToStringUni(tmp_str);
static global::System.Exception Retrieve()
static double OdCharMapper_getCheckSumAnsi([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static void delete_OdCharMapper(global::System.Runtime.InteropServices.HandleRef jarg1)
static String OdCharMapper_embedTextRawData__SWIG_1([MarshalAs(UnmanagedType.LPWStr)]String jarg1, IntPtr jarg2, Int32 jarg3)
static bool OdCharMapper_isConversionSupported(int jarg1)
static int OdCharMapper_unicodeToCodepage2(char jarg1, int jarg2, char jarg3)
static void OdCharMapper_unicodeToUtf8([MarshalAs(UnmanagedType.LPWStr)]String jarg1, int jarg2, out OdAnsiCharArray jarg3)
static double OdCharMapper_getCheckSumUnicode([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static String OdCharMapper_convertAlphaNumJapanese([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static int OdCharMapper_addBigFontWithIndex([MarshalAs(UnmanagedType.LPWStr)]String jarg1, Int32 jarg2)
static int OdCharMapper_addBigFonts(HandleRef jarg1)
static void OdCharMapper_multiByteToWideChar(int jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4)
static Int32 OdCharMapper_getCpIndexByBigFont([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static int OdCharMapper_getCodepageByCharset(UInt16 jarg1)
static int OdCharMapper_codepageToUnicode(char jarg1, int jarg2, char jarg3)
static int OdCharMapper_ansiCpToAcadCp(UInt32 jarg1)
static int OdCharMapper_initialize([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static String OdCharMapper_embedTextRawData__SWIG_0([MarshalAs(UnmanagedType.LPWStr)]String jarg1, IntPtr jarg2, Int32 jarg3, bool jarg4)
static UInt32 OdCharMapper_acadCpToAnsiCp(int jarg1)
static UInt16 OdCharMapper_getReorderCharsetByChar(char jarg1)
static int OdCharMapper_unicodeToCodepage__SWIG_1(char jarg1, int jarg2, char jarg3)
static bool OdCharMapper_containsSpecialSequence(ref IntPtr jarg1, HandleRef jarg2, IntPtr jarg3)
static int OdCharMapper_getCpByBigFont([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static String OdCharMapper_embedTextRawData__SWIG_2([MarshalAs(UnmanagedType.LPWStr)]String jarg1, IntPtr jarg2)
static int OdCharMapper_codepageIdToDesc(int jarg1, ref IntPtr jarg2)
static String OdCharMapper_convertCIFcoding([MarshalAs(UnmanagedType.LPWStr)]String jarg1)
static void OdCharMapper_wideCharToMultiByte(int jarg1, [MarshalAs(UnmanagedType.LPWStr)]String jarg2, int jarg3, out OdAnsiCharArray jarg4)
static bool OdCharMapper_isLeadByte(byte jarg1, int jarg2)
static UInt32 OdCharMapper_numValidCodepages()
static int OdCharMapper_addBigFontWithCodepage([MarshalAs(UnmanagedType.LPWStr)]String jarg1, int jarg2)
static bool OdCharMapper_utf8ToUnicode(string jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3)
static int OdCharMapper_codepageDescToId([MarshalAs(UnmanagedType.LPWStr)]String jarg1, OdCodePageId jarg2)
static int OdCharMapper_unicodeToCodepage__SWIG_0(char jarg1, int jarg2, char jarg3, bool jarg4)
static HandleRef getCPtr(OdCharArray obj)
static UInt16 getReorderCharsetByChar(char ch)
static bool isLeadByte(byte testByte, OdCodePageId codepageId)
static UInt32 numValidCodepages()
static String convertAlphaNumJapanese(String strText)
static String embedTextRawData(String msg, OdIntArray ulFlags, Int32 length)
static void wideCharToMultiByte(OdCodePageId codePage, String srcBuf, int srcSize, out OdAnsiCharArray dstBuf)
static OdResult codepageToUnicode(char sourceChar, OdCodePageId codepageId, char unicodeChar)
static OdResult addBigFontWithCodepage(String bigFont, OdCodePageId codePageId)
static OdCodePageId ansiCpToAcadCp(UInt32 ansiCodePage)
static OdResult unicodeToCodepage2(char sourceChar, OdCodePageId codepageId, char codepageChar)
static UInt32 acadCpToAnsiCp(OdCodePageId acadCodePageId)
static OdResult initialize(String filename)
static void multiByteToWideChar(OdCodePageId codePage, string srcBuf, int srcSize, OdCharArray dstBuf)
static Int32 getCpIndexByBigFont(String bigFont)
static String embedTextRawData(String msg, OdIntArray ulFlags)
static bool isConversionSupported(OdCodePageId codepageId)
static OdResult unicodeToCodepage(char sourceChar, OdCodePageId codepageId, char codepageChar, bool bTryToUseSystemCP)
static OdCodePageId getCpByBigFont(String bigFont)
static OdResult codepageIdToDesc(OdCodePageId codepageId, ref string description)
static double getCheckSumAnsi(String str)
static bool utf8ToUnicode(string srcBuf, int srcSize, OdCharArray dstBuf)
static void unicodeToUtf8(String srcBuf, int srcSize, out OdAnsiCharArray dstBuf)
static String convertCIFcoding(String strText)
static double getCheckSumUnicode(String str)
virtual void Dispose(bool disposing)
static OdResult unicodeToCodepage(char sourceChar, OdCodePageId codepageId, char codepageChar)
static HandleRef getCPtr(OdCharMapper obj)
static OdResult addBigFonts(OdStreamBuf io)
static bool containsSpecialSequence(ref string str, OdFont font, OdIntArray ulRanges)
static OdResult addBigFontWithIndex(String bigFont, Int32 cpIndex)
static String embedTextRawData(String msg, OdIntArray ulFlags, Int32 length, bool raw)
OdCharMapper(IntPtr cPtr, bool cMemoryOwn)
static OdResult codepageDescToId(String description, OdCodePageId codepageId)
static OdCodePageId getCodepageByCharset(UInt16 ansiCharacterSet)
static HandleRef getCPtr(OdFont obj)
static HandleRef getCPtr(OdIntArray obj)
static HandleRef getCPtr(OdStreamBuf obj)