mirror of
https://github.com/SubtitleEdit/subtitleedit.git
synced 2024-11-22 03:02:35 +01:00
git-svn-id: https://subtitleedit.googlecode.com/svn/trunk@17 99eadd0c-20b8-1223-b5c4-2a2b2df33de2
This commit is contained in:
parent
a758a68a43
commit
6048e68f20
@ -0,0 +1,9 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
[ComImport, Guid("D66D6F98-CDAA-11D0-B822-00C04FC9B31F"), CoClass(typeof(CMLangConvertCharsetClass))]
|
||||||
|
public interface CMLangConvertCharset : IMLangConvertCharset
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,26 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, ClassInterface((short) 0), TypeLibType((short) 2), Guid("D66D6F99-CDAA-11D0-B822-00C04FC9B31F")]
|
||||||
|
public class CMLangConvertCharsetClass : IMLangConvertCharset, CMLangConvertCharset
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void DoConversion([In] ref byte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref byte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void DoConversionFromUnicode([In] ref ushort pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref sbyte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void DoConversionToUnicode([In] ref sbyte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref ushort pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetDestinationCodePage(out uint puiDstCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetProperty(out uint pdwProperty);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetSourceCodePage(out uint puiSrcCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void Initialize([In] uint uiSrcCodePage, [In] uint uiDstCodePage, [In] uint dwProperty);
|
||||||
|
}
|
||||||
|
}
|
9
src/Logic/DetectEncoding/Multilang/CMLangString.cs
Normal file
9
src/Logic/DetectEncoding/Multilang/CMLangString.cs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
[ComImport, CoClass(typeof(CMLangStringClass)), Guid("C04D65CE-B70D-11D0-B188-00AA0038C969")]
|
||||||
|
public interface CMLangString : IMLangString
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
68
src/Logic/DetectEncoding/Multilang/CMLangStringClass.cs
Normal file
68
src/Logic/DetectEncoding/Multilang/CMLangStringClass.cs
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, Guid("C04D65CF-B70D-11D0-B188-00AA0038C969"), ComConversionLoss, ClassInterface((short) 0), TypeLibType((short) 2)]
|
||||||
|
public class CMLangStringClass : IMLangString, CMLangString, IMLangStringWStr, IMLangStringAStr
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetAStr([In] int lSrcPos, [In] int lSrcLen, [In] uint uCodePageIn, out uint puCodePageOut, out sbyte pszDest, [In] int cchDest, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern int GetLength();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetLocale([In] int lSrcPos, [In] int lSrcMaxLen, out uint plocale, out int plLocalePos, out int plLocaleLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetMLStr([In] int lSrcPos, [In] int lSrcLen, [In, MarshalAs(UnmanagedType.IUnknown)] object pUnkOuter, [In] uint dwClsContext, [In] ref Guid piid, [MarshalAs(UnmanagedType.IUnknown)] out object ppDestMLStr, out int plDestPos, out int plDestLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetStrBufA([In] int lSrcPos, [In] int lSrcMaxLen, out uint puDestCodePage, [MarshalAs(UnmanagedType.Interface)] out IMLangStringBufA ppDestBuf, out int plDestLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetStrBufW([In] int lSrcPos, [In] int lSrcMaxLen, [MarshalAs(UnmanagedType.Interface)] out IMLangStringBufW ppDestBuf, out int plDestLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetWStr([In] int lSrcPos, [In] int lSrcLen, out ushort pszDest, [In] int cchDest, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern int IMLangStringAStr_GetLength();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangStringAStr_GetLocale([In] int lSrcPos, [In] int lSrcMaxLen, out uint plocale, out int plLocalePos, out int plLocaleLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangStringAStr_GetMLStr([In] int lSrcPos, [In] int lSrcLen, [In, MarshalAs(UnmanagedType.IUnknown)] object pUnkOuter, [In] uint dwClsContext, [In] ref Guid piid, [MarshalAs(UnmanagedType.IUnknown)] out object ppDestMLStr, out int plDestPos, out int plDestLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangStringAStr_SetLocale([In] int lDestPos, [In] int lDestLen, [In] uint locale);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangStringAStr_SetMLStr([In] int lDestPos, [In] int lDestLen, [In, MarshalAs(UnmanagedType.IUnknown)] object pSrcMLStr, [In] int lSrcPos, [In] int lSrcLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangStringAStr_Sync([In] int fNoAccess);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern int IMLangStringWStr_GetLength();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangStringWStr_GetMLStr([In] int lSrcPos, [In] int lSrcLen, [In, MarshalAs(UnmanagedType.IUnknown)] object pUnkOuter, [In] uint dwClsContext, [In] ref Guid piid, [MarshalAs(UnmanagedType.IUnknown)] out object ppDestMLStr, out int plDestPos, out int plDestLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangStringWStr_SetMLStr([In] int lDestPos, [In] int lDestLen, [In, MarshalAs(UnmanagedType.IUnknown)] object pSrcMLStr, [In] int lSrcPos, [In] int lSrcLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangStringWStr_Sync([In] int fNoAccess);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void LockAStr([In] int lSrcPos, [In] int lSrcLen, [In] int lFlags, [In] uint uCodePageIn, [In] int cchRequest, out uint puCodePageOut, [Out] IntPtr ppszDest, out int pcchDest, out int plDestLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void LockWStr([In] int lSrcPos, [In] int lSrcLen, [In] int lFlags, [In] int cchRequest, [Out] IntPtr ppszDest, out int pcchDest, out int plDestLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void SetAStr([In] int lDestPos, [In] int lDestLen, [In] uint uCodePage, [In] ref sbyte pszSrc, [In] int cchSrc, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void SetLocale([In] int lDestPos, [In] int lDestLen, [In] uint locale);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void SetMLStr([In] int lDestPos, [In] int lDestLen, [In, MarshalAs(UnmanagedType.IUnknown)] object pSrcMLStr, [In] int lSrcPos, [In] int lSrcLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void SetStrBufA([In] int lDestPos, [In] int lDestLen, [In] uint uCodePage, [In, MarshalAs(UnmanagedType.Interface)] IMLangStringBufA pSrcBuf, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void SetStrBufW([In] int lDestPos, [In] int lDestLen, [In, MarshalAs(UnmanagedType.Interface)] IMLangStringBufW pSrcBuf, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void SetWStr([In] int lDestPos, [In] int lDestLen, [In] ref ushort pszSrc, [In] int cchSrc, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void Sync([In] int fNoAccess);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void UnlockAStr([In] ref sbyte pszSrc, [In] int cchSrc, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void UnlockWStr([In] ref ushort pszSrc, [In] int cchSrc, out int pcchActual, out int plActualLen);
|
||||||
|
}
|
||||||
|
}
|
9
src/Logic/DetectEncoding/Multilang/CMultiLanguage.cs
Normal file
9
src/Logic/DetectEncoding/Multilang/CMultiLanguage.cs
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
[ComImport, Guid("275C23E1-3747-11D0-9FEA-00AA003F8646"), CoClass(typeof(CMultiLanguageClass))]
|
||||||
|
public interface CMultiLanguage : IMultiLanguage
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
220
src/Logic/DetectEncoding/Multilang/CMultiLanguageClass.cs
Normal file
220
src/Logic/DetectEncoding/Multilang/CMultiLanguageClass.cs
Normal file
@ -0,0 +1,220 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, TypeLibType((short) 2), ClassInterface((short) 0), Guid("275C23E2-3747-11D0-9FEA-00AA003F8646")]
|
||||||
|
public class CMultiLanguageClass : IMultiLanguage, CMultiLanguage, IMLangCodePages, IMLangFontLink, IMLangLineBreakConsole, IMultiLanguage2, IMLangFontLink2, IMultiLanguage3
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void BreakLineA([In] uint locale, [In] uint uCodePage, [In] ref sbyte pszSrc, [In] int cchSrc, [In] int cMaxColumns, out int pcchLine, out int pcchSkip);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void BreakLineML([In, MarshalAs(UnmanagedType.Interface)] CMLangString pSrcMLStr, [In] int lSrcPos, [In] int lSrcLen, [In] int cMinColumns, [In] int cMaxColumns, out int plLineLen, out int plSkipLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void BreakLineW([In] uint locale, [In] ref ushort pszSrc, [In] int cchSrc, [In] int cMaxColumns, out int pcchLine, out int pcchSkip);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void CodePagesToCodePage([In] uint dwCodePages, [In] uint uDefaultCodePage, out uint puCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void CodePageToCodePages([In] uint uCodePage, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void CodePageToScriptID([In] uint uiCodePage, out byte pSid);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void ConvertString([In, Out] ref uint pdwMode, [In] uint dwSrcEncoding, [In] uint dwDstEncoding, [In] ref byte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref byte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void ConvertStringFromUnicode([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref ushort pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref sbyte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void ConvertStringFromUnicodeEx([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref ushort pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref sbyte pDstStr, [In, Out] ref uint pcDstSize, [In] uint dwFlag, [In] ref ushort lpFallBack);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void ConvertStringInIStream([In, Out] ref uint pdwMode, [In] uint dwFlag, [In] ref ushort lpFallBack, [In] uint dwSrcEncoding, [In] uint dwDstEncoding, [In, MarshalAs(UnmanagedType.Interface)] IStream pstmIn, [In, MarshalAs(UnmanagedType.Interface)] IStream pstmOut);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void ConvertStringReset();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void ConvertStringToUnicode([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref sbyte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref ushort pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void ConvertStringToUnicodeEx([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref sbyte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref ushort pDstStr, [In, Out] ref uint pcDstSize, [In] uint dwFlag, [In] ref ushort lpFallBack);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void CreateConvertCharset([In] uint uiSrcCodePage, [In] uint uiDstCodePage, [In] uint dwProperty, [MarshalAs(UnmanagedType.Interface)] out CMLangConvertCharset ppMLangConvertCharset);
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void DetectCodepageInIStream([In] MLDETECTCP flags,
|
||||||
|
[In] uint dwPrefWinCodePage,
|
||||||
|
[In, MarshalAs(UnmanagedType.Interface)] IStream pstmIn,
|
||||||
|
[In, Out] ref DetectEncodingInfo lpEncoding,
|
||||||
|
[In, Out] ref int pnScores);
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void DetectInputCodepage([In] MLDETECTCP flags, [In] uint dwPrefWinCodePage,
|
||||||
|
[In] ref byte pSrcStr, [In, Out] ref int pcSrcSize,
|
||||||
|
[In, Out] ref DetectEncodingInfo lpEncoding,
|
||||||
|
[In, Out] ref int pnScores);
|
||||||
|
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void DetectOutboundCodePage([In] MLCPF dwFlags, [In, MarshalAs(UnmanagedType.LPWStr)] string lpWideCharStr, [In] uint cchWideChar,
|
||||||
|
[In] IntPtr puiPreferredCodePages, [In] uint nPreferredCodePages, [In] IntPtr puiDetectedCodePages, [In, Out] ref uint pnDetectedCodePages, [In] ref ushort lpSpecialChar);
|
||||||
|
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void DetectOutboundCodePageInIStream([In] uint dwFlags, [In, MarshalAs(UnmanagedType.Interface)] IStream pStrIn, [In] ref uint puiPreferredCodePages, [In] uint nPreferredCodePages, [In] ref uint puiDetectedCodePages, [In, Out] ref uint pnDetectedCodePages, [In] ref ushort lpSpecialChar);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void EnumCodePages([In] uint grfFlags, [MarshalAs(UnmanagedType.Interface)] out IEnumCodePage ppEnumCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void EnumCodePages([In] uint grfFlags, [In] ushort LangId, [MarshalAs(UnmanagedType.Interface)] out IEnumCodePage ppEnumCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void EnumRfc1766([MarshalAs(UnmanagedType.Interface)] out IEnumRfc1766 ppEnumRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void EnumRfc1766([In] ushort LangId, [MarshalAs(UnmanagedType.Interface)] out IEnumRfc1766 ppEnumRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void EnumScripts([In] uint dwFlags, [In] ushort LangId, [MarshalAs(UnmanagedType.Interface)] out IEnumScript ppEnumScript);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetCharCodePages([In] ushort chSrc, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetCharsetInfo([In, MarshalAs(UnmanagedType.BStr)] string Charset, out tagMIMECSETINFO pCharsetInfo);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetCodePageDescription([In] uint uiCodePage, [In] uint lcid, [In, Out, MarshalAs(UnmanagedType.LPWStr)] string lpWideCharStr, [In] int cchWideChar);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetCodePageInfo([In] uint uiCodePage, out tagMIMECPINFO pCodePageInfo);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetCodePageInfo([In] uint uiCodePage, [In] ushort LangId, out tagMIMECPINFO pCodePageInfo);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetFamilyCodePage([In] uint uiCodePage, out uint puiFamilyCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetFontCodePages([In, ComAliasName("MultiLanguage.wireHDC")] ref _RemotableHandle hDC, [In, ComAliasName("MultiLanguage.wireHFONT")] ref _RemotableHandle hFont, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetFontUnicodeRanges([In, ComAliasName("MultiLanguage.wireHDC")] ref _RemotableHandle hDC, [In, Out] ref uint puiRanges, out tagUNICODERANGE pUranges);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetLcidFromRfc1766(out uint plocale, [In, MarshalAs(UnmanagedType.BStr)] string bstrRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetNumberOfCodePageInfo(out uint pcCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetNumberOfScripts(out uint pnScripts);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetRfc1766FromLcid([In] uint locale, [MarshalAs(UnmanagedType.BStr)] out string pbstrRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetRfc1766Info([In] uint locale, out tagRFC1766INFO pRfc1766Info);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetRfc1766Info([In] uint locale, [In] ushort LangId, out tagRFC1766INFO pRfc1766Info);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetScriptFontInfo([In] byte sid, [In] uint dwFlags, [In, Out] ref uint puiFonts, out tagSCRIPFONTINFO pScriptFont);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void GetStrCodePages([In] ref ushort pszSrc, [In] int cchSrc, [In] uint dwPriorityCodePages, out uint pdwCodePages, out int pcchCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangFontLink_CodePagesToCodePage([In] uint dwCodePages, [In] uint uDefaultCodePage, out uint puCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangFontLink_CodePageToCodePages([In] uint uCodePage, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangFontLink_GetCharCodePages([In] ushort chSrc, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangFontLink_GetStrCodePages([In] ref ushort pszSrc, [In] int cchSrc, [In] uint dwPriorityCodePages, out uint pdwCodePages, out int pcchCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangFontLink2_CodePagesToCodePage([In] uint dwCodePages, [In] uint uDefaultCodePage, out uint puCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangFontLink2_CodePageToCodePages([In] uint uCodePage, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangFontLink2_GetCharCodePages([In] ushort chSrc, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangFontLink2_GetFontCodePages([In, ComAliasName("MultiLanguage.wireHDC")] ref _RemotableHandle hDC, [In, ComAliasName("MultiLanguage.wireHFONT")] ref _RemotableHandle hFont, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangFontLink2_GetStrCodePages([In] ref ushort pszSrc, [In] int cchSrc, [In] uint dwPriorityCodePages, out uint pdwCodePages, out int pcchCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangFontLink2_ReleaseFont([In, ComAliasName("MultiLanguage.wireHFONT")] ref _RemotableHandle hFont);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMLangFontLink2_ResetFontMapping();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage2_ConvertString([In, Out] ref uint pdwMode, [In] uint dwSrcEncoding, [In] uint dwDstEncoding, [In] ref byte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref byte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage2_ConvertStringFromUnicode([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref ushort pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref sbyte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage2_ConvertStringReset();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage2_ConvertStringToUnicode([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref sbyte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref ushort pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage2_CreateConvertCharset([In] uint uiSrcCodePage, [In] uint uiDstCodePage, [In] uint dwProperty, [MarshalAs(UnmanagedType.Interface)] out CMLangConvertCharset ppMLangConvertCharset);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage2_GetCharsetInfo([In, MarshalAs(UnmanagedType.BStr)] string Charset, out tagMIMECSETINFO pCharsetInfo);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage2_GetFamilyCodePage([In] uint uiCodePage, out uint puiFamilyCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage2_GetLcidFromRfc1766(out uint plocale, [In, MarshalAs(UnmanagedType.BStr)] string bstrRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage2_GetNumberOfCodePageInfo(out uint pcCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage2_GetRfc1766FromLcid([In] uint locale, [MarshalAs(UnmanagedType.BStr)] out string pbstrRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage2_IsConvertible([In] uint dwSrcEncoding, [In] uint dwDstEncoding);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_ConvertString([In, Out] ref uint pdwMode, [In] uint dwSrcEncoding, [In] uint dwDstEncoding, [In] ref byte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref byte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_ConvertStringFromUnicode([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref ushort pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref sbyte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_ConvertStringFromUnicodeEx([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref ushort pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref sbyte pDstStr, [In, Out] ref uint pcDstSize, [In] uint dwFlag, [In] ref ushort lpFallBack);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_ConvertStringInIStream([In, Out] ref uint pdwMode, [In] uint dwFlag, [In] ref ushort lpFallBack, [In] uint dwSrcEncoding, [In] uint dwDstEncoding, [In, MarshalAs(UnmanagedType.Interface)] IStream pstmIn, [In, MarshalAs(UnmanagedType.Interface)] IStream pstmOut);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_ConvertStringReset();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_ConvertStringToUnicode([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref sbyte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref ushort pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_ConvertStringToUnicodeEx([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref sbyte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref ushort pDstStr, [In, Out] ref uint pcDstSize, [In] uint dwFlag, [In] ref ushort lpFallBack);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_CreateConvertCharset([In] uint uiSrcCodePage, [In] uint uiDstCodePage, [In] uint dwProperty, [MarshalAs(UnmanagedType.Interface)] out CMLangConvertCharset ppMLangConvertCharset);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_DetectCodepageInIStream([In] uint dwFlag, [In] uint dwPrefWinCodePage, [In, MarshalAs(UnmanagedType.Interface)] IStream pstmIn, [In, Out] ref DetectEncodingInfo lpEncoding, [In, Out] ref int pnScores);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_DetectInputCodepage([In] uint dwFlag, [In] uint dwPrefWinCodePage, [In] ref sbyte pSrcStr, [In, Out] ref int pcSrcSize, [In, Out] ref DetectEncodingInfo lpEncoding, [In, Out] ref int pnScores);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_EnumCodePages([In] uint grfFlags, [In] ushort LangId, [MarshalAs(UnmanagedType.Interface)] out IEnumCodePage ppEnumCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_EnumRfc1766([In] ushort LangId, [MarshalAs(UnmanagedType.Interface)] out IEnumRfc1766 ppEnumRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_EnumScripts([In] uint dwFlags, [In] ushort LangId, [MarshalAs(UnmanagedType.Interface)] out IEnumScript ppEnumScript);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_GetCharsetInfo([In, MarshalAs(UnmanagedType.BStr)] string Charset, out tagMIMECSETINFO pCharsetInfo);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_GetCodePageDescription([In] uint uiCodePage, [In] uint lcid, [In, Out, MarshalAs(UnmanagedType.LPWStr)] string lpWideCharStr, [In] int cchWideChar);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_GetCodePageInfo([In] uint uiCodePage, [In] ushort LangId, out tagMIMECPINFO pCodePageInfo);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_GetFamilyCodePage([In] uint uiCodePage, out uint puiFamilyCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_GetLcidFromRfc1766(out uint plocale, [In, MarshalAs(UnmanagedType.BStr)] string bstrRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_GetNumberOfCodePageInfo(out uint pcCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_GetNumberOfScripts(out uint pnScripts);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_GetRfc1766FromLcid([In] uint locale, [MarshalAs(UnmanagedType.BStr)] out string pbstrRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_GetRfc1766Info([In] uint locale, [In] ushort LangId, out tagRFC1766INFO pRfc1766Info);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_IsCodePageInstallable([In] uint uiCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_IsConvertible([In] uint dwSrcEncoding, [In] uint dwDstEncoding);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_SetMimeDBSource([In] tagMIMECONTF dwSource);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_ValidateCodePage([In] uint uiCodePage, [In, ComAliasName("MultiLanguage.wireHWND")] ref _RemotableHandle hwnd);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IMultiLanguage3_ValidateCodePageEx([In] uint uiCodePage, [In, ComAliasName("MultiLanguage.wireHWND")] ref _RemotableHandle hwnd, [In] uint dwfIODControl);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IsCodePageInstallable([In] uint uiCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void IsConvertible([In] uint dwSrcEncoding, [In] uint dwDstEncoding);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void MapFont([In, ComAliasName("MultiLanguage.wireHDC")] ref _RemotableHandle hDC, [In] uint dwCodePages, [In] ushort chSrc, [Out, ComAliasName("MultiLanguage.wireHFONT")] IntPtr pFont);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void MapFont([In, ComAliasName("MultiLanguage.wireHDC")] ref _RemotableHandle hDC, [In] uint dwCodePages, [In, ComAliasName("MultiLanguage.wireHFONT")] ref _RemotableHandle hSrcFont, [Out, ComAliasName("MultiLanguage.wireHFONT")] IntPtr phDestFont);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void ReleaseFont([In, ComAliasName("MultiLanguage.wireHFONT")] ref _RemotableHandle hFont);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void ResetFontMapping();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void SetMimeDBSource([In] tagMIMECONTF dwSource);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void ValidateCodePage([In] uint uiCodePage, [In, ComAliasName("MultiLanguage.wireHWND")] ref _RemotableHandle hwnd);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
public virtual extern void ValidateCodePageEx([In] uint uiCodePage, [In, ComAliasName("MultiLanguage.wireHWND")] ref _RemotableHandle hwnd, [In] uint dwfIODControl);
|
||||||
|
}
|
||||||
|
}
|
20
src/Logic/DetectEncoding/Multilang/IEnumCodePage.cs
Normal file
20
src/Logic/DetectEncoding/Multilang/IEnumCodePage.cs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, Guid("275C23E3-3747-11D0-9FEA-00AA003F8646"), InterfaceType((short) 1)]
|
||||||
|
public interface IEnumCodePage
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Clone([MarshalAs(UnmanagedType.Interface)] out IEnumCodePage ppEnum);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Next([In] uint celt, out tagMIMECPINFO rgelt, out uint pceltFetched);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Reset();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Skip([In] uint celt);
|
||||||
|
}
|
||||||
|
}
|
20
src/Logic/DetectEncoding/Multilang/IEnumRfc1766.cs
Normal file
20
src/Logic/DetectEncoding/Multilang/IEnumRfc1766.cs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, Guid("3DC39D1D-C030-11D0-B81B-00C04FC9B31F"), InterfaceType((short) 1)]
|
||||||
|
public interface IEnumRfc1766
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Clone([MarshalAs(UnmanagedType.Interface)] out IEnumRfc1766 ppEnum);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Next([In] uint celt, out tagRFC1766INFO rgelt, out uint pceltFetched);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Reset();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Skip([In] uint celt);
|
||||||
|
}
|
||||||
|
}
|
20
src/Logic/DetectEncoding/Multilang/IEnumScript.cs
Normal file
20
src/Logic/DetectEncoding/Multilang/IEnumScript.cs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, Guid("AE5F1430-388B-11D2-8380-00C04F8F5DA1"), InterfaceType((short) 1)]
|
||||||
|
public interface IEnumScript
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Clone([MarshalAs(UnmanagedType.Interface)] out IEnumScript ppEnum);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Next([In] uint celt, out tagSCRIPTINFO rgelt, out uint pceltFetched);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Reset();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Skip([In] uint celt);
|
||||||
|
}
|
||||||
|
}
|
20
src/Logic/DetectEncoding/Multilang/IMLangCodePages.cs
Normal file
20
src/Logic/DetectEncoding/Multilang/IMLangCodePages.cs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, Guid("359F3443-BD4A-11D0-B188-00AA0038C969"), InterfaceType((short) 1)]
|
||||||
|
public interface IMLangCodePages
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetCharCodePages([In] ushort chSrc, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetStrCodePages([In] ref ushort pszSrc, [In] int cchSrc, [In] uint dwPriorityCodePages, out uint pdwCodePages, out int pcchCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void CodePageToCodePages([In] uint uCodePage, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void CodePagesToCodePage([In] uint dwCodePages, [In] uint uDefaultCodePage, out uint puCodePage);
|
||||||
|
}
|
||||||
|
}
|
26
src/Logic/DetectEncoding/Multilang/IMLangConvertCharset.cs
Normal file
26
src/Logic/DetectEncoding/Multilang/IMLangConvertCharset.cs
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, Guid("D66D6F98-CDAA-11D0-B822-00C04FC9B31F"), InterfaceType((short) 1)]
|
||||||
|
public interface IMLangConvertCharset
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Initialize([In] uint uiSrcCodePage, [In] uint uiDstCodePage, [In] uint dwProperty);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetSourceCodePage(out uint puiSrcCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetDestinationCodePage(out uint puiDstCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetProperty(out uint pdwProperty);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void DoConversion([In] ref byte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref byte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void DoConversionToUnicode([In] ref sbyte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref ushort pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void DoConversionFromUnicode([In] ref ushort pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref sbyte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
}
|
||||||
|
}
|
30
src/Logic/DetectEncoding/Multilang/IMLangFontLink.cs
Normal file
30
src/Logic/DetectEncoding/Multilang/IMLangFontLink.cs
Normal file
@ -0,0 +1,30 @@
|
|||||||
|
#pragma warning disable 0108
|
||||||
|
|
||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, InterfaceType((short) 1), ComConversionLoss, Guid("359F3441-BD4A-11D0-B188-00AA0038C969")]
|
||||||
|
public interface IMLangFontLink : IMLangCodePages
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetCharCodePages([In] ushort chSrc, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetStrCodePages([In] ref ushort pszSrc, [In] int cchSrc, [In] uint dwPriorityCodePages, out uint pdwCodePages, out int pcchCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void CodePageToCodePages([In] uint uCodePage, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void CodePagesToCodePage([In] uint dwCodePages, [In] uint uDefaultCodePage, out uint puCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetFontCodePages([In, ComAliasName("MultiLanguage.wireHDC")] ref _RemotableHandle hDC, [In, ComAliasName("MultiLanguage.wireHFONT")] ref _RemotableHandle hFont, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void MapFont([In, ComAliasName("MultiLanguage.wireHDC")] ref _RemotableHandle hDC, [In] uint dwCodePages, [In, ComAliasName("MultiLanguage.wireHFONT")] ref _RemotableHandle hSrcFont, [Out, ComAliasName("MultiLanguage.wireHFONT")] IntPtr phDestFont);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ReleaseFont([In, ComAliasName("MultiLanguage.wireHFONT")] ref _RemotableHandle hFont);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ResetFontMapping();
|
||||||
|
}
|
||||||
|
}
|
38
src/Logic/DetectEncoding/Multilang/IMLangFontLink2.cs
Normal file
38
src/Logic/DetectEncoding/Multilang/IMLangFontLink2.cs
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
#pragma warning disable 0108
|
||||||
|
|
||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, ComConversionLoss, InterfaceType((short) 1), Guid("DCCFC162-2B38-11D2-B7EC-00C04F8F5D9A")]
|
||||||
|
public interface IMLangFontLink2 : IMLangCodePages
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetCharCodePages([In] ushort chSrc, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetStrCodePages([In] ref ushort pszSrc, [In] int cchSrc, [In] uint dwPriorityCodePages, out uint pdwCodePages, out int pcchCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void CodePageToCodePages([In] uint uCodePage, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void CodePagesToCodePage([In] uint dwCodePages, [In] uint uDefaultCodePage, out uint puCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetFontCodePages([In, ComAliasName("MultiLanguage.wireHDC")] ref _RemotableHandle hDC, [In, ComAliasName("MultiLanguage.wireHFONT")] ref _RemotableHandle hFont, out uint pdwCodePages);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ReleaseFont([In, ComAliasName("MultiLanguage.wireHFONT")] ref _RemotableHandle hFont);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ResetFontMapping();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void MapFont([In, ComAliasName("MultiLanguage.wireHDC")] ref _RemotableHandle hDC, [In] uint dwCodePages, [In] ushort chSrc, [Out, ComAliasName("MultiLanguage.wireHFONT")] IntPtr pFont);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetFontUnicodeRanges([In, ComAliasName("MultiLanguage.wireHDC")] ref _RemotableHandle hDC, [In, Out] ref uint puiRanges, out tagUNICODERANGE pUranges);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetScriptFontInfo([In] byte sid, [In] uint dwFlags, [In, Out] ref uint puiFonts, out tagSCRIPFONTINFO pScriptFont);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void CodePageToScriptID([In] uint uiCodePage, out byte pSid);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma warning restore 0108
|
18
src/Logic/DetectEncoding/Multilang/IMLangLineBreakConsole.cs
Normal file
18
src/Logic/DetectEncoding/Multilang/IMLangLineBreakConsole.cs
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, InterfaceType((short) 1), Guid("F5BE2EE1-BFD7-11D0-B188-00AA0038C969")]
|
||||||
|
public interface IMLangLineBreakConsole
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void BreakLineML([In, MarshalAs(UnmanagedType.Interface)] CMLangString pSrcMLStr, [In] int lSrcPos, [In] int lSrcLen, [In] int cMinColumns, [In] int cMaxColumns, out int plLineLen, out int plSkipLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void BreakLineW([In] uint locale, [In] ref ushort pszSrc, [In] int cchSrc, [In] int cMaxColumns, out int pcchLine, out int pcchSkip);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void BreakLineA([In] uint locale, [In] uint uCodePage, [In] ref sbyte pszSrc, [In] int cchSrc, [In] int cMaxColumns, out int pcchLine, out int pcchSkip);
|
||||||
|
}
|
||||||
|
}
|
20
src/Logic/DetectEncoding/Multilang/IMLangString.cs
Normal file
20
src/Logic/DetectEncoding/Multilang/IMLangString.cs
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, Guid("C04D65CE-B70D-11D0-B188-00AA0038C969"), InterfaceType((short) 1)]
|
||||||
|
public interface IMLangString
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Sync([In] int fNoAccess);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
int GetLength();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void SetMLStr([In] int lDestPos, [In] int lDestLen, [In, MarshalAs(UnmanagedType.IUnknown)] object pSrcMLStr, [In] int lSrcPos, [In] int lSrcLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetMLStr([In] int lSrcPos, [In] int lSrcLen, [In, MarshalAs(UnmanagedType.IUnknown)] object pUnkOuter, [In] uint dwClsContext, [In] ref Guid piid, [MarshalAs(UnmanagedType.IUnknown)] out object ppDestMLStr, out int plDestPos, out int plDestLen);
|
||||||
|
}
|
||||||
|
}
|
40
src/Logic/DetectEncoding/Multilang/IMLangStringAStr.cs
Normal file
40
src/Logic/DetectEncoding/Multilang/IMLangStringAStr.cs
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
#pragma warning disable 0108
|
||||||
|
|
||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, Guid("C04D65D2-B70D-11D0-B188-00AA0038C969"), ComConversionLoss, InterfaceType((short) 1)]
|
||||||
|
public interface IMLangStringAStr : IMLangString
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Sync([In] int fNoAccess);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
int GetLength();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void SetMLStr([In] int lDestPos, [In] int lDestLen, [In, MarshalAs(UnmanagedType.IUnknown)] object pSrcMLStr, [In] int lSrcPos, [In] int lSrcLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetMLStr([In] int lSrcPos, [In] int lSrcLen, [In, MarshalAs(UnmanagedType.IUnknown)] object pUnkOuter, [In] uint dwClsContext, [In] ref Guid piid, [MarshalAs(UnmanagedType.IUnknown)] out object ppDestMLStr, out int plDestPos, out int plDestLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void SetAStr([In] int lDestPos, [In] int lDestLen, [In] uint uCodePage, [In] ref sbyte pszSrc, [In] int cchSrc, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void SetStrBufA([In] int lDestPos, [In] int lDestLen, [In] uint uCodePage, [In, MarshalAs(UnmanagedType.Interface)] IMLangStringBufA pSrcBuf, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetAStr([In] int lSrcPos, [In] int lSrcLen, [In] uint uCodePageIn, out uint puCodePageOut, out sbyte pszDest, [In] int cchDest, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetStrBufA([In] int lSrcPos, [In] int lSrcMaxLen, out uint puDestCodePage, [MarshalAs(UnmanagedType.Interface)] out IMLangStringBufA ppDestBuf, out int plDestLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void LockAStr([In] int lSrcPos, [In] int lSrcLen, [In] int lFlags, [In] uint uCodePageIn, [In] int cchRequest, out uint puCodePageOut, [Out] IntPtr ppszDest, out int pcchDest, out int plDestLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void UnlockAStr([In] ref sbyte pszSrc, [In] int cchSrc, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void SetLocale([In] int lDestPos, [In] int lDestLen, [In] uint locale);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetLocale([In] int lSrcPos, [In] int lSrcMaxLen, out uint plocale, out int plLocalePos, out int plLocaleLen);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma warning restore 0108
|
22
src/Logic/DetectEncoding/Multilang/IMLangStringBufA.cs
Normal file
22
src/Logic/DetectEncoding/Multilang/IMLangStringBufA.cs
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, Guid("D24ACD23-BA72-11D0-B188-00AA0038C969"), InterfaceType((short) 1), ComConversionLoss]
|
||||||
|
public interface IMLangStringBufA
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetStatus(out int plFlags, out int pcchBuf);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void LockBuf([In] int cchOffset, [In] int cchMaxLock, [Out] IntPtr ppszBuf, out int pcchBuf);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void UnlockBuf([In] ref sbyte pszBuf, [In] int cchOffset, [In] int cchWrite);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Insert([In] int cchOffset, [In] int cchMaxInsert, out int pcchActual);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Delete([In] int cchOffset, [In] int cchDelete);
|
||||||
|
}
|
||||||
|
}
|
22
src/Logic/DetectEncoding/Multilang/IMLangStringBufW.cs
Normal file
22
src/Logic/DetectEncoding/Multilang/IMLangStringBufW.cs
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, InterfaceType((short) 1), Guid("D24ACD21-BA72-11D0-B188-00AA0038C969"), ComConversionLoss]
|
||||||
|
public interface IMLangStringBufW
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetStatus(out int plFlags, out int pcchBuf);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void LockBuf([In] int cchOffset, [In] int cchMaxLock, [Out] IntPtr ppszBuf, out int pcchBuf);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void UnlockBuf([In] ref ushort pszBuf, [In] int cchOffset, [In] int cchWrite);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Insert([In] int cchOffset, [In] int cchMaxInsert, out int pcchActual);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Delete([In] int cchOffset, [In] int cchDelete);
|
||||||
|
}
|
||||||
|
}
|
40
src/Logic/DetectEncoding/Multilang/IMLangStringWStr.cs
Normal file
40
src/Logic/DetectEncoding/Multilang/IMLangStringWStr.cs
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
#pragma warning disable 0108
|
||||||
|
|
||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, InterfaceType((short) 1), ComConversionLoss, Guid("C04D65D0-B70D-11D0-B188-00AA0038C969")]
|
||||||
|
public interface IMLangStringWStr : IMLangString
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Sync([In] int fNoAccess);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
int GetLength();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void SetMLStr([In] int lDestPos, [In] int lDestLen, [In, MarshalAs(UnmanagedType.IUnknown)] object pSrcMLStr, [In] int lSrcPos, [In] int lSrcLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetMLStr([In] int lSrcPos, [In] int lSrcLen, [In, MarshalAs(UnmanagedType.IUnknown)] object pUnkOuter, [In] uint dwClsContext, [In] ref Guid piid, [MarshalAs(UnmanagedType.IUnknown)] out object ppDestMLStr, out int plDestPos, out int plDestLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void SetWStr([In] int lDestPos, [In] int lDestLen, [In] ref ushort pszSrc, [In] int cchSrc, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void SetStrBufW([In] int lDestPos, [In] int lDestLen, [In, MarshalAs(UnmanagedType.Interface)] IMLangStringBufW pSrcBuf, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetWStr([In] int lSrcPos, [In] int lSrcLen, out ushort pszDest, [In] int cchDest, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetStrBufW([In] int lSrcPos, [In] int lSrcMaxLen, [MarshalAs(UnmanagedType.Interface)] out IMLangStringBufW ppDestBuf, out int plDestLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void LockWStr([In] int lSrcPos, [In] int lSrcLen, [In] int lFlags, [In] int cchRequest, [Out] IntPtr ppszDest, out int pcchDest, out int plDestLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void UnlockWStr([In] ref ushort pszSrc, [In] int cchSrc, out int pcchActual, out int plActualLen);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void SetLocale([In] int lDestPos, [In] int lDestLen, [In] uint locale);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetLocale([In] int lSrcPos, [In] int lSrcMaxLen, out uint plocale, out int plLocalePos, out int plLocaleLen);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma warning restore 0108
|
42
src/Logic/DetectEncoding/Multilang/IMultiLanguage.cs
Normal file
42
src/Logic/DetectEncoding/Multilang/IMultiLanguage.cs
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, Guid("275C23E1-3747-11D0-9FEA-00AA003F8646"), InterfaceType((short) 1)]
|
||||||
|
public interface IMultiLanguage
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetNumberOfCodePageInfo(out uint pcCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetCodePageInfo([In] uint uiCodePage, out tagMIMECPINFO pCodePageInfo);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetFamilyCodePage([In] uint uiCodePage, out uint puiFamilyCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void EnumCodePages([In] uint grfFlags, [MarshalAs(UnmanagedType.Interface)] out IEnumCodePage ppEnumCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetCharsetInfo([In, MarshalAs(UnmanagedType.BStr)] string Charset, out tagMIMECSETINFO pCharsetInfo);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void IsConvertible([In] uint dwSrcEncoding, [In] uint dwDstEncoding);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertString([In, Out] ref uint pdwMode, [In] uint dwSrcEncoding, [In] uint dwDstEncoding, [In] ref byte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref byte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringToUnicode([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref sbyte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref ushort pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringFromUnicode([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref ushort pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref sbyte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringReset();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetRfc1766FromLcid([In] uint locale, [MarshalAs(UnmanagedType.BStr)] out string pbstrRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetLcidFromRfc1766(out uint plocale, [In, MarshalAs(UnmanagedType.BStr)] string bstrRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void EnumRfc1766([MarshalAs(UnmanagedType.Interface)] out IEnumRfc1766 ppEnumRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetRfc1766Info([In] uint locale, out tagRFC1766INFO pRfc1766Info);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void CreateConvertCharset([In] uint uiSrcCodePage, [In] uint uiDstCodePage, [In] uint dwProperty, [MarshalAs(UnmanagedType.Interface)] out CMLangConvertCharset ppMLangConvertCharset);
|
||||||
|
}
|
||||||
|
}
|
79
src/Logic/DetectEncoding/Multilang/IMultiLanguage2.cs
Normal file
79
src/Logic/DetectEncoding/Multilang/IMultiLanguage2.cs
Normal file
@ -0,0 +1,79 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, InterfaceType((short) 1), Guid("DCCFC164-2B38-11D2-B7EC-00C04F8F5D9A")]
|
||||||
|
public interface IMultiLanguage2
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetNumberOfCodePageInfo(out uint pcCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetCodePageInfo([In] uint uiCodePage, [In] ushort LangId, out tagMIMECPINFO pCodePageInfo);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetFamilyCodePage([In] uint uiCodePage, out uint puiFamilyCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void EnumCodePages([In] uint grfFlags, [In] ushort LangId, [MarshalAs(UnmanagedType.Interface)] out IEnumCodePage ppEnumCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetCharsetInfo([In, MarshalAs(UnmanagedType.BStr)] string Charset, out tagMIMECSETINFO pCharsetInfo);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void IsConvertible([In] uint dwSrcEncoding, [In] uint dwDstEncoding);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertString([In, Out] ref uint pdwMode, [In] uint dwSrcEncoding, [In] uint dwDstEncoding, [In] ref byte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref byte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringToUnicode([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref sbyte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref ushort pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringFromUnicode([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref ushort pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref sbyte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringReset();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetRfc1766FromLcid([In] uint locale, [MarshalAs(UnmanagedType.BStr)] out string pbstrRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetLcidFromRfc1766(out uint plocale, [In, MarshalAs(UnmanagedType.BStr)] string bstrRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void EnumRfc1766([In] ushort LangId, [MarshalAs(UnmanagedType.Interface)] out IEnumRfc1766 ppEnumRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetRfc1766Info([In] uint locale, [In] ushort LangId, out tagRFC1766INFO pRfc1766Info);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void CreateConvertCharset([In] uint uiSrcCodePage, [In] uint uiDstCodePage, [In] uint dwProperty, [MarshalAs(UnmanagedType.Interface)] out CMLangConvertCharset ppMLangConvertCharset);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringInIStream([In, Out] ref uint pdwMode, [In] uint dwFlag, [In] ref ushort lpFallBack, [In] uint dwSrcEncoding, [In] uint dwDstEncoding, [In, MarshalAs(UnmanagedType.Interface)] IStream pstmIn, [In, MarshalAs(UnmanagedType.Interface)] IStream pstmOut);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringToUnicodeEx([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref sbyte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref ushort pDstStr, [In, Out] ref uint pcDstSize, [In] uint dwFlag, [In] ref ushort lpFallBack);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringFromUnicodeEx([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref ushort pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref sbyte pDstStr, [In, Out] ref uint pcDstSize, [In] uint dwFlag, [In] ref ushort lpFallBack);
|
||||||
|
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void DetectCodepageInIStream([In] MLDETECTCP flags,
|
||||||
|
[In] uint dwPrefWinCodePage,
|
||||||
|
[In, MarshalAs(UnmanagedType.Interface)] IStream pstmIn,
|
||||||
|
[In, Out] ref DetectEncodingInfo lpEncoding,
|
||||||
|
[In, Out] ref int pnScores);
|
||||||
|
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void DetectInputCodepage([In] MLDETECTCP flags, [In] uint dwPrefWinCodePage,
|
||||||
|
[In] ref byte pSrcStr, [In, Out] ref int pcSrcSize,
|
||||||
|
[In, Out] ref DetectEncodingInfo lpEncoding,
|
||||||
|
[In, Out] ref int pnScores);
|
||||||
|
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ValidateCodePage([In] uint uiCodePage, [In, ComAliasName("MultiLanguage.wireHWND")] ref _RemotableHandle hwnd);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetCodePageDescription([In] uint uiCodePage, [In] uint lcid, [In, Out, MarshalAs(UnmanagedType.LPWStr)] string lpWideCharStr, [In] int cchWideChar);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void IsCodePageInstallable([In] uint uiCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void SetMimeDBSource([In] tagMIMECONTF dwSource);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetNumberOfScripts(out uint pnScripts);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void EnumScripts([In] uint dwFlags, [In] ushort LangId, [MarshalAs(UnmanagedType.Interface)] out IEnumScript ppEnumScript);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ValidateCodePageEx([In] uint uiCodePage, [In, ComAliasName("MultiLanguage.wireHWND")] ref _RemotableHandle hwnd, [In] uint dwfIODControl);
|
||||||
|
}
|
||||||
|
}
|
95
src/Logic/DetectEncoding/Multilang/IMultiLanguage3.cs
Normal file
95
src/Logic/DetectEncoding/Multilang/IMultiLanguage3.cs
Normal file
@ -0,0 +1,95 @@
|
|||||||
|
#pragma warning disable 0108
|
||||||
|
|
||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, InterfaceType((short) 1), Guid("4E5868AB-B157-4623-9ACC-6A1D9CAEBE04")]
|
||||||
|
public interface IMultiLanguage3 : IMultiLanguage2
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetNumberOfCodePageInfo(out uint pcCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetCodePageInfo([In] uint uiCodePage, [In] ushort LangId, out tagMIMECPINFO pCodePageInfo);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetFamilyCodePage([In] uint uiCodePage, out uint puiFamilyCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void EnumCodePages([In] uint grfFlags, [In] ushort LangId, [MarshalAs(UnmanagedType.Interface)] out IEnumCodePage ppEnumCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetCharsetInfo([In, MarshalAs(UnmanagedType.BStr)] string Charset, out tagMIMECSETINFO pCharsetInfo);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void IsConvertible([In] uint dwSrcEncoding, [In] uint dwDstEncoding);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertString([In, Out] ref uint pdwMode, [In] uint dwSrcEncoding, [In] uint dwDstEncoding, [In] ref byte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref byte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringToUnicode([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref sbyte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref ushort pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringFromUnicode([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref ushort pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref sbyte pDstStr, [In, Out] ref uint pcDstSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringReset();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetRfc1766FromLcid([In] uint locale, [MarshalAs(UnmanagedType.BStr)] out string pbstrRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetLcidFromRfc1766(out uint plocale, [In, MarshalAs(UnmanagedType.BStr)] string bstrRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void EnumRfc1766([In] ushort LangId, [MarshalAs(UnmanagedType.Interface)] out IEnumRfc1766 ppEnumRfc1766);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetRfc1766Info([In] uint locale, [In] ushort LangId, out tagRFC1766INFO pRfc1766Info);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void CreateConvertCharset([In] uint uiSrcCodePage, [In] uint uiDstCodePage, [In] uint dwProperty, [MarshalAs(UnmanagedType.Interface)] out CMLangConvertCharset ppMLangConvertCharset);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringInIStream([In, Out] ref uint pdwMode, [In] uint dwFlag, [In] ref ushort lpFallBack, [In] uint dwSrcEncoding, [In] uint dwDstEncoding, [In, MarshalAs(UnmanagedType.Interface)] IStream pstmIn, [In, MarshalAs(UnmanagedType.Interface)] IStream pstmOut);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringToUnicodeEx([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref sbyte pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref ushort pDstStr, [In, Out] ref uint pcDstSize, [In] uint dwFlag, [In] ref ushort lpFallBack);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ConvertStringFromUnicodeEx([In, Out] ref uint pdwMode, [In] uint dwEncoding, [In] ref ushort pSrcStr, [In, Out] ref uint pcSrcSize, [In] ref sbyte pDstStr, [In, Out] ref uint pcDstSize, [In] uint dwFlag, [In] ref ushort lpFallBack);
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void DetectCodepageInIStream([In] MLDETECTCP flags,
|
||||||
|
[In] uint dwPrefWinCodePage,
|
||||||
|
[In, MarshalAs(UnmanagedType.Interface)] IStream pstmIn,
|
||||||
|
[In, Out] ref DetectEncodingInfo lpEncoding,
|
||||||
|
[In, Out] ref int pnScores);
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
|
||||||
|
void DetectInputCodepage([In] MLDETECTCP flags, [In] uint dwPrefWinCodePage,
|
||||||
|
[In] ref byte pSrcStr, [In, Out] ref int pcSrcSize,
|
||||||
|
[In, Out] ref DetectEncodingInfo lpEncoding,
|
||||||
|
[In, Out] ref int pnScores);
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ValidateCodePage([In] uint uiCodePage, [In, ComAliasName("MultiLanguage.wireHWND")] ref _RemotableHandle hwnd);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetCodePageDescription([In] uint uiCodePage, [In] uint lcid, [In, Out, MarshalAs(UnmanagedType.LPWStr)] string lpWideCharStr, [In] int cchWideChar);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void IsCodePageInstallable([In] uint uiCodePage);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void SetMimeDBSource([In] tagMIMECONTF dwSource);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void GetNumberOfScripts(out uint pnScripts);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void EnumScripts([In] uint dwFlags, [In] ushort LangId, [MarshalAs(UnmanagedType.Interface)] out IEnumScript ppEnumScript);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void ValidateCodePageEx([In] uint uiCodePage, [In, ComAliasName("MultiLanguage.wireHWND")] ref _RemotableHandle hwnd, [In] uint dwfIODControl);
|
||||||
|
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void DetectOutboundCodePage([In] MLCPF dwFlags,
|
||||||
|
[In, MarshalAs(UnmanagedType.LPWStr)] string lpWideCharStr,
|
||||||
|
[In] uint cchWideChar,
|
||||||
|
[In] IntPtr puiPreferredCodePages,
|
||||||
|
[In] uint nPreferredCodePages,
|
||||||
|
[In] IntPtr puiDetectedCodePages,
|
||||||
|
[In, Out] ref uint pnDetectedCodePages,
|
||||||
|
[In] ref ushort lpSpecialChar);
|
||||||
|
|
||||||
|
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void DetectOutboundCodePageInIStream([In] uint dwFlags, [In, MarshalAs(UnmanagedType.Interface)] IStream pStrIn, [In] ref uint puiPreferredCodePages, [In] uint nPreferredCodePages, [In] ref uint puiDetectedCodePages, [In, Out] ref uint pnDetectedCodePages, [In] ref ushort lpSpecialChar);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma warning restore 0108
|
16
src/Logic/DetectEncoding/Multilang/ISequentialStream.cs
Normal file
16
src/Logic/DetectEncoding/Multilang/ISequentialStream.cs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, Guid("0C733A30-2A1C-11CE-ADE5-00AA0044773D"), InterfaceType((short) 1)]
|
||||||
|
public interface ISequentialStream
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void RemoteRead(IntPtr pv, uint cb, ref uint pcbRead);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void RemoteWrite([In] ref byte pv, [In] uint cb, ref uint pcbWritten);
|
||||||
|
}
|
||||||
|
}
|
38
src/Logic/DetectEncoding/Multilang/IStream.cs
Normal file
38
src/Logic/DetectEncoding/Multilang/IStream.cs
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
#pragma warning disable 0108
|
||||||
|
|
||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[ComImport, Guid("0000000C-0000-0000-C000-000000000046"), InterfaceType((short) 1)]
|
||||||
|
public interface IStream : ISequentialStream
|
||||||
|
{
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void RemoteRead(IntPtr pv, uint cb, ref uint pcbRead);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void RemoteWrite([In] ref byte pv, [In] uint cb, ref uint pcbWritten);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void RemoteSeek([In] _LARGE_INTEGER dlibMove, [In] uint dwOrigin, IntPtr plibNewPosition);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void SetSize([In] _ULARGE_INTEGER libNewSize);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void RemoteCopyTo([In, MarshalAs(UnmanagedType.Interface)] IStream pstm, [In] _ULARGE_INTEGER cb, out _ULARGE_INTEGER pcbRead, out _ULARGE_INTEGER pcbWritten);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Commit([In] uint grfCommitFlags);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Revert();
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void LockRegion([In] _ULARGE_INTEGER libOffset, [In] _ULARGE_INTEGER cb, [In] uint dwLockType);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void UnlockRegion([In] _ULARGE_INTEGER libOffset, [In] _ULARGE_INTEGER cb, [In] uint dwLockType);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Stat(out tagSTATSTG pstatstg, [In] uint grfStatFlag);
|
||||||
|
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType=MethodCodeType.Runtime)]
|
||||||
|
void Clone([MarshalAs(UnmanagedType.Interface)] out IStream ppstm);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#pragma warning restore 0108
|
13
src/Logic/DetectEncoding/Multilang/_FILETIME.cs
Normal file
13
src/Logic/DetectEncoding/Multilang/_FILETIME.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential, Pack=4)]
|
||||||
|
public struct _FILETIME
|
||||||
|
{
|
||||||
|
public uint dwLowDateTime;
|
||||||
|
public uint dwHighDateTime;
|
||||||
|
}
|
||||||
|
}
|
12
src/Logic/DetectEncoding/Multilang/_LARGE_INTEGER.cs
Normal file
12
src/Logic/DetectEncoding/Multilang/_LARGE_INTEGER.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential, Pack=8)]
|
||||||
|
public struct _LARGE_INTEGER
|
||||||
|
{
|
||||||
|
public long QuadPart;
|
||||||
|
}
|
||||||
|
}
|
13
src/Logic/DetectEncoding/Multilang/_RemotableHandle.cs
Normal file
13
src/Logic/DetectEncoding/Multilang/_RemotableHandle.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential, Pack=4)]
|
||||||
|
public struct _RemotableHandle
|
||||||
|
{
|
||||||
|
public int fContext;
|
||||||
|
public __MIDL_IWinTypes_0009 u;
|
||||||
|
}
|
||||||
|
}
|
12
src/Logic/DetectEncoding/Multilang/_ULARGE_INTEGER.cs
Normal file
12
src/Logic/DetectEncoding/Multilang/_ULARGE_INTEGER.cs
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential, Pack=8)]
|
||||||
|
public struct _ULARGE_INTEGER
|
||||||
|
{
|
||||||
|
public ulong QuadPart;
|
||||||
|
}
|
||||||
|
}
|
15
src/Logic/DetectEncoding/Multilang/__MIDL_IWinTypes_0009.cs
Normal file
15
src/Logic/DetectEncoding/Multilang/__MIDL_IWinTypes_0009.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Explicit, Pack=4)]
|
||||||
|
public struct __MIDL_IWinTypes_0009
|
||||||
|
{
|
||||||
|
[FieldOffset(0)]
|
||||||
|
public int hInproc;
|
||||||
|
[FieldOffset(0)]
|
||||||
|
public int hRemote;
|
||||||
|
}
|
||||||
|
}
|
17
src/Logic/DetectEncoding/Multilang/tagDetectEncodingInfo.cs
Normal file
17
src/Logic/DetectEncoding/Multilang/tagDetectEncodingInfo.cs
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
/// Thanks to jannewe for finding the fix!
|
||||||
|
/// http://www.codeproject.com/KB/recipes/DetectEncoding.aspx?msg=3247475#xx3247475xx
|
||||||
|
[StructLayout(LayoutKind.Sequential)]
|
||||||
|
public struct DetectEncodingInfo
|
||||||
|
{
|
||||||
|
public uint nLangID;
|
||||||
|
public uint nCodePage;
|
||||||
|
public int nDocPercent;
|
||||||
|
public int nConfidence;
|
||||||
|
}
|
||||||
|
}
|
22
src/Logic/DetectEncoding/Multilang/tagMIMECONTF.cs
Normal file
22
src/Logic/DetectEncoding/Multilang/tagMIMECONTF.cs
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
public enum tagMIMECONTF
|
||||||
|
{
|
||||||
|
MIMECONTF_BROWSER = 2,
|
||||||
|
MIMECONTF_EXPORT = 0x400,
|
||||||
|
MIMECONTF_IMPORT = 8,
|
||||||
|
MIMECONTF_MAILNEWS = 1,
|
||||||
|
MIMECONTF_MIME_IE4 = 0x10000000,
|
||||||
|
MIMECONTF_MIME_LATEST = 0x20000000,
|
||||||
|
MIMECONTF_MIME_REGISTRY = 0x40000000,
|
||||||
|
MIMECONTF_MINIMAL = 4,
|
||||||
|
MIMECONTF_PRIVCONVERTER = 0x10000,
|
||||||
|
MIMECONTF_SAVABLE_BROWSER = 0x200,
|
||||||
|
MIMECONTF_SAVABLE_MAILNEWS = 0x100,
|
||||||
|
MIMECONTF_VALID = 0x20000,
|
||||||
|
MIMECONTF_VALID_NLS = 0x40000
|
||||||
|
}
|
||||||
|
}
|
27
src/Logic/DetectEncoding/Multilang/tagMIMECPINFO.cs
Normal file
27
src/Logic/DetectEncoding/Multilang/tagMIMECPINFO.cs
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential, Pack=4)]
|
||||||
|
public struct tagMIMECPINFO
|
||||||
|
{
|
||||||
|
public uint dwFlags;
|
||||||
|
public uint uiCodePage;
|
||||||
|
public uint uiFamilyCodePage;
|
||||||
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=0x40)]
|
||||||
|
public ushort[] wszDescription;
|
||||||
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=50)]
|
||||||
|
public ushort[] wszWebCharset;
|
||||||
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=50)]
|
||||||
|
public ushort[] wszHeaderCharset;
|
||||||
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=50)]
|
||||||
|
public ushort[] wszBodyCharset;
|
||||||
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=0x20)]
|
||||||
|
public ushort[] wszFixedWidthFont;
|
||||||
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=0x20)]
|
||||||
|
public ushort[] wszProportionalFont;
|
||||||
|
public byte bGDICharset;
|
||||||
|
}
|
||||||
|
}
|
15
src/Logic/DetectEncoding/Multilang/tagMIMECSETINFO.cs
Normal file
15
src/Logic/DetectEncoding/Multilang/tagMIMECSETINFO.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential, Pack=4)]
|
||||||
|
public struct tagMIMECSETINFO
|
||||||
|
{
|
||||||
|
public uint uiCodePage;
|
||||||
|
public uint uiInternetEncoding;
|
||||||
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=50)]
|
||||||
|
public ushort[] wszCharset;
|
||||||
|
}
|
||||||
|
}
|
37
src/Logic/DetectEncoding/Multilang/tagMLCPF.cs
Normal file
37
src/Logic/DetectEncoding/Multilang/tagMLCPF.cs
Normal file
@ -0,0 +1,37 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
[Flags]
|
||||||
|
public enum MLCPF
|
||||||
|
{
|
||||||
|
// Not currently supported.
|
||||||
|
MLDETECTF_MAILNEWS = 0x0001,
|
||||||
|
|
||||||
|
// Not currently supported.
|
||||||
|
MLDETECTF_BROWSER = 0x0002,
|
||||||
|
|
||||||
|
// Detection result must be valid for conversion and text rendering.
|
||||||
|
MLDETECTF_VALID = 0x0004,
|
||||||
|
|
||||||
|
// Detection result must be valid for conversion.
|
||||||
|
MLDETECTF_VALID_NLS = 0x0008,
|
||||||
|
|
||||||
|
//Preserve preferred code page order.
|
||||||
|
//This is meaningful only if you have set the puiPreferredCodePages parameter in IMultiLanguage3::DetectOutboundCodePage or IMultiLanguage3::DetectOutboundCodePageInIStream.
|
||||||
|
MLDETECTF_PRESERVE_ORDER = 0x0010,
|
||||||
|
|
||||||
|
// Only return one of the preferred code pages as the detection result.
|
||||||
|
// This is meaningful only if you have set the puiPreferredCodePages parameter in IMultiLanguage3::DetectOutboundCodePage or IMultiLanguage3::DetectOutboundCodePageInIStream.
|
||||||
|
MLDETECTF_PREFERRED_ONLY = 0x0020,
|
||||||
|
|
||||||
|
// Filter out graphical symbols and punctuation.
|
||||||
|
MLDETECTF_FILTER_SPECIALCHAR = 0x0040,
|
||||||
|
|
||||||
|
// Return only Unicode codepages if the euro character is detected.
|
||||||
|
MLDETECTF_EURO_UTF8 = 0x0080
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
26
src/Logic/DetectEncoding/Multilang/tagMLDETECTCP.cs
Normal file
26
src/Logic/DetectEncoding/Multilang/tagMLDETECTCP.cs
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Text;
|
||||||
|
|
||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
public enum MLDETECTCP {
|
||||||
|
// Default setting will be used.
|
||||||
|
MLDETECTCP_NONE = 0,
|
||||||
|
|
||||||
|
// Input stream consists of 7-bit data.
|
||||||
|
MLDETECTCP_7BIT = 1,
|
||||||
|
|
||||||
|
// Input stream consists of 8-bit data.
|
||||||
|
MLDETECTCP_8BIT = 2,
|
||||||
|
|
||||||
|
// Input stream consists of double-byte data.
|
||||||
|
MLDETECTCP_DBCS = 4,
|
||||||
|
|
||||||
|
// Input stream is an HTML page.
|
||||||
|
MLDETECTCP_HTML = 8,
|
||||||
|
|
||||||
|
//Not currently supported.
|
||||||
|
MLDETECTCP_NUMBER = 16
|
||||||
|
}
|
||||||
|
}
|
11
src/Logic/DetectEncoding/Multilang/tagMLSTR_FLAGS.cs
Normal file
11
src/Logic/DetectEncoding/Multilang/tagMLSTR_FLAGS.cs
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
public enum tagMLSTR_FLAGS
|
||||||
|
{
|
||||||
|
MLSTR_READ = 1,
|
||||||
|
MLSTR_WRITE = 2
|
||||||
|
}
|
||||||
|
}
|
16
src/Logic/DetectEncoding/Multilang/tagRFC1766INFO.cs
Normal file
16
src/Logic/DetectEncoding/Multilang/tagRFC1766INFO.cs
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential, Pack=4)]
|
||||||
|
public struct tagRFC1766INFO
|
||||||
|
{
|
||||||
|
public uint lcid;
|
||||||
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=6)]
|
||||||
|
public ushort[] wszRfc1766;
|
||||||
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=0x20)]
|
||||||
|
public ushort[] wszLocaleName;
|
||||||
|
}
|
||||||
|
}
|
14
src/Logic/DetectEncoding/Multilang/tagSCRIPFONTINFO.cs
Normal file
14
src/Logic/DetectEncoding/Multilang/tagSCRIPFONTINFO.cs
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential, Pack=8)]
|
||||||
|
public struct tagSCRIPFONTINFO
|
||||||
|
{
|
||||||
|
public long scripts;
|
||||||
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=0x20)]
|
||||||
|
public ushort[] wszFont;
|
||||||
|
}
|
||||||
|
}
|
19
src/Logic/DetectEncoding/Multilang/tagSCRIPTINFO.cs
Normal file
19
src/Logic/DetectEncoding/Multilang/tagSCRIPTINFO.cs
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential, Pack=4)]
|
||||||
|
public struct tagSCRIPTINFO
|
||||||
|
{
|
||||||
|
public byte ScriptId;
|
||||||
|
public uint uiCodePage;
|
||||||
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=0x30)]
|
||||||
|
public ushort[] wszDescription;
|
||||||
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=0x20)]
|
||||||
|
public ushort[] wszFixedWidthFont;
|
||||||
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst=0x20)]
|
||||||
|
public ushort[] wszProportionalFont;
|
||||||
|
}
|
||||||
|
}
|
23
src/Logic/DetectEncoding/Multilang/tagSTATSTG.cs
Normal file
23
src/Logic/DetectEncoding/Multilang/tagSTATSTG.cs
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential, Pack=8)]
|
||||||
|
public struct tagSTATSTG
|
||||||
|
{
|
||||||
|
[MarshalAs(UnmanagedType.LPWStr)]
|
||||||
|
public string pwcsName;
|
||||||
|
public uint type;
|
||||||
|
public _ULARGE_INTEGER cbSize;
|
||||||
|
public _FILETIME mtime;
|
||||||
|
public _FILETIME ctime;
|
||||||
|
public _FILETIME atime;
|
||||||
|
public uint grfMode;
|
||||||
|
public uint grfLocksSupported;
|
||||||
|
public Guid clsid;
|
||||||
|
public uint grfStateBits;
|
||||||
|
public uint reserved;
|
||||||
|
}
|
||||||
|
}
|
13
src/Logic/DetectEncoding/Multilang/tagUNICODERANGE.cs
Normal file
13
src/Logic/DetectEncoding/Multilang/tagUNICODERANGE.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
namespace MultiLanguage
|
||||||
|
{
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
using System.Security;
|
||||||
|
|
||||||
|
[StructLayout(LayoutKind.Sequential, Pack=2)]
|
||||||
|
public struct tagUNICODERANGE
|
||||||
|
{
|
||||||
|
public ushort wcFrom;
|
||||||
|
public ushort wcTo;
|
||||||
|
}
|
||||||
|
}
|
845
src/SubtitleEdit.csproj
Normal file
845
src/SubtitleEdit.csproj
Normal file
@ -0,0 +1,845 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProductVersion>9.0.21022</ProductVersion>
|
||||||
|
<SchemaVersion>2.0</SchemaVersion>
|
||||||
|
<ProjectGuid>{511A5B59-1C35-4719-8536-23B19AF9B21A}</ProjectGuid>
|
||||||
|
<OutputType>WinExe</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>Nikse.SubtitleEdit</RootNamespace>
|
||||||
|
<AssemblyName>SubtitleEdit</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v2.0</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<IsWebBootstrapper>false</IsWebBootstrapper>
|
||||||
|
<ApplicationIcon>SE.ico</ApplicationIcon>
|
||||||
|
<ManifestCertificateThumbprint>DCCE7922B5E425ADB221E06DC2FB405664CF8F63</ManifestCertificateThumbprint>
|
||||||
|
<ManifestKeyFile>SubtitleEdit_TemporaryKey.pfx</ManifestKeyFile>
|
||||||
|
<GenerateManifests>true</GenerateManifests>
|
||||||
|
<SignManifests>false</SignManifests>
|
||||||
|
<ApplicationRevision>3</ApplicationRevision>
|
||||||
|
<ApplicationVersion>2.0.1.%2a</ApplicationVersion>
|
||||||
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
|
<BootstrapperEnabled>true</BootstrapperEnabled>
|
||||||
|
<SccProjectName>Svn</SccProjectName>
|
||||||
|
<SccLocalPath>Svn</SccLocalPath>
|
||||||
|
<SccAuxPath>Svn</SccAuxPath>
|
||||||
|
<SccProvider>SubversionScc</SccProvider>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>TRACE;DEBUG</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
|
||||||
|
<PlatformTarget>x86</PlatformTarget>
|
||||||
|
<UseVSHostingProcess>true</UseVSHostingProcess>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<SignAssembly>false</SignAssembly>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup>
|
||||||
|
<AssemblyOriginatorKeyFile>
|
||||||
|
</AssemblyOriginatorKeyFile>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="Interop.QuartzTypeLib, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<EmbedInteropTypes>True</EmbedInteropTypes>
|
||||||
|
<HintPath>DLLs\Interop.QuartzTypeLib.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="NHunspell, Version=0.6.3.0, Culture=neutral, processorArchitecture=MSIL" />
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.EnterpriseServices" />
|
||||||
|
<Reference Include="System.Web" />
|
||||||
|
<Reference Include="System.Web.Services" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="tessnet2_32, Version=2.0.4.0, Culture=neutral, PublicKeyToken=1550524b5ba07e29, processorArchitecture=x86">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>DLLs\tessnet2_32.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Controls\VideoPlayerContainer.cs">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Controls\TimeUpDown.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Controls\TimeUpDown.Designer.cs">
|
||||||
|
<DependentUpon>TimeUpDown.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Controls\WaveForm.cs">
|
||||||
|
<SubType>UserControl</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Controls\WaveForm.Designer.cs">
|
||||||
|
<DependentUpon>WaveForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\About.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\About.Designer.cs">
|
||||||
|
<DependentUpon>About.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Controls\SubtitleListView.cs">
|
||||||
|
<SubType>Component</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\AddToNames.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\AddToNames.Designer.cs">
|
||||||
|
<DependentUpon>AddToNames.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\AddWareForm.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\AddWareForm.Designer.cs">
|
||||||
|
<DependentUpon>AddWareForm.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\AutoBreakUnbreakLines.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\AutoBreakUnbreakLines.Designer.cs">
|
||||||
|
<DependentUpon>AutoBreakUnbreakLines.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ChangeCasing.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ChangeCasing.Designer.cs">
|
||||||
|
<DependentUpon>ChangeCasing.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ChangeCasingNames.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ChangeCasingNames.Designer.cs">
|
||||||
|
<DependentUpon>ChangeCasingNames.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ChangeFrameRate.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ChangeFrameRate.Designer.cs">
|
||||||
|
<DependentUpon>ChangeFrameRate.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ChooseLanguage.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ChooseLanguage.Designer.cs">
|
||||||
|
<DependentUpon>ChooseLanguage.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ChooseEncoding.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ChooseEncoding.Designer.cs">
|
||||||
|
<DependentUpon>ChooseEncoding.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\Compare.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\Compare.Designer.cs">
|
||||||
|
<DependentUpon>Compare.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\AdjustDisplayDuration.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\AdjustDisplayDuration.Designer.cs">
|
||||||
|
<DependentUpon>AdjustDisplayDuration.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\EffectKaraoke.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\EffectKaraoke.Designer.cs">
|
||||||
|
<DependentUpon>EffectKaraoke.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\EffectTypewriter.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\EffectTypewriter.Designer.cs">
|
||||||
|
<DependentUpon>EffectTypewriter.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\FindDialog.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\FindDialog.Designer.cs">
|
||||||
|
<DependentUpon>FindDialog.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\FindSubtitleLine.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\FindSubtitleLine.Designer.cs">
|
||||||
|
<DependentUpon>FindSubtitleLine.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\FixCommonErrors.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\FixCommonErrors.Designer.cs">
|
||||||
|
<DependentUpon>FixCommonErrors.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\DvdSubRip.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\DvdSubRip.Designer.cs">
|
||||||
|
<DependentUpon>DvdSubRip.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\DvdSubRipChooseLanguage.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\DvdSubRipChooseLanguage.Designer.cs">
|
||||||
|
<DependentUpon>DvdSubRipChooseLanguage.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\GetDictionaries.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\GetDictionaries.Designer.cs">
|
||||||
|
<DependentUpon>GetDictionaries.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\SetSyncPoint.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\SetSyncPoint.Designer.cs">
|
||||||
|
<DependentUpon>SetSyncPoint.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\GoogleTranslate.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\GoogleTranslate.Designer.cs">
|
||||||
|
<DependentUpon>GoogleTranslate.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\GoToLine.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\GoToLine.Designer.cs">
|
||||||
|
<DependentUpon>GoToLine.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ImportText.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ImportText.Designer.cs">
|
||||||
|
<DependentUpon>ImportText.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\Main.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\Main.Designer.cs">
|
||||||
|
<DependentUpon>Main.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\MatroskaSubtitleChooser.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\MatroskaSubtitleChooser.Designer.cs">
|
||||||
|
<DependentUpon>MatroskaSubtitleChooser.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\MergeShortLines.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\MergeShortLines.Designer.cs">
|
||||||
|
<DependentUpon>MergeShortLines.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\MultipleReplace.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\MultipleReplace.Designer.cs">
|
||||||
|
<DependentUpon>MultipleReplace.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\OCRSpellCheck.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\OCRSpellCheck.Designer.cs">
|
||||||
|
<DependentUpon>OCRSpellCheck.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\RemoveTextFromHearImpaired.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\RemoveTextFromHearImpaired.Designer.cs">
|
||||||
|
<DependentUpon>RemoveTextFromHearImpaired.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ReplaceDialog.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ReplaceDialog.Designer.cs">
|
||||||
|
<DependentUpon>ReplaceDialog.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\SetMinimumDisplayTimeBetweenParagraphs.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\SetMinimumDisplayTimeBetweenParagraphs.Designer.cs">
|
||||||
|
<DependentUpon>SetMinimumDisplayTimeBetweenParagraphs.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\Settings.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\Settings.Designer.cs">
|
||||||
|
<DependentUpon>Settings.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ShowEarlierLater.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ShowEarlierLater.Designer.cs">
|
||||||
|
<DependentUpon>ShowEarlierLater.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ShowHistory.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\ShowHistory.Designer.cs">
|
||||||
|
<DependentUpon>ShowHistory.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\SpellCheck.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\SpellCheck.Designer.cs">
|
||||||
|
<DependentUpon>SpellCheck.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\SplitSubtitle.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\SplitSubtitle.Designer.cs">
|
||||||
|
<DependentUpon>SplitSubtitle.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\StartNumberingFrom.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\StartNumberingFrom.Designer.cs">
|
||||||
|
<DependentUpon>StartNumberingFrom.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\UnknownSubtitle.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\UnknownSubtitle.Designer.cs">
|
||||||
|
<DependentUpon>UnknownSubtitle.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\VideoError.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\VideoError.Designer.cs">
|
||||||
|
<DependentUpon>VideoError.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\VisualSync.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\VisualSync.Designer.cs">
|
||||||
|
<DependentUpon>VisualSync.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\VobSubEditCharacters.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\VobSubEditCharacters.Designer.cs">
|
||||||
|
<DependentUpon>VobSubEditCharacters.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\VobSubOcr.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\VobSubOcr.Designer.cs">
|
||||||
|
<DependentUpon>VobSubOcr.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\VobSubOcrCharacter.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\VobSubOcrCharacter.Designer.cs">
|
||||||
|
<DependentUpon>VobSubOcrCharacter.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\VobSubOcrNewFolder.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\VobSubOcrNewFolder.Designer.cs">
|
||||||
|
<DependentUpon>VobSubOcrNewFolder.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Logic\DetectEncoding\EncodingTools.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\CMLangConvertCharset.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\CMLangConvertCharsetClass.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\CMLangString.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\CMLangStringClass.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\CMultiLanguage.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\CMultiLanguageClass.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IEnumCodePage.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IEnumRfc1766.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IEnumScript.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IMLangCodePages.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IMLangConvertCharset.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IMLangFontLink.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IMLangFontLink2.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IMLangLineBreakConsole.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IMLangString.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IMLangStringAStr.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IMLangStringBufA.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IMLangStringBufW.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IMLangStringWStr.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IMultiLanguage.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IMultiLanguage2.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IMultiLanguage3.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\ISequentialStream.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\IStream.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\tagDetectEncodingInfo.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\tagMIMECONTF.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\tagMIMECPINFO.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\tagMIMECSETINFO.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\tagMLCPF.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\tagMLDETECTCP.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\tagMLSTR_FLAGS.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\tagRFC1766INFO.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\tagSCRIPFONTINFO.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\tagSCRIPTINFO.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\tagSTATSTG.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\tagUNICODERANGE.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\_FILETIME.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\_LARGE_INTEGER.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\_RemotableHandle.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\_ULARGE_INTEGER.cs" />
|
||||||
|
<Compile Include="Logic\DetectEncoding\Multilang\__MIDL_IWinTypes_0009.cs" />
|
||||||
|
<Compile Include="Logic\FastBitmap.cs" />
|
||||||
|
<Compile Include="Logic\IfoParser.cs" />
|
||||||
|
<Compile Include="Logic\Language.cs" />
|
||||||
|
<Compile Include="Logic\OCR\ModiLanguage.cs" />
|
||||||
|
<Compile Include="Logic\OCR\OcrAlphabet.cs" />
|
||||||
|
<Compile Include="Logic\OCR\OcrCharacter.cs" />
|
||||||
|
<Compile Include="Logic\OCR\OcrFixEngine.cs" />
|
||||||
|
<Compile Include="Logic\OCR\OcrImage.cs" />
|
||||||
|
<Compile Include="Logic\OCR\SpellcheckOcrTextResult.cs" />
|
||||||
|
<Compile Include="Logic\PositionAndSize.cs" />
|
||||||
|
<Compile Include="Logic\PositionsAndSizes.cs" />
|
||||||
|
<Compile Include="Logic\Settings.cs" />
|
||||||
|
<Compile Include="Logic\Enums\SubtitleSortCriteria.cs" />
|
||||||
|
<Compile Include="Logic\ImageSplitter.cs" />
|
||||||
|
<Compile Include="Logic\ImageSplitterItem.cs" />
|
||||||
|
<Compile Include="Logic\Configuration.cs" />
|
||||||
|
<Compile Include="Logic\Enums\FindType.cs" />
|
||||||
|
<Compile Include="Logic\Enums\SpellCheckAction.cs" />
|
||||||
|
<Compile Include="Logic\FindReplaceDialogHelper.cs" />
|
||||||
|
<Compile Include="Logic\HistoryItem.cs" />
|
||||||
|
<Compile Include="Logic\StripableText.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\SonyDVDArchitectWithLineNumbers.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\Ebu.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\SonyDVDArchitect.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\UnknownSubtitle5.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\OpenDvt.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\YouTubeSbv.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\SubViewer10.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\TimedText.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\TimeXml.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\Csv.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\DvdStudioPro.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\DvdSubtitle.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\Idx.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\MicroDvd.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\MPlayer2.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\Sami.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\SubStationAlpha.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\SubtitleFormat.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\SubRip.cs" />
|
||||||
|
<Compile Include="Logic\Paragraph.cs" />
|
||||||
|
<Compile Include="Logic\LanguageStructure.cs" />
|
||||||
|
<Compile Include="Logic\Subtitle.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\SubViewer20.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\TMPlayer.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\UnknownSubtitle1.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\UnknownSubtitle2.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\UnknownSubtitle3.cs" />
|
||||||
|
<Compile Include="Logic\SubtitleFormats\UnknownSubtitle4.cs" />
|
||||||
|
<Compile Include="Logic\TimeCode.cs" />
|
||||||
|
<Compile Include="Logic\Utilities.cs" />
|
||||||
|
<Compile Include="Logic\VideoFormats\AviRiffData.cs" />
|
||||||
|
<Compile Include="Logic\VideoFormats\Matroska.cs" />
|
||||||
|
<Compile Include="Logic\VideoFormats\RiffDecodeHeader.cs" />
|
||||||
|
<Compile Include="Logic\VideoFormats\RiffParser.cs" />
|
||||||
|
<Compile Include="Logic\VideoFormats\VideoInfo.cs" />
|
||||||
|
<Compile Include="Logic\VideoPlayers\LibVlcDynamic.cs" />
|
||||||
|
<Compile Include="Logic\VideoPlayers\ManagedDirectXPlayer.cs" />
|
||||||
|
<Compile Include="Logic\VideoPlayers\MPlayer.cs" />
|
||||||
|
<Compile Include="Logic\VideoPlayers\QuartsPlayer.cs" />
|
||||||
|
<Compile Include="Logic\VideoPlayers\VideoPlayer.cs" />
|
||||||
|
<Compile Include="Logic\VideoPlayers\WmpPlayer.cs" />
|
||||||
|
<Compile Include="Logic\VobSub\Helper.cs" />
|
||||||
|
<Compile Include="Logic\VobSub\Idx.cs" />
|
||||||
|
<Compile Include="Logic\VobSub\Mpeg2Header.cs" />
|
||||||
|
<Compile Include="Logic\VobSub\PacketizedElementaryStream.cs" />
|
||||||
|
<Compile Include="Logic\VobSub\SubPicture.cs" />
|
||||||
|
<Compile Include="Logic\VobSub\VobSubParser.cs" />
|
||||||
|
<Compile Include="Logic\VobSub\VobSubMergedPack.cs" />
|
||||||
|
<Compile Include="Logic\VobSub\VobSubPack.cs" />
|
||||||
|
<Compile Include="Logic\Wave.cs" />
|
||||||
|
<Compile Include="Logic\WavePeak.cs" />
|
||||||
|
<Compile Include="Logic\ZipExtractor.cs" />
|
||||||
|
<Compile Include="Program.cs" />
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="Forms\SyncPointsSync.cs">
|
||||||
|
<SubType>Form</SubType>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Forms\SyncPointsSync.Designer.cs">
|
||||||
|
<DependentUpon>SyncPointsSync.cs</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Web References\MicrosoftTranslationService\Reference.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
<DependentUpon>Reference.map</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<EmbeddedResource Include="Controls\TimeUpDown.resx">
|
||||||
|
<DependentUpon>TimeUpDown.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Controls\WaveForm.resx">
|
||||||
|
<DependentUpon>WaveForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\About.resx">
|
||||||
|
<DependentUpon>About.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\AddToNames.resx">
|
||||||
|
<DependentUpon>AddToNames.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\AddWareForm.resx">
|
||||||
|
<DependentUpon>AddWareForm.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\ChangeCasing.resx">
|
||||||
|
<DependentUpon>ChangeCasing.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\ChangeFrameRate.resx">
|
||||||
|
<DependentUpon>ChangeFrameRate.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\ChooseEncoding.resx">
|
||||||
|
<DependentUpon>ChooseEncoding.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\AdjustDisplayDuration.resx">
|
||||||
|
<DependentUpon>AdjustDisplayDuration.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\EffectKaraoke.resx">
|
||||||
|
<DependentUpon>EffectKaraoke.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\EffectTypewriter.resx">
|
||||||
|
<DependentUpon>EffectTypewriter.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\FindDialog.resx">
|
||||||
|
<DependentUpon>FindDialog.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\FindSubtitleLine.resx">
|
||||||
|
<DependentUpon>FindSubtitleLine.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\FixCommonErrors.resx">
|
||||||
|
<DependentUpon>FixCommonErrors.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\DvdSubRip.resx">
|
||||||
|
<DependentUpon>DvdSubRip.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\DvdSubRipChooseLanguage.resx">
|
||||||
|
<DependentUpon>DvdSubRipChooseLanguage.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\GetDictionaries.resx">
|
||||||
|
<DependentUpon>GetDictionaries.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\SetSyncPoint.resx">
|
||||||
|
<DependentUpon>SetSyncPoint.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\GoogleTranslate.resx">
|
||||||
|
<DependentUpon>GoogleTranslate.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\GoToLine.resx">
|
||||||
|
<DependentUpon>GoToLine.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\ImportText.resx">
|
||||||
|
<DependentUpon>ImportText.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\MatroskaSubtitleChooser.resx">
|
||||||
|
<DependentUpon>MatroskaSubtitleChooser.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\MergeShortLines.resx">
|
||||||
|
<DependentUpon>MergeShortLines.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\RemoveTextFromHearImpaired.resx">
|
||||||
|
<DependentUpon>RemoveTextFromHearImpaired.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\ReplaceDialog.resx">
|
||||||
|
<DependentUpon>ReplaceDialog.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\SetMinimumDisplayTimeBetweenParagraphs.resx">
|
||||||
|
<DependentUpon>SetMinimumDisplayTimeBetweenParagraphs.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\Settings.resx">
|
||||||
|
<DependentUpon>Settings.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\ShowHistory.resx">
|
||||||
|
<DependentUpon>ShowHistory.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\SpellCheck.resx">
|
||||||
|
<DependentUpon>SpellCheck.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\SplitSubtitle.resx">
|
||||||
|
<DependentUpon>SplitSubtitle.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\StartNumberingFrom.resx">
|
||||||
|
<DependentUpon>StartNumberingFrom.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\UnknownSubtitle.resx">
|
||||||
|
<DependentUpon>UnknownSubtitle.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\VisualSync.resx">
|
||||||
|
<DependentUpon>VisualSync.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\VobSubOcr.resx">
|
||||||
|
<DependentUpon>VobSubOcr.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\VobSubOcrCharacter.resx">
|
||||||
|
<DependentUpon>VobSubOcrCharacter.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\VobSubOcrNewFolder.resx">
|
||||||
|
<DependentUpon>VobSubOcrNewFolder.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Properties\Resources.resx">
|
||||||
|
<Generator>ResXFileCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\Main.resx">
|
||||||
|
<DependentUpon>Main.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<Compile Include="Properties\Resources.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Resources.resx</DependentUpon>
|
||||||
|
<DesignTime>True</DesignTime>
|
||||||
|
</Compile>
|
||||||
|
<EmbeddedResource Include="Forms\SyncPointsSync.resx">
|
||||||
|
<DependentUpon>SyncPointsSync.cs</DependentUpon>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<None Include="app.config" />
|
||||||
|
<None Include="Properties\Settings.settings">
|
||||||
|
<Generator>SettingsSingleFileGenerator</Generator>
|
||||||
|
<LastGenOutput>Settings.Designer.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<Compile Include="Properties\Settings.Designer.cs">
|
||||||
|
<AutoGen>True</AutoGen>
|
||||||
|
<DependentUpon>Settings.settings</DependentUpon>
|
||||||
|
<DesignTimeSharedInput>True</DesignTimeSharedInput>
|
||||||
|
</Compile>
|
||||||
|
<None Include="Resources\da-DK.xml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
|
<EmbeddedResource Include="Resources\fr-FR.xml.zip" />
|
||||||
|
<EmbeddedResource Include="Resources\OpenOfficeDictionaries.xml.zip" />
|
||||||
|
<None Include="Resources\pl-PL.xml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
|
<EmbeddedResource Include="Resources\da-DK.xml.zip" />
|
||||||
|
<EmbeddedResource Include="Resources\es-ES.xml.zip" />
|
||||||
|
<EmbeddedResource Include="Resources\pl-PL.xml.zip" />
|
||||||
|
<EmbeddedResource Include="Resources\ro-RO.xml.zip" />
|
||||||
|
<EmbeddedResource Include="Resources\sr-Cyrl-CS.xml.zip" />
|
||||||
|
<EmbeddedResource Include="Resources\sr-Latn-CS.xml.zip" />
|
||||||
|
<EmbeddedResource Include="Resources\sv-SE.xml.zip" />
|
||||||
|
<None Include="Web References\MicrosoftTranslationService\GetTranslationsResponse.datasource">
|
||||||
|
<DependentUpon>Reference.map</DependentUpon>
|
||||||
|
</None>
|
||||||
|
<None Include="Web References\MicrosoftTranslationService\Reference.map">
|
||||||
|
<Generator>MSDiscoCodeGenerator</Generator>
|
||||||
|
<LastGenOutput>Reference.cs</LastGenOutput>
|
||||||
|
</None>
|
||||||
|
<None Include="Web References\MicrosoftTranslationService\soap.wsdl" />
|
||||||
|
<None Include="Web References\MicrosoftTranslationService\soap.xsd">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
|
<None Include="Web References\MicrosoftTranslationService\soap0.xsd">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
|
<None Include="Web References\MicrosoftTranslationService\soap1.xsd">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
|
<None Include="Web References\MicrosoftTranslationService\soap2.xsd">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</None>
|
||||||
|
<None Include="Web References\MicrosoftTranslationService\SoapService.wsdl" />
|
||||||
|
<None Include="Web References\MicrosoftTranslationService\TranslateArrayResponse.datasource">
|
||||||
|
<DependentUpon>Reference.map</DependentUpon>
|
||||||
|
</None>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="DLLs\Interop.QuartzTypeLib.dll" />
|
||||||
|
<None Include="DLLs\NHunspell.dll" />
|
||||||
|
<None Include="DLLs\AxInterop.WMPLib.dll" />
|
||||||
|
<None Include="DLLs\Interop.WMPLib.dll" />
|
||||||
|
<None Include="DLLs\tessnet2_32.dll" />
|
||||||
|
<None Include="DLLs\tessnet2_64.dll" />
|
||||||
|
<Content Include="Hunspellx64.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<Content Include="Hunspellx86.dll">
|
||||||
|
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
|
||||||
|
</Content>
|
||||||
|
<EmbeddedResource Include="Controls\VideoPlayerContainer.resx">
|
||||||
|
<DependentUpon>VideoPlayerContainer.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\AutoBreakUnbreakLines.resx">
|
||||||
|
<DependentUpon>AutoBreakUnbreakLines.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\ChangeCasingNames.resx">
|
||||||
|
<DependentUpon>ChangeCasingNames.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\ChooseLanguage.resx">
|
||||||
|
<DependentUpon>ChooseLanguage.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\Compare.resx">
|
||||||
|
<DependentUpon>Compare.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\MultipleReplace.resx">
|
||||||
|
<DependentUpon>MultipleReplace.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\OCRSpellCheck.resx">
|
||||||
|
<DependentUpon>OCRSpellCheck.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\ShowEarlierLater.resx">
|
||||||
|
<DependentUpon>ShowEarlierLater.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\VideoError.resx">
|
||||||
|
<DependentUpon>VideoError.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<EmbeddedResource Include="Forms\VobSubEditCharacters.resx">
|
||||||
|
<DependentUpon>VobSubEditCharacters.cs</DependentUpon>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</EmbeddedResource>
|
||||||
|
<None Include="Resources\it-IT.xml" />
|
||||||
|
<None Include="Resources\es-ES.xml" />
|
||||||
|
<EmbeddedResource Include="Resources\it-IT.xml.zip" />
|
||||||
|
<None Include="Resources\nl-NL.xml" />
|
||||||
|
<None Include="Icons\Donate.gif" />
|
||||||
|
<Content Include="Resources\OpenOfficeDictionaries.xml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</Content>
|
||||||
|
<Content Include="Resources\fr-FR.xml" />
|
||||||
|
<Content Include="Resources\ro-RO.xml" />
|
||||||
|
<Content Include="Resources\sr-Cyrl-CS.xml" />
|
||||||
|
<Content Include="Resources\sr-Latn-CS.xml" />
|
||||||
|
<Content Include="Resources\sv-SE.xml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</Content>
|
||||||
|
<Content Include="SE.ico" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Client.3.5">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1 Client Profile</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.2.0">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 2.0 %28x86%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.0">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.0 %28x86%29</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Net.Framework.3.5.SP1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>.NET Framework 3.5 SP1</ProductName>
|
||||||
|
<Install>false</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Visual.C++.10.0.x86">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Visual C++ 2010 Runtime Libraries %28x86%29</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
<BootstrapperPackage Include="Microsoft.Windows.Installer.3.1">
|
||||||
|
<Visible>False</Visible>
|
||||||
|
<ProductName>Windows Installer 3.1</ProductName>
|
||||||
|
<Install>true</Install>
|
||||||
|
</BootstrapperPackage>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<COMReference Include="AxWMPLib">
|
||||||
|
<Guid>{6BF52A50-394A-11D3-B153-00C04F79FAA6}</Guid>
|
||||||
|
<VersionMajor>1</VersionMajor>
|
||||||
|
<VersionMinor>0</VersionMinor>
|
||||||
|
<Lcid>0</Lcid>
|
||||||
|
<WrapperTool>aximp</WrapperTool>
|
||||||
|
<Isolated>False</Isolated>
|
||||||
|
</COMReference>
|
||||||
|
<COMReference Include="WMPLib">
|
||||||
|
<Guid>{6BF52A50-394A-11D3-B153-00C04F79FAA6}</Guid>
|
||||||
|
<VersionMajor>1</VersionMajor>
|
||||||
|
<VersionMinor>0</VersionMinor>
|
||||||
|
<Lcid>0</Lcid>
|
||||||
|
<WrapperTool>tlbimp</WrapperTool>
|
||||||
|
<Isolated>False</Isolated>
|
||||||
|
</COMReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<WebReferences Include="Web References\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<WebReferenceUrl Include="http://api.microsofttranslator.com/V2/Soap.svc">
|
||||||
|
<UrlBehavior>Dynamic</UrlBehavior>
|
||||||
|
<RelPath>Web References\MicrosoftTranslationService\</RelPath>
|
||||||
|
<UpdateFromURL>http://api.microsofttranslator.com/V2/Soap.svc</UpdateFromURL>
|
||||||
|
<ServiceLocationURL>
|
||||||
|
</ServiceLocationURL>
|
||||||
|
<CachedDynamicPropName>
|
||||||
|
</CachedDynamicPropName>
|
||||||
|
<CachedAppSettingsObjectName>Settings</CachedAppSettingsObjectName>
|
||||||
|
<CachedSettingsPropName>SubtitleEdit_MicrosoftTranslationService_SoapService</CachedSettingsPropName>
|
||||||
|
</WebReferenceUrl>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<PreBuildEvent>
|
||||||
|
</PreBuildEvent>
|
||||||
|
</PropertyGroup>
|
||||||
|
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
|
||||||
|
Other similar extension points exist, see Microsoft.Common.targets.
|
||||||
|
<Target Name="BeforeBuild">
|
||||||
|
</Target>
|
||||||
|
<Target Name="AfterBuild">
|
||||||
|
</Target>
|
||||||
|
-->
|
||||||
|
</Project>
|
Loading…
Reference in New Issue
Block a user