feat: 初始化 fl-knowledge 仓库 - 防雷项目源码

This commit is contained in:
chengkai3
2026-06-06 08:03:01 +08:00
commit 3726b404c4
99 changed files with 44754 additions and 0 deletions
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[CoClass(typeof(object))]
[Guid("00020970-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface Application : _Application, ApplicationEvents4_Event
{
}
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[InterfaceType(2)]
[Guid("00020A01-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface ApplicationEvents4
{
}
@@ -0,0 +1,12 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[ComEventInterface(typeof(ApplicationEvents4), typeof(ApplicationEvents4))]
[TypeIdentifier("00020905-0000-0000-c000-000000000046", "Microsoft.Office.Interop.Word.ApplicationEvents4_Event")]
public interface ApplicationEvents4_Event
{
}
+40
View File
@@ -0,0 +1,40 @@
using System.Collections;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[DefaultMember("Item")]
[Guid("0002093C-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface Borders : IEnumerable
{
void _VtblGap1_11();
[DispId(6)]
WdLineStyle InsideLineStyle
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(6)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(6)]
[param: In]
set;
}
[DispId(7)]
WdLineStyle OutsideLineStyle
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(7)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(7)]
[param: In]
set;
}
}
+22
View File
@@ -0,0 +1,22 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[DefaultMember("Range")]
[Guid("0002094E-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface Cell
{
[DispId(0)]
Range Range
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(0)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
}
+28
View File
@@ -0,0 +1,28 @@
using System.Collections;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[DefaultMember("Item")]
[Guid("0002094A-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface Cells : IEnumerable
{
void _VtblGap1_11();
[DispId(1104)]
WdCellVerticalAlignment VerticalAlignment
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(1104)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(1104)]
[param: In]
set;
}
}
+25
View File
@@ -0,0 +1,25 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("0002094F-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface Column
{
void _VtblGap1_3();
[DispId(3)]
float Width
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(3)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(3)]
[param: In]
set;
}
}
+23
View File
@@ -0,0 +1,23 @@
using System.Collections;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("0002094B-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface Columns : IEnumerable
{
void _VtblGap1_12();
[DispId(0)]
Column this[[In] int Index]
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(0)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
}
+13
View File
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("0002096B-0000-0000-C000-000000000046")]
[CoClass(typeof(object))]
[TypeIdentifier]
public interface Document : _Document, DocumentEvents2_Event
{
}
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[InterfaceType(2)]
[Guid("00020A02-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface DocumentEvents2
{
}
@@ -0,0 +1,12 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[ComEventInterface(typeof(DocumentEvents2), typeof(DocumentEvents2))]
[TypeIdentifier("00020905-0000-0000-c000-000000000046", "Microsoft.Office.Interop.Word.DocumentEvents2_Event")]
public interface DocumentEvents2_Event
{
}
@@ -0,0 +1,21 @@
using System.Collections;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[DefaultMember("Item")]
[Guid("0002096C-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface Documents : IEnumerable
{
void _VtblGap1_10();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(14)]
[return: MarshalAs(UnmanagedType.Interface)]
Document Add([Optional][In][MarshalAs(UnmanagedType.Struct)] ref object Template, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object NewTemplate, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object DocumentType, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object Visible);
}
+13
View File
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("00020952-0000-0000-C000-000000000046")]
[CoClass(typeof(object))]
[TypeIdentifier]
public interface Font : _Font
{
}
@@ -0,0 +1,12 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("000209A8-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface InlineShape
{
}
@@ -0,0 +1,21 @@
using System.Collections;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[DefaultMember("Item")]
[Guid("000209A9-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface InlineShapes : IEnumerable
{
void _VtblGap1_6();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(100)]
[return: MarshalAs(UnmanagedType.Interface)]
InlineShape AddPicture([In][MarshalAs(UnmanagedType.BStr)] string FileName, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object LinkToFile, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object SaveWithDocument, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object Range);
}
+25
View File
@@ -0,0 +1,25 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("000209B7-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface Options
{
void _VtblGap1_76();
[DispId(66)]
bool Overtype
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(66)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(66)]
[param: In]
set;
}
}
@@ -0,0 +1,36 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[DefaultMember("Range")]
[Guid("00020957-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface Paragraph
{
[DispId(0)]
Range Range
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(0)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
void _VtblGap1_12();
[DispId(101)]
WdParagraphAlignment Alignment
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(101)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(101)]
[param: In]
set;
}
}
@@ -0,0 +1,13 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("00020953-0000-0000-C000-000000000046")]
[CoClass(typeof(object))]
[TypeIdentifier]
public interface ParagraphFormat : _ParagraphFormat
{
}
@@ -0,0 +1,23 @@
using System.Collections;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("00020958-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface Paragraphs : IEnumerable
{
void _VtblGap1_64();
[DispId(0)]
Paragraph this[[In] int Index]
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(0)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
}
+128
View File
@@ -0,0 +1,128 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("0002095E-0000-0000-C000-000000000046")]
[DefaultMember("Text")]
[TypeIdentifier]
public interface Range
{
[DispId(0)]
string Text
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(0)]
[return: MarshalAs(UnmanagedType.BStr)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(0)]
[param: In]
[param: MarshalAs(UnmanagedType.BStr)]
set;
}
void _VtblGap1_6();
[DispId(5)]
Font Font
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(5)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(5)]
[param: In]
[param: MarshalAs(UnmanagedType.Interface)]
set;
}
void _VtblGap2_2();
[DispId(50)]
Tables Tables
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(50)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
void _VtblGap3_6();
[DispId(57)]
Cells Cells
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(57)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
void _VtblGap4_1();
[DispId(59)]
Paragraphs Paragraphs
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(59)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
void _VtblGap5_8();
[DispId(1102)]
ParagraphFormat ParagraphFormat
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(1102)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(1102)]
[param: In]
[param: MarshalAs(UnmanagedType.Interface)]
set;
}
void _VtblGap6_17();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[SpecialName]
[DispId(151)]
void set_Style([In][MarshalAs(UnmanagedType.Struct)] ref object prop);
void _VtblGap7_14();
[DispId(303)]
Rows Rows
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(303)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
void _VtblGap8_23();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(65535)]
void Select();
void _VtblGap9_20();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(122)]
void InsertBreak([Optional][In][MarshalAs(UnmanagedType.Struct)] ref object Type);
void _VtblGap10_7();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(161)]
void InsertParagraphAfter();
}
+28
View File
@@ -0,0 +1,28 @@
using System.Collections;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[DefaultMember("Item")]
[Guid("0002094C-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface Rows : IEnumerable
{
void _VtblGap1_4();
[DispId(4)]
WdRowAlignment Alignment
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(4)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(4)]
[param: In]
set;
}
}
+22
View File
@@ -0,0 +1,22 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("00020959-0000-0000-C000-000000000046")]
[DefaultMember("Range")]
[TypeIdentifier]
public interface Section
{
[DispId(0)]
Range Range
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(0)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
}
+23
View File
@@ -0,0 +1,23 @@
using System.Collections;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("0002095A-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface Sections : IEnumerable
{
void _VtblGap1_9();
[DispId(0)]
Section this[[In] int Index]
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(0)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
}
@@ -0,0 +1,50 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[DefaultMember("Text")]
[Guid("00020975-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface Selection
{
[DispId(0)]
string Text
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(0)]
[return: MarshalAs(UnmanagedType.BStr)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(0)]
[param: In]
[param: MarshalAs(UnmanagedType.BStr)]
set;
}
void _VtblGap1_62();
[DispId(411)]
InlineShapes InlineShapes
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(411)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
void _VtblGap2_62();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(507)]
void TypeText([In][MarshalAs(UnmanagedType.BStr)] string Text);
void _VtblGap3_2();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(512)]
void TypeParagraph();
}
+56
View File
@@ -0,0 +1,56 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("00020951-0000-0000-C000-000000000046")]
[DefaultMember("Range")]
[TypeIdentifier]
public interface Table
{
[DispId(0)]
Range Range
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(0)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
void _VtblGap1_3();
[DispId(100)]
Columns Columns
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(100)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
void _VtblGap2_1();
[DispId(1100)]
Borders Borders
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(1100)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(1100)]
[param: In]
[param: MarshalAs(UnmanagedType.Interface)]
set;
}
void _VtblGap3_11();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(17)]
[return: MarshalAs(UnmanagedType.Interface)]
Cell Cell([In] int Row, [In] int Column);
}
+21
View File
@@ -0,0 +1,21 @@
using System.Collections;
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("0002094D-0000-0000-C000-000000000046")]
[DefaultMember("Item")]
[TypeIdentifier]
public interface Tables : IEnumerable
{
void _VtblGap1_7();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(200)]
[return: MarshalAs(UnmanagedType.Interface)]
Table Add([In][MarshalAs(UnmanagedType.Interface)] Range Range, [In] int NumRows, [In] int NumColumns, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object DefaultTableBehavior, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object AutoFitBehavior);
}
@@ -0,0 +1,21 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[CompilerGenerated]
[Guid("58B14C6F-0FE6-3BCA-880E-E3A9C039E588")]
[TypeIdentifier("00020905-0000-0000-c000-000000000046", "Microsoft.Office.Interop.Word.WdBreakType")]
public enum WdBreakType
{
wdSectionBreakNextPage = 2,
wdSectionBreakContinuous,
wdSectionBreakEvenPage,
wdSectionBreakOddPage,
wdLineBreak,
wdPageBreak,
wdColumnBreak,
wdLineBreakClearLeft,
wdLineBreakClearRight,
wdTextWrappingBreak
}
@@ -0,0 +1,145 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[CompilerGenerated]
[Guid("200A1EF2-18FB-3BAB-92AE-E3A78B2E1108")]
[TypeIdentifier("00020905-0000-0000-c000-000000000046", "Microsoft.Office.Interop.Word.WdBuiltinStyle")]
public enum WdBuiltinStyle
{
wdStyleNormal = -1,
wdStyleEnvelopeAddress = -37,
wdStyleEnvelopeReturn = -38,
wdStyleBodyText = -67,
wdStyleHeading1 = -2,
wdStyleHeading2 = -3,
wdStyleHeading3 = -4,
wdStyleHeading4 = -5,
wdStyleHeading5 = -6,
wdStyleHeading6 = -7,
wdStyleHeading7 = -8,
wdStyleHeading8 = -9,
wdStyleHeading9 = -10,
wdStyleIndex1 = -11,
wdStyleIndex2 = -12,
wdStyleIndex3 = -13,
wdStyleIndex4 = -14,
wdStyleIndex5 = -15,
wdStyleIndex6 = -16,
wdStyleIndex7 = -17,
wdStyleIndex8 = -18,
wdStyleIndex9 = -19,
wdStyleTOC1 = -20,
wdStyleTOC2 = -21,
wdStyleTOC3 = -22,
wdStyleTOC4 = -23,
wdStyleTOC5 = -24,
wdStyleTOC6 = -25,
wdStyleTOC7 = -26,
wdStyleTOC8 = -27,
wdStyleTOC9 = -28,
wdStyleNormalIndent = -29,
wdStyleFootnoteText = -30,
wdStyleCommentText = -31,
wdStyleHeader = -32,
wdStyleFooter = -33,
wdStyleIndexHeading = -34,
wdStyleCaption = -35,
wdStyleTableOfFigures = -36,
wdStyleFootnoteReference = -39,
wdStyleCommentReference = -40,
wdStyleLineNumber = -41,
wdStylePageNumber = -42,
wdStyleEndnoteReference = -43,
wdStyleEndnoteText = -44,
wdStyleTableOfAuthorities = -45,
wdStyleMacroText = -46,
wdStyleTOAHeading = -47,
wdStyleList = -48,
wdStyleListBullet = -49,
wdStyleListNumber = -50,
wdStyleList2 = -51,
wdStyleList3 = -52,
wdStyleList4 = -53,
wdStyleList5 = -54,
wdStyleListBullet2 = -55,
wdStyleListBullet3 = -56,
wdStyleListBullet4 = -57,
wdStyleListBullet5 = -58,
wdStyleListNumber2 = -59,
wdStyleListNumber3 = -60,
wdStyleListNumber4 = -61,
wdStyleListNumber5 = -62,
wdStyleTitle = -63,
wdStyleClosing = -64,
wdStyleSignature = -65,
wdStyleDefaultParagraphFont = -66,
wdStyleBodyTextIndent = -68,
wdStyleListContinue = -69,
wdStyleListContinue2 = -70,
wdStyleListContinue3 = -71,
wdStyleListContinue4 = -72,
wdStyleListContinue5 = -73,
wdStyleMessageHeader = -74,
wdStyleSubtitle = -75,
wdStyleSalutation = -76,
wdStyleDate = -77,
wdStyleBodyTextFirstIndent = -78,
wdStyleBodyTextFirstIndent2 = -79,
wdStyleNoteHeading = -80,
wdStyleBodyText2 = -81,
wdStyleBodyText3 = -82,
wdStyleBodyTextIndent2 = -83,
wdStyleBodyTextIndent3 = -84,
wdStyleBlockQuotation = -85,
wdStyleHyperlink = -86,
wdStyleHyperlinkFollowed = -87,
wdStyleStrong = -88,
wdStyleEmphasis = -89,
wdStyleNavPane = -90,
wdStylePlainText = -91,
wdStyleHtmlNormal = -95,
wdStyleHtmlAcronym = -96,
wdStyleHtmlAddress = -97,
wdStyleHtmlCite = -98,
wdStyleHtmlCode = -99,
wdStyleHtmlDfn = -100,
wdStyleHtmlKbd = -101,
wdStyleHtmlPre = -102,
wdStyleHtmlSamp = -103,
wdStyleHtmlTt = -104,
wdStyleHtmlVar = -105,
wdStyleNormalTable = -106,
wdStyleNormalObject = -158,
wdStyleTableLightShading = -159,
wdStyleTableLightList = -160,
wdStyleTableLightGrid = -161,
wdStyleTableMediumShading1 = -162,
wdStyleTableMediumShading2 = -163,
wdStyleTableMediumList1 = -164,
wdStyleTableMediumList2 = -165,
wdStyleTableMediumGrid1 = -166,
wdStyleTableMediumGrid2 = -167,
wdStyleTableMediumGrid3 = -168,
wdStyleTableDarkList = -169,
wdStyleTableColorfulShading = -170,
wdStyleTableColorfulList = -171,
wdStyleTableColorfulGrid = -172,
wdStyleTableLightShadingAccent1 = -173,
wdStyleTableLightListAccent1 = -174,
wdStyleTableLightGridAccent1 = -175,
wdStyleTableMediumShading1Accent1 = -176,
wdStyleTableMediumShading2Accent1 = -177,
wdStyleTableMediumList1Accent1 = -178,
wdStyleListParagraph = -180,
wdStyleQuote = -181,
wdStyleIntenseQuote = -182,
wdStyleSubtleEmphasis = -261,
wdStyleIntenseEmphasis = -262,
wdStyleSubtleReference = -263,
wdStyleIntenseReference = -264,
wdStyleBookTitle = -265,
wdStyleBibliography = -266,
wdStyleTocHeading = -267
}
@@ -0,0 +1,14 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[CompilerGenerated]
[Guid("3A818B51-713A-3E63-91A4-287C06E75F3C")]
[TypeIdentifier("00020905-0000-0000-c000-000000000046", "Microsoft.Office.Interop.Word.WdCellVerticalAlignment")]
public enum WdCellVerticalAlignment
{
wdCellAlignVerticalTop = 0,
wdCellAlignVerticalCenter = 1,
wdCellAlignVerticalBottom = 3
}
@@ -0,0 +1,36 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[CompilerGenerated]
[Guid("54AFDECB-0EC4-397D-96AB-8E2A64FD7C3A")]
[TypeIdentifier("00020905-0000-0000-c000-000000000046", "Microsoft.Office.Interop.Word.WdLineStyle")]
public enum WdLineStyle
{
wdLineStyleNone,
wdLineStyleSingle,
wdLineStyleDot,
wdLineStyleDashSmallGap,
wdLineStyleDashLargeGap,
wdLineStyleDashDot,
wdLineStyleDashDotDot,
wdLineStyleDouble,
wdLineStyleTriple,
wdLineStyleThinThickSmallGap,
wdLineStyleThickThinSmallGap,
wdLineStyleThinThickThinSmallGap,
wdLineStyleThinThickMedGap,
wdLineStyleThickThinMedGap,
wdLineStyleThinThickThinMedGap,
wdLineStyleThinThickLargeGap,
wdLineStyleThickThinLargeGap,
wdLineStyleThinThickThinLargeGap,
wdLineStyleSingleWavy,
wdLineStyleDoubleWavy,
wdLineStyleDashDotStroked,
wdLineStyleEmboss3D,
wdLineStyleEngrave3D,
wdLineStyleOutset,
wdLineStyleInset
}
@@ -0,0 +1,20 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[CompilerGenerated]
[Guid("B46D9062-1DB3-34C7-93D1-5E575E00B829")]
[TypeIdentifier("00020905-0000-0000-c000-000000000046", "Microsoft.Office.Interop.Word.WdParagraphAlignment")]
public enum WdParagraphAlignment
{
wdAlignParagraphLeft = 0,
wdAlignParagraphCenter = 1,
wdAlignParagraphRight = 2,
wdAlignParagraphJustify = 3,
wdAlignParagraphDistribute = 4,
wdAlignParagraphJustifyMed = 5,
wdAlignParagraphJustifyHi = 7,
wdAlignParagraphJustifyLow = 8,
wdAlignParagraphThaiJustify = 9
}
@@ -0,0 +1,14 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[CompilerGenerated]
[Guid("EC986BD6-35C2-368D-94D8-AC3850019ABA")]
[TypeIdentifier("00020905-0000-0000-c000-000000000046", "Microsoft.Office.Interop.Word.WdRowAlignment")]
public enum WdRowAlignment
{
wdAlignRowLeft,
wdAlignRowCenter,
wdAlignRowRight
}
@@ -0,0 +1,61 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[DefaultMember("Name")]
[Guid("00020970-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface _Application
{
void _VtblGap1_3();
[DispId(0)]
string Name
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(0)]
[return: MarshalAs(UnmanagedType.BStr)]
get;
}
[DispId(6)]
Documents Documents
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(6)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
void _VtblGap2_3();
[DispId(5)]
Selection Selection
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(5)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
void _VtblGap3_80();
[DispId(93)]
Options Options
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(93)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
void _VtblGap4_23();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(1105)]
void Quit([Optional][In][MarshalAs(UnmanagedType.Struct)] ref object SaveChanges, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object OriginalFormat, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object RouteDocument);
}
@@ -0,0 +1,60 @@
using System.Reflection;
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[DefaultMember("Name")]
[Guid("0002096B-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface _Document
{
[DispId(0)]
string Name
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(0)]
[return: MarshalAs(UnmanagedType.BStr)]
get;
}
void _VtblGap1_20();
[DispId(15)]
Sections Sections
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(15)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
[DispId(16)]
Paragraphs Paragraphs
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(16)]
[return: MarshalAs(UnmanagedType.Interface)]
get;
}
void _VtblGap2_137();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(1105)]
void Close([Optional][In][MarshalAs(UnmanagedType.Struct)] ref object SaveChanges, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object OriginalFormat, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object RouteDocument);
void _VtblGap3_12();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(113)]
void Activate();
void _VtblGap4_253();
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(568)]
void SaveAs2([Optional][In][MarshalAs(UnmanagedType.Struct)] ref object FileName, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object FileFormat, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object LockComments, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object Password, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object AddToRecentFiles, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object WritePassword, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object ReadOnlyRecommended, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object EmbedTrueTypeFonts, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object SaveNativePictureFormat, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object SaveFormsData, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object SaveAsAOCELetter, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object Encoding, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object InsertLineBreaks, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object AllowSubstitutions, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object LineEnding, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object AddBiDiMarks, [Optional][In][MarshalAs(UnmanagedType.Struct)] ref object CompatibilityMode);
}
+39
View File
@@ -0,0 +1,39 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("00020952-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface _Font
{
void _VtblGap1_26();
[DispId(141)]
float Size
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(141)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(141)]
[param: In]
set;
}
[DispId(142)]
string Name
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(142)]
[return: MarshalAs(UnmanagedType.BStr)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(142)]
[param: In]
[param: MarshalAs(UnmanagedType.BStr)]
set;
}
}
@@ -0,0 +1,25 @@
using System.Runtime.CompilerServices;
using System.Runtime.InteropServices;
namespace Microsoft.Office.Interop.Word;
[ComImport]
[CompilerGenerated]
[Guid("00020953-0000-0000-C000-000000000046")]
[TypeIdentifier]
public interface _ParagraphFormat
{
void _VtblGap1_6();
[DispId(101)]
WdParagraphAlignment Alignment
{
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(101)]
get;
[MethodImpl(MethodImplOptions.InternalCall, MethodCodeType = MethodCodeType.Runtime)]
[DispId(101)]
[param: In]
set;
}
}