📄 tom.h
字号:
/* this ALWAYS GENERATED file contains the definitions for the interfaces *//* File created by MIDL compiler version 5.01.0164 *//* at Thu Apr 22 14:10:21 1999 *//* Compiler settings for tom.idl: Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext error checks: allocation ref bounds_check enum stub_data *///@@MIDL_FILE_HEADING( )/* verify that the <rpcndr.h> version is high enough to compile this file*/#ifndef __REQUIRED_RPCNDR_H_VERSION__#define __REQUIRED_RPCNDR_H_VERSION__ 440#endif#include "rpc.h"#include "rpcndr.h"#ifndef __RPCNDR_H_VERSION__#error this stub requires an updated version of <rpcndr.h>#endif // __RPCNDR_H_VERSION__#ifndef COM_NO_WINDOWS_H#include "windows.h"#include "ole2.h"#endif /*COM_NO_WINDOWS_H*/#ifndef __tomtmp_h__#define __tomtmp_h__#ifdef __cplusplusextern "C"{#endif /* Forward Declarations */ #ifndef __ITextDocument_FWD_DEFINED__#define __ITextDocument_FWD_DEFINED__typedef interface ITextDocument ITextDocument;#endif /* __ITextDocument_FWD_DEFINED__ */#ifndef __ITextRange_FWD_DEFINED__#define __ITextRange_FWD_DEFINED__typedef interface ITextRange ITextRange;#endif /* __ITextRange_FWD_DEFINED__ */#ifndef __ITextSelection_FWD_DEFINED__#define __ITextSelection_FWD_DEFINED__typedef interface ITextSelection ITextSelection;#endif /* __ITextSelection_FWD_DEFINED__ */#ifndef __ITextFont_FWD_DEFINED__#define __ITextFont_FWD_DEFINED__typedef interface ITextFont ITextFont;#endif /* __ITextFont_FWD_DEFINED__ */#ifndef __ITextPara_FWD_DEFINED__#define __ITextPara_FWD_DEFINED__typedef interface ITextPara ITextPara;#endif /* __ITextPara_FWD_DEFINED__ */#ifndef __ITextStoryRanges_FWD_DEFINED__#define __ITextStoryRanges_FWD_DEFINED__typedef interface ITextStoryRanges ITextStoryRanges;#endif /* __ITextStoryRanges_FWD_DEFINED__ */#ifndef __ITextDocument2_FWD_DEFINED__#define __ITextDocument2_FWD_DEFINED__typedef interface ITextDocument2 ITextDocument2;#endif /* __ITextDocument2_FWD_DEFINED__ */#ifndef __ITextMsgFilter_FWD_DEFINED__#define __ITextMsgFilter_FWD_DEFINED__typedef interface ITextMsgFilter ITextMsgFilter;#endif /* __ITextMsgFilter_FWD_DEFINED__ */#ifndef __ITextDocument_FWD_DEFINED__#define __ITextDocument_FWD_DEFINED__typedef interface ITextDocument ITextDocument;#endif /* __ITextDocument_FWD_DEFINED__ */#ifndef __ITextRange_FWD_DEFINED__#define __ITextRange_FWD_DEFINED__typedef interface ITextRange ITextRange;#endif /* __ITextRange_FWD_DEFINED__ */#ifndef __ITextSelection_FWD_DEFINED__#define __ITextSelection_FWD_DEFINED__typedef interface ITextSelection ITextSelection;#endif /* __ITextSelection_FWD_DEFINED__ */#ifndef __ITextFont_FWD_DEFINED__#define __ITextFont_FWD_DEFINED__typedef interface ITextFont ITextFont;#endif /* __ITextFont_FWD_DEFINED__ */#ifndef __ITextPara_FWD_DEFINED__#define __ITextPara_FWD_DEFINED__typedef interface ITextPara ITextPara;#endif /* __ITextPara_FWD_DEFINED__ */#ifndef __ITextStoryRanges_FWD_DEFINED__#define __ITextStoryRanges_FWD_DEFINED__typedef interface ITextStoryRanges ITextStoryRanges;#endif /* __ITextStoryRanges_FWD_DEFINED__ */#ifndef __ITextDocument2_FWD_DEFINED__#define __ITextDocument2_FWD_DEFINED__typedef interface ITextDocument2 ITextDocument2;#endif /* __ITextDocument2_FWD_DEFINED__ */#ifndef __ITextMsgFilter_FWD_DEFINED__#define __ITextMsgFilter_FWD_DEFINED__typedef interface ITextMsgFilter ITextMsgFilter;#endif /* __ITextMsgFilter_FWD_DEFINED__ *//* header files for imported files */#include "oaidl.h"#include "ocidl.h"void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);void __RPC_USER MIDL_user_free( void __RPC_FAR * ); /* interface __MIDL_itf_tom_0000 *//* [local] */ extern RPC_IF_HANDLE __MIDL_itf_tom_0000_v0_0_c_ifspec;extern RPC_IF_HANDLE __MIDL_itf_tom_0000_v0_0_s_ifspec;#ifndef __tom_LIBRARY_DEFINED__#define __tom_LIBRARY_DEFINED__/* library tom *//* [version][uuid] */ typedef /* [public] */ enum __MIDL___MIDL_itf_tom_0000_0001 { tomFalse = 0, tomTrue = -1, tomUndefined = -9999999, tomToggle = -9999998, tomAutoColor = -9999997, tomDefault = -9999996, tomSuspend = -9999995, tomResume = -9999994, tomApplyNow = 0, tomApplyLater = 1, tomTrackParms = 2, tomCacheParms = 3, tomBackward = 0xc0000001, tomForward = 0x3fffffff, tomMove = 0, tomExtend = 1, tomNoSelection = 0, tomSelectionIP = 1, tomSelectionNormal = 2, tomSelectionFrame = 3, tomSelectionColumn = 4, tomSelectionRow = 5, tomSelectionBlock = 6, tomSelectionInlineShape = 7, tomSelectionShape = 8, tomSelStartActive = 1, tomSelAtEOL = 2, tomSelOvertype = 4, tomSelActive = 8, tomSelReplace = 16, tomEnd = 0, tomStart = 32, tomCollapseEnd = 0, tomCollapseStart = 1, tomClientCoord = 256, tomNone = 0, tomSingle = 1, tomWords = 2, tomDouble = 3, tomDotted = 4, tomDash = 5, tomDashDot = 6, tomDashDotDot = 7, tomWave = 8, tomThick = 9, tomHair = 10, tomLineSpaceSingle = 0, tomLineSpace1pt5 = 1, tomLineSpaceDouble = 2, tomLineSpaceAtLeast = 3, tomLineSpaceExactly = 4, tomLineSpaceMultiple = 5, tomAlignLeft = 0, tomAlignCenter = 1, tomAlignRight = 2, tomAlignJustify = 3, tomAlignDecimal = 3, tomAlignBar = 4, tomAlignInterWord = 3, tomAlignInterLetter = 4, tomAlignScaled = 5, tomAlignGlyphs = 6, tomAlignSnapGrid = 7, tomSpaces = 0, tomDots = 1, tomDashes = 2, tomLines = 3, tomThickLines = 4, tomEquals = 5, tomTabBack = -3, tomTabNext = -2, tomTabHere = -1, tomListNone = 0, tomListBullet = 1, tomListNumberAsArabic = 2, tomListNumberAsLCLetter = 3, tomListNumberAsUCLetter = 4, tomListNumberAsLCRoman = 5, tomListNumberAsUCRoman = 6, tomListNumberAsSequence = 7, tomListParentheses = 0x10000, tomListPeriod = 0x20000, tomListPlain = 0x30000, tomCharacter = 1, tomWord = 2, tomSentence = 3, tomParagraph = 4, tomLine = 5, tomStory = 6, tomScreen = 7, tomSection = 8, tomColumn = 9, tomRow = 10, tomWindow = 11, tomCell = 12, tomCharFormat = 13, tomParaFormat = 14, tomTable = 15, tomObject = 16, tomMatchWord = 2, tomMatchCase = 4, tomMatchPattern = 8, tomUnknownStory = 0, tomMainTextStory = 1, tomFootnotesStory = 2, tomEndnotesStory = 3, tomCommentsStory = 4, tomTextFrameStory = 5, tomEvenPagesHeaderStory = 6, tomPrimaryHeaderStory = 7, tomEvenPagesFooterStory = 8, tomPrimaryFooterStory = 9, tomFirstPageHeaderStory = 10, tomFirstPageFooterStory = 11, tomNoAnimation = 0, tomLasVegasLights = 1, tomBlinkingBackground = 2, tomSparkleText = 3, tomMarchingBlackAnts = 4, tomMarchingRedAnts = 5, tomShimmer = 6, tomWipeDown = 7, tomWipeRight = 8, tomAnimationMax = 8, tomLowerCase = 0, tomUpperCase = 1, tomTitleCase = 2, tomSentenceCase = 4, tomToggleCase = 5, tomReadOnly = 0x100, tomShareDenyRead = 0x200, tomShareDenyWrite = 0x400, tomPasteFile = 0x1000, tomCreateNew = 0x10, tomCreateAlways = 0x20, tomOpenExisting = 0x30, tomOpenAlways = 0x40, tomTruncateExisting = 0x50, tomRTF = 0x1, tomText = 0x2, tomHTML = 0x3, tomWordDocument = 0x4, tomBold = 0x80000001, tomItalic = 0x80000002, tomUnderline = 0x80000004, tomStrikeout = 0x80000008, tomProtected = 0x80000010, tomLink = 0x80000020, tomSmallCaps = 0x80000040, tomAllCaps = 0x80000080, tomHidden = 0x80000100, tomOutline = 0x80000200, tomShadow = 0x80000400, tomEmboss = 0x80000800, tomImprint = 0x80001000, tomDisabled = 0x80002000, tomRevised = 0x80004000, tomNormalCaret = 0, tomKoreanBlockCaret = 0x1, tomIncludeInset = 0x1, tomIgnoreCurrentFont = 0, tomMatchFontCharset = 0x1, tomMatchFontSignature = 0x2, tomCharset = 0x80000000, tomRE10Mode = 0x1, tomNoIME = 0x80000, tomSelfIME = 0x40000 } tomConstants;EXTERN_C const IID LIBID_tom;#ifndef __ITextDocument_INTERFACE_DEFINED__#define __ITextDocument_INTERFACE_DEFINED__/* interface ITextDocument *//* [object][nonextensible][dual][version][uuid] */ EXTERN_C const IID IID_ITextDocument;#if defined(__cplusplus) && !defined(CINTERFACE) MIDL_INTERFACE("8CC497C0-A1DF-11ce-8098-00AA0047BE5D") ITextDocument : public IDispatch { public: virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetName( /* [retval][out] */ BSTR __RPC_FAR *pName) = 0; virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSelection( /* [retval][out] */ ITextSelection __RPC_FAR *__RPC_FAR *ppSel) = 0; virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStoryCount( /* [retval][out] */ long __RPC_FAR *pCount) = 0; virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStoryRanges( /* [retval][out] */ ITextStoryRanges __RPC_FAR *__RPC_FAR *ppStories) = 0; virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSaved( /* [retval][out] */ long __RPC_FAR *pValue) = 0; virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSaved( /* [in] */ long Value) = 0; virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetDefaultTabStop( /* [retval][out] */ float __RPC_FAR *pValue) = 0; virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetDefaultTabStop( /* [in] */ float Value) = 0; virtual /* [id] */ HRESULT STDMETHODCALLTYPE New( void) = 0; virtual /* [id] */ HRESULT STDMETHODCALLTYPE Open( /* [in] */ VARIANT __RPC_FAR *pVar, /* [in] */ long Flags, /* [in] */ long CodePage) = 0; virtual /* [id] */ HRESULT STDMETHODCALLTYPE Save( /* [in] */ VARIANT __RPC_FAR *pVar, /* [in] */ long Flags, /* [in] */ long CodePage) = 0; virtual /* [id] */ HRESULT STDMETHODCALLTYPE Freeze( /* [retval][out] */ long __RPC_FAR *pCount) = 0; virtual /* [id] */ HRESULT STDMETHODCALLTYPE Unfreeze( /* [retval][out] */ long __RPC_FAR *pCount) = 0; virtual /* [id] */ HRESULT STDMETHODCALLTYPE BeginEditCollection( void) = 0; virtual /* [id] */ HRESULT STDMETHODCALLTYPE EndEditCollection( void) = 0; virtual /* [id] */ HRESULT STDMETHODCALLTYPE Undo(
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -