Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

6754 lines
227 KiB

  1. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  2. /* File created by MIDL compiler version 5.01.0164 */
  3. /* at Thu Jul 12 16:06:11 2001
  4. */
  5. /* Compiler settings for tom.idl:
  6. Oicf (OptLev=i2), W1, Zp8, env=Win32, ms_ext, c_ext
  7. error checks: allocation ref bounds_check enum stub_data
  8. */
  9. //@@MIDL_FILE_HEADING( )
  10. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  11. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  12. #define __REQUIRED_RPCNDR_H_VERSION__ 440
  13. #endif
  14. #include "rpc.h"
  15. #include "rpcndr.h"
  16. #ifndef __RPCNDR_H_VERSION__
  17. #error this stub requires an updated version of <rpcndr.h>
  18. #endif // __RPCNDR_H_VERSION__
  19. #ifndef COM_NO_WINDOWS_H
  20. #include "windows.h"
  21. #include "ole2.h"
  22. #endif /*COM_NO_WINDOWS_H*/
  23. #ifndef __tomtmp_h__
  24. #define __tomtmp_h__
  25. #ifdef __cplusplus
  26. extern "C"{
  27. #endif
  28. /* Forward Declarations */
  29. #ifndef __ITextDocument_FWD_DEFINED__
  30. #define __ITextDocument_FWD_DEFINED__
  31. typedef interface ITextDocument ITextDocument;
  32. #endif /* __ITextDocument_FWD_DEFINED__ */
  33. #ifndef __ITextRange_FWD_DEFINED__
  34. #define __ITextRange_FWD_DEFINED__
  35. typedef interface ITextRange ITextRange;
  36. #endif /* __ITextRange_FWD_DEFINED__ */
  37. #ifndef __ITextSelection_FWD_DEFINED__
  38. #define __ITextSelection_FWD_DEFINED__
  39. typedef interface ITextSelection ITextSelection;
  40. #endif /* __ITextSelection_FWD_DEFINED__ */
  41. #ifndef __ITextFont_FWD_DEFINED__
  42. #define __ITextFont_FWD_DEFINED__
  43. typedef interface ITextFont ITextFont;
  44. #endif /* __ITextFont_FWD_DEFINED__ */
  45. #ifndef __ITextPara_FWD_DEFINED__
  46. #define __ITextPara_FWD_DEFINED__
  47. typedef interface ITextPara ITextPara;
  48. #endif /* __ITextPara_FWD_DEFINED__ */
  49. #ifndef __ITextStoryRanges_FWD_DEFINED__
  50. #define __ITextStoryRanges_FWD_DEFINED__
  51. typedef interface ITextStoryRanges ITextStoryRanges;
  52. #endif /* __ITextStoryRanges_FWD_DEFINED__ */
  53. #ifndef __ITextDocument2_FWD_DEFINED__
  54. #define __ITextDocument2_FWD_DEFINED__
  55. typedef interface ITextDocument2 ITextDocument2;
  56. #endif /* __ITextDocument2_FWD_DEFINED__ */
  57. #ifndef __ITextMsgFilter_FWD_DEFINED__
  58. #define __ITextMsgFilter_FWD_DEFINED__
  59. typedef interface ITextMsgFilter ITextMsgFilter;
  60. #endif /* __ITextMsgFilter_FWD_DEFINED__ */
  61. #ifndef __ITextDocument_FWD_DEFINED__
  62. #define __ITextDocument_FWD_DEFINED__
  63. typedef interface ITextDocument ITextDocument;
  64. #endif /* __ITextDocument_FWD_DEFINED__ */
  65. #ifndef __ITextRange_FWD_DEFINED__
  66. #define __ITextRange_FWD_DEFINED__
  67. typedef interface ITextRange ITextRange;
  68. #endif /* __ITextRange_FWD_DEFINED__ */
  69. #ifndef __ITextSelection_FWD_DEFINED__
  70. #define __ITextSelection_FWD_DEFINED__
  71. typedef interface ITextSelection ITextSelection;
  72. #endif /* __ITextSelection_FWD_DEFINED__ */
  73. #ifndef __ITextFont_FWD_DEFINED__
  74. #define __ITextFont_FWD_DEFINED__
  75. typedef interface ITextFont ITextFont;
  76. #endif /* __ITextFont_FWD_DEFINED__ */
  77. #ifndef __ITextPara_FWD_DEFINED__
  78. #define __ITextPara_FWD_DEFINED__
  79. typedef interface ITextPara ITextPara;
  80. #endif /* __ITextPara_FWD_DEFINED__ */
  81. #ifndef __ITextStoryRanges_FWD_DEFINED__
  82. #define __ITextStoryRanges_FWD_DEFINED__
  83. typedef interface ITextStoryRanges ITextStoryRanges;
  84. #endif /* __ITextStoryRanges_FWD_DEFINED__ */
  85. #ifndef __ITextDocument2_FWD_DEFINED__
  86. #define __ITextDocument2_FWD_DEFINED__
  87. typedef interface ITextDocument2 ITextDocument2;
  88. #endif /* __ITextDocument2_FWD_DEFINED__ */
  89. #ifndef __ITextMsgFilter_FWD_DEFINED__
  90. #define __ITextMsgFilter_FWD_DEFINED__
  91. typedef interface ITextMsgFilter ITextMsgFilter;
  92. #endif /* __ITextMsgFilter_FWD_DEFINED__ */
  93. /* header files for imported files */
  94. #include "oaidl.h"
  95. #include "ocidl.h"
  96. void __RPC_FAR * __RPC_USER MIDL_user_allocate(size_t);
  97. void __RPC_USER MIDL_user_free( void __RPC_FAR * );
  98. /* interface __MIDL_itf_tom_0000 */
  99. /* [local] */
  100. extern RPC_IF_HANDLE __MIDL_itf_tom_0000_v0_0_c_ifspec;
  101. extern RPC_IF_HANDLE __MIDL_itf_tom_0000_v0_0_s_ifspec;
  102. #ifndef __tom_LIBRARY_DEFINED__
  103. #define __tom_LIBRARY_DEFINED__
  104. /* library tom */
  105. /* [version][uuid] */
  106. typedef /* [public] */
  107. enum __MIDL___MIDL_itf_tom_0000_0001
  108. { tomFalse = 0,
  109. tomTrue = -1,
  110. tomUndefined = -9999999,
  111. tomToggle = -9999998,
  112. tomAutoColor = -9999997,
  113. tomDefault = -9999996,
  114. tomSuspend = -9999995,
  115. tomResume = -9999994,
  116. tomApplyNow = 0,
  117. tomApplyLater = 1,
  118. tomTrackParms = 2,
  119. tomCacheParms = 3,
  120. tomApplyTmp = 4,
  121. tomBackward = 0xc0000001,
  122. tomForward = 0x3fffffff,
  123. tomMove = 0,
  124. tomExtend = 1,
  125. tomNoSelection = 0,
  126. tomSelectionIP = 1,
  127. tomSelectionNormal = 2,
  128. tomSelectionFrame = 3,
  129. tomSelectionColumn = 4,
  130. tomSelectionRow = 5,
  131. tomSelectionBlock = 6,
  132. tomSelectionInlineShape = 7,
  133. tomSelectionShape = 8,
  134. tomSelStartActive = 1,
  135. tomSelAtEOL = 2,
  136. tomSelOvertype = 4,
  137. tomSelActive = 8,
  138. tomSelReplace = 16,
  139. tomEnd = 0,
  140. tomStart = 32,
  141. tomCollapseEnd = 0,
  142. tomCollapseStart = 1,
  143. tomClientCoord = 256,
  144. tomAllowOffClient = 512,
  145. tomNone = 0,
  146. tomSingle = 1,
  147. tomWords = 2,
  148. tomDouble = 3,
  149. tomDotted = 4,
  150. tomDash = 5,
  151. tomDashDot = 6,
  152. tomDashDotDot = 7,
  153. tomWave = 8,
  154. tomThick = 9,
  155. tomHair = 10,
  156. tomDoubleWave = 11,
  157. tomHeavyWave = 12,
  158. tomLongDash = 13,
  159. tomThickDash = 14,
  160. tomThickDashDot = 15,
  161. tomThickDashDotDot = 16,
  162. tomThickDotted = 17,
  163. tomThickLongDash = 18,
  164. tomLineSpaceSingle = 0,
  165. tomLineSpace1pt5 = 1,
  166. tomLineSpaceDouble = 2,
  167. tomLineSpaceAtLeast = 3,
  168. tomLineSpaceExactly = 4,
  169. tomLineSpaceMultiple = 5,
  170. tomAlignLeft = 0,
  171. tomAlignCenter = 1,
  172. tomAlignRight = 2,
  173. tomAlignJustify = 3,
  174. tomAlignDecimal = 3,
  175. tomAlignBar = 4,
  176. tomAlignInterWord = 3,
  177. tomAlignInterLetter = 4,
  178. tomAlignScaled = 5,
  179. tomAlignGlyphs = 6,
  180. tomAlignSnapGrid = 7,
  181. tomSpaces = 0,
  182. tomDots = 1,
  183. tomDashes = 2,
  184. tomLines = 3,
  185. tomThickLines = 4,
  186. tomEquals = 5,
  187. tomTabBack = -3,
  188. tomTabNext = -2,
  189. tomTabHere = -1,
  190. tomListNone = 0,
  191. tomListBullet = 1,
  192. tomListNumberAsArabic = 2,
  193. tomListNumberAsLCLetter = 3,
  194. tomListNumberAsUCLetter = 4,
  195. tomListNumberAsLCRoman = 5,
  196. tomListNumberAsUCRoman = 6,
  197. tomListNumberAsSequence = 7,
  198. tomListParentheses = 0x10000,
  199. tomListPeriod = 0x20000,
  200. tomListPlain = 0x30000,
  201. tomCharacter = 1,
  202. tomWord = 2,
  203. tomSentence = 3,
  204. tomParagraph = 4,
  205. tomLine = 5,
  206. tomStory = 6,
  207. tomScreen = 7,
  208. tomSection = 8,
  209. tomColumn = 9,
  210. tomRow = 10,
  211. tomWindow = 11,
  212. tomCell = 12,
  213. tomCharFormat = 13,
  214. tomParaFormat = 14,
  215. tomTable = 15,
  216. tomObject = 16,
  217. tomPage = 17,
  218. tomMatchWord = 2,
  219. tomMatchCase = 4,
  220. tomMatchPattern = 8,
  221. tomUnknownStory = 0,
  222. tomMainTextStory = 1,
  223. tomFootnotesStory = 2,
  224. tomEndnotesStory = 3,
  225. tomCommentsStory = 4,
  226. tomTextFrameStory = 5,
  227. tomEvenPagesHeaderStory = 6,
  228. tomPrimaryHeaderStory = 7,
  229. tomEvenPagesFooterStory = 8,
  230. tomPrimaryFooterStory = 9,
  231. tomFirstPageHeaderStory = 10,
  232. tomFirstPageFooterStory = 11,
  233. tomNoAnimation = 0,
  234. tomLasVegasLights = 1,
  235. tomBlinkingBackground = 2,
  236. tomSparkleText = 3,
  237. tomMarchingBlackAnts = 4,
  238. tomMarchingRedAnts = 5,
  239. tomShimmer = 6,
  240. tomWipeDown = 7,
  241. tomWipeRight = 8,
  242. tomAnimationMax = 8,
  243. tomLowerCase = 0,
  244. tomUpperCase = 1,
  245. tomTitleCase = 2,
  246. tomSentenceCase = 4,
  247. tomToggleCase = 5,
  248. tomReadOnly = 0x100,
  249. tomShareDenyRead = 0x200,
  250. tomShareDenyWrite = 0x400,
  251. tomPasteFile = 0x1000,
  252. tomCreateNew = 0x10,
  253. tomCreateAlways = 0x20,
  254. tomOpenExisting = 0x30,
  255. tomOpenAlways = 0x40,
  256. tomTruncateExisting = 0x50,
  257. tomRTF = 0x1,
  258. tomText = 0x2,
  259. tomHTML = 0x3,
  260. tomWordDocument = 0x4,
  261. tomBold = 0x80000001,
  262. tomItalic = 0x80000002,
  263. tomUnderline = 0x80000004,
  264. tomStrikeout = 0x80000008,
  265. tomProtected = 0x80000010,
  266. tomLink = 0x80000020,
  267. tomSmallCaps = 0x80000040,
  268. tomAllCaps = 0x80000080,
  269. tomHidden = 0x80000100,
  270. tomOutline = 0x80000200,
  271. tomShadow = 0x80000400,
  272. tomEmboss = 0x80000800,
  273. tomImprint = 0x80001000,
  274. tomDisabled = 0x80002000,
  275. tomRevised = 0x80004000,
  276. tomNormalCaret = 0,
  277. tomKoreanBlockCaret = 0x1,
  278. tomIncludeInset = 0x1,
  279. tomIgnoreCurrentFont = 0,
  280. tomMatchFontCharset = 0x1,
  281. tomMatchFontSignature = 0x2,
  282. tomCharset = 0x80000000,
  283. tomRE10Mode = 0x1,
  284. tomUseAtFont = 0x2,
  285. tomTextFlowMask = 0xc,
  286. tomTextFlowES = 0,
  287. tomTextFlowSW = 0x4,
  288. tomTextFlowWN = 0x8,
  289. tomTextFlowNE = 0xc,
  290. tomUsePassword = 0x10,
  291. tomNoIME = 0x80000,
  292. tomSelfIME = 0x40000
  293. } tomConstants;
  294. EXTERN_C const IID LIBID_tom;
  295. #ifndef __ITextDocument_INTERFACE_DEFINED__
  296. #define __ITextDocument_INTERFACE_DEFINED__
  297. /* interface ITextDocument */
  298. /* [object][nonextensible][dual][version][uuid] */
  299. EXTERN_C const IID IID_ITextDocument;
  300. #if defined(__cplusplus) && !defined(CINTERFACE)
  301. MIDL_INTERFACE("8CC497C0-A1DF-11ce-8098-00AA0047BE5D")
  302. ITextDocument : public IDispatch
  303. {
  304. public:
  305. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetName(
  306. /* [retval][out] */ BSTR __RPC_FAR *pName) = 0;
  307. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSelection(
  308. /* [retval][out] */ ITextSelection __RPC_FAR *__RPC_FAR *ppSel) = 0;
  309. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStoryCount(
  310. /* [retval][out] */ long __RPC_FAR *pCount) = 0;
  311. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStoryRanges(
  312. /* [retval][out] */ ITextStoryRanges __RPC_FAR *__RPC_FAR *ppStories) = 0;
  313. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSaved(
  314. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  315. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSaved(
  316. /* [in] */ long Value) = 0;
  317. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetDefaultTabStop(
  318. /* [retval][out] */ float __RPC_FAR *pValue) = 0;
  319. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetDefaultTabStop(
  320. /* [in] */ float Value) = 0;
  321. virtual /* [id] */ HRESULT STDMETHODCALLTYPE New( void) = 0;
  322. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Open(
  323. /* [in] */ VARIANT __RPC_FAR *pVar,
  324. /* [in] */ long Flags,
  325. /* [in] */ long CodePage) = 0;
  326. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Save(
  327. /* [in] */ VARIANT __RPC_FAR *pVar,
  328. /* [in] */ long Flags,
  329. /* [in] */ long CodePage) = 0;
  330. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Freeze(
  331. /* [retval][out] */ long __RPC_FAR *pCount) = 0;
  332. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Unfreeze(
  333. /* [retval][out] */ long __RPC_FAR *pCount) = 0;
  334. virtual /* [id] */ HRESULT STDMETHODCALLTYPE BeginEditCollection( void) = 0;
  335. virtual /* [id] */ HRESULT STDMETHODCALLTYPE EndEditCollection( void) = 0;
  336. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Undo(
  337. /* [in] */ long Count,
  338. /* [retval][out] */ long __RPC_FAR *prop) = 0;
  339. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Redo(
  340. /* [in] */ long Count,
  341. /* [retval][out] */ long __RPC_FAR *prop) = 0;
  342. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Range(
  343. /* [in] */ long cp1,
  344. /* [in] */ long cp2,
  345. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange) = 0;
  346. virtual /* [id] */ HRESULT STDMETHODCALLTYPE RangeFromPoint(
  347. /* [in] */ long x,
  348. /* [in] */ long y,
  349. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange) = 0;
  350. };
  351. #else /* C style interface */
  352. typedef struct ITextDocumentVtbl
  353. {
  354. BEGIN_INTERFACE
  355. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  356. ITextDocument __RPC_FAR * This,
  357. /* [in] */ REFIID riid,
  358. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  359. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  360. ITextDocument __RPC_FAR * This);
  361. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  362. ITextDocument __RPC_FAR * This);
  363. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  364. ITextDocument __RPC_FAR * This,
  365. /* [out] */ UINT __RPC_FAR *pctinfo);
  366. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  367. ITextDocument __RPC_FAR * This,
  368. /* [in] */ UINT iTInfo,
  369. /* [in] */ LCID lcid,
  370. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  371. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  372. ITextDocument __RPC_FAR * This,
  373. /* [in] */ REFIID riid,
  374. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  375. /* [in] */ UINT cNames,
  376. /* [in] */ LCID lcid,
  377. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  378. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  379. ITextDocument __RPC_FAR * This,
  380. /* [in] */ DISPID dispIdMember,
  381. /* [in] */ REFIID riid,
  382. /* [in] */ LCID lcid,
  383. /* [in] */ WORD wFlags,
  384. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  385. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  386. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  387. /* [out] */ UINT __RPC_FAR *puArgErr);
  388. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(
  389. ITextDocument __RPC_FAR * This,
  390. /* [retval][out] */ BSTR __RPC_FAR *pName);
  391. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSelection )(
  392. ITextDocument __RPC_FAR * This,
  393. /* [retval][out] */ ITextSelection __RPC_FAR *__RPC_FAR *ppSel);
  394. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryCount )(
  395. ITextDocument __RPC_FAR * This,
  396. /* [retval][out] */ long __RPC_FAR *pCount);
  397. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryRanges )(
  398. ITextDocument __RPC_FAR * This,
  399. /* [retval][out] */ ITextStoryRanges __RPC_FAR *__RPC_FAR *ppStories);
  400. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSaved )(
  401. ITextDocument __RPC_FAR * This,
  402. /* [retval][out] */ long __RPC_FAR *pValue);
  403. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSaved )(
  404. ITextDocument __RPC_FAR * This,
  405. /* [in] */ long Value);
  406. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDefaultTabStop )(
  407. ITextDocument __RPC_FAR * This,
  408. /* [retval][out] */ float __RPC_FAR *pValue);
  409. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDefaultTabStop )(
  410. ITextDocument __RPC_FAR * This,
  411. /* [in] */ float Value);
  412. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *New )(
  413. ITextDocument __RPC_FAR * This);
  414. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Open )(
  415. ITextDocument __RPC_FAR * This,
  416. /* [in] */ VARIANT __RPC_FAR *pVar,
  417. /* [in] */ long Flags,
  418. /* [in] */ long CodePage);
  419. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Save )(
  420. ITextDocument __RPC_FAR * This,
  421. /* [in] */ VARIANT __RPC_FAR *pVar,
  422. /* [in] */ long Flags,
  423. /* [in] */ long CodePage);
  424. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Freeze )(
  425. ITextDocument __RPC_FAR * This,
  426. /* [retval][out] */ long __RPC_FAR *pCount);
  427. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unfreeze )(
  428. ITextDocument __RPC_FAR * This,
  429. /* [retval][out] */ long __RPC_FAR *pCount);
  430. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginEditCollection )(
  431. ITextDocument __RPC_FAR * This);
  432. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndEditCollection )(
  433. ITextDocument __RPC_FAR * This);
  434. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Undo )(
  435. ITextDocument __RPC_FAR * This,
  436. /* [in] */ long Count,
  437. /* [retval][out] */ long __RPC_FAR *prop);
  438. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Redo )(
  439. ITextDocument __RPC_FAR * This,
  440. /* [in] */ long Count,
  441. /* [retval][out] */ long __RPC_FAR *prop);
  442. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Range )(
  443. ITextDocument __RPC_FAR * This,
  444. /* [in] */ long cp1,
  445. /* [in] */ long cp2,
  446. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  447. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RangeFromPoint )(
  448. ITextDocument __RPC_FAR * This,
  449. /* [in] */ long x,
  450. /* [in] */ long y,
  451. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  452. END_INTERFACE
  453. } ITextDocumentVtbl;
  454. interface ITextDocument
  455. {
  456. CONST_VTBL struct ITextDocumentVtbl __RPC_FAR *lpVtbl;
  457. };
  458. #ifdef COBJMACROS
  459. #define ITextDocument_QueryInterface(This,riid,ppvObject) \
  460. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  461. #define ITextDocument_AddRef(This) \
  462. (This)->lpVtbl -> AddRef(This)
  463. #define ITextDocument_Release(This) \
  464. (This)->lpVtbl -> Release(This)
  465. #define ITextDocument_GetTypeInfoCount(This,pctinfo) \
  466. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  467. #define ITextDocument_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  468. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  469. #define ITextDocument_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  470. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  471. #define ITextDocument_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  472. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  473. #define ITextDocument_GetName(This,pName) \
  474. (This)->lpVtbl -> GetName(This,pName)
  475. #define ITextDocument_GetSelection(This,ppSel) \
  476. (This)->lpVtbl -> GetSelection(This,ppSel)
  477. #define ITextDocument_GetStoryCount(This,pCount) \
  478. (This)->lpVtbl -> GetStoryCount(This,pCount)
  479. #define ITextDocument_GetStoryRanges(This,ppStories) \
  480. (This)->lpVtbl -> GetStoryRanges(This,ppStories)
  481. #define ITextDocument_GetSaved(This,pValue) \
  482. (This)->lpVtbl -> GetSaved(This,pValue)
  483. #define ITextDocument_SetSaved(This,Value) \
  484. (This)->lpVtbl -> SetSaved(This,Value)
  485. #define ITextDocument_GetDefaultTabStop(This,pValue) \
  486. (This)->lpVtbl -> GetDefaultTabStop(This,pValue)
  487. #define ITextDocument_SetDefaultTabStop(This,Value) \
  488. (This)->lpVtbl -> SetDefaultTabStop(This,Value)
  489. #define ITextDocument_New(This) \
  490. (This)->lpVtbl -> New(This)
  491. #define ITextDocument_Open(This,pVar,Flags,CodePage) \
  492. (This)->lpVtbl -> Open(This,pVar,Flags,CodePage)
  493. #define ITextDocument_Save(This,pVar,Flags,CodePage) \
  494. (This)->lpVtbl -> Save(This,pVar,Flags,CodePage)
  495. #define ITextDocument_Freeze(This,pCount) \
  496. (This)->lpVtbl -> Freeze(This,pCount)
  497. #define ITextDocument_Unfreeze(This,pCount) \
  498. (This)->lpVtbl -> Unfreeze(This,pCount)
  499. #define ITextDocument_BeginEditCollection(This) \
  500. (This)->lpVtbl -> BeginEditCollection(This)
  501. #define ITextDocument_EndEditCollection(This) \
  502. (This)->lpVtbl -> EndEditCollection(This)
  503. #define ITextDocument_Undo(This,Count,prop) \
  504. (This)->lpVtbl -> Undo(This,Count,prop)
  505. #define ITextDocument_Redo(This,Count,prop) \
  506. (This)->lpVtbl -> Redo(This,Count,prop)
  507. #define ITextDocument_Range(This,cp1,cp2,ppRange) \
  508. (This)->lpVtbl -> Range(This,cp1,cp2,ppRange)
  509. #define ITextDocument_RangeFromPoint(This,x,y,ppRange) \
  510. (This)->lpVtbl -> RangeFromPoint(This,x,y,ppRange)
  511. #endif /* COBJMACROS */
  512. #endif /* C style interface */
  513. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_GetName_Proxy(
  514. ITextDocument __RPC_FAR * This,
  515. /* [retval][out] */ BSTR __RPC_FAR *pName);
  516. void __RPC_STUB ITextDocument_GetName_Stub(
  517. IRpcStubBuffer *This,
  518. IRpcChannelBuffer *_pRpcChannelBuffer,
  519. PRPC_MESSAGE _pRpcMessage,
  520. DWORD *_pdwStubPhase);
  521. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_GetSelection_Proxy(
  522. ITextDocument __RPC_FAR * This,
  523. /* [retval][out] */ ITextSelection __RPC_FAR *__RPC_FAR *ppSel);
  524. void __RPC_STUB ITextDocument_GetSelection_Stub(
  525. IRpcStubBuffer *This,
  526. IRpcChannelBuffer *_pRpcChannelBuffer,
  527. PRPC_MESSAGE _pRpcMessage,
  528. DWORD *_pdwStubPhase);
  529. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_GetStoryCount_Proxy(
  530. ITextDocument __RPC_FAR * This,
  531. /* [retval][out] */ long __RPC_FAR *pCount);
  532. void __RPC_STUB ITextDocument_GetStoryCount_Stub(
  533. IRpcStubBuffer *This,
  534. IRpcChannelBuffer *_pRpcChannelBuffer,
  535. PRPC_MESSAGE _pRpcMessage,
  536. DWORD *_pdwStubPhase);
  537. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_GetStoryRanges_Proxy(
  538. ITextDocument __RPC_FAR * This,
  539. /* [retval][out] */ ITextStoryRanges __RPC_FAR *__RPC_FAR *ppStories);
  540. void __RPC_STUB ITextDocument_GetStoryRanges_Stub(
  541. IRpcStubBuffer *This,
  542. IRpcChannelBuffer *_pRpcChannelBuffer,
  543. PRPC_MESSAGE _pRpcMessage,
  544. DWORD *_pdwStubPhase);
  545. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_GetSaved_Proxy(
  546. ITextDocument __RPC_FAR * This,
  547. /* [retval][out] */ long __RPC_FAR *pValue);
  548. void __RPC_STUB ITextDocument_GetSaved_Stub(
  549. IRpcStubBuffer *This,
  550. IRpcChannelBuffer *_pRpcChannelBuffer,
  551. PRPC_MESSAGE _pRpcMessage,
  552. DWORD *_pdwStubPhase);
  553. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_SetSaved_Proxy(
  554. ITextDocument __RPC_FAR * This,
  555. /* [in] */ long Value);
  556. void __RPC_STUB ITextDocument_SetSaved_Stub(
  557. IRpcStubBuffer *This,
  558. IRpcChannelBuffer *_pRpcChannelBuffer,
  559. PRPC_MESSAGE _pRpcMessage,
  560. DWORD *_pdwStubPhase);
  561. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_GetDefaultTabStop_Proxy(
  562. ITextDocument __RPC_FAR * This,
  563. /* [retval][out] */ float __RPC_FAR *pValue);
  564. void __RPC_STUB ITextDocument_GetDefaultTabStop_Stub(
  565. IRpcStubBuffer *This,
  566. IRpcChannelBuffer *_pRpcChannelBuffer,
  567. PRPC_MESSAGE _pRpcMessage,
  568. DWORD *_pdwStubPhase);
  569. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextDocument_SetDefaultTabStop_Proxy(
  570. ITextDocument __RPC_FAR * This,
  571. /* [in] */ float Value);
  572. void __RPC_STUB ITextDocument_SetDefaultTabStop_Stub(
  573. IRpcStubBuffer *This,
  574. IRpcChannelBuffer *_pRpcChannelBuffer,
  575. PRPC_MESSAGE _pRpcMessage,
  576. DWORD *_pdwStubPhase);
  577. /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_New_Proxy(
  578. ITextDocument __RPC_FAR * This);
  579. void __RPC_STUB ITextDocument_New_Stub(
  580. IRpcStubBuffer *This,
  581. IRpcChannelBuffer *_pRpcChannelBuffer,
  582. PRPC_MESSAGE _pRpcMessage,
  583. DWORD *_pdwStubPhase);
  584. /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Open_Proxy(
  585. ITextDocument __RPC_FAR * This,
  586. /* [in] */ VARIANT __RPC_FAR *pVar,
  587. /* [in] */ long Flags,
  588. /* [in] */ long CodePage);
  589. void __RPC_STUB ITextDocument_Open_Stub(
  590. IRpcStubBuffer *This,
  591. IRpcChannelBuffer *_pRpcChannelBuffer,
  592. PRPC_MESSAGE _pRpcMessage,
  593. DWORD *_pdwStubPhase);
  594. /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Save_Proxy(
  595. ITextDocument __RPC_FAR * This,
  596. /* [in] */ VARIANT __RPC_FAR *pVar,
  597. /* [in] */ long Flags,
  598. /* [in] */ long CodePage);
  599. void __RPC_STUB ITextDocument_Save_Stub(
  600. IRpcStubBuffer *This,
  601. IRpcChannelBuffer *_pRpcChannelBuffer,
  602. PRPC_MESSAGE _pRpcMessage,
  603. DWORD *_pdwStubPhase);
  604. /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Freeze_Proxy(
  605. ITextDocument __RPC_FAR * This,
  606. /* [retval][out] */ long __RPC_FAR *pCount);
  607. void __RPC_STUB ITextDocument_Freeze_Stub(
  608. IRpcStubBuffer *This,
  609. IRpcChannelBuffer *_pRpcChannelBuffer,
  610. PRPC_MESSAGE _pRpcMessage,
  611. DWORD *_pdwStubPhase);
  612. /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Unfreeze_Proxy(
  613. ITextDocument __RPC_FAR * This,
  614. /* [retval][out] */ long __RPC_FAR *pCount);
  615. void __RPC_STUB ITextDocument_Unfreeze_Stub(
  616. IRpcStubBuffer *This,
  617. IRpcChannelBuffer *_pRpcChannelBuffer,
  618. PRPC_MESSAGE _pRpcMessage,
  619. DWORD *_pdwStubPhase);
  620. /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_BeginEditCollection_Proxy(
  621. ITextDocument __RPC_FAR * This);
  622. void __RPC_STUB ITextDocument_BeginEditCollection_Stub(
  623. IRpcStubBuffer *This,
  624. IRpcChannelBuffer *_pRpcChannelBuffer,
  625. PRPC_MESSAGE _pRpcMessage,
  626. DWORD *_pdwStubPhase);
  627. /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_EndEditCollection_Proxy(
  628. ITextDocument __RPC_FAR * This);
  629. void __RPC_STUB ITextDocument_EndEditCollection_Stub(
  630. IRpcStubBuffer *This,
  631. IRpcChannelBuffer *_pRpcChannelBuffer,
  632. PRPC_MESSAGE _pRpcMessage,
  633. DWORD *_pdwStubPhase);
  634. /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Undo_Proxy(
  635. ITextDocument __RPC_FAR * This,
  636. /* [in] */ long Count,
  637. /* [retval][out] */ long __RPC_FAR *prop);
  638. void __RPC_STUB ITextDocument_Undo_Stub(
  639. IRpcStubBuffer *This,
  640. IRpcChannelBuffer *_pRpcChannelBuffer,
  641. PRPC_MESSAGE _pRpcMessage,
  642. DWORD *_pdwStubPhase);
  643. /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Redo_Proxy(
  644. ITextDocument __RPC_FAR * This,
  645. /* [in] */ long Count,
  646. /* [retval][out] */ long __RPC_FAR *prop);
  647. void __RPC_STUB ITextDocument_Redo_Stub(
  648. IRpcStubBuffer *This,
  649. IRpcChannelBuffer *_pRpcChannelBuffer,
  650. PRPC_MESSAGE _pRpcMessage,
  651. DWORD *_pdwStubPhase);
  652. /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_Range_Proxy(
  653. ITextDocument __RPC_FAR * This,
  654. /* [in] */ long cp1,
  655. /* [in] */ long cp2,
  656. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  657. void __RPC_STUB ITextDocument_Range_Stub(
  658. IRpcStubBuffer *This,
  659. IRpcChannelBuffer *_pRpcChannelBuffer,
  660. PRPC_MESSAGE _pRpcMessage,
  661. DWORD *_pdwStubPhase);
  662. /* [id] */ HRESULT STDMETHODCALLTYPE ITextDocument_RangeFromPoint_Proxy(
  663. ITextDocument __RPC_FAR * This,
  664. /* [in] */ long x,
  665. /* [in] */ long y,
  666. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  667. void __RPC_STUB ITextDocument_RangeFromPoint_Stub(
  668. IRpcStubBuffer *This,
  669. IRpcChannelBuffer *_pRpcChannelBuffer,
  670. PRPC_MESSAGE _pRpcMessage,
  671. DWORD *_pdwStubPhase);
  672. #endif /* __ITextDocument_INTERFACE_DEFINED__ */
  673. #ifndef __ITextRange_INTERFACE_DEFINED__
  674. #define __ITextRange_INTERFACE_DEFINED__
  675. /* interface ITextRange */
  676. /* [object][nonextensible][dual][version][uuid] */
  677. EXTERN_C const IID IID_ITextRange;
  678. #if defined(__cplusplus) && !defined(CINTERFACE)
  679. MIDL_INTERFACE("8CC497C2-A1DF-11ce-8098-00AA0047BE5D")
  680. ITextRange : public IDispatch
  681. {
  682. public:
  683. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetText(
  684. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  685. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetText(
  686. /* [in] */ BSTR bstr) = 0;
  687. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetChar(
  688. /* [retval][out] */ long __RPC_FAR *pch) = 0;
  689. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetChar(
  690. /* [in] */ long ch) = 0;
  691. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetDuplicate(
  692. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange) = 0;
  693. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetFormattedText(
  694. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange) = 0;
  695. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetFormattedText(
  696. /* [in] */ ITextRange __RPC_FAR *pRange) = 0;
  697. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStart(
  698. /* [retval][out] */ long __RPC_FAR *pcpFirst) = 0;
  699. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetStart(
  700. /* [in] */ long cpFirst) = 0;
  701. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetEnd(
  702. /* [retval][out] */ long __RPC_FAR *pcpLim) = 0;
  703. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetEnd(
  704. /* [in] */ long cpLim) = 0;
  705. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetFont(
  706. /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *pFont) = 0;
  707. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetFont(
  708. /* [in] */ ITextFont __RPC_FAR *pFont) = 0;
  709. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetPara(
  710. /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *pPara) = 0;
  711. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetPara(
  712. /* [in] */ ITextPara __RPC_FAR *pPara) = 0;
  713. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStoryLength(
  714. /* [retval][out] */ long __RPC_FAR *pcch) = 0;
  715. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStoryType(
  716. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  717. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Collapse(
  718. /* [in] */ long bStart) = 0;
  719. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Expand(
  720. /* [in] */ long Unit,
  721. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  722. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetIndex(
  723. /* [in] */ long Unit,
  724. /* [retval][out] */ long __RPC_FAR *pIndex) = 0;
  725. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetIndex(
  726. /* [in] */ long Unit,
  727. /* [in] */ long Index,
  728. /* [in] */ long Extend) = 0;
  729. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetRange(
  730. /* [in] */ long cpActive,
  731. /* [in] */ long cpOther) = 0;
  732. virtual /* [id] */ HRESULT STDMETHODCALLTYPE InRange(
  733. /* [in] */ ITextRange __RPC_FAR *pRange,
  734. /* [retval][out] */ long __RPC_FAR *pb) = 0;
  735. virtual /* [id] */ HRESULT STDMETHODCALLTYPE InStory(
  736. /* [in] */ ITextRange __RPC_FAR *pRange,
  737. /* [retval][out] */ long __RPC_FAR *pb) = 0;
  738. virtual /* [id] */ HRESULT STDMETHODCALLTYPE IsEqual(
  739. /* [in] */ ITextRange __RPC_FAR *pRange,
  740. /* [retval][out] */ long __RPC_FAR *pb) = 0;
  741. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Select( void) = 0;
  742. virtual /* [id] */ HRESULT STDMETHODCALLTYPE StartOf(
  743. /* [in] */ long Unit,
  744. /* [in] */ long Extend,
  745. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  746. virtual /* [id] */ HRESULT STDMETHODCALLTYPE EndOf(
  747. /* [in] */ long Unit,
  748. /* [in] */ long Extend,
  749. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  750. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Move(
  751. /* [in] */ long Unit,
  752. /* [in] */ long Count,
  753. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  754. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveStart(
  755. /* [in] */ long Unit,
  756. /* [in] */ long Count,
  757. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  758. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveEnd(
  759. /* [in] */ long Unit,
  760. /* [in] */ long Count,
  761. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  762. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveWhile(
  763. /* [in] */ VARIANT __RPC_FAR *Cset,
  764. /* [in] */ long Count,
  765. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  766. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveStartWhile(
  767. /* [in] */ VARIANT __RPC_FAR *Cset,
  768. /* [in] */ long Count,
  769. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  770. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveEndWhile(
  771. /* [in] */ VARIANT __RPC_FAR *Cset,
  772. /* [in] */ long Count,
  773. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  774. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveUntil(
  775. /* [in] */ VARIANT __RPC_FAR *Cset,
  776. /* [in] */ long Count,
  777. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  778. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveStartUntil(
  779. /* [in] */ VARIANT __RPC_FAR *Cset,
  780. /* [in] */ long Count,
  781. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  782. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveEndUntil(
  783. /* [in] */ VARIANT __RPC_FAR *Cset,
  784. /* [in] */ long Count,
  785. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  786. virtual /* [id] */ HRESULT STDMETHODCALLTYPE FindText(
  787. /* [in] */ BSTR bstr,
  788. /* [in] */ long cch,
  789. /* [in] */ long Flags,
  790. /* [retval][out] */ long __RPC_FAR *pLength) = 0;
  791. virtual /* [id] */ HRESULT STDMETHODCALLTYPE FindTextStart(
  792. /* [in] */ BSTR bstr,
  793. /* [in] */ long cch,
  794. /* [in] */ long Flags,
  795. /* [retval][out] */ long __RPC_FAR *pLength) = 0;
  796. virtual /* [id] */ HRESULT STDMETHODCALLTYPE FindTextEnd(
  797. /* [in] */ BSTR bstr,
  798. /* [in] */ long cch,
  799. /* [in] */ long Flags,
  800. /* [retval][out] */ long __RPC_FAR *pLength) = 0;
  801. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Delete(
  802. /* [in] */ long Unit,
  803. /* [in] */ long Count,
  804. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  805. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Cut(
  806. /* [out] */ VARIANT __RPC_FAR *pVar) = 0;
  807. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Copy(
  808. /* [out] */ VARIANT __RPC_FAR *pVar) = 0;
  809. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Paste(
  810. /* [in] */ VARIANT __RPC_FAR *pVar,
  811. /* [in] */ long Format) = 0;
  812. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CanPaste(
  813. /* [in] */ VARIANT __RPC_FAR *pVar,
  814. /* [in] */ long Format,
  815. /* [retval][out] */ long __RPC_FAR *pb) = 0;
  816. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CanEdit(
  817. /* [retval][out] */ long __RPC_FAR *pbCanEdit) = 0;
  818. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ChangeCase(
  819. /* [in] */ long Type) = 0;
  820. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetPoint(
  821. /* [in] */ long Type,
  822. /* [out] */ long __RPC_FAR *px,
  823. /* [out] */ long __RPC_FAR *py) = 0;
  824. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetPoint(
  825. /* [in] */ long x,
  826. /* [in] */ long y,
  827. /* [in] */ long Type,
  828. /* [in] */ long Extend) = 0;
  829. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ScrollIntoView(
  830. /* [in] */ long Value) = 0;
  831. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetEmbeddedObject(
  832. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppv) = 0;
  833. };
  834. #else /* C style interface */
  835. typedef struct ITextRangeVtbl
  836. {
  837. BEGIN_INTERFACE
  838. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  839. ITextRange __RPC_FAR * This,
  840. /* [in] */ REFIID riid,
  841. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  842. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  843. ITextRange __RPC_FAR * This);
  844. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  845. ITextRange __RPC_FAR * This);
  846. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  847. ITextRange __RPC_FAR * This,
  848. /* [out] */ UINT __RPC_FAR *pctinfo);
  849. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  850. ITextRange __RPC_FAR * This,
  851. /* [in] */ UINT iTInfo,
  852. /* [in] */ LCID lcid,
  853. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  854. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  855. ITextRange __RPC_FAR * This,
  856. /* [in] */ REFIID riid,
  857. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  858. /* [in] */ UINT cNames,
  859. /* [in] */ LCID lcid,
  860. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  861. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  862. ITextRange __RPC_FAR * This,
  863. /* [in] */ DISPID dispIdMember,
  864. /* [in] */ REFIID riid,
  865. /* [in] */ LCID lcid,
  866. /* [in] */ WORD wFlags,
  867. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  868. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  869. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  870. /* [out] */ UINT __RPC_FAR *puArgErr);
  871. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetText )(
  872. ITextRange __RPC_FAR * This,
  873. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  874. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetText )(
  875. ITextRange __RPC_FAR * This,
  876. /* [in] */ BSTR bstr);
  877. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetChar )(
  878. ITextRange __RPC_FAR * This,
  879. /* [retval][out] */ long __RPC_FAR *pch);
  880. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetChar )(
  881. ITextRange __RPC_FAR * This,
  882. /* [in] */ long ch);
  883. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDuplicate )(
  884. ITextRange __RPC_FAR * This,
  885. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  886. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFormattedText )(
  887. ITextRange __RPC_FAR * This,
  888. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  889. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFormattedText )(
  890. ITextRange __RPC_FAR * This,
  891. /* [in] */ ITextRange __RPC_FAR *pRange);
  892. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStart )(
  893. ITextRange __RPC_FAR * This,
  894. /* [retval][out] */ long __RPC_FAR *pcpFirst);
  895. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetStart )(
  896. ITextRange __RPC_FAR * This,
  897. /* [in] */ long cpFirst);
  898. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnd )(
  899. ITextRange __RPC_FAR * This,
  900. /* [retval][out] */ long __RPC_FAR *pcpLim);
  901. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEnd )(
  902. ITextRange __RPC_FAR * This,
  903. /* [in] */ long cpLim);
  904. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFont )(
  905. ITextRange __RPC_FAR * This,
  906. /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *pFont);
  907. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFont )(
  908. ITextRange __RPC_FAR * This,
  909. /* [in] */ ITextFont __RPC_FAR *pFont);
  910. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPara )(
  911. ITextRange __RPC_FAR * This,
  912. /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *pPara);
  913. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPara )(
  914. ITextRange __RPC_FAR * This,
  915. /* [in] */ ITextPara __RPC_FAR *pPara);
  916. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryLength )(
  917. ITextRange __RPC_FAR * This,
  918. /* [retval][out] */ long __RPC_FAR *pcch);
  919. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryType )(
  920. ITextRange __RPC_FAR * This,
  921. /* [retval][out] */ long __RPC_FAR *pValue);
  922. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Collapse )(
  923. ITextRange __RPC_FAR * This,
  924. /* [in] */ long bStart);
  925. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Expand )(
  926. ITextRange __RPC_FAR * This,
  927. /* [in] */ long Unit,
  928. /* [retval][out] */ long __RPC_FAR *pDelta);
  929. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIndex )(
  930. ITextRange __RPC_FAR * This,
  931. /* [in] */ long Unit,
  932. /* [retval][out] */ long __RPC_FAR *pIndex);
  933. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIndex )(
  934. ITextRange __RPC_FAR * This,
  935. /* [in] */ long Unit,
  936. /* [in] */ long Index,
  937. /* [in] */ long Extend);
  938. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetRange )(
  939. ITextRange __RPC_FAR * This,
  940. /* [in] */ long cpActive,
  941. /* [in] */ long cpOther);
  942. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InRange )(
  943. ITextRange __RPC_FAR * This,
  944. /* [in] */ ITextRange __RPC_FAR *pRange,
  945. /* [retval][out] */ long __RPC_FAR *pb);
  946. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InStory )(
  947. ITextRange __RPC_FAR * This,
  948. /* [in] */ ITextRange __RPC_FAR *pRange,
  949. /* [retval][out] */ long __RPC_FAR *pb);
  950. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsEqual )(
  951. ITextRange __RPC_FAR * This,
  952. /* [in] */ ITextRange __RPC_FAR *pRange,
  953. /* [retval][out] */ long __RPC_FAR *pb);
  954. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Select )(
  955. ITextRange __RPC_FAR * This);
  956. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StartOf )(
  957. ITextRange __RPC_FAR * This,
  958. /* [in] */ long Unit,
  959. /* [in] */ long Extend,
  960. /* [retval][out] */ long __RPC_FAR *pDelta);
  961. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndOf )(
  962. ITextRange __RPC_FAR * This,
  963. /* [in] */ long Unit,
  964. /* [in] */ long Extend,
  965. /* [retval][out] */ long __RPC_FAR *pDelta);
  966. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
  967. ITextRange __RPC_FAR * This,
  968. /* [in] */ long Unit,
  969. /* [in] */ long Count,
  970. /* [retval][out] */ long __RPC_FAR *pDelta);
  971. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveStart )(
  972. ITextRange __RPC_FAR * This,
  973. /* [in] */ long Unit,
  974. /* [in] */ long Count,
  975. /* [retval][out] */ long __RPC_FAR *pDelta);
  976. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveEnd )(
  977. ITextRange __RPC_FAR * This,
  978. /* [in] */ long Unit,
  979. /* [in] */ long Count,
  980. /* [retval][out] */ long __RPC_FAR *pDelta);
  981. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveWhile )(
  982. ITextRange __RPC_FAR * This,
  983. /* [in] */ VARIANT __RPC_FAR *Cset,
  984. /* [in] */ long Count,
  985. /* [retval][out] */ long __RPC_FAR *pDelta);
  986. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveStartWhile )(
  987. ITextRange __RPC_FAR * This,
  988. /* [in] */ VARIANT __RPC_FAR *Cset,
  989. /* [in] */ long Count,
  990. /* [retval][out] */ long __RPC_FAR *pDelta);
  991. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveEndWhile )(
  992. ITextRange __RPC_FAR * This,
  993. /* [in] */ VARIANT __RPC_FAR *Cset,
  994. /* [in] */ long Count,
  995. /* [retval][out] */ long __RPC_FAR *pDelta);
  996. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveUntil )(
  997. ITextRange __RPC_FAR * This,
  998. /* [in] */ VARIANT __RPC_FAR *Cset,
  999. /* [in] */ long Count,
  1000. /* [retval][out] */ long __RPC_FAR *pDelta);
  1001. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveStartUntil )(
  1002. ITextRange __RPC_FAR * This,
  1003. /* [in] */ VARIANT __RPC_FAR *Cset,
  1004. /* [in] */ long Count,
  1005. /* [retval][out] */ long __RPC_FAR *pDelta);
  1006. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveEndUntil )(
  1007. ITextRange __RPC_FAR * This,
  1008. /* [in] */ VARIANT __RPC_FAR *Cset,
  1009. /* [in] */ long Count,
  1010. /* [retval][out] */ long __RPC_FAR *pDelta);
  1011. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindText )(
  1012. ITextRange __RPC_FAR * This,
  1013. /* [in] */ BSTR bstr,
  1014. /* [in] */ long cch,
  1015. /* [in] */ long Flags,
  1016. /* [retval][out] */ long __RPC_FAR *pLength);
  1017. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindTextStart )(
  1018. ITextRange __RPC_FAR * This,
  1019. /* [in] */ BSTR bstr,
  1020. /* [in] */ long cch,
  1021. /* [in] */ long Flags,
  1022. /* [retval][out] */ long __RPC_FAR *pLength);
  1023. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindTextEnd )(
  1024. ITextRange __RPC_FAR * This,
  1025. /* [in] */ BSTR bstr,
  1026. /* [in] */ long cch,
  1027. /* [in] */ long Flags,
  1028. /* [retval][out] */ long __RPC_FAR *pLength);
  1029. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  1030. ITextRange __RPC_FAR * This,
  1031. /* [in] */ long Unit,
  1032. /* [in] */ long Count,
  1033. /* [retval][out] */ long __RPC_FAR *pDelta);
  1034. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Cut )(
  1035. ITextRange __RPC_FAR * This,
  1036. /* [out] */ VARIANT __RPC_FAR *pVar);
  1037. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Copy )(
  1038. ITextRange __RPC_FAR * This,
  1039. /* [out] */ VARIANT __RPC_FAR *pVar);
  1040. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Paste )(
  1041. ITextRange __RPC_FAR * This,
  1042. /* [in] */ VARIANT __RPC_FAR *pVar,
  1043. /* [in] */ long Format);
  1044. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanPaste )(
  1045. ITextRange __RPC_FAR * This,
  1046. /* [in] */ VARIANT __RPC_FAR *pVar,
  1047. /* [in] */ long Format,
  1048. /* [retval][out] */ long __RPC_FAR *pb);
  1049. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanEdit )(
  1050. ITextRange __RPC_FAR * This,
  1051. /* [retval][out] */ long __RPC_FAR *pbCanEdit);
  1052. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ChangeCase )(
  1053. ITextRange __RPC_FAR * This,
  1054. /* [in] */ long Type);
  1055. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPoint )(
  1056. ITextRange __RPC_FAR * This,
  1057. /* [in] */ long Type,
  1058. /* [out] */ long __RPC_FAR *px,
  1059. /* [out] */ long __RPC_FAR *py);
  1060. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPoint )(
  1061. ITextRange __RPC_FAR * This,
  1062. /* [in] */ long x,
  1063. /* [in] */ long y,
  1064. /* [in] */ long Type,
  1065. /* [in] */ long Extend);
  1066. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ScrollIntoView )(
  1067. ITextRange __RPC_FAR * This,
  1068. /* [in] */ long Value);
  1069. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEmbeddedObject )(
  1070. ITextRange __RPC_FAR * This,
  1071. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppv);
  1072. END_INTERFACE
  1073. } ITextRangeVtbl;
  1074. interface ITextRange
  1075. {
  1076. CONST_VTBL struct ITextRangeVtbl __RPC_FAR *lpVtbl;
  1077. };
  1078. #ifdef COBJMACROS
  1079. #define ITextRange_QueryInterface(This,riid,ppvObject) \
  1080. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1081. #define ITextRange_AddRef(This) \
  1082. (This)->lpVtbl -> AddRef(This)
  1083. #define ITextRange_Release(This) \
  1084. (This)->lpVtbl -> Release(This)
  1085. #define ITextRange_GetTypeInfoCount(This,pctinfo) \
  1086. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  1087. #define ITextRange_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  1088. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  1089. #define ITextRange_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  1090. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  1091. #define ITextRange_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  1092. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  1093. #define ITextRange_GetText(This,pbstr) \
  1094. (This)->lpVtbl -> GetText(This,pbstr)
  1095. #define ITextRange_SetText(This,bstr) \
  1096. (This)->lpVtbl -> SetText(This,bstr)
  1097. #define ITextRange_GetChar(This,pch) \
  1098. (This)->lpVtbl -> GetChar(This,pch)
  1099. #define ITextRange_SetChar(This,ch) \
  1100. (This)->lpVtbl -> SetChar(This,ch)
  1101. #define ITextRange_GetDuplicate(This,ppRange) \
  1102. (This)->lpVtbl -> GetDuplicate(This,ppRange)
  1103. #define ITextRange_GetFormattedText(This,ppRange) \
  1104. (This)->lpVtbl -> GetFormattedText(This,ppRange)
  1105. #define ITextRange_SetFormattedText(This,pRange) \
  1106. (This)->lpVtbl -> SetFormattedText(This,pRange)
  1107. #define ITextRange_GetStart(This,pcpFirst) \
  1108. (This)->lpVtbl -> GetStart(This,pcpFirst)
  1109. #define ITextRange_SetStart(This,cpFirst) \
  1110. (This)->lpVtbl -> SetStart(This,cpFirst)
  1111. #define ITextRange_GetEnd(This,pcpLim) \
  1112. (This)->lpVtbl -> GetEnd(This,pcpLim)
  1113. #define ITextRange_SetEnd(This,cpLim) \
  1114. (This)->lpVtbl -> SetEnd(This,cpLim)
  1115. #define ITextRange_GetFont(This,pFont) \
  1116. (This)->lpVtbl -> GetFont(This,pFont)
  1117. #define ITextRange_SetFont(This,pFont) \
  1118. (This)->lpVtbl -> SetFont(This,pFont)
  1119. #define ITextRange_GetPara(This,pPara) \
  1120. (This)->lpVtbl -> GetPara(This,pPara)
  1121. #define ITextRange_SetPara(This,pPara) \
  1122. (This)->lpVtbl -> SetPara(This,pPara)
  1123. #define ITextRange_GetStoryLength(This,pcch) \
  1124. (This)->lpVtbl -> GetStoryLength(This,pcch)
  1125. #define ITextRange_GetStoryType(This,pValue) \
  1126. (This)->lpVtbl -> GetStoryType(This,pValue)
  1127. #define ITextRange_Collapse(This,bStart) \
  1128. (This)->lpVtbl -> Collapse(This,bStart)
  1129. #define ITextRange_Expand(This,Unit,pDelta) \
  1130. (This)->lpVtbl -> Expand(This,Unit,pDelta)
  1131. #define ITextRange_GetIndex(This,Unit,pIndex) \
  1132. (This)->lpVtbl -> GetIndex(This,Unit,pIndex)
  1133. #define ITextRange_SetIndex(This,Unit,Index,Extend) \
  1134. (This)->lpVtbl -> SetIndex(This,Unit,Index,Extend)
  1135. #define ITextRange_SetRange(This,cpActive,cpOther) \
  1136. (This)->lpVtbl -> SetRange(This,cpActive,cpOther)
  1137. #define ITextRange_InRange(This,pRange,pb) \
  1138. (This)->lpVtbl -> InRange(This,pRange,pb)
  1139. #define ITextRange_InStory(This,pRange,pb) \
  1140. (This)->lpVtbl -> InStory(This,pRange,pb)
  1141. #define ITextRange_IsEqual(This,pRange,pb) \
  1142. (This)->lpVtbl -> IsEqual(This,pRange,pb)
  1143. #define ITextRange_Select(This) \
  1144. (This)->lpVtbl -> Select(This)
  1145. #define ITextRange_StartOf(This,Unit,Extend,pDelta) \
  1146. (This)->lpVtbl -> StartOf(This,Unit,Extend,pDelta)
  1147. #define ITextRange_EndOf(This,Unit,Extend,pDelta) \
  1148. (This)->lpVtbl -> EndOf(This,Unit,Extend,pDelta)
  1149. #define ITextRange_Move(This,Unit,Count,pDelta) \
  1150. (This)->lpVtbl -> Move(This,Unit,Count,pDelta)
  1151. #define ITextRange_MoveStart(This,Unit,Count,pDelta) \
  1152. (This)->lpVtbl -> MoveStart(This,Unit,Count,pDelta)
  1153. #define ITextRange_MoveEnd(This,Unit,Count,pDelta) \
  1154. (This)->lpVtbl -> MoveEnd(This,Unit,Count,pDelta)
  1155. #define ITextRange_MoveWhile(This,Cset,Count,pDelta) \
  1156. (This)->lpVtbl -> MoveWhile(This,Cset,Count,pDelta)
  1157. #define ITextRange_MoveStartWhile(This,Cset,Count,pDelta) \
  1158. (This)->lpVtbl -> MoveStartWhile(This,Cset,Count,pDelta)
  1159. #define ITextRange_MoveEndWhile(This,Cset,Count,pDelta) \
  1160. (This)->lpVtbl -> MoveEndWhile(This,Cset,Count,pDelta)
  1161. #define ITextRange_MoveUntil(This,Cset,Count,pDelta) \
  1162. (This)->lpVtbl -> MoveUntil(This,Cset,Count,pDelta)
  1163. #define ITextRange_MoveStartUntil(This,Cset,Count,pDelta) \
  1164. (This)->lpVtbl -> MoveStartUntil(This,Cset,Count,pDelta)
  1165. #define ITextRange_MoveEndUntil(This,Cset,Count,pDelta) \
  1166. (This)->lpVtbl -> MoveEndUntil(This,Cset,Count,pDelta)
  1167. #define ITextRange_FindText(This,bstr,cch,Flags,pLength) \
  1168. (This)->lpVtbl -> FindText(This,bstr,cch,Flags,pLength)
  1169. #define ITextRange_FindTextStart(This,bstr,cch,Flags,pLength) \
  1170. (This)->lpVtbl -> FindTextStart(This,bstr,cch,Flags,pLength)
  1171. #define ITextRange_FindTextEnd(This,bstr,cch,Flags,pLength) \
  1172. (This)->lpVtbl -> FindTextEnd(This,bstr,cch,Flags,pLength)
  1173. #define ITextRange_Delete(This,Unit,Count,pDelta) \
  1174. (This)->lpVtbl -> Delete(This,Unit,Count,pDelta)
  1175. #define ITextRange_Cut(This,pVar) \
  1176. (This)->lpVtbl -> Cut(This,pVar)
  1177. #define ITextRange_Copy(This,pVar) \
  1178. (This)->lpVtbl -> Copy(This,pVar)
  1179. #define ITextRange_Paste(This,pVar,Format) \
  1180. (This)->lpVtbl -> Paste(This,pVar,Format)
  1181. #define ITextRange_CanPaste(This,pVar,Format,pb) \
  1182. (This)->lpVtbl -> CanPaste(This,pVar,Format,pb)
  1183. #define ITextRange_CanEdit(This,pbCanEdit) \
  1184. (This)->lpVtbl -> CanEdit(This,pbCanEdit)
  1185. #define ITextRange_ChangeCase(This,Type) \
  1186. (This)->lpVtbl -> ChangeCase(This,Type)
  1187. #define ITextRange_GetPoint(This,Type,px,py) \
  1188. (This)->lpVtbl -> GetPoint(This,Type,px,py)
  1189. #define ITextRange_SetPoint(This,x,y,Type,Extend) \
  1190. (This)->lpVtbl -> SetPoint(This,x,y,Type,Extend)
  1191. #define ITextRange_ScrollIntoView(This,Value) \
  1192. (This)->lpVtbl -> ScrollIntoView(This,Value)
  1193. #define ITextRange_GetEmbeddedObject(This,ppv) \
  1194. (This)->lpVtbl -> GetEmbeddedObject(This,ppv)
  1195. #endif /* COBJMACROS */
  1196. #endif /* C style interface */
  1197. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetText_Proxy(
  1198. ITextRange __RPC_FAR * This,
  1199. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  1200. void __RPC_STUB ITextRange_GetText_Stub(
  1201. IRpcStubBuffer *This,
  1202. IRpcChannelBuffer *_pRpcChannelBuffer,
  1203. PRPC_MESSAGE _pRpcMessage,
  1204. DWORD *_pdwStubPhase);
  1205. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetText_Proxy(
  1206. ITextRange __RPC_FAR * This,
  1207. /* [in] */ BSTR bstr);
  1208. void __RPC_STUB ITextRange_SetText_Stub(
  1209. IRpcStubBuffer *This,
  1210. IRpcChannelBuffer *_pRpcChannelBuffer,
  1211. PRPC_MESSAGE _pRpcMessage,
  1212. DWORD *_pdwStubPhase);
  1213. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetChar_Proxy(
  1214. ITextRange __RPC_FAR * This,
  1215. /* [retval][out] */ long __RPC_FAR *pch);
  1216. void __RPC_STUB ITextRange_GetChar_Stub(
  1217. IRpcStubBuffer *This,
  1218. IRpcChannelBuffer *_pRpcChannelBuffer,
  1219. PRPC_MESSAGE _pRpcMessage,
  1220. DWORD *_pdwStubPhase);
  1221. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetChar_Proxy(
  1222. ITextRange __RPC_FAR * This,
  1223. /* [in] */ long ch);
  1224. void __RPC_STUB ITextRange_SetChar_Stub(
  1225. IRpcStubBuffer *This,
  1226. IRpcChannelBuffer *_pRpcChannelBuffer,
  1227. PRPC_MESSAGE _pRpcMessage,
  1228. DWORD *_pdwStubPhase);
  1229. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetDuplicate_Proxy(
  1230. ITextRange __RPC_FAR * This,
  1231. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  1232. void __RPC_STUB ITextRange_GetDuplicate_Stub(
  1233. IRpcStubBuffer *This,
  1234. IRpcChannelBuffer *_pRpcChannelBuffer,
  1235. PRPC_MESSAGE _pRpcMessage,
  1236. DWORD *_pdwStubPhase);
  1237. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetFormattedText_Proxy(
  1238. ITextRange __RPC_FAR * This,
  1239. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  1240. void __RPC_STUB ITextRange_GetFormattedText_Stub(
  1241. IRpcStubBuffer *This,
  1242. IRpcChannelBuffer *_pRpcChannelBuffer,
  1243. PRPC_MESSAGE _pRpcMessage,
  1244. DWORD *_pdwStubPhase);
  1245. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetFormattedText_Proxy(
  1246. ITextRange __RPC_FAR * This,
  1247. /* [in] */ ITextRange __RPC_FAR *pRange);
  1248. void __RPC_STUB ITextRange_SetFormattedText_Stub(
  1249. IRpcStubBuffer *This,
  1250. IRpcChannelBuffer *_pRpcChannelBuffer,
  1251. PRPC_MESSAGE _pRpcMessage,
  1252. DWORD *_pdwStubPhase);
  1253. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetStart_Proxy(
  1254. ITextRange __RPC_FAR * This,
  1255. /* [retval][out] */ long __RPC_FAR *pcpFirst);
  1256. void __RPC_STUB ITextRange_GetStart_Stub(
  1257. IRpcStubBuffer *This,
  1258. IRpcChannelBuffer *_pRpcChannelBuffer,
  1259. PRPC_MESSAGE _pRpcMessage,
  1260. DWORD *_pdwStubPhase);
  1261. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetStart_Proxy(
  1262. ITextRange __RPC_FAR * This,
  1263. /* [in] */ long cpFirst);
  1264. void __RPC_STUB ITextRange_SetStart_Stub(
  1265. IRpcStubBuffer *This,
  1266. IRpcChannelBuffer *_pRpcChannelBuffer,
  1267. PRPC_MESSAGE _pRpcMessage,
  1268. DWORD *_pdwStubPhase);
  1269. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetEnd_Proxy(
  1270. ITextRange __RPC_FAR * This,
  1271. /* [retval][out] */ long __RPC_FAR *pcpLim);
  1272. void __RPC_STUB ITextRange_GetEnd_Stub(
  1273. IRpcStubBuffer *This,
  1274. IRpcChannelBuffer *_pRpcChannelBuffer,
  1275. PRPC_MESSAGE _pRpcMessage,
  1276. DWORD *_pdwStubPhase);
  1277. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetEnd_Proxy(
  1278. ITextRange __RPC_FAR * This,
  1279. /* [in] */ long cpLim);
  1280. void __RPC_STUB ITextRange_SetEnd_Stub(
  1281. IRpcStubBuffer *This,
  1282. IRpcChannelBuffer *_pRpcChannelBuffer,
  1283. PRPC_MESSAGE _pRpcMessage,
  1284. DWORD *_pdwStubPhase);
  1285. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetFont_Proxy(
  1286. ITextRange __RPC_FAR * This,
  1287. /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *pFont);
  1288. void __RPC_STUB ITextRange_GetFont_Stub(
  1289. IRpcStubBuffer *This,
  1290. IRpcChannelBuffer *_pRpcChannelBuffer,
  1291. PRPC_MESSAGE _pRpcMessage,
  1292. DWORD *_pdwStubPhase);
  1293. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetFont_Proxy(
  1294. ITextRange __RPC_FAR * This,
  1295. /* [in] */ ITextFont __RPC_FAR *pFont);
  1296. void __RPC_STUB ITextRange_SetFont_Stub(
  1297. IRpcStubBuffer *This,
  1298. IRpcChannelBuffer *_pRpcChannelBuffer,
  1299. PRPC_MESSAGE _pRpcMessage,
  1300. DWORD *_pdwStubPhase);
  1301. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetPara_Proxy(
  1302. ITextRange __RPC_FAR * This,
  1303. /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *pPara);
  1304. void __RPC_STUB ITextRange_GetPara_Stub(
  1305. IRpcStubBuffer *This,
  1306. IRpcChannelBuffer *_pRpcChannelBuffer,
  1307. PRPC_MESSAGE _pRpcMessage,
  1308. DWORD *_pdwStubPhase);
  1309. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetPara_Proxy(
  1310. ITextRange __RPC_FAR * This,
  1311. /* [in] */ ITextPara __RPC_FAR *pPara);
  1312. void __RPC_STUB ITextRange_SetPara_Stub(
  1313. IRpcStubBuffer *This,
  1314. IRpcChannelBuffer *_pRpcChannelBuffer,
  1315. PRPC_MESSAGE _pRpcMessage,
  1316. DWORD *_pdwStubPhase);
  1317. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetStoryLength_Proxy(
  1318. ITextRange __RPC_FAR * This,
  1319. /* [retval][out] */ long __RPC_FAR *pcch);
  1320. void __RPC_STUB ITextRange_GetStoryLength_Stub(
  1321. IRpcStubBuffer *This,
  1322. IRpcChannelBuffer *_pRpcChannelBuffer,
  1323. PRPC_MESSAGE _pRpcMessage,
  1324. DWORD *_pdwStubPhase);
  1325. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetStoryType_Proxy(
  1326. ITextRange __RPC_FAR * This,
  1327. /* [retval][out] */ long __RPC_FAR *pValue);
  1328. void __RPC_STUB ITextRange_GetStoryType_Stub(
  1329. IRpcStubBuffer *This,
  1330. IRpcChannelBuffer *_pRpcChannelBuffer,
  1331. PRPC_MESSAGE _pRpcMessage,
  1332. DWORD *_pdwStubPhase);
  1333. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Collapse_Proxy(
  1334. ITextRange __RPC_FAR * This,
  1335. /* [in] */ long bStart);
  1336. void __RPC_STUB ITextRange_Collapse_Stub(
  1337. IRpcStubBuffer *This,
  1338. IRpcChannelBuffer *_pRpcChannelBuffer,
  1339. PRPC_MESSAGE _pRpcMessage,
  1340. DWORD *_pdwStubPhase);
  1341. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Expand_Proxy(
  1342. ITextRange __RPC_FAR * This,
  1343. /* [in] */ long Unit,
  1344. /* [retval][out] */ long __RPC_FAR *pDelta);
  1345. void __RPC_STUB ITextRange_Expand_Stub(
  1346. IRpcStubBuffer *This,
  1347. IRpcChannelBuffer *_pRpcChannelBuffer,
  1348. PRPC_MESSAGE _pRpcMessage,
  1349. DWORD *_pdwStubPhase);
  1350. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetIndex_Proxy(
  1351. ITextRange __RPC_FAR * This,
  1352. /* [in] */ long Unit,
  1353. /* [retval][out] */ long __RPC_FAR *pIndex);
  1354. void __RPC_STUB ITextRange_GetIndex_Stub(
  1355. IRpcStubBuffer *This,
  1356. IRpcChannelBuffer *_pRpcChannelBuffer,
  1357. PRPC_MESSAGE _pRpcMessage,
  1358. DWORD *_pdwStubPhase);
  1359. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetIndex_Proxy(
  1360. ITextRange __RPC_FAR * This,
  1361. /* [in] */ long Unit,
  1362. /* [in] */ long Index,
  1363. /* [in] */ long Extend);
  1364. void __RPC_STUB ITextRange_SetIndex_Stub(
  1365. IRpcStubBuffer *This,
  1366. IRpcChannelBuffer *_pRpcChannelBuffer,
  1367. PRPC_MESSAGE _pRpcMessage,
  1368. DWORD *_pdwStubPhase);
  1369. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetRange_Proxy(
  1370. ITextRange __RPC_FAR * This,
  1371. /* [in] */ long cpActive,
  1372. /* [in] */ long cpOther);
  1373. void __RPC_STUB ITextRange_SetRange_Stub(
  1374. IRpcStubBuffer *This,
  1375. IRpcChannelBuffer *_pRpcChannelBuffer,
  1376. PRPC_MESSAGE _pRpcMessage,
  1377. DWORD *_pdwStubPhase);
  1378. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_InRange_Proxy(
  1379. ITextRange __RPC_FAR * This,
  1380. /* [in] */ ITextRange __RPC_FAR *pRange,
  1381. /* [retval][out] */ long __RPC_FAR *pb);
  1382. void __RPC_STUB ITextRange_InRange_Stub(
  1383. IRpcStubBuffer *This,
  1384. IRpcChannelBuffer *_pRpcChannelBuffer,
  1385. PRPC_MESSAGE _pRpcMessage,
  1386. DWORD *_pdwStubPhase);
  1387. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_InStory_Proxy(
  1388. ITextRange __RPC_FAR * This,
  1389. /* [in] */ ITextRange __RPC_FAR *pRange,
  1390. /* [retval][out] */ long __RPC_FAR *pb);
  1391. void __RPC_STUB ITextRange_InStory_Stub(
  1392. IRpcStubBuffer *This,
  1393. IRpcChannelBuffer *_pRpcChannelBuffer,
  1394. PRPC_MESSAGE _pRpcMessage,
  1395. DWORD *_pdwStubPhase);
  1396. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_IsEqual_Proxy(
  1397. ITextRange __RPC_FAR * This,
  1398. /* [in] */ ITextRange __RPC_FAR *pRange,
  1399. /* [retval][out] */ long __RPC_FAR *pb);
  1400. void __RPC_STUB ITextRange_IsEqual_Stub(
  1401. IRpcStubBuffer *This,
  1402. IRpcChannelBuffer *_pRpcChannelBuffer,
  1403. PRPC_MESSAGE _pRpcMessage,
  1404. DWORD *_pdwStubPhase);
  1405. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Select_Proxy(
  1406. ITextRange __RPC_FAR * This);
  1407. void __RPC_STUB ITextRange_Select_Stub(
  1408. IRpcStubBuffer *This,
  1409. IRpcChannelBuffer *_pRpcChannelBuffer,
  1410. PRPC_MESSAGE _pRpcMessage,
  1411. DWORD *_pdwStubPhase);
  1412. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_StartOf_Proxy(
  1413. ITextRange __RPC_FAR * This,
  1414. /* [in] */ long Unit,
  1415. /* [in] */ long Extend,
  1416. /* [retval][out] */ long __RPC_FAR *pDelta);
  1417. void __RPC_STUB ITextRange_StartOf_Stub(
  1418. IRpcStubBuffer *This,
  1419. IRpcChannelBuffer *_pRpcChannelBuffer,
  1420. PRPC_MESSAGE _pRpcMessage,
  1421. DWORD *_pdwStubPhase);
  1422. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_EndOf_Proxy(
  1423. ITextRange __RPC_FAR * This,
  1424. /* [in] */ long Unit,
  1425. /* [in] */ long Extend,
  1426. /* [retval][out] */ long __RPC_FAR *pDelta);
  1427. void __RPC_STUB ITextRange_EndOf_Stub(
  1428. IRpcStubBuffer *This,
  1429. IRpcChannelBuffer *_pRpcChannelBuffer,
  1430. PRPC_MESSAGE _pRpcMessage,
  1431. DWORD *_pdwStubPhase);
  1432. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Move_Proxy(
  1433. ITextRange __RPC_FAR * This,
  1434. /* [in] */ long Unit,
  1435. /* [in] */ long Count,
  1436. /* [retval][out] */ long __RPC_FAR *pDelta);
  1437. void __RPC_STUB ITextRange_Move_Stub(
  1438. IRpcStubBuffer *This,
  1439. IRpcChannelBuffer *_pRpcChannelBuffer,
  1440. PRPC_MESSAGE _pRpcMessage,
  1441. DWORD *_pdwStubPhase);
  1442. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveStart_Proxy(
  1443. ITextRange __RPC_FAR * This,
  1444. /* [in] */ long Unit,
  1445. /* [in] */ long Count,
  1446. /* [retval][out] */ long __RPC_FAR *pDelta);
  1447. void __RPC_STUB ITextRange_MoveStart_Stub(
  1448. IRpcStubBuffer *This,
  1449. IRpcChannelBuffer *_pRpcChannelBuffer,
  1450. PRPC_MESSAGE _pRpcMessage,
  1451. DWORD *_pdwStubPhase);
  1452. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveEnd_Proxy(
  1453. ITextRange __RPC_FAR * This,
  1454. /* [in] */ long Unit,
  1455. /* [in] */ long Count,
  1456. /* [retval][out] */ long __RPC_FAR *pDelta);
  1457. void __RPC_STUB ITextRange_MoveEnd_Stub(
  1458. IRpcStubBuffer *This,
  1459. IRpcChannelBuffer *_pRpcChannelBuffer,
  1460. PRPC_MESSAGE _pRpcMessage,
  1461. DWORD *_pdwStubPhase);
  1462. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveWhile_Proxy(
  1463. ITextRange __RPC_FAR * This,
  1464. /* [in] */ VARIANT __RPC_FAR *Cset,
  1465. /* [in] */ long Count,
  1466. /* [retval][out] */ long __RPC_FAR *pDelta);
  1467. void __RPC_STUB ITextRange_MoveWhile_Stub(
  1468. IRpcStubBuffer *This,
  1469. IRpcChannelBuffer *_pRpcChannelBuffer,
  1470. PRPC_MESSAGE _pRpcMessage,
  1471. DWORD *_pdwStubPhase);
  1472. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveStartWhile_Proxy(
  1473. ITextRange __RPC_FAR * This,
  1474. /* [in] */ VARIANT __RPC_FAR *Cset,
  1475. /* [in] */ long Count,
  1476. /* [retval][out] */ long __RPC_FAR *pDelta);
  1477. void __RPC_STUB ITextRange_MoveStartWhile_Stub(
  1478. IRpcStubBuffer *This,
  1479. IRpcChannelBuffer *_pRpcChannelBuffer,
  1480. PRPC_MESSAGE _pRpcMessage,
  1481. DWORD *_pdwStubPhase);
  1482. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveEndWhile_Proxy(
  1483. ITextRange __RPC_FAR * This,
  1484. /* [in] */ VARIANT __RPC_FAR *Cset,
  1485. /* [in] */ long Count,
  1486. /* [retval][out] */ long __RPC_FAR *pDelta);
  1487. void __RPC_STUB ITextRange_MoveEndWhile_Stub(
  1488. IRpcStubBuffer *This,
  1489. IRpcChannelBuffer *_pRpcChannelBuffer,
  1490. PRPC_MESSAGE _pRpcMessage,
  1491. DWORD *_pdwStubPhase);
  1492. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveUntil_Proxy(
  1493. ITextRange __RPC_FAR * This,
  1494. /* [in] */ VARIANT __RPC_FAR *Cset,
  1495. /* [in] */ long Count,
  1496. /* [retval][out] */ long __RPC_FAR *pDelta);
  1497. void __RPC_STUB ITextRange_MoveUntil_Stub(
  1498. IRpcStubBuffer *This,
  1499. IRpcChannelBuffer *_pRpcChannelBuffer,
  1500. PRPC_MESSAGE _pRpcMessage,
  1501. DWORD *_pdwStubPhase);
  1502. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveStartUntil_Proxy(
  1503. ITextRange __RPC_FAR * This,
  1504. /* [in] */ VARIANT __RPC_FAR *Cset,
  1505. /* [in] */ long Count,
  1506. /* [retval][out] */ long __RPC_FAR *pDelta);
  1507. void __RPC_STUB ITextRange_MoveStartUntil_Stub(
  1508. IRpcStubBuffer *This,
  1509. IRpcChannelBuffer *_pRpcChannelBuffer,
  1510. PRPC_MESSAGE _pRpcMessage,
  1511. DWORD *_pdwStubPhase);
  1512. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_MoveEndUntil_Proxy(
  1513. ITextRange __RPC_FAR * This,
  1514. /* [in] */ VARIANT __RPC_FAR *Cset,
  1515. /* [in] */ long Count,
  1516. /* [retval][out] */ long __RPC_FAR *pDelta);
  1517. void __RPC_STUB ITextRange_MoveEndUntil_Stub(
  1518. IRpcStubBuffer *This,
  1519. IRpcChannelBuffer *_pRpcChannelBuffer,
  1520. PRPC_MESSAGE _pRpcMessage,
  1521. DWORD *_pdwStubPhase);
  1522. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_FindText_Proxy(
  1523. ITextRange __RPC_FAR * This,
  1524. /* [in] */ BSTR bstr,
  1525. /* [in] */ long cch,
  1526. /* [in] */ long Flags,
  1527. /* [retval][out] */ long __RPC_FAR *pLength);
  1528. void __RPC_STUB ITextRange_FindText_Stub(
  1529. IRpcStubBuffer *This,
  1530. IRpcChannelBuffer *_pRpcChannelBuffer,
  1531. PRPC_MESSAGE _pRpcMessage,
  1532. DWORD *_pdwStubPhase);
  1533. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_FindTextStart_Proxy(
  1534. ITextRange __RPC_FAR * This,
  1535. /* [in] */ BSTR bstr,
  1536. /* [in] */ long cch,
  1537. /* [in] */ long Flags,
  1538. /* [retval][out] */ long __RPC_FAR *pLength);
  1539. void __RPC_STUB ITextRange_FindTextStart_Stub(
  1540. IRpcStubBuffer *This,
  1541. IRpcChannelBuffer *_pRpcChannelBuffer,
  1542. PRPC_MESSAGE _pRpcMessage,
  1543. DWORD *_pdwStubPhase);
  1544. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_FindTextEnd_Proxy(
  1545. ITextRange __RPC_FAR * This,
  1546. /* [in] */ BSTR bstr,
  1547. /* [in] */ long cch,
  1548. /* [in] */ long Flags,
  1549. /* [retval][out] */ long __RPC_FAR *pLength);
  1550. void __RPC_STUB ITextRange_FindTextEnd_Stub(
  1551. IRpcStubBuffer *This,
  1552. IRpcChannelBuffer *_pRpcChannelBuffer,
  1553. PRPC_MESSAGE _pRpcMessage,
  1554. DWORD *_pdwStubPhase);
  1555. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Delete_Proxy(
  1556. ITextRange __RPC_FAR * This,
  1557. /* [in] */ long Unit,
  1558. /* [in] */ long Count,
  1559. /* [retval][out] */ long __RPC_FAR *pDelta);
  1560. void __RPC_STUB ITextRange_Delete_Stub(
  1561. IRpcStubBuffer *This,
  1562. IRpcChannelBuffer *_pRpcChannelBuffer,
  1563. PRPC_MESSAGE _pRpcMessage,
  1564. DWORD *_pdwStubPhase);
  1565. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Cut_Proxy(
  1566. ITextRange __RPC_FAR * This,
  1567. /* [out] */ VARIANT __RPC_FAR *pVar);
  1568. void __RPC_STUB ITextRange_Cut_Stub(
  1569. IRpcStubBuffer *This,
  1570. IRpcChannelBuffer *_pRpcChannelBuffer,
  1571. PRPC_MESSAGE _pRpcMessage,
  1572. DWORD *_pdwStubPhase);
  1573. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Copy_Proxy(
  1574. ITextRange __RPC_FAR * This,
  1575. /* [out] */ VARIANT __RPC_FAR *pVar);
  1576. void __RPC_STUB ITextRange_Copy_Stub(
  1577. IRpcStubBuffer *This,
  1578. IRpcChannelBuffer *_pRpcChannelBuffer,
  1579. PRPC_MESSAGE _pRpcMessage,
  1580. DWORD *_pdwStubPhase);
  1581. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_Paste_Proxy(
  1582. ITextRange __RPC_FAR * This,
  1583. /* [in] */ VARIANT __RPC_FAR *pVar,
  1584. /* [in] */ long Format);
  1585. void __RPC_STUB ITextRange_Paste_Stub(
  1586. IRpcStubBuffer *This,
  1587. IRpcChannelBuffer *_pRpcChannelBuffer,
  1588. PRPC_MESSAGE _pRpcMessage,
  1589. DWORD *_pdwStubPhase);
  1590. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_CanPaste_Proxy(
  1591. ITextRange __RPC_FAR * This,
  1592. /* [in] */ VARIANT __RPC_FAR *pVar,
  1593. /* [in] */ long Format,
  1594. /* [retval][out] */ long __RPC_FAR *pb);
  1595. void __RPC_STUB ITextRange_CanPaste_Stub(
  1596. IRpcStubBuffer *This,
  1597. IRpcChannelBuffer *_pRpcChannelBuffer,
  1598. PRPC_MESSAGE _pRpcMessage,
  1599. DWORD *_pdwStubPhase);
  1600. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_CanEdit_Proxy(
  1601. ITextRange __RPC_FAR * This,
  1602. /* [retval][out] */ long __RPC_FAR *pbCanEdit);
  1603. void __RPC_STUB ITextRange_CanEdit_Stub(
  1604. IRpcStubBuffer *This,
  1605. IRpcChannelBuffer *_pRpcChannelBuffer,
  1606. PRPC_MESSAGE _pRpcMessage,
  1607. DWORD *_pdwStubPhase);
  1608. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_ChangeCase_Proxy(
  1609. ITextRange __RPC_FAR * This,
  1610. /* [in] */ long Type);
  1611. void __RPC_STUB ITextRange_ChangeCase_Stub(
  1612. IRpcStubBuffer *This,
  1613. IRpcChannelBuffer *_pRpcChannelBuffer,
  1614. PRPC_MESSAGE _pRpcMessage,
  1615. DWORD *_pdwStubPhase);
  1616. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetPoint_Proxy(
  1617. ITextRange __RPC_FAR * This,
  1618. /* [in] */ long Type,
  1619. /* [out] */ long __RPC_FAR *px,
  1620. /* [out] */ long __RPC_FAR *py);
  1621. void __RPC_STUB ITextRange_GetPoint_Stub(
  1622. IRpcStubBuffer *This,
  1623. IRpcChannelBuffer *_pRpcChannelBuffer,
  1624. PRPC_MESSAGE _pRpcMessage,
  1625. DWORD *_pdwStubPhase);
  1626. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_SetPoint_Proxy(
  1627. ITextRange __RPC_FAR * This,
  1628. /* [in] */ long x,
  1629. /* [in] */ long y,
  1630. /* [in] */ long Type,
  1631. /* [in] */ long Extend);
  1632. void __RPC_STUB ITextRange_SetPoint_Stub(
  1633. IRpcStubBuffer *This,
  1634. IRpcChannelBuffer *_pRpcChannelBuffer,
  1635. PRPC_MESSAGE _pRpcMessage,
  1636. DWORD *_pdwStubPhase);
  1637. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_ScrollIntoView_Proxy(
  1638. ITextRange __RPC_FAR * This,
  1639. /* [in] */ long Value);
  1640. void __RPC_STUB ITextRange_ScrollIntoView_Stub(
  1641. IRpcStubBuffer *This,
  1642. IRpcChannelBuffer *_pRpcChannelBuffer,
  1643. PRPC_MESSAGE _pRpcMessage,
  1644. DWORD *_pdwStubPhase);
  1645. /* [id] */ HRESULT STDMETHODCALLTYPE ITextRange_GetEmbeddedObject_Proxy(
  1646. ITextRange __RPC_FAR * This,
  1647. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppv);
  1648. void __RPC_STUB ITextRange_GetEmbeddedObject_Stub(
  1649. IRpcStubBuffer *This,
  1650. IRpcChannelBuffer *_pRpcChannelBuffer,
  1651. PRPC_MESSAGE _pRpcMessage,
  1652. DWORD *_pdwStubPhase);
  1653. #endif /* __ITextRange_INTERFACE_DEFINED__ */
  1654. #ifndef __ITextSelection_INTERFACE_DEFINED__
  1655. #define __ITextSelection_INTERFACE_DEFINED__
  1656. /* interface ITextSelection */
  1657. /* [object][nonextensible][dual][version][uuid] */
  1658. EXTERN_C const IID IID_ITextSelection;
  1659. #if defined(__cplusplus) && !defined(CINTERFACE)
  1660. MIDL_INTERFACE("8CC497C1-A1DF-11ce-8098-00AA0047BE5D")
  1661. ITextSelection : public ITextRange
  1662. {
  1663. public:
  1664. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetFlags(
  1665. /* [retval][out] */ long __RPC_FAR *pFlags) = 0;
  1666. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetFlags(
  1667. /* [in] */ LONG Flags) = 0;
  1668. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetType(
  1669. /* [retval][out] */ long __RPC_FAR *pType) = 0;
  1670. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveLeft(
  1671. /* [in] */ long Unit,
  1672. /* [in] */ long Count,
  1673. /* [in] */ long Extend,
  1674. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  1675. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveRight(
  1676. /* [in] */ long Unit,
  1677. /* [in] */ long Count,
  1678. /* [in] */ long Extend,
  1679. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  1680. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveUp(
  1681. /* [in] */ long Unit,
  1682. /* [in] */ long Count,
  1683. /* [in] */ long Extend,
  1684. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  1685. virtual /* [id] */ HRESULT STDMETHODCALLTYPE MoveDown(
  1686. /* [in] */ long Unit,
  1687. /* [in] */ long Count,
  1688. /* [in] */ long Extend,
  1689. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  1690. virtual /* [id] */ HRESULT STDMETHODCALLTYPE HomeKey(
  1691. /* [in] */ long Unit,
  1692. /* [in] */ long Extend,
  1693. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  1694. virtual /* [id] */ HRESULT STDMETHODCALLTYPE EndKey(
  1695. /* [in] */ long Unit,
  1696. /* [in] */ long Extend,
  1697. /* [retval][out] */ long __RPC_FAR *pDelta) = 0;
  1698. virtual /* [id] */ HRESULT STDMETHODCALLTYPE TypeText(
  1699. /* [in] */ BSTR bstr) = 0;
  1700. };
  1701. #else /* C style interface */
  1702. typedef struct ITextSelectionVtbl
  1703. {
  1704. BEGIN_INTERFACE
  1705. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  1706. ITextSelection __RPC_FAR * This,
  1707. /* [in] */ REFIID riid,
  1708. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  1709. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  1710. ITextSelection __RPC_FAR * This);
  1711. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  1712. ITextSelection __RPC_FAR * This);
  1713. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  1714. ITextSelection __RPC_FAR * This,
  1715. /* [out] */ UINT __RPC_FAR *pctinfo);
  1716. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  1717. ITextSelection __RPC_FAR * This,
  1718. /* [in] */ UINT iTInfo,
  1719. /* [in] */ LCID lcid,
  1720. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  1721. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  1722. ITextSelection __RPC_FAR * This,
  1723. /* [in] */ REFIID riid,
  1724. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  1725. /* [in] */ UINT cNames,
  1726. /* [in] */ LCID lcid,
  1727. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  1728. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  1729. ITextSelection __RPC_FAR * This,
  1730. /* [in] */ DISPID dispIdMember,
  1731. /* [in] */ REFIID riid,
  1732. /* [in] */ LCID lcid,
  1733. /* [in] */ WORD wFlags,
  1734. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  1735. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  1736. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  1737. /* [out] */ UINT __RPC_FAR *puArgErr);
  1738. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetText )(
  1739. ITextSelection __RPC_FAR * This,
  1740. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  1741. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetText )(
  1742. ITextSelection __RPC_FAR * This,
  1743. /* [in] */ BSTR bstr);
  1744. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetChar )(
  1745. ITextSelection __RPC_FAR * This,
  1746. /* [retval][out] */ long __RPC_FAR *pch);
  1747. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetChar )(
  1748. ITextSelection __RPC_FAR * This,
  1749. /* [in] */ long ch);
  1750. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDuplicate )(
  1751. ITextSelection __RPC_FAR * This,
  1752. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  1753. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFormattedText )(
  1754. ITextSelection __RPC_FAR * This,
  1755. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  1756. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFormattedText )(
  1757. ITextSelection __RPC_FAR * This,
  1758. /* [in] */ ITextRange __RPC_FAR *pRange);
  1759. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStart )(
  1760. ITextSelection __RPC_FAR * This,
  1761. /* [retval][out] */ long __RPC_FAR *pcpFirst);
  1762. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetStart )(
  1763. ITextSelection __RPC_FAR * This,
  1764. /* [in] */ long cpFirst);
  1765. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEnd )(
  1766. ITextSelection __RPC_FAR * This,
  1767. /* [retval][out] */ long __RPC_FAR *pcpLim);
  1768. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEnd )(
  1769. ITextSelection __RPC_FAR * This,
  1770. /* [in] */ long cpLim);
  1771. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFont )(
  1772. ITextSelection __RPC_FAR * This,
  1773. /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *pFont);
  1774. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFont )(
  1775. ITextSelection __RPC_FAR * This,
  1776. /* [in] */ ITextFont __RPC_FAR *pFont);
  1777. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPara )(
  1778. ITextSelection __RPC_FAR * This,
  1779. /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *pPara);
  1780. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPara )(
  1781. ITextSelection __RPC_FAR * This,
  1782. /* [in] */ ITextPara __RPC_FAR *pPara);
  1783. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryLength )(
  1784. ITextSelection __RPC_FAR * This,
  1785. /* [retval][out] */ long __RPC_FAR *pcch);
  1786. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryType )(
  1787. ITextSelection __RPC_FAR * This,
  1788. /* [retval][out] */ long __RPC_FAR *pValue);
  1789. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Collapse )(
  1790. ITextSelection __RPC_FAR * This,
  1791. /* [in] */ long bStart);
  1792. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Expand )(
  1793. ITextSelection __RPC_FAR * This,
  1794. /* [in] */ long Unit,
  1795. /* [retval][out] */ long __RPC_FAR *pDelta);
  1796. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIndex )(
  1797. ITextSelection __RPC_FAR * This,
  1798. /* [in] */ long Unit,
  1799. /* [retval][out] */ long __RPC_FAR *pIndex);
  1800. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIndex )(
  1801. ITextSelection __RPC_FAR * This,
  1802. /* [in] */ long Unit,
  1803. /* [in] */ long Index,
  1804. /* [in] */ long Extend);
  1805. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetRange )(
  1806. ITextSelection __RPC_FAR * This,
  1807. /* [in] */ long cpActive,
  1808. /* [in] */ long cpOther);
  1809. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InRange )(
  1810. ITextSelection __RPC_FAR * This,
  1811. /* [in] */ ITextRange __RPC_FAR *pRange,
  1812. /* [retval][out] */ long __RPC_FAR *pb);
  1813. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *InStory )(
  1814. ITextSelection __RPC_FAR * This,
  1815. /* [in] */ ITextRange __RPC_FAR *pRange,
  1816. /* [retval][out] */ long __RPC_FAR *pb);
  1817. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsEqual )(
  1818. ITextSelection __RPC_FAR * This,
  1819. /* [in] */ ITextRange __RPC_FAR *pRange,
  1820. /* [retval][out] */ long __RPC_FAR *pb);
  1821. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Select )(
  1822. ITextSelection __RPC_FAR * This);
  1823. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *StartOf )(
  1824. ITextSelection __RPC_FAR * This,
  1825. /* [in] */ long Unit,
  1826. /* [in] */ long Extend,
  1827. /* [retval][out] */ long __RPC_FAR *pDelta);
  1828. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndOf )(
  1829. ITextSelection __RPC_FAR * This,
  1830. /* [in] */ long Unit,
  1831. /* [in] */ long Extend,
  1832. /* [retval][out] */ long __RPC_FAR *pDelta);
  1833. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Move )(
  1834. ITextSelection __RPC_FAR * This,
  1835. /* [in] */ long Unit,
  1836. /* [in] */ long Count,
  1837. /* [retval][out] */ long __RPC_FAR *pDelta);
  1838. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveStart )(
  1839. ITextSelection __RPC_FAR * This,
  1840. /* [in] */ long Unit,
  1841. /* [in] */ long Count,
  1842. /* [retval][out] */ long __RPC_FAR *pDelta);
  1843. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveEnd )(
  1844. ITextSelection __RPC_FAR * This,
  1845. /* [in] */ long Unit,
  1846. /* [in] */ long Count,
  1847. /* [retval][out] */ long __RPC_FAR *pDelta);
  1848. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveWhile )(
  1849. ITextSelection __RPC_FAR * This,
  1850. /* [in] */ VARIANT __RPC_FAR *Cset,
  1851. /* [in] */ long Count,
  1852. /* [retval][out] */ long __RPC_FAR *pDelta);
  1853. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveStartWhile )(
  1854. ITextSelection __RPC_FAR * This,
  1855. /* [in] */ VARIANT __RPC_FAR *Cset,
  1856. /* [in] */ long Count,
  1857. /* [retval][out] */ long __RPC_FAR *pDelta);
  1858. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveEndWhile )(
  1859. ITextSelection __RPC_FAR * This,
  1860. /* [in] */ VARIANT __RPC_FAR *Cset,
  1861. /* [in] */ long Count,
  1862. /* [retval][out] */ long __RPC_FAR *pDelta);
  1863. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveUntil )(
  1864. ITextSelection __RPC_FAR * This,
  1865. /* [in] */ VARIANT __RPC_FAR *Cset,
  1866. /* [in] */ long Count,
  1867. /* [retval][out] */ long __RPC_FAR *pDelta);
  1868. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveStartUntil )(
  1869. ITextSelection __RPC_FAR * This,
  1870. /* [in] */ VARIANT __RPC_FAR *Cset,
  1871. /* [in] */ long Count,
  1872. /* [retval][out] */ long __RPC_FAR *pDelta);
  1873. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveEndUntil )(
  1874. ITextSelection __RPC_FAR * This,
  1875. /* [in] */ VARIANT __RPC_FAR *Cset,
  1876. /* [in] */ long Count,
  1877. /* [retval][out] */ long __RPC_FAR *pDelta);
  1878. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindText )(
  1879. ITextSelection __RPC_FAR * This,
  1880. /* [in] */ BSTR bstr,
  1881. /* [in] */ long cch,
  1882. /* [in] */ long Flags,
  1883. /* [retval][out] */ long __RPC_FAR *pLength);
  1884. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindTextStart )(
  1885. ITextSelection __RPC_FAR * This,
  1886. /* [in] */ BSTR bstr,
  1887. /* [in] */ long cch,
  1888. /* [in] */ long Flags,
  1889. /* [retval][out] */ long __RPC_FAR *pLength);
  1890. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *FindTextEnd )(
  1891. ITextSelection __RPC_FAR * This,
  1892. /* [in] */ BSTR bstr,
  1893. /* [in] */ long cch,
  1894. /* [in] */ long Flags,
  1895. /* [retval][out] */ long __RPC_FAR *pLength);
  1896. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Delete )(
  1897. ITextSelection __RPC_FAR * This,
  1898. /* [in] */ long Unit,
  1899. /* [in] */ long Count,
  1900. /* [retval][out] */ long __RPC_FAR *pDelta);
  1901. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Cut )(
  1902. ITextSelection __RPC_FAR * This,
  1903. /* [out] */ VARIANT __RPC_FAR *pVar);
  1904. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Copy )(
  1905. ITextSelection __RPC_FAR * This,
  1906. /* [out] */ VARIANT __RPC_FAR *pVar);
  1907. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Paste )(
  1908. ITextSelection __RPC_FAR * This,
  1909. /* [in] */ VARIANT __RPC_FAR *pVar,
  1910. /* [in] */ long Format);
  1911. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanPaste )(
  1912. ITextSelection __RPC_FAR * This,
  1913. /* [in] */ VARIANT __RPC_FAR *pVar,
  1914. /* [in] */ long Format,
  1915. /* [retval][out] */ long __RPC_FAR *pb);
  1916. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanEdit )(
  1917. ITextSelection __RPC_FAR * This,
  1918. /* [retval][out] */ long __RPC_FAR *pbCanEdit);
  1919. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ChangeCase )(
  1920. ITextSelection __RPC_FAR * This,
  1921. /* [in] */ long Type);
  1922. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPoint )(
  1923. ITextSelection __RPC_FAR * This,
  1924. /* [in] */ long Type,
  1925. /* [out] */ long __RPC_FAR *px,
  1926. /* [out] */ long __RPC_FAR *py);
  1927. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPoint )(
  1928. ITextSelection __RPC_FAR * This,
  1929. /* [in] */ long x,
  1930. /* [in] */ long y,
  1931. /* [in] */ long Type,
  1932. /* [in] */ long Extend);
  1933. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ScrollIntoView )(
  1934. ITextSelection __RPC_FAR * This,
  1935. /* [in] */ long Value);
  1936. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEmbeddedObject )(
  1937. ITextSelection __RPC_FAR * This,
  1938. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppv);
  1939. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFlags )(
  1940. ITextSelection __RPC_FAR * This,
  1941. /* [retval][out] */ long __RPC_FAR *pFlags);
  1942. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetFlags )(
  1943. ITextSelection __RPC_FAR * This,
  1944. /* [in] */ LONG Flags);
  1945. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetType )(
  1946. ITextSelection __RPC_FAR * This,
  1947. /* [retval][out] */ long __RPC_FAR *pType);
  1948. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveLeft )(
  1949. ITextSelection __RPC_FAR * This,
  1950. /* [in] */ long Unit,
  1951. /* [in] */ long Count,
  1952. /* [in] */ long Extend,
  1953. /* [retval][out] */ long __RPC_FAR *pDelta);
  1954. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveRight )(
  1955. ITextSelection __RPC_FAR * This,
  1956. /* [in] */ long Unit,
  1957. /* [in] */ long Count,
  1958. /* [in] */ long Extend,
  1959. /* [retval][out] */ long __RPC_FAR *pDelta);
  1960. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveUp )(
  1961. ITextSelection __RPC_FAR * This,
  1962. /* [in] */ long Unit,
  1963. /* [in] */ long Count,
  1964. /* [in] */ long Extend,
  1965. /* [retval][out] */ long __RPC_FAR *pDelta);
  1966. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *MoveDown )(
  1967. ITextSelection __RPC_FAR * This,
  1968. /* [in] */ long Unit,
  1969. /* [in] */ long Count,
  1970. /* [in] */ long Extend,
  1971. /* [retval][out] */ long __RPC_FAR *pDelta);
  1972. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HomeKey )(
  1973. ITextSelection __RPC_FAR * This,
  1974. /* [in] */ long Unit,
  1975. /* [in] */ long Extend,
  1976. /* [retval][out] */ long __RPC_FAR *pDelta);
  1977. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndKey )(
  1978. ITextSelection __RPC_FAR * This,
  1979. /* [in] */ long Unit,
  1980. /* [in] */ long Extend,
  1981. /* [retval][out] */ long __RPC_FAR *pDelta);
  1982. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *TypeText )(
  1983. ITextSelection __RPC_FAR * This,
  1984. /* [in] */ BSTR bstr);
  1985. END_INTERFACE
  1986. } ITextSelectionVtbl;
  1987. interface ITextSelection
  1988. {
  1989. CONST_VTBL struct ITextSelectionVtbl __RPC_FAR *lpVtbl;
  1990. };
  1991. #ifdef COBJMACROS
  1992. #define ITextSelection_QueryInterface(This,riid,ppvObject) \
  1993. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  1994. #define ITextSelection_AddRef(This) \
  1995. (This)->lpVtbl -> AddRef(This)
  1996. #define ITextSelection_Release(This) \
  1997. (This)->lpVtbl -> Release(This)
  1998. #define ITextSelection_GetTypeInfoCount(This,pctinfo) \
  1999. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2000. #define ITextSelection_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2001. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2002. #define ITextSelection_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2003. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2004. #define ITextSelection_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2005. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2006. #define ITextSelection_GetText(This,pbstr) \
  2007. (This)->lpVtbl -> GetText(This,pbstr)
  2008. #define ITextSelection_SetText(This,bstr) \
  2009. (This)->lpVtbl -> SetText(This,bstr)
  2010. #define ITextSelection_GetChar(This,pch) \
  2011. (This)->lpVtbl -> GetChar(This,pch)
  2012. #define ITextSelection_SetChar(This,ch) \
  2013. (This)->lpVtbl -> SetChar(This,ch)
  2014. #define ITextSelection_GetDuplicate(This,ppRange) \
  2015. (This)->lpVtbl -> GetDuplicate(This,ppRange)
  2016. #define ITextSelection_GetFormattedText(This,ppRange) \
  2017. (This)->lpVtbl -> GetFormattedText(This,ppRange)
  2018. #define ITextSelection_SetFormattedText(This,pRange) \
  2019. (This)->lpVtbl -> SetFormattedText(This,pRange)
  2020. #define ITextSelection_GetStart(This,pcpFirst) \
  2021. (This)->lpVtbl -> GetStart(This,pcpFirst)
  2022. #define ITextSelection_SetStart(This,cpFirst) \
  2023. (This)->lpVtbl -> SetStart(This,cpFirst)
  2024. #define ITextSelection_GetEnd(This,pcpLim) \
  2025. (This)->lpVtbl -> GetEnd(This,pcpLim)
  2026. #define ITextSelection_SetEnd(This,cpLim) \
  2027. (This)->lpVtbl -> SetEnd(This,cpLim)
  2028. #define ITextSelection_GetFont(This,pFont) \
  2029. (This)->lpVtbl -> GetFont(This,pFont)
  2030. #define ITextSelection_SetFont(This,pFont) \
  2031. (This)->lpVtbl -> SetFont(This,pFont)
  2032. #define ITextSelection_GetPara(This,pPara) \
  2033. (This)->lpVtbl -> GetPara(This,pPara)
  2034. #define ITextSelection_SetPara(This,pPara) \
  2035. (This)->lpVtbl -> SetPara(This,pPara)
  2036. #define ITextSelection_GetStoryLength(This,pcch) \
  2037. (This)->lpVtbl -> GetStoryLength(This,pcch)
  2038. #define ITextSelection_GetStoryType(This,pValue) \
  2039. (This)->lpVtbl -> GetStoryType(This,pValue)
  2040. #define ITextSelection_Collapse(This,bStart) \
  2041. (This)->lpVtbl -> Collapse(This,bStart)
  2042. #define ITextSelection_Expand(This,Unit,pDelta) \
  2043. (This)->lpVtbl -> Expand(This,Unit,pDelta)
  2044. #define ITextSelection_GetIndex(This,Unit,pIndex) \
  2045. (This)->lpVtbl -> GetIndex(This,Unit,pIndex)
  2046. #define ITextSelection_SetIndex(This,Unit,Index,Extend) \
  2047. (This)->lpVtbl -> SetIndex(This,Unit,Index,Extend)
  2048. #define ITextSelection_SetRange(This,cpActive,cpOther) \
  2049. (This)->lpVtbl -> SetRange(This,cpActive,cpOther)
  2050. #define ITextSelection_InRange(This,pRange,pb) \
  2051. (This)->lpVtbl -> InRange(This,pRange,pb)
  2052. #define ITextSelection_InStory(This,pRange,pb) \
  2053. (This)->lpVtbl -> InStory(This,pRange,pb)
  2054. #define ITextSelection_IsEqual(This,pRange,pb) \
  2055. (This)->lpVtbl -> IsEqual(This,pRange,pb)
  2056. #define ITextSelection_Select(This) \
  2057. (This)->lpVtbl -> Select(This)
  2058. #define ITextSelection_StartOf(This,Unit,Extend,pDelta) \
  2059. (This)->lpVtbl -> StartOf(This,Unit,Extend,pDelta)
  2060. #define ITextSelection_EndOf(This,Unit,Extend,pDelta) \
  2061. (This)->lpVtbl -> EndOf(This,Unit,Extend,pDelta)
  2062. #define ITextSelection_Move(This,Unit,Count,pDelta) \
  2063. (This)->lpVtbl -> Move(This,Unit,Count,pDelta)
  2064. #define ITextSelection_MoveStart(This,Unit,Count,pDelta) \
  2065. (This)->lpVtbl -> MoveStart(This,Unit,Count,pDelta)
  2066. #define ITextSelection_MoveEnd(This,Unit,Count,pDelta) \
  2067. (This)->lpVtbl -> MoveEnd(This,Unit,Count,pDelta)
  2068. #define ITextSelection_MoveWhile(This,Cset,Count,pDelta) \
  2069. (This)->lpVtbl -> MoveWhile(This,Cset,Count,pDelta)
  2070. #define ITextSelection_MoveStartWhile(This,Cset,Count,pDelta) \
  2071. (This)->lpVtbl -> MoveStartWhile(This,Cset,Count,pDelta)
  2072. #define ITextSelection_MoveEndWhile(This,Cset,Count,pDelta) \
  2073. (This)->lpVtbl -> MoveEndWhile(This,Cset,Count,pDelta)
  2074. #define ITextSelection_MoveUntil(This,Cset,Count,pDelta) \
  2075. (This)->lpVtbl -> MoveUntil(This,Cset,Count,pDelta)
  2076. #define ITextSelection_MoveStartUntil(This,Cset,Count,pDelta) \
  2077. (This)->lpVtbl -> MoveStartUntil(This,Cset,Count,pDelta)
  2078. #define ITextSelection_MoveEndUntil(This,Cset,Count,pDelta) \
  2079. (This)->lpVtbl -> MoveEndUntil(This,Cset,Count,pDelta)
  2080. #define ITextSelection_FindText(This,bstr,cch,Flags,pLength) \
  2081. (This)->lpVtbl -> FindText(This,bstr,cch,Flags,pLength)
  2082. #define ITextSelection_FindTextStart(This,bstr,cch,Flags,pLength) \
  2083. (This)->lpVtbl -> FindTextStart(This,bstr,cch,Flags,pLength)
  2084. #define ITextSelection_FindTextEnd(This,bstr,cch,Flags,pLength) \
  2085. (This)->lpVtbl -> FindTextEnd(This,bstr,cch,Flags,pLength)
  2086. #define ITextSelection_Delete(This,Unit,Count,pDelta) \
  2087. (This)->lpVtbl -> Delete(This,Unit,Count,pDelta)
  2088. #define ITextSelection_Cut(This,pVar) \
  2089. (This)->lpVtbl -> Cut(This,pVar)
  2090. #define ITextSelection_Copy(This,pVar) \
  2091. (This)->lpVtbl -> Copy(This,pVar)
  2092. #define ITextSelection_Paste(This,pVar,Format) \
  2093. (This)->lpVtbl -> Paste(This,pVar,Format)
  2094. #define ITextSelection_CanPaste(This,pVar,Format,pb) \
  2095. (This)->lpVtbl -> CanPaste(This,pVar,Format,pb)
  2096. #define ITextSelection_CanEdit(This,pbCanEdit) \
  2097. (This)->lpVtbl -> CanEdit(This,pbCanEdit)
  2098. #define ITextSelection_ChangeCase(This,Type) \
  2099. (This)->lpVtbl -> ChangeCase(This,Type)
  2100. #define ITextSelection_GetPoint(This,Type,px,py) \
  2101. (This)->lpVtbl -> GetPoint(This,Type,px,py)
  2102. #define ITextSelection_SetPoint(This,x,y,Type,Extend) \
  2103. (This)->lpVtbl -> SetPoint(This,x,y,Type,Extend)
  2104. #define ITextSelection_ScrollIntoView(This,Value) \
  2105. (This)->lpVtbl -> ScrollIntoView(This,Value)
  2106. #define ITextSelection_GetEmbeddedObject(This,ppv) \
  2107. (This)->lpVtbl -> GetEmbeddedObject(This,ppv)
  2108. #define ITextSelection_GetFlags(This,pFlags) \
  2109. (This)->lpVtbl -> GetFlags(This,pFlags)
  2110. #define ITextSelection_SetFlags(This,Flags) \
  2111. (This)->lpVtbl -> SetFlags(This,Flags)
  2112. #define ITextSelection_GetType(This,pType) \
  2113. (This)->lpVtbl -> GetType(This,pType)
  2114. #define ITextSelection_MoveLeft(This,Unit,Count,Extend,pDelta) \
  2115. (This)->lpVtbl -> MoveLeft(This,Unit,Count,Extend,pDelta)
  2116. #define ITextSelection_MoveRight(This,Unit,Count,Extend,pDelta) \
  2117. (This)->lpVtbl -> MoveRight(This,Unit,Count,Extend,pDelta)
  2118. #define ITextSelection_MoveUp(This,Unit,Count,Extend,pDelta) \
  2119. (This)->lpVtbl -> MoveUp(This,Unit,Count,Extend,pDelta)
  2120. #define ITextSelection_MoveDown(This,Unit,Count,Extend,pDelta) \
  2121. (This)->lpVtbl -> MoveDown(This,Unit,Count,Extend,pDelta)
  2122. #define ITextSelection_HomeKey(This,Unit,Extend,pDelta) \
  2123. (This)->lpVtbl -> HomeKey(This,Unit,Extend,pDelta)
  2124. #define ITextSelection_EndKey(This,Unit,Extend,pDelta) \
  2125. (This)->lpVtbl -> EndKey(This,Unit,Extend,pDelta)
  2126. #define ITextSelection_TypeText(This,bstr) \
  2127. (This)->lpVtbl -> TypeText(This,bstr)
  2128. #endif /* COBJMACROS */
  2129. #endif /* C style interface */
  2130. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextSelection_GetFlags_Proxy(
  2131. ITextSelection __RPC_FAR * This,
  2132. /* [retval][out] */ long __RPC_FAR *pFlags);
  2133. void __RPC_STUB ITextSelection_GetFlags_Stub(
  2134. IRpcStubBuffer *This,
  2135. IRpcChannelBuffer *_pRpcChannelBuffer,
  2136. PRPC_MESSAGE _pRpcMessage,
  2137. DWORD *_pdwStubPhase);
  2138. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextSelection_SetFlags_Proxy(
  2139. ITextSelection __RPC_FAR * This,
  2140. /* [in] */ LONG Flags);
  2141. void __RPC_STUB ITextSelection_SetFlags_Stub(
  2142. IRpcStubBuffer *This,
  2143. IRpcChannelBuffer *_pRpcChannelBuffer,
  2144. PRPC_MESSAGE _pRpcMessage,
  2145. DWORD *_pdwStubPhase);
  2146. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextSelection_GetType_Proxy(
  2147. ITextSelection __RPC_FAR * This,
  2148. /* [retval][out] */ long __RPC_FAR *pType);
  2149. void __RPC_STUB ITextSelection_GetType_Stub(
  2150. IRpcStubBuffer *This,
  2151. IRpcChannelBuffer *_pRpcChannelBuffer,
  2152. PRPC_MESSAGE _pRpcMessage,
  2153. DWORD *_pdwStubPhase);
  2154. /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_MoveLeft_Proxy(
  2155. ITextSelection __RPC_FAR * This,
  2156. /* [in] */ long Unit,
  2157. /* [in] */ long Count,
  2158. /* [in] */ long Extend,
  2159. /* [retval][out] */ long __RPC_FAR *pDelta);
  2160. void __RPC_STUB ITextSelection_MoveLeft_Stub(
  2161. IRpcStubBuffer *This,
  2162. IRpcChannelBuffer *_pRpcChannelBuffer,
  2163. PRPC_MESSAGE _pRpcMessage,
  2164. DWORD *_pdwStubPhase);
  2165. /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_MoveRight_Proxy(
  2166. ITextSelection __RPC_FAR * This,
  2167. /* [in] */ long Unit,
  2168. /* [in] */ long Count,
  2169. /* [in] */ long Extend,
  2170. /* [retval][out] */ long __RPC_FAR *pDelta);
  2171. void __RPC_STUB ITextSelection_MoveRight_Stub(
  2172. IRpcStubBuffer *This,
  2173. IRpcChannelBuffer *_pRpcChannelBuffer,
  2174. PRPC_MESSAGE _pRpcMessage,
  2175. DWORD *_pdwStubPhase);
  2176. /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_MoveUp_Proxy(
  2177. ITextSelection __RPC_FAR * This,
  2178. /* [in] */ long Unit,
  2179. /* [in] */ long Count,
  2180. /* [in] */ long Extend,
  2181. /* [retval][out] */ long __RPC_FAR *pDelta);
  2182. void __RPC_STUB ITextSelection_MoveUp_Stub(
  2183. IRpcStubBuffer *This,
  2184. IRpcChannelBuffer *_pRpcChannelBuffer,
  2185. PRPC_MESSAGE _pRpcMessage,
  2186. DWORD *_pdwStubPhase);
  2187. /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_MoveDown_Proxy(
  2188. ITextSelection __RPC_FAR * This,
  2189. /* [in] */ long Unit,
  2190. /* [in] */ long Count,
  2191. /* [in] */ long Extend,
  2192. /* [retval][out] */ long __RPC_FAR *pDelta);
  2193. void __RPC_STUB ITextSelection_MoveDown_Stub(
  2194. IRpcStubBuffer *This,
  2195. IRpcChannelBuffer *_pRpcChannelBuffer,
  2196. PRPC_MESSAGE _pRpcMessage,
  2197. DWORD *_pdwStubPhase);
  2198. /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_HomeKey_Proxy(
  2199. ITextSelection __RPC_FAR * This,
  2200. /* [in] */ long Unit,
  2201. /* [in] */ long Extend,
  2202. /* [retval][out] */ long __RPC_FAR *pDelta);
  2203. void __RPC_STUB ITextSelection_HomeKey_Stub(
  2204. IRpcStubBuffer *This,
  2205. IRpcChannelBuffer *_pRpcChannelBuffer,
  2206. PRPC_MESSAGE _pRpcMessage,
  2207. DWORD *_pdwStubPhase);
  2208. /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_EndKey_Proxy(
  2209. ITextSelection __RPC_FAR * This,
  2210. /* [in] */ long Unit,
  2211. /* [in] */ long Extend,
  2212. /* [retval][out] */ long __RPC_FAR *pDelta);
  2213. void __RPC_STUB ITextSelection_EndKey_Stub(
  2214. IRpcStubBuffer *This,
  2215. IRpcChannelBuffer *_pRpcChannelBuffer,
  2216. PRPC_MESSAGE _pRpcMessage,
  2217. DWORD *_pdwStubPhase);
  2218. /* [id] */ HRESULT STDMETHODCALLTYPE ITextSelection_TypeText_Proxy(
  2219. ITextSelection __RPC_FAR * This,
  2220. /* [in] */ BSTR bstr);
  2221. void __RPC_STUB ITextSelection_TypeText_Stub(
  2222. IRpcStubBuffer *This,
  2223. IRpcChannelBuffer *_pRpcChannelBuffer,
  2224. PRPC_MESSAGE _pRpcMessage,
  2225. DWORD *_pdwStubPhase);
  2226. #endif /* __ITextSelection_INTERFACE_DEFINED__ */
  2227. #ifndef __ITextFont_INTERFACE_DEFINED__
  2228. #define __ITextFont_INTERFACE_DEFINED__
  2229. /* interface ITextFont */
  2230. /* [object][nonextensible][dual][version][uuid] */
  2231. EXTERN_C const IID IID_ITextFont;
  2232. #if defined(__cplusplus) && !defined(CINTERFACE)
  2233. MIDL_INTERFACE("8CC497C3-A1DF-11ce-8098-00AA0047BE5D")
  2234. ITextFont : public IDispatch
  2235. {
  2236. public:
  2237. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetDuplicate(
  2238. /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *ppFont) = 0;
  2239. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetDuplicate(
  2240. /* [in] */ ITextFont __RPC_FAR *pFont) = 0;
  2241. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CanChange(
  2242. /* [retval][out] */ long __RPC_FAR *pB) = 0;
  2243. virtual /* [id] */ HRESULT STDMETHODCALLTYPE IsEqual(
  2244. /* [in] */ ITextFont __RPC_FAR *pFont,
  2245. /* [retval][out] */ long __RPC_FAR *pB) = 0;
  2246. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Reset(
  2247. /* [in] */ long Value) = 0;
  2248. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStyle(
  2249. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2250. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetStyle(
  2251. /* [in] */ long Value) = 0;
  2252. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetAllCaps(
  2253. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2254. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetAllCaps(
  2255. /* [in] */ long Value) = 0;
  2256. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetAnimation(
  2257. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2258. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetAnimation(
  2259. /* [in] */ long Value) = 0;
  2260. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetBackColor(
  2261. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2262. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetBackColor(
  2263. /* [in] */ long Value) = 0;
  2264. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetBold(
  2265. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2266. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetBold(
  2267. /* [in] */ long Value) = 0;
  2268. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetEmboss(
  2269. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2270. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetEmboss(
  2271. /* [in] */ long Value) = 0;
  2272. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetForeColor(
  2273. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2274. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetForeColor(
  2275. /* [in] */ long Value) = 0;
  2276. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetHidden(
  2277. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2278. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetHidden(
  2279. /* [in] */ long Value) = 0;
  2280. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetEngrave(
  2281. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2282. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetEngrave(
  2283. /* [in] */ long Value) = 0;
  2284. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetItalic(
  2285. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2286. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetItalic(
  2287. /* [in] */ long Value) = 0;
  2288. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetKerning(
  2289. /* [retval][out] */ float __RPC_FAR *pValue) = 0;
  2290. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetKerning(
  2291. /* [in] */ float Value) = 0;
  2292. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetLanguageID(
  2293. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2294. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetLanguageID(
  2295. /* [in] */ long Value) = 0;
  2296. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetName(
  2297. /* [retval][out] */ BSTR __RPC_FAR *pbstr) = 0;
  2298. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetName(
  2299. /* [in] */ BSTR bstr) = 0;
  2300. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetOutline(
  2301. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2302. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetOutline(
  2303. /* [in] */ long Value) = 0;
  2304. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetPosition(
  2305. /* [retval][out] */ float __RPC_FAR *pValue) = 0;
  2306. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetPosition(
  2307. /* [in] */ float Value) = 0;
  2308. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetProtected(
  2309. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2310. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetProtected(
  2311. /* [in] */ long Value) = 0;
  2312. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetShadow(
  2313. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2314. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetShadow(
  2315. /* [in] */ long Value) = 0;
  2316. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSize(
  2317. /* [retval][out] */ float __RPC_FAR *pValue) = 0;
  2318. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSize(
  2319. /* [in] */ float Value) = 0;
  2320. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSmallCaps(
  2321. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2322. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSmallCaps(
  2323. /* [in] */ long Value) = 0;
  2324. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSpacing(
  2325. /* [retval][out] */ float __RPC_FAR *pValue) = 0;
  2326. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSpacing(
  2327. /* [in] */ float Value) = 0;
  2328. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStrikeThrough(
  2329. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2330. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetStrikeThrough(
  2331. /* [in] */ long Value) = 0;
  2332. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSubscript(
  2333. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2334. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSubscript(
  2335. /* [in] */ long Value) = 0;
  2336. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSuperscript(
  2337. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2338. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSuperscript(
  2339. /* [in] */ long Value) = 0;
  2340. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetUnderline(
  2341. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2342. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetUnderline(
  2343. /* [in] */ long Value) = 0;
  2344. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetWeight(
  2345. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  2346. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetWeight(
  2347. /* [in] */ long Value) = 0;
  2348. };
  2349. #else /* C style interface */
  2350. typedef struct ITextFontVtbl
  2351. {
  2352. BEGIN_INTERFACE
  2353. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  2354. ITextFont __RPC_FAR * This,
  2355. /* [in] */ REFIID riid,
  2356. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  2357. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  2358. ITextFont __RPC_FAR * This);
  2359. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  2360. ITextFont __RPC_FAR * This);
  2361. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  2362. ITextFont __RPC_FAR * This,
  2363. /* [out] */ UINT __RPC_FAR *pctinfo);
  2364. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  2365. ITextFont __RPC_FAR * This,
  2366. /* [in] */ UINT iTInfo,
  2367. /* [in] */ LCID lcid,
  2368. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  2369. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  2370. ITextFont __RPC_FAR * This,
  2371. /* [in] */ REFIID riid,
  2372. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  2373. /* [in] */ UINT cNames,
  2374. /* [in] */ LCID lcid,
  2375. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  2376. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  2377. ITextFont __RPC_FAR * This,
  2378. /* [in] */ DISPID dispIdMember,
  2379. /* [in] */ REFIID riid,
  2380. /* [in] */ LCID lcid,
  2381. /* [in] */ WORD wFlags,
  2382. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  2383. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  2384. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  2385. /* [out] */ UINT __RPC_FAR *puArgErr);
  2386. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDuplicate )(
  2387. ITextFont __RPC_FAR * This,
  2388. /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *ppFont);
  2389. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDuplicate )(
  2390. ITextFont __RPC_FAR * This,
  2391. /* [in] */ ITextFont __RPC_FAR *pFont);
  2392. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanChange )(
  2393. ITextFont __RPC_FAR * This,
  2394. /* [retval][out] */ long __RPC_FAR *pB);
  2395. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsEqual )(
  2396. ITextFont __RPC_FAR * This,
  2397. /* [in] */ ITextFont __RPC_FAR *pFont,
  2398. /* [retval][out] */ long __RPC_FAR *pB);
  2399. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )(
  2400. ITextFont __RPC_FAR * This,
  2401. /* [in] */ long Value);
  2402. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStyle )(
  2403. ITextFont __RPC_FAR * This,
  2404. /* [retval][out] */ long __RPC_FAR *pValue);
  2405. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetStyle )(
  2406. ITextFont __RPC_FAR * This,
  2407. /* [in] */ long Value);
  2408. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAllCaps )(
  2409. ITextFont __RPC_FAR * This,
  2410. /* [retval][out] */ long __RPC_FAR *pValue);
  2411. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAllCaps )(
  2412. ITextFont __RPC_FAR * This,
  2413. /* [in] */ long Value);
  2414. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAnimation )(
  2415. ITextFont __RPC_FAR * This,
  2416. /* [retval][out] */ long __RPC_FAR *pValue);
  2417. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAnimation )(
  2418. ITextFont __RPC_FAR * This,
  2419. /* [in] */ long Value);
  2420. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBackColor )(
  2421. ITextFont __RPC_FAR * This,
  2422. /* [retval][out] */ long __RPC_FAR *pValue);
  2423. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetBackColor )(
  2424. ITextFont __RPC_FAR * This,
  2425. /* [in] */ long Value);
  2426. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetBold )(
  2427. ITextFont __RPC_FAR * This,
  2428. /* [retval][out] */ long __RPC_FAR *pValue);
  2429. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetBold )(
  2430. ITextFont __RPC_FAR * This,
  2431. /* [in] */ long Value);
  2432. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEmboss )(
  2433. ITextFont __RPC_FAR * This,
  2434. /* [retval][out] */ long __RPC_FAR *pValue);
  2435. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEmboss )(
  2436. ITextFont __RPC_FAR * This,
  2437. /* [in] */ long Value);
  2438. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetForeColor )(
  2439. ITextFont __RPC_FAR * This,
  2440. /* [retval][out] */ long __RPC_FAR *pValue);
  2441. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetForeColor )(
  2442. ITextFont __RPC_FAR * This,
  2443. /* [in] */ long Value);
  2444. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHidden )(
  2445. ITextFont __RPC_FAR * This,
  2446. /* [retval][out] */ long __RPC_FAR *pValue);
  2447. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHidden )(
  2448. ITextFont __RPC_FAR * This,
  2449. /* [in] */ long Value);
  2450. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEngrave )(
  2451. ITextFont __RPC_FAR * This,
  2452. /* [retval][out] */ long __RPC_FAR *pValue);
  2453. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEngrave )(
  2454. ITextFont __RPC_FAR * This,
  2455. /* [in] */ long Value);
  2456. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetItalic )(
  2457. ITextFont __RPC_FAR * This,
  2458. /* [retval][out] */ long __RPC_FAR *pValue);
  2459. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetItalic )(
  2460. ITextFont __RPC_FAR * This,
  2461. /* [in] */ long Value);
  2462. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetKerning )(
  2463. ITextFont __RPC_FAR * This,
  2464. /* [retval][out] */ float __RPC_FAR *pValue);
  2465. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetKerning )(
  2466. ITextFont __RPC_FAR * This,
  2467. /* [in] */ float Value);
  2468. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLanguageID )(
  2469. ITextFont __RPC_FAR * This,
  2470. /* [retval][out] */ long __RPC_FAR *pValue);
  2471. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLanguageID )(
  2472. ITextFont __RPC_FAR * This,
  2473. /* [in] */ long Value);
  2474. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(
  2475. ITextFont __RPC_FAR * This,
  2476. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  2477. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetName )(
  2478. ITextFont __RPC_FAR * This,
  2479. /* [in] */ BSTR bstr);
  2480. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetOutline )(
  2481. ITextFont __RPC_FAR * This,
  2482. /* [retval][out] */ long __RPC_FAR *pValue);
  2483. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetOutline )(
  2484. ITextFont __RPC_FAR * This,
  2485. /* [in] */ long Value);
  2486. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPosition )(
  2487. ITextFont __RPC_FAR * This,
  2488. /* [retval][out] */ float __RPC_FAR *pValue);
  2489. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPosition )(
  2490. ITextFont __RPC_FAR * This,
  2491. /* [in] */ float Value);
  2492. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetProtected )(
  2493. ITextFont __RPC_FAR * This,
  2494. /* [retval][out] */ long __RPC_FAR *pValue);
  2495. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetProtected )(
  2496. ITextFont __RPC_FAR * This,
  2497. /* [in] */ long Value);
  2498. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetShadow )(
  2499. ITextFont __RPC_FAR * This,
  2500. /* [retval][out] */ long __RPC_FAR *pValue);
  2501. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetShadow )(
  2502. ITextFont __RPC_FAR * This,
  2503. /* [in] */ long Value);
  2504. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSize )(
  2505. ITextFont __RPC_FAR * This,
  2506. /* [retval][out] */ float __RPC_FAR *pValue);
  2507. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSize )(
  2508. ITextFont __RPC_FAR * This,
  2509. /* [in] */ float Value);
  2510. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSmallCaps )(
  2511. ITextFont __RPC_FAR * This,
  2512. /* [retval][out] */ long __RPC_FAR *pValue);
  2513. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSmallCaps )(
  2514. ITextFont __RPC_FAR * This,
  2515. /* [in] */ long Value);
  2516. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSpacing )(
  2517. ITextFont __RPC_FAR * This,
  2518. /* [retval][out] */ float __RPC_FAR *pValue);
  2519. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSpacing )(
  2520. ITextFont __RPC_FAR * This,
  2521. /* [in] */ float Value);
  2522. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStrikeThrough )(
  2523. ITextFont __RPC_FAR * This,
  2524. /* [retval][out] */ long __RPC_FAR *pValue);
  2525. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetStrikeThrough )(
  2526. ITextFont __RPC_FAR * This,
  2527. /* [in] */ long Value);
  2528. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSubscript )(
  2529. ITextFont __RPC_FAR * This,
  2530. /* [retval][out] */ long __RPC_FAR *pValue);
  2531. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSubscript )(
  2532. ITextFont __RPC_FAR * This,
  2533. /* [in] */ long Value);
  2534. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSuperscript )(
  2535. ITextFont __RPC_FAR * This,
  2536. /* [retval][out] */ long __RPC_FAR *pValue);
  2537. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSuperscript )(
  2538. ITextFont __RPC_FAR * This,
  2539. /* [in] */ long Value);
  2540. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetUnderline )(
  2541. ITextFont __RPC_FAR * This,
  2542. /* [retval][out] */ long __RPC_FAR *pValue);
  2543. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetUnderline )(
  2544. ITextFont __RPC_FAR * This,
  2545. /* [in] */ long Value);
  2546. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWeight )(
  2547. ITextFont __RPC_FAR * This,
  2548. /* [retval][out] */ long __RPC_FAR *pValue);
  2549. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetWeight )(
  2550. ITextFont __RPC_FAR * This,
  2551. /* [in] */ long Value);
  2552. END_INTERFACE
  2553. } ITextFontVtbl;
  2554. interface ITextFont
  2555. {
  2556. CONST_VTBL struct ITextFontVtbl __RPC_FAR *lpVtbl;
  2557. };
  2558. #ifdef COBJMACROS
  2559. #define ITextFont_QueryInterface(This,riid,ppvObject) \
  2560. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  2561. #define ITextFont_AddRef(This) \
  2562. (This)->lpVtbl -> AddRef(This)
  2563. #define ITextFont_Release(This) \
  2564. (This)->lpVtbl -> Release(This)
  2565. #define ITextFont_GetTypeInfoCount(This,pctinfo) \
  2566. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  2567. #define ITextFont_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  2568. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  2569. #define ITextFont_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  2570. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  2571. #define ITextFont_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  2572. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  2573. #define ITextFont_GetDuplicate(This,ppFont) \
  2574. (This)->lpVtbl -> GetDuplicate(This,ppFont)
  2575. #define ITextFont_SetDuplicate(This,pFont) \
  2576. (This)->lpVtbl -> SetDuplicate(This,pFont)
  2577. #define ITextFont_CanChange(This,pB) \
  2578. (This)->lpVtbl -> CanChange(This,pB)
  2579. #define ITextFont_IsEqual(This,pFont,pB) \
  2580. (This)->lpVtbl -> IsEqual(This,pFont,pB)
  2581. #define ITextFont_Reset(This,Value) \
  2582. (This)->lpVtbl -> Reset(This,Value)
  2583. #define ITextFont_GetStyle(This,pValue) \
  2584. (This)->lpVtbl -> GetStyle(This,pValue)
  2585. #define ITextFont_SetStyle(This,Value) \
  2586. (This)->lpVtbl -> SetStyle(This,Value)
  2587. #define ITextFont_GetAllCaps(This,pValue) \
  2588. (This)->lpVtbl -> GetAllCaps(This,pValue)
  2589. #define ITextFont_SetAllCaps(This,Value) \
  2590. (This)->lpVtbl -> SetAllCaps(This,Value)
  2591. #define ITextFont_GetAnimation(This,pValue) \
  2592. (This)->lpVtbl -> GetAnimation(This,pValue)
  2593. #define ITextFont_SetAnimation(This,Value) \
  2594. (This)->lpVtbl -> SetAnimation(This,Value)
  2595. #define ITextFont_GetBackColor(This,pValue) \
  2596. (This)->lpVtbl -> GetBackColor(This,pValue)
  2597. #define ITextFont_SetBackColor(This,Value) \
  2598. (This)->lpVtbl -> SetBackColor(This,Value)
  2599. #define ITextFont_GetBold(This,pValue) \
  2600. (This)->lpVtbl -> GetBold(This,pValue)
  2601. #define ITextFont_SetBold(This,Value) \
  2602. (This)->lpVtbl -> SetBold(This,Value)
  2603. #define ITextFont_GetEmboss(This,pValue) \
  2604. (This)->lpVtbl -> GetEmboss(This,pValue)
  2605. #define ITextFont_SetEmboss(This,Value) \
  2606. (This)->lpVtbl -> SetEmboss(This,Value)
  2607. #define ITextFont_GetForeColor(This,pValue) \
  2608. (This)->lpVtbl -> GetForeColor(This,pValue)
  2609. #define ITextFont_SetForeColor(This,Value) \
  2610. (This)->lpVtbl -> SetForeColor(This,Value)
  2611. #define ITextFont_GetHidden(This,pValue) \
  2612. (This)->lpVtbl -> GetHidden(This,pValue)
  2613. #define ITextFont_SetHidden(This,Value) \
  2614. (This)->lpVtbl -> SetHidden(This,Value)
  2615. #define ITextFont_GetEngrave(This,pValue) \
  2616. (This)->lpVtbl -> GetEngrave(This,pValue)
  2617. #define ITextFont_SetEngrave(This,Value) \
  2618. (This)->lpVtbl -> SetEngrave(This,Value)
  2619. #define ITextFont_GetItalic(This,pValue) \
  2620. (This)->lpVtbl -> GetItalic(This,pValue)
  2621. #define ITextFont_SetItalic(This,Value) \
  2622. (This)->lpVtbl -> SetItalic(This,Value)
  2623. #define ITextFont_GetKerning(This,pValue) \
  2624. (This)->lpVtbl -> GetKerning(This,pValue)
  2625. #define ITextFont_SetKerning(This,Value) \
  2626. (This)->lpVtbl -> SetKerning(This,Value)
  2627. #define ITextFont_GetLanguageID(This,pValue) \
  2628. (This)->lpVtbl -> GetLanguageID(This,pValue)
  2629. #define ITextFont_SetLanguageID(This,Value) \
  2630. (This)->lpVtbl -> SetLanguageID(This,Value)
  2631. #define ITextFont_GetName(This,pbstr) \
  2632. (This)->lpVtbl -> GetName(This,pbstr)
  2633. #define ITextFont_SetName(This,bstr) \
  2634. (This)->lpVtbl -> SetName(This,bstr)
  2635. #define ITextFont_GetOutline(This,pValue) \
  2636. (This)->lpVtbl -> GetOutline(This,pValue)
  2637. #define ITextFont_SetOutline(This,Value) \
  2638. (This)->lpVtbl -> SetOutline(This,Value)
  2639. #define ITextFont_GetPosition(This,pValue) \
  2640. (This)->lpVtbl -> GetPosition(This,pValue)
  2641. #define ITextFont_SetPosition(This,Value) \
  2642. (This)->lpVtbl -> SetPosition(This,Value)
  2643. #define ITextFont_GetProtected(This,pValue) \
  2644. (This)->lpVtbl -> GetProtected(This,pValue)
  2645. #define ITextFont_SetProtected(This,Value) \
  2646. (This)->lpVtbl -> SetProtected(This,Value)
  2647. #define ITextFont_GetShadow(This,pValue) \
  2648. (This)->lpVtbl -> GetShadow(This,pValue)
  2649. #define ITextFont_SetShadow(This,Value) \
  2650. (This)->lpVtbl -> SetShadow(This,Value)
  2651. #define ITextFont_GetSize(This,pValue) \
  2652. (This)->lpVtbl -> GetSize(This,pValue)
  2653. #define ITextFont_SetSize(This,Value) \
  2654. (This)->lpVtbl -> SetSize(This,Value)
  2655. #define ITextFont_GetSmallCaps(This,pValue) \
  2656. (This)->lpVtbl -> GetSmallCaps(This,pValue)
  2657. #define ITextFont_SetSmallCaps(This,Value) \
  2658. (This)->lpVtbl -> SetSmallCaps(This,Value)
  2659. #define ITextFont_GetSpacing(This,pValue) \
  2660. (This)->lpVtbl -> GetSpacing(This,pValue)
  2661. #define ITextFont_SetSpacing(This,Value) \
  2662. (This)->lpVtbl -> SetSpacing(This,Value)
  2663. #define ITextFont_GetStrikeThrough(This,pValue) \
  2664. (This)->lpVtbl -> GetStrikeThrough(This,pValue)
  2665. #define ITextFont_SetStrikeThrough(This,Value) \
  2666. (This)->lpVtbl -> SetStrikeThrough(This,Value)
  2667. #define ITextFont_GetSubscript(This,pValue) \
  2668. (This)->lpVtbl -> GetSubscript(This,pValue)
  2669. #define ITextFont_SetSubscript(This,Value) \
  2670. (This)->lpVtbl -> SetSubscript(This,Value)
  2671. #define ITextFont_GetSuperscript(This,pValue) \
  2672. (This)->lpVtbl -> GetSuperscript(This,pValue)
  2673. #define ITextFont_SetSuperscript(This,Value) \
  2674. (This)->lpVtbl -> SetSuperscript(This,Value)
  2675. #define ITextFont_GetUnderline(This,pValue) \
  2676. (This)->lpVtbl -> GetUnderline(This,pValue)
  2677. #define ITextFont_SetUnderline(This,Value) \
  2678. (This)->lpVtbl -> SetUnderline(This,Value)
  2679. #define ITextFont_GetWeight(This,pValue) \
  2680. (This)->lpVtbl -> GetWeight(This,pValue)
  2681. #define ITextFont_SetWeight(This,Value) \
  2682. (This)->lpVtbl -> SetWeight(This,Value)
  2683. #endif /* COBJMACROS */
  2684. #endif /* C style interface */
  2685. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetDuplicate_Proxy(
  2686. ITextFont __RPC_FAR * This,
  2687. /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *ppFont);
  2688. void __RPC_STUB ITextFont_GetDuplicate_Stub(
  2689. IRpcStubBuffer *This,
  2690. IRpcChannelBuffer *_pRpcChannelBuffer,
  2691. PRPC_MESSAGE _pRpcMessage,
  2692. DWORD *_pdwStubPhase);
  2693. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetDuplicate_Proxy(
  2694. ITextFont __RPC_FAR * This,
  2695. /* [in] */ ITextFont __RPC_FAR *pFont);
  2696. void __RPC_STUB ITextFont_SetDuplicate_Stub(
  2697. IRpcStubBuffer *This,
  2698. IRpcChannelBuffer *_pRpcChannelBuffer,
  2699. PRPC_MESSAGE _pRpcMessage,
  2700. DWORD *_pdwStubPhase);
  2701. /* [id] */ HRESULT STDMETHODCALLTYPE ITextFont_CanChange_Proxy(
  2702. ITextFont __RPC_FAR * This,
  2703. /* [retval][out] */ long __RPC_FAR *pB);
  2704. void __RPC_STUB ITextFont_CanChange_Stub(
  2705. IRpcStubBuffer *This,
  2706. IRpcChannelBuffer *_pRpcChannelBuffer,
  2707. PRPC_MESSAGE _pRpcMessage,
  2708. DWORD *_pdwStubPhase);
  2709. /* [id] */ HRESULT STDMETHODCALLTYPE ITextFont_IsEqual_Proxy(
  2710. ITextFont __RPC_FAR * This,
  2711. /* [in] */ ITextFont __RPC_FAR *pFont,
  2712. /* [retval][out] */ long __RPC_FAR *pB);
  2713. void __RPC_STUB ITextFont_IsEqual_Stub(
  2714. IRpcStubBuffer *This,
  2715. IRpcChannelBuffer *_pRpcChannelBuffer,
  2716. PRPC_MESSAGE _pRpcMessage,
  2717. DWORD *_pdwStubPhase);
  2718. /* [id] */ HRESULT STDMETHODCALLTYPE ITextFont_Reset_Proxy(
  2719. ITextFont __RPC_FAR * This,
  2720. /* [in] */ long Value);
  2721. void __RPC_STUB ITextFont_Reset_Stub(
  2722. IRpcStubBuffer *This,
  2723. IRpcChannelBuffer *_pRpcChannelBuffer,
  2724. PRPC_MESSAGE _pRpcMessage,
  2725. DWORD *_pdwStubPhase);
  2726. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetStyle_Proxy(
  2727. ITextFont __RPC_FAR * This,
  2728. /* [retval][out] */ long __RPC_FAR *pValue);
  2729. void __RPC_STUB ITextFont_GetStyle_Stub(
  2730. IRpcStubBuffer *This,
  2731. IRpcChannelBuffer *_pRpcChannelBuffer,
  2732. PRPC_MESSAGE _pRpcMessage,
  2733. DWORD *_pdwStubPhase);
  2734. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetStyle_Proxy(
  2735. ITextFont __RPC_FAR * This,
  2736. /* [in] */ long Value);
  2737. void __RPC_STUB ITextFont_SetStyle_Stub(
  2738. IRpcStubBuffer *This,
  2739. IRpcChannelBuffer *_pRpcChannelBuffer,
  2740. PRPC_MESSAGE _pRpcMessage,
  2741. DWORD *_pdwStubPhase);
  2742. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetAllCaps_Proxy(
  2743. ITextFont __RPC_FAR * This,
  2744. /* [retval][out] */ long __RPC_FAR *pValue);
  2745. void __RPC_STUB ITextFont_GetAllCaps_Stub(
  2746. IRpcStubBuffer *This,
  2747. IRpcChannelBuffer *_pRpcChannelBuffer,
  2748. PRPC_MESSAGE _pRpcMessage,
  2749. DWORD *_pdwStubPhase);
  2750. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetAllCaps_Proxy(
  2751. ITextFont __RPC_FAR * This,
  2752. /* [in] */ long Value);
  2753. void __RPC_STUB ITextFont_SetAllCaps_Stub(
  2754. IRpcStubBuffer *This,
  2755. IRpcChannelBuffer *_pRpcChannelBuffer,
  2756. PRPC_MESSAGE _pRpcMessage,
  2757. DWORD *_pdwStubPhase);
  2758. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetAnimation_Proxy(
  2759. ITextFont __RPC_FAR * This,
  2760. /* [retval][out] */ long __RPC_FAR *pValue);
  2761. void __RPC_STUB ITextFont_GetAnimation_Stub(
  2762. IRpcStubBuffer *This,
  2763. IRpcChannelBuffer *_pRpcChannelBuffer,
  2764. PRPC_MESSAGE _pRpcMessage,
  2765. DWORD *_pdwStubPhase);
  2766. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetAnimation_Proxy(
  2767. ITextFont __RPC_FAR * This,
  2768. /* [in] */ long Value);
  2769. void __RPC_STUB ITextFont_SetAnimation_Stub(
  2770. IRpcStubBuffer *This,
  2771. IRpcChannelBuffer *_pRpcChannelBuffer,
  2772. PRPC_MESSAGE _pRpcMessage,
  2773. DWORD *_pdwStubPhase);
  2774. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetBackColor_Proxy(
  2775. ITextFont __RPC_FAR * This,
  2776. /* [retval][out] */ long __RPC_FAR *pValue);
  2777. void __RPC_STUB ITextFont_GetBackColor_Stub(
  2778. IRpcStubBuffer *This,
  2779. IRpcChannelBuffer *_pRpcChannelBuffer,
  2780. PRPC_MESSAGE _pRpcMessage,
  2781. DWORD *_pdwStubPhase);
  2782. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetBackColor_Proxy(
  2783. ITextFont __RPC_FAR * This,
  2784. /* [in] */ long Value);
  2785. void __RPC_STUB ITextFont_SetBackColor_Stub(
  2786. IRpcStubBuffer *This,
  2787. IRpcChannelBuffer *_pRpcChannelBuffer,
  2788. PRPC_MESSAGE _pRpcMessage,
  2789. DWORD *_pdwStubPhase);
  2790. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetBold_Proxy(
  2791. ITextFont __RPC_FAR * This,
  2792. /* [retval][out] */ long __RPC_FAR *pValue);
  2793. void __RPC_STUB ITextFont_GetBold_Stub(
  2794. IRpcStubBuffer *This,
  2795. IRpcChannelBuffer *_pRpcChannelBuffer,
  2796. PRPC_MESSAGE _pRpcMessage,
  2797. DWORD *_pdwStubPhase);
  2798. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetBold_Proxy(
  2799. ITextFont __RPC_FAR * This,
  2800. /* [in] */ long Value);
  2801. void __RPC_STUB ITextFont_SetBold_Stub(
  2802. IRpcStubBuffer *This,
  2803. IRpcChannelBuffer *_pRpcChannelBuffer,
  2804. PRPC_MESSAGE _pRpcMessage,
  2805. DWORD *_pdwStubPhase);
  2806. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetEmboss_Proxy(
  2807. ITextFont __RPC_FAR * This,
  2808. /* [retval][out] */ long __RPC_FAR *pValue);
  2809. void __RPC_STUB ITextFont_GetEmboss_Stub(
  2810. IRpcStubBuffer *This,
  2811. IRpcChannelBuffer *_pRpcChannelBuffer,
  2812. PRPC_MESSAGE _pRpcMessage,
  2813. DWORD *_pdwStubPhase);
  2814. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetEmboss_Proxy(
  2815. ITextFont __RPC_FAR * This,
  2816. /* [in] */ long Value);
  2817. void __RPC_STUB ITextFont_SetEmboss_Stub(
  2818. IRpcStubBuffer *This,
  2819. IRpcChannelBuffer *_pRpcChannelBuffer,
  2820. PRPC_MESSAGE _pRpcMessage,
  2821. DWORD *_pdwStubPhase);
  2822. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetForeColor_Proxy(
  2823. ITextFont __RPC_FAR * This,
  2824. /* [retval][out] */ long __RPC_FAR *pValue);
  2825. void __RPC_STUB ITextFont_GetForeColor_Stub(
  2826. IRpcStubBuffer *This,
  2827. IRpcChannelBuffer *_pRpcChannelBuffer,
  2828. PRPC_MESSAGE _pRpcMessage,
  2829. DWORD *_pdwStubPhase);
  2830. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetForeColor_Proxy(
  2831. ITextFont __RPC_FAR * This,
  2832. /* [in] */ long Value);
  2833. void __RPC_STUB ITextFont_SetForeColor_Stub(
  2834. IRpcStubBuffer *This,
  2835. IRpcChannelBuffer *_pRpcChannelBuffer,
  2836. PRPC_MESSAGE _pRpcMessage,
  2837. DWORD *_pdwStubPhase);
  2838. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetHidden_Proxy(
  2839. ITextFont __RPC_FAR * This,
  2840. /* [retval][out] */ long __RPC_FAR *pValue);
  2841. void __RPC_STUB ITextFont_GetHidden_Stub(
  2842. IRpcStubBuffer *This,
  2843. IRpcChannelBuffer *_pRpcChannelBuffer,
  2844. PRPC_MESSAGE _pRpcMessage,
  2845. DWORD *_pdwStubPhase);
  2846. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetHidden_Proxy(
  2847. ITextFont __RPC_FAR * This,
  2848. /* [in] */ long Value);
  2849. void __RPC_STUB ITextFont_SetHidden_Stub(
  2850. IRpcStubBuffer *This,
  2851. IRpcChannelBuffer *_pRpcChannelBuffer,
  2852. PRPC_MESSAGE _pRpcMessage,
  2853. DWORD *_pdwStubPhase);
  2854. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetEngrave_Proxy(
  2855. ITextFont __RPC_FAR * This,
  2856. /* [retval][out] */ long __RPC_FAR *pValue);
  2857. void __RPC_STUB ITextFont_GetEngrave_Stub(
  2858. IRpcStubBuffer *This,
  2859. IRpcChannelBuffer *_pRpcChannelBuffer,
  2860. PRPC_MESSAGE _pRpcMessage,
  2861. DWORD *_pdwStubPhase);
  2862. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetEngrave_Proxy(
  2863. ITextFont __RPC_FAR * This,
  2864. /* [in] */ long Value);
  2865. void __RPC_STUB ITextFont_SetEngrave_Stub(
  2866. IRpcStubBuffer *This,
  2867. IRpcChannelBuffer *_pRpcChannelBuffer,
  2868. PRPC_MESSAGE _pRpcMessage,
  2869. DWORD *_pdwStubPhase);
  2870. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetItalic_Proxy(
  2871. ITextFont __RPC_FAR * This,
  2872. /* [retval][out] */ long __RPC_FAR *pValue);
  2873. void __RPC_STUB ITextFont_GetItalic_Stub(
  2874. IRpcStubBuffer *This,
  2875. IRpcChannelBuffer *_pRpcChannelBuffer,
  2876. PRPC_MESSAGE _pRpcMessage,
  2877. DWORD *_pdwStubPhase);
  2878. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetItalic_Proxy(
  2879. ITextFont __RPC_FAR * This,
  2880. /* [in] */ long Value);
  2881. void __RPC_STUB ITextFont_SetItalic_Stub(
  2882. IRpcStubBuffer *This,
  2883. IRpcChannelBuffer *_pRpcChannelBuffer,
  2884. PRPC_MESSAGE _pRpcMessage,
  2885. DWORD *_pdwStubPhase);
  2886. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetKerning_Proxy(
  2887. ITextFont __RPC_FAR * This,
  2888. /* [retval][out] */ float __RPC_FAR *pValue);
  2889. void __RPC_STUB ITextFont_GetKerning_Stub(
  2890. IRpcStubBuffer *This,
  2891. IRpcChannelBuffer *_pRpcChannelBuffer,
  2892. PRPC_MESSAGE _pRpcMessage,
  2893. DWORD *_pdwStubPhase);
  2894. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetKerning_Proxy(
  2895. ITextFont __RPC_FAR * This,
  2896. /* [in] */ float Value);
  2897. void __RPC_STUB ITextFont_SetKerning_Stub(
  2898. IRpcStubBuffer *This,
  2899. IRpcChannelBuffer *_pRpcChannelBuffer,
  2900. PRPC_MESSAGE _pRpcMessage,
  2901. DWORD *_pdwStubPhase);
  2902. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetLanguageID_Proxy(
  2903. ITextFont __RPC_FAR * This,
  2904. /* [retval][out] */ long __RPC_FAR *pValue);
  2905. void __RPC_STUB ITextFont_GetLanguageID_Stub(
  2906. IRpcStubBuffer *This,
  2907. IRpcChannelBuffer *_pRpcChannelBuffer,
  2908. PRPC_MESSAGE _pRpcMessage,
  2909. DWORD *_pdwStubPhase);
  2910. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetLanguageID_Proxy(
  2911. ITextFont __RPC_FAR * This,
  2912. /* [in] */ long Value);
  2913. void __RPC_STUB ITextFont_SetLanguageID_Stub(
  2914. IRpcStubBuffer *This,
  2915. IRpcChannelBuffer *_pRpcChannelBuffer,
  2916. PRPC_MESSAGE _pRpcMessage,
  2917. DWORD *_pdwStubPhase);
  2918. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetName_Proxy(
  2919. ITextFont __RPC_FAR * This,
  2920. /* [retval][out] */ BSTR __RPC_FAR *pbstr);
  2921. void __RPC_STUB ITextFont_GetName_Stub(
  2922. IRpcStubBuffer *This,
  2923. IRpcChannelBuffer *_pRpcChannelBuffer,
  2924. PRPC_MESSAGE _pRpcMessage,
  2925. DWORD *_pdwStubPhase);
  2926. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetName_Proxy(
  2927. ITextFont __RPC_FAR * This,
  2928. /* [in] */ BSTR bstr);
  2929. void __RPC_STUB ITextFont_SetName_Stub(
  2930. IRpcStubBuffer *This,
  2931. IRpcChannelBuffer *_pRpcChannelBuffer,
  2932. PRPC_MESSAGE _pRpcMessage,
  2933. DWORD *_pdwStubPhase);
  2934. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetOutline_Proxy(
  2935. ITextFont __RPC_FAR * This,
  2936. /* [retval][out] */ long __RPC_FAR *pValue);
  2937. void __RPC_STUB ITextFont_GetOutline_Stub(
  2938. IRpcStubBuffer *This,
  2939. IRpcChannelBuffer *_pRpcChannelBuffer,
  2940. PRPC_MESSAGE _pRpcMessage,
  2941. DWORD *_pdwStubPhase);
  2942. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetOutline_Proxy(
  2943. ITextFont __RPC_FAR * This,
  2944. /* [in] */ long Value);
  2945. void __RPC_STUB ITextFont_SetOutline_Stub(
  2946. IRpcStubBuffer *This,
  2947. IRpcChannelBuffer *_pRpcChannelBuffer,
  2948. PRPC_MESSAGE _pRpcMessage,
  2949. DWORD *_pdwStubPhase);
  2950. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetPosition_Proxy(
  2951. ITextFont __RPC_FAR * This,
  2952. /* [retval][out] */ float __RPC_FAR *pValue);
  2953. void __RPC_STUB ITextFont_GetPosition_Stub(
  2954. IRpcStubBuffer *This,
  2955. IRpcChannelBuffer *_pRpcChannelBuffer,
  2956. PRPC_MESSAGE _pRpcMessage,
  2957. DWORD *_pdwStubPhase);
  2958. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetPosition_Proxy(
  2959. ITextFont __RPC_FAR * This,
  2960. /* [in] */ float Value);
  2961. void __RPC_STUB ITextFont_SetPosition_Stub(
  2962. IRpcStubBuffer *This,
  2963. IRpcChannelBuffer *_pRpcChannelBuffer,
  2964. PRPC_MESSAGE _pRpcMessage,
  2965. DWORD *_pdwStubPhase);
  2966. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetProtected_Proxy(
  2967. ITextFont __RPC_FAR * This,
  2968. /* [retval][out] */ long __RPC_FAR *pValue);
  2969. void __RPC_STUB ITextFont_GetProtected_Stub(
  2970. IRpcStubBuffer *This,
  2971. IRpcChannelBuffer *_pRpcChannelBuffer,
  2972. PRPC_MESSAGE _pRpcMessage,
  2973. DWORD *_pdwStubPhase);
  2974. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetProtected_Proxy(
  2975. ITextFont __RPC_FAR * This,
  2976. /* [in] */ long Value);
  2977. void __RPC_STUB ITextFont_SetProtected_Stub(
  2978. IRpcStubBuffer *This,
  2979. IRpcChannelBuffer *_pRpcChannelBuffer,
  2980. PRPC_MESSAGE _pRpcMessage,
  2981. DWORD *_pdwStubPhase);
  2982. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetShadow_Proxy(
  2983. ITextFont __RPC_FAR * This,
  2984. /* [retval][out] */ long __RPC_FAR *pValue);
  2985. void __RPC_STUB ITextFont_GetShadow_Stub(
  2986. IRpcStubBuffer *This,
  2987. IRpcChannelBuffer *_pRpcChannelBuffer,
  2988. PRPC_MESSAGE _pRpcMessage,
  2989. DWORD *_pdwStubPhase);
  2990. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetShadow_Proxy(
  2991. ITextFont __RPC_FAR * This,
  2992. /* [in] */ long Value);
  2993. void __RPC_STUB ITextFont_SetShadow_Stub(
  2994. IRpcStubBuffer *This,
  2995. IRpcChannelBuffer *_pRpcChannelBuffer,
  2996. PRPC_MESSAGE _pRpcMessage,
  2997. DWORD *_pdwStubPhase);
  2998. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetSize_Proxy(
  2999. ITextFont __RPC_FAR * This,
  3000. /* [retval][out] */ float __RPC_FAR *pValue);
  3001. void __RPC_STUB ITextFont_GetSize_Stub(
  3002. IRpcStubBuffer *This,
  3003. IRpcChannelBuffer *_pRpcChannelBuffer,
  3004. PRPC_MESSAGE _pRpcMessage,
  3005. DWORD *_pdwStubPhase);
  3006. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetSize_Proxy(
  3007. ITextFont __RPC_FAR * This,
  3008. /* [in] */ float Value);
  3009. void __RPC_STUB ITextFont_SetSize_Stub(
  3010. IRpcStubBuffer *This,
  3011. IRpcChannelBuffer *_pRpcChannelBuffer,
  3012. PRPC_MESSAGE _pRpcMessage,
  3013. DWORD *_pdwStubPhase);
  3014. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetSmallCaps_Proxy(
  3015. ITextFont __RPC_FAR * This,
  3016. /* [retval][out] */ long __RPC_FAR *pValue);
  3017. void __RPC_STUB ITextFont_GetSmallCaps_Stub(
  3018. IRpcStubBuffer *This,
  3019. IRpcChannelBuffer *_pRpcChannelBuffer,
  3020. PRPC_MESSAGE _pRpcMessage,
  3021. DWORD *_pdwStubPhase);
  3022. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetSmallCaps_Proxy(
  3023. ITextFont __RPC_FAR * This,
  3024. /* [in] */ long Value);
  3025. void __RPC_STUB ITextFont_SetSmallCaps_Stub(
  3026. IRpcStubBuffer *This,
  3027. IRpcChannelBuffer *_pRpcChannelBuffer,
  3028. PRPC_MESSAGE _pRpcMessage,
  3029. DWORD *_pdwStubPhase);
  3030. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetSpacing_Proxy(
  3031. ITextFont __RPC_FAR * This,
  3032. /* [retval][out] */ float __RPC_FAR *pValue);
  3033. void __RPC_STUB ITextFont_GetSpacing_Stub(
  3034. IRpcStubBuffer *This,
  3035. IRpcChannelBuffer *_pRpcChannelBuffer,
  3036. PRPC_MESSAGE _pRpcMessage,
  3037. DWORD *_pdwStubPhase);
  3038. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetSpacing_Proxy(
  3039. ITextFont __RPC_FAR * This,
  3040. /* [in] */ float Value);
  3041. void __RPC_STUB ITextFont_SetSpacing_Stub(
  3042. IRpcStubBuffer *This,
  3043. IRpcChannelBuffer *_pRpcChannelBuffer,
  3044. PRPC_MESSAGE _pRpcMessage,
  3045. DWORD *_pdwStubPhase);
  3046. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetStrikeThrough_Proxy(
  3047. ITextFont __RPC_FAR * This,
  3048. /* [retval][out] */ long __RPC_FAR *pValue);
  3049. void __RPC_STUB ITextFont_GetStrikeThrough_Stub(
  3050. IRpcStubBuffer *This,
  3051. IRpcChannelBuffer *_pRpcChannelBuffer,
  3052. PRPC_MESSAGE _pRpcMessage,
  3053. DWORD *_pdwStubPhase);
  3054. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetStrikeThrough_Proxy(
  3055. ITextFont __RPC_FAR * This,
  3056. /* [in] */ long Value);
  3057. void __RPC_STUB ITextFont_SetStrikeThrough_Stub(
  3058. IRpcStubBuffer *This,
  3059. IRpcChannelBuffer *_pRpcChannelBuffer,
  3060. PRPC_MESSAGE _pRpcMessage,
  3061. DWORD *_pdwStubPhase);
  3062. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetSubscript_Proxy(
  3063. ITextFont __RPC_FAR * This,
  3064. /* [retval][out] */ long __RPC_FAR *pValue);
  3065. void __RPC_STUB ITextFont_GetSubscript_Stub(
  3066. IRpcStubBuffer *This,
  3067. IRpcChannelBuffer *_pRpcChannelBuffer,
  3068. PRPC_MESSAGE _pRpcMessage,
  3069. DWORD *_pdwStubPhase);
  3070. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetSubscript_Proxy(
  3071. ITextFont __RPC_FAR * This,
  3072. /* [in] */ long Value);
  3073. void __RPC_STUB ITextFont_SetSubscript_Stub(
  3074. IRpcStubBuffer *This,
  3075. IRpcChannelBuffer *_pRpcChannelBuffer,
  3076. PRPC_MESSAGE _pRpcMessage,
  3077. DWORD *_pdwStubPhase);
  3078. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetSuperscript_Proxy(
  3079. ITextFont __RPC_FAR * This,
  3080. /* [retval][out] */ long __RPC_FAR *pValue);
  3081. void __RPC_STUB ITextFont_GetSuperscript_Stub(
  3082. IRpcStubBuffer *This,
  3083. IRpcChannelBuffer *_pRpcChannelBuffer,
  3084. PRPC_MESSAGE _pRpcMessage,
  3085. DWORD *_pdwStubPhase);
  3086. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetSuperscript_Proxy(
  3087. ITextFont __RPC_FAR * This,
  3088. /* [in] */ long Value);
  3089. void __RPC_STUB ITextFont_SetSuperscript_Stub(
  3090. IRpcStubBuffer *This,
  3091. IRpcChannelBuffer *_pRpcChannelBuffer,
  3092. PRPC_MESSAGE _pRpcMessage,
  3093. DWORD *_pdwStubPhase);
  3094. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetUnderline_Proxy(
  3095. ITextFont __RPC_FAR * This,
  3096. /* [retval][out] */ long __RPC_FAR *pValue);
  3097. void __RPC_STUB ITextFont_GetUnderline_Stub(
  3098. IRpcStubBuffer *This,
  3099. IRpcChannelBuffer *_pRpcChannelBuffer,
  3100. PRPC_MESSAGE _pRpcMessage,
  3101. DWORD *_pdwStubPhase);
  3102. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetUnderline_Proxy(
  3103. ITextFont __RPC_FAR * This,
  3104. /* [in] */ long Value);
  3105. void __RPC_STUB ITextFont_SetUnderline_Stub(
  3106. IRpcStubBuffer *This,
  3107. IRpcChannelBuffer *_pRpcChannelBuffer,
  3108. PRPC_MESSAGE _pRpcMessage,
  3109. DWORD *_pdwStubPhase);
  3110. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextFont_GetWeight_Proxy(
  3111. ITextFont __RPC_FAR * This,
  3112. /* [retval][out] */ long __RPC_FAR *pValue);
  3113. void __RPC_STUB ITextFont_GetWeight_Stub(
  3114. IRpcStubBuffer *This,
  3115. IRpcChannelBuffer *_pRpcChannelBuffer,
  3116. PRPC_MESSAGE _pRpcMessage,
  3117. DWORD *_pdwStubPhase);
  3118. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextFont_SetWeight_Proxy(
  3119. ITextFont __RPC_FAR * This,
  3120. /* [in] */ long Value);
  3121. void __RPC_STUB ITextFont_SetWeight_Stub(
  3122. IRpcStubBuffer *This,
  3123. IRpcChannelBuffer *_pRpcChannelBuffer,
  3124. PRPC_MESSAGE _pRpcMessage,
  3125. DWORD *_pdwStubPhase);
  3126. #endif /* __ITextFont_INTERFACE_DEFINED__ */
  3127. #ifndef __ITextPara_INTERFACE_DEFINED__
  3128. #define __ITextPara_INTERFACE_DEFINED__
  3129. /* interface ITextPara */
  3130. /* [object][nonextensible][dual][version][uuid] */
  3131. EXTERN_C const IID IID_ITextPara;
  3132. #if defined(__cplusplus) && !defined(CINTERFACE)
  3133. MIDL_INTERFACE("8CC497C4-A1DF-11ce-8098-00AA0047BE5D")
  3134. ITextPara : public IDispatch
  3135. {
  3136. public:
  3137. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetDuplicate(
  3138. /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *ppPara) = 0;
  3139. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetDuplicate(
  3140. /* [in] */ ITextPara __RPC_FAR *pPara) = 0;
  3141. virtual /* [id] */ HRESULT STDMETHODCALLTYPE CanChange(
  3142. /* [retval][out] */ long __RPC_FAR *pB) = 0;
  3143. virtual /* [id] */ HRESULT STDMETHODCALLTYPE IsEqual(
  3144. /* [in] */ ITextPara __RPC_FAR *pPara,
  3145. /* [retval][out] */ long __RPC_FAR *pB) = 0;
  3146. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Reset(
  3147. /* [in] */ long Value) = 0;
  3148. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetStyle(
  3149. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  3150. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetStyle(
  3151. /* [in] */ long Value) = 0;
  3152. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetAlignment(
  3153. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  3154. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetAlignment(
  3155. /* [in] */ long Value) = 0;
  3156. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetHyphenation(
  3157. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  3158. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetHyphenation(
  3159. /* [in] */ long Value) = 0;
  3160. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetFirstLineIndent(
  3161. /* [retval][out] */ float __RPC_FAR *pValue) = 0;
  3162. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetKeepTogether(
  3163. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  3164. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetKeepTogether(
  3165. /* [in] */ long Value) = 0;
  3166. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetKeepWithNext(
  3167. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  3168. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetKeepWithNext(
  3169. /* [in] */ long Value) = 0;
  3170. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetLeftIndent(
  3171. /* [retval][out] */ float __RPC_FAR *pValue) = 0;
  3172. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetLineSpacing(
  3173. /* [retval][out] */ float __RPC_FAR *pValue) = 0;
  3174. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetLineSpacingRule(
  3175. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  3176. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetListAlignment(
  3177. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  3178. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetListAlignment(
  3179. /* [in] */ long Value) = 0;
  3180. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetListLevelIndex(
  3181. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  3182. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetListLevelIndex(
  3183. /* [in] */ long Value) = 0;
  3184. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetListStart(
  3185. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  3186. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetListStart(
  3187. /* [in] */ long Value) = 0;
  3188. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetListTab(
  3189. /* [retval][out] */ float __RPC_FAR *pValue) = 0;
  3190. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetListTab(
  3191. /* [in] */ float Value) = 0;
  3192. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetListType(
  3193. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  3194. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetListType(
  3195. /* [in] */ long Value) = 0;
  3196. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetNoLineNumber(
  3197. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  3198. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetNoLineNumber(
  3199. /* [in] */ long Value) = 0;
  3200. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetPageBreakBefore(
  3201. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  3202. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetPageBreakBefore(
  3203. /* [in] */ long Value) = 0;
  3204. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetRightIndent(
  3205. /* [retval][out] */ float __RPC_FAR *pValue) = 0;
  3206. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetRightIndent(
  3207. /* [in] */ float Value) = 0;
  3208. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetIndents(
  3209. /* [in] */ float StartIndent,
  3210. /* [in] */ float LeftIndent,
  3211. /* [in] */ float RightIndent) = 0;
  3212. virtual /* [id] */ HRESULT STDMETHODCALLTYPE SetLineSpacing(
  3213. /* [in] */ long LineSpacingRule,
  3214. /* [in] */ float LineSpacing) = 0;
  3215. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSpaceAfter(
  3216. /* [retval][out] */ float __RPC_FAR *pValue) = 0;
  3217. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSpaceAfter(
  3218. /* [in] */ float Value) = 0;
  3219. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetSpaceBefore(
  3220. /* [retval][out] */ float __RPC_FAR *pValue) = 0;
  3221. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetSpaceBefore(
  3222. /* [in] */ float Value) = 0;
  3223. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetWidowControl(
  3224. /* [retval][out] */ long __RPC_FAR *pValue) = 0;
  3225. virtual /* [propput][id] */ HRESULT STDMETHODCALLTYPE SetWidowControl(
  3226. /* [in] */ long Value) = 0;
  3227. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetTabCount(
  3228. /* [retval][out] */ long __RPC_FAR *pCount) = 0;
  3229. virtual /* [id] */ HRESULT STDMETHODCALLTYPE AddTab(
  3230. /* [in] */ float tbPos,
  3231. /* [in] */ long tbAlign,
  3232. /* [in] */ long tbLeader) = 0;
  3233. virtual /* [id] */ HRESULT STDMETHODCALLTYPE ClearAllTabs( void) = 0;
  3234. virtual /* [id] */ HRESULT STDMETHODCALLTYPE DeleteTab(
  3235. /* [in] */ float tbPos) = 0;
  3236. virtual /* [id] */ HRESULT STDMETHODCALLTYPE GetTab(
  3237. /* [in] */ long iTab,
  3238. /* [out] */ float __RPC_FAR *ptbPos,
  3239. /* [out] */ long __RPC_FAR *ptbAlign,
  3240. /* [out] */ long __RPC_FAR *ptbLeader) = 0;
  3241. };
  3242. #else /* C style interface */
  3243. typedef struct ITextParaVtbl
  3244. {
  3245. BEGIN_INTERFACE
  3246. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3247. ITextPara __RPC_FAR * This,
  3248. /* [in] */ REFIID riid,
  3249. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3250. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3251. ITextPara __RPC_FAR * This);
  3252. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3253. ITextPara __RPC_FAR * This);
  3254. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3255. ITextPara __RPC_FAR * This,
  3256. /* [out] */ UINT __RPC_FAR *pctinfo);
  3257. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3258. ITextPara __RPC_FAR * This,
  3259. /* [in] */ UINT iTInfo,
  3260. /* [in] */ LCID lcid,
  3261. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3262. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3263. ITextPara __RPC_FAR * This,
  3264. /* [in] */ REFIID riid,
  3265. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3266. /* [in] */ UINT cNames,
  3267. /* [in] */ LCID lcid,
  3268. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3269. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3270. ITextPara __RPC_FAR * This,
  3271. /* [in] */ DISPID dispIdMember,
  3272. /* [in] */ REFIID riid,
  3273. /* [in] */ LCID lcid,
  3274. /* [in] */ WORD wFlags,
  3275. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3276. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3277. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3278. /* [out] */ UINT __RPC_FAR *puArgErr);
  3279. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDuplicate )(
  3280. ITextPara __RPC_FAR * This,
  3281. /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *ppPara);
  3282. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDuplicate )(
  3283. ITextPara __RPC_FAR * This,
  3284. /* [in] */ ITextPara __RPC_FAR *pPara);
  3285. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CanChange )(
  3286. ITextPara __RPC_FAR * This,
  3287. /* [retval][out] */ long __RPC_FAR *pB);
  3288. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IsEqual )(
  3289. ITextPara __RPC_FAR * This,
  3290. /* [in] */ ITextPara __RPC_FAR *pPara,
  3291. /* [retval][out] */ long __RPC_FAR *pB);
  3292. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Reset )(
  3293. ITextPara __RPC_FAR * This,
  3294. /* [in] */ long Value);
  3295. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStyle )(
  3296. ITextPara __RPC_FAR * This,
  3297. /* [retval][out] */ long __RPC_FAR *pValue);
  3298. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetStyle )(
  3299. ITextPara __RPC_FAR * This,
  3300. /* [in] */ long Value);
  3301. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetAlignment )(
  3302. ITextPara __RPC_FAR * This,
  3303. /* [retval][out] */ long __RPC_FAR *pValue);
  3304. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetAlignment )(
  3305. ITextPara __RPC_FAR * This,
  3306. /* [in] */ long Value);
  3307. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetHyphenation )(
  3308. ITextPara __RPC_FAR * This,
  3309. /* [retval][out] */ long __RPC_FAR *pValue);
  3310. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetHyphenation )(
  3311. ITextPara __RPC_FAR * This,
  3312. /* [in] */ long Value);
  3313. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFirstLineIndent )(
  3314. ITextPara __RPC_FAR * This,
  3315. /* [retval][out] */ float __RPC_FAR *pValue);
  3316. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetKeepTogether )(
  3317. ITextPara __RPC_FAR * This,
  3318. /* [retval][out] */ long __RPC_FAR *pValue);
  3319. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetKeepTogether )(
  3320. ITextPara __RPC_FAR * This,
  3321. /* [in] */ long Value);
  3322. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetKeepWithNext )(
  3323. ITextPara __RPC_FAR * This,
  3324. /* [retval][out] */ long __RPC_FAR *pValue);
  3325. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetKeepWithNext )(
  3326. ITextPara __RPC_FAR * This,
  3327. /* [in] */ long Value);
  3328. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLeftIndent )(
  3329. ITextPara __RPC_FAR * This,
  3330. /* [retval][out] */ float __RPC_FAR *pValue);
  3331. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLineSpacing )(
  3332. ITextPara __RPC_FAR * This,
  3333. /* [retval][out] */ float __RPC_FAR *pValue);
  3334. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetLineSpacingRule )(
  3335. ITextPara __RPC_FAR * This,
  3336. /* [retval][out] */ long __RPC_FAR *pValue);
  3337. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetListAlignment )(
  3338. ITextPara __RPC_FAR * This,
  3339. /* [retval][out] */ long __RPC_FAR *pValue);
  3340. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetListAlignment )(
  3341. ITextPara __RPC_FAR * This,
  3342. /* [in] */ long Value);
  3343. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetListLevelIndex )(
  3344. ITextPara __RPC_FAR * This,
  3345. /* [retval][out] */ long __RPC_FAR *pValue);
  3346. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetListLevelIndex )(
  3347. ITextPara __RPC_FAR * This,
  3348. /* [in] */ long Value);
  3349. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetListStart )(
  3350. ITextPara __RPC_FAR * This,
  3351. /* [retval][out] */ long __RPC_FAR *pValue);
  3352. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetListStart )(
  3353. ITextPara __RPC_FAR * This,
  3354. /* [in] */ long Value);
  3355. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetListTab )(
  3356. ITextPara __RPC_FAR * This,
  3357. /* [retval][out] */ float __RPC_FAR *pValue);
  3358. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetListTab )(
  3359. ITextPara __RPC_FAR * This,
  3360. /* [in] */ float Value);
  3361. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetListType )(
  3362. ITextPara __RPC_FAR * This,
  3363. /* [retval][out] */ long __RPC_FAR *pValue);
  3364. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetListType )(
  3365. ITextPara __RPC_FAR * This,
  3366. /* [in] */ long Value);
  3367. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNoLineNumber )(
  3368. ITextPara __RPC_FAR * This,
  3369. /* [retval][out] */ long __RPC_FAR *pValue);
  3370. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetNoLineNumber )(
  3371. ITextPara __RPC_FAR * This,
  3372. /* [in] */ long Value);
  3373. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPageBreakBefore )(
  3374. ITextPara __RPC_FAR * This,
  3375. /* [retval][out] */ long __RPC_FAR *pValue);
  3376. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetPageBreakBefore )(
  3377. ITextPara __RPC_FAR * This,
  3378. /* [in] */ long Value);
  3379. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetRightIndent )(
  3380. ITextPara __RPC_FAR * This,
  3381. /* [retval][out] */ float __RPC_FAR *pValue);
  3382. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetRightIndent )(
  3383. ITextPara __RPC_FAR * This,
  3384. /* [in] */ float Value);
  3385. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetIndents )(
  3386. ITextPara __RPC_FAR * This,
  3387. /* [in] */ float StartIndent,
  3388. /* [in] */ float LeftIndent,
  3389. /* [in] */ float RightIndent);
  3390. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetLineSpacing )(
  3391. ITextPara __RPC_FAR * This,
  3392. /* [in] */ long LineSpacingRule,
  3393. /* [in] */ float LineSpacing);
  3394. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSpaceAfter )(
  3395. ITextPara __RPC_FAR * This,
  3396. /* [retval][out] */ float __RPC_FAR *pValue);
  3397. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSpaceAfter )(
  3398. ITextPara __RPC_FAR * This,
  3399. /* [in] */ float Value);
  3400. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSpaceBefore )(
  3401. ITextPara __RPC_FAR * This,
  3402. /* [retval][out] */ float __RPC_FAR *pValue);
  3403. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSpaceBefore )(
  3404. ITextPara __RPC_FAR * This,
  3405. /* [in] */ float Value);
  3406. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWidowControl )(
  3407. ITextPara __RPC_FAR * This,
  3408. /* [retval][out] */ long __RPC_FAR *pValue);
  3409. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetWidowControl )(
  3410. ITextPara __RPC_FAR * This,
  3411. /* [in] */ long Value);
  3412. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTabCount )(
  3413. ITextPara __RPC_FAR * This,
  3414. /* [retval][out] */ long __RPC_FAR *pCount);
  3415. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AddTab )(
  3416. ITextPara __RPC_FAR * This,
  3417. /* [in] */ float tbPos,
  3418. /* [in] */ long tbAlign,
  3419. /* [in] */ long tbLeader);
  3420. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ClearAllTabs )(
  3421. ITextPara __RPC_FAR * This);
  3422. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *DeleteTab )(
  3423. ITextPara __RPC_FAR * This,
  3424. /* [in] */ float tbPos);
  3425. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTab )(
  3426. ITextPara __RPC_FAR * This,
  3427. /* [in] */ long iTab,
  3428. /* [out] */ float __RPC_FAR *ptbPos,
  3429. /* [out] */ long __RPC_FAR *ptbAlign,
  3430. /* [out] */ long __RPC_FAR *ptbLeader);
  3431. END_INTERFACE
  3432. } ITextParaVtbl;
  3433. interface ITextPara
  3434. {
  3435. CONST_VTBL struct ITextParaVtbl __RPC_FAR *lpVtbl;
  3436. };
  3437. #ifdef COBJMACROS
  3438. #define ITextPara_QueryInterface(This,riid,ppvObject) \
  3439. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  3440. #define ITextPara_AddRef(This) \
  3441. (This)->lpVtbl -> AddRef(This)
  3442. #define ITextPara_Release(This) \
  3443. (This)->lpVtbl -> Release(This)
  3444. #define ITextPara_GetTypeInfoCount(This,pctinfo) \
  3445. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  3446. #define ITextPara_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  3447. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  3448. #define ITextPara_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  3449. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  3450. #define ITextPara_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  3451. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  3452. #define ITextPara_GetDuplicate(This,ppPara) \
  3453. (This)->lpVtbl -> GetDuplicate(This,ppPara)
  3454. #define ITextPara_SetDuplicate(This,pPara) \
  3455. (This)->lpVtbl -> SetDuplicate(This,pPara)
  3456. #define ITextPara_CanChange(This,pB) \
  3457. (This)->lpVtbl -> CanChange(This,pB)
  3458. #define ITextPara_IsEqual(This,pPara,pB) \
  3459. (This)->lpVtbl -> IsEqual(This,pPara,pB)
  3460. #define ITextPara_Reset(This,Value) \
  3461. (This)->lpVtbl -> Reset(This,Value)
  3462. #define ITextPara_GetStyle(This,pValue) \
  3463. (This)->lpVtbl -> GetStyle(This,pValue)
  3464. #define ITextPara_SetStyle(This,Value) \
  3465. (This)->lpVtbl -> SetStyle(This,Value)
  3466. #define ITextPara_GetAlignment(This,pValue) \
  3467. (This)->lpVtbl -> GetAlignment(This,pValue)
  3468. #define ITextPara_SetAlignment(This,Value) \
  3469. (This)->lpVtbl -> SetAlignment(This,Value)
  3470. #define ITextPara_GetHyphenation(This,pValue) \
  3471. (This)->lpVtbl -> GetHyphenation(This,pValue)
  3472. #define ITextPara_SetHyphenation(This,Value) \
  3473. (This)->lpVtbl -> SetHyphenation(This,Value)
  3474. #define ITextPara_GetFirstLineIndent(This,pValue) \
  3475. (This)->lpVtbl -> GetFirstLineIndent(This,pValue)
  3476. #define ITextPara_GetKeepTogether(This,pValue) \
  3477. (This)->lpVtbl -> GetKeepTogether(This,pValue)
  3478. #define ITextPara_SetKeepTogether(This,Value) \
  3479. (This)->lpVtbl -> SetKeepTogether(This,Value)
  3480. #define ITextPara_GetKeepWithNext(This,pValue) \
  3481. (This)->lpVtbl -> GetKeepWithNext(This,pValue)
  3482. #define ITextPara_SetKeepWithNext(This,Value) \
  3483. (This)->lpVtbl -> SetKeepWithNext(This,Value)
  3484. #define ITextPara_GetLeftIndent(This,pValue) \
  3485. (This)->lpVtbl -> GetLeftIndent(This,pValue)
  3486. #define ITextPara_GetLineSpacing(This,pValue) \
  3487. (This)->lpVtbl -> GetLineSpacing(This,pValue)
  3488. #define ITextPara_GetLineSpacingRule(This,pValue) \
  3489. (This)->lpVtbl -> GetLineSpacingRule(This,pValue)
  3490. #define ITextPara_GetListAlignment(This,pValue) \
  3491. (This)->lpVtbl -> GetListAlignment(This,pValue)
  3492. #define ITextPara_SetListAlignment(This,Value) \
  3493. (This)->lpVtbl -> SetListAlignment(This,Value)
  3494. #define ITextPara_GetListLevelIndex(This,pValue) \
  3495. (This)->lpVtbl -> GetListLevelIndex(This,pValue)
  3496. #define ITextPara_SetListLevelIndex(This,Value) \
  3497. (This)->lpVtbl -> SetListLevelIndex(This,Value)
  3498. #define ITextPara_GetListStart(This,pValue) \
  3499. (This)->lpVtbl -> GetListStart(This,pValue)
  3500. #define ITextPara_SetListStart(This,Value) \
  3501. (This)->lpVtbl -> SetListStart(This,Value)
  3502. #define ITextPara_GetListTab(This,pValue) \
  3503. (This)->lpVtbl -> GetListTab(This,pValue)
  3504. #define ITextPara_SetListTab(This,Value) \
  3505. (This)->lpVtbl -> SetListTab(This,Value)
  3506. #define ITextPara_GetListType(This,pValue) \
  3507. (This)->lpVtbl -> GetListType(This,pValue)
  3508. #define ITextPara_SetListType(This,Value) \
  3509. (This)->lpVtbl -> SetListType(This,Value)
  3510. #define ITextPara_GetNoLineNumber(This,pValue) \
  3511. (This)->lpVtbl -> GetNoLineNumber(This,pValue)
  3512. #define ITextPara_SetNoLineNumber(This,Value) \
  3513. (This)->lpVtbl -> SetNoLineNumber(This,Value)
  3514. #define ITextPara_GetPageBreakBefore(This,pValue) \
  3515. (This)->lpVtbl -> GetPageBreakBefore(This,pValue)
  3516. #define ITextPara_SetPageBreakBefore(This,Value) \
  3517. (This)->lpVtbl -> SetPageBreakBefore(This,Value)
  3518. #define ITextPara_GetRightIndent(This,pValue) \
  3519. (This)->lpVtbl -> GetRightIndent(This,pValue)
  3520. #define ITextPara_SetRightIndent(This,Value) \
  3521. (This)->lpVtbl -> SetRightIndent(This,Value)
  3522. #define ITextPara_SetIndents(This,StartIndent,LeftIndent,RightIndent) \
  3523. (This)->lpVtbl -> SetIndents(This,StartIndent,LeftIndent,RightIndent)
  3524. #define ITextPara_SetLineSpacing(This,LineSpacingRule,LineSpacing) \
  3525. (This)->lpVtbl -> SetLineSpacing(This,LineSpacingRule,LineSpacing)
  3526. #define ITextPara_GetSpaceAfter(This,pValue) \
  3527. (This)->lpVtbl -> GetSpaceAfter(This,pValue)
  3528. #define ITextPara_SetSpaceAfter(This,Value) \
  3529. (This)->lpVtbl -> SetSpaceAfter(This,Value)
  3530. #define ITextPara_GetSpaceBefore(This,pValue) \
  3531. (This)->lpVtbl -> GetSpaceBefore(This,pValue)
  3532. #define ITextPara_SetSpaceBefore(This,Value) \
  3533. (This)->lpVtbl -> SetSpaceBefore(This,Value)
  3534. #define ITextPara_GetWidowControl(This,pValue) \
  3535. (This)->lpVtbl -> GetWidowControl(This,pValue)
  3536. #define ITextPara_SetWidowControl(This,Value) \
  3537. (This)->lpVtbl -> SetWidowControl(This,Value)
  3538. #define ITextPara_GetTabCount(This,pCount) \
  3539. (This)->lpVtbl -> GetTabCount(This,pCount)
  3540. #define ITextPara_AddTab(This,tbPos,tbAlign,tbLeader) \
  3541. (This)->lpVtbl -> AddTab(This,tbPos,tbAlign,tbLeader)
  3542. #define ITextPara_ClearAllTabs(This) \
  3543. (This)->lpVtbl -> ClearAllTabs(This)
  3544. #define ITextPara_DeleteTab(This,tbPos) \
  3545. (This)->lpVtbl -> DeleteTab(This,tbPos)
  3546. #define ITextPara_GetTab(This,iTab,ptbPos,ptbAlign,ptbLeader) \
  3547. (This)->lpVtbl -> GetTab(This,iTab,ptbPos,ptbAlign,ptbLeader)
  3548. #endif /* COBJMACROS */
  3549. #endif /* C style interface */
  3550. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetDuplicate_Proxy(
  3551. ITextPara __RPC_FAR * This,
  3552. /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *ppPara);
  3553. void __RPC_STUB ITextPara_GetDuplicate_Stub(
  3554. IRpcStubBuffer *This,
  3555. IRpcChannelBuffer *_pRpcChannelBuffer,
  3556. PRPC_MESSAGE _pRpcMessage,
  3557. DWORD *_pdwStubPhase);
  3558. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetDuplicate_Proxy(
  3559. ITextPara __RPC_FAR * This,
  3560. /* [in] */ ITextPara __RPC_FAR *pPara);
  3561. void __RPC_STUB ITextPara_SetDuplicate_Stub(
  3562. IRpcStubBuffer *This,
  3563. IRpcChannelBuffer *_pRpcChannelBuffer,
  3564. PRPC_MESSAGE _pRpcMessage,
  3565. DWORD *_pdwStubPhase);
  3566. /* [id] */ HRESULT STDMETHODCALLTYPE ITextPara_CanChange_Proxy(
  3567. ITextPara __RPC_FAR * This,
  3568. /* [retval][out] */ long __RPC_FAR *pB);
  3569. void __RPC_STUB ITextPara_CanChange_Stub(
  3570. IRpcStubBuffer *This,
  3571. IRpcChannelBuffer *_pRpcChannelBuffer,
  3572. PRPC_MESSAGE _pRpcMessage,
  3573. DWORD *_pdwStubPhase);
  3574. /* [id] */ HRESULT STDMETHODCALLTYPE ITextPara_IsEqual_Proxy(
  3575. ITextPara __RPC_FAR * This,
  3576. /* [in] */ ITextPara __RPC_FAR *pPara,
  3577. /* [retval][out] */ long __RPC_FAR *pB);
  3578. void __RPC_STUB ITextPara_IsEqual_Stub(
  3579. IRpcStubBuffer *This,
  3580. IRpcChannelBuffer *_pRpcChannelBuffer,
  3581. PRPC_MESSAGE _pRpcMessage,
  3582. DWORD *_pdwStubPhase);
  3583. /* [id] */ HRESULT STDMETHODCALLTYPE ITextPara_Reset_Proxy(
  3584. ITextPara __RPC_FAR * This,
  3585. /* [in] */ long Value);
  3586. void __RPC_STUB ITextPara_Reset_Stub(
  3587. IRpcStubBuffer *This,
  3588. IRpcChannelBuffer *_pRpcChannelBuffer,
  3589. PRPC_MESSAGE _pRpcMessage,
  3590. DWORD *_pdwStubPhase);
  3591. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetStyle_Proxy(
  3592. ITextPara __RPC_FAR * This,
  3593. /* [retval][out] */ long __RPC_FAR *pValue);
  3594. void __RPC_STUB ITextPara_GetStyle_Stub(
  3595. IRpcStubBuffer *This,
  3596. IRpcChannelBuffer *_pRpcChannelBuffer,
  3597. PRPC_MESSAGE _pRpcMessage,
  3598. DWORD *_pdwStubPhase);
  3599. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetStyle_Proxy(
  3600. ITextPara __RPC_FAR * This,
  3601. /* [in] */ long Value);
  3602. void __RPC_STUB ITextPara_SetStyle_Stub(
  3603. IRpcStubBuffer *This,
  3604. IRpcChannelBuffer *_pRpcChannelBuffer,
  3605. PRPC_MESSAGE _pRpcMessage,
  3606. DWORD *_pdwStubPhase);
  3607. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetAlignment_Proxy(
  3608. ITextPara __RPC_FAR * This,
  3609. /* [retval][out] */ long __RPC_FAR *pValue);
  3610. void __RPC_STUB ITextPara_GetAlignment_Stub(
  3611. IRpcStubBuffer *This,
  3612. IRpcChannelBuffer *_pRpcChannelBuffer,
  3613. PRPC_MESSAGE _pRpcMessage,
  3614. DWORD *_pdwStubPhase);
  3615. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetAlignment_Proxy(
  3616. ITextPara __RPC_FAR * This,
  3617. /* [in] */ long Value);
  3618. void __RPC_STUB ITextPara_SetAlignment_Stub(
  3619. IRpcStubBuffer *This,
  3620. IRpcChannelBuffer *_pRpcChannelBuffer,
  3621. PRPC_MESSAGE _pRpcMessage,
  3622. DWORD *_pdwStubPhase);
  3623. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetHyphenation_Proxy(
  3624. ITextPara __RPC_FAR * This,
  3625. /* [retval][out] */ long __RPC_FAR *pValue);
  3626. void __RPC_STUB ITextPara_GetHyphenation_Stub(
  3627. IRpcStubBuffer *This,
  3628. IRpcChannelBuffer *_pRpcChannelBuffer,
  3629. PRPC_MESSAGE _pRpcMessage,
  3630. DWORD *_pdwStubPhase);
  3631. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetHyphenation_Proxy(
  3632. ITextPara __RPC_FAR * This,
  3633. /* [in] */ long Value);
  3634. void __RPC_STUB ITextPara_SetHyphenation_Stub(
  3635. IRpcStubBuffer *This,
  3636. IRpcChannelBuffer *_pRpcChannelBuffer,
  3637. PRPC_MESSAGE _pRpcMessage,
  3638. DWORD *_pdwStubPhase);
  3639. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetFirstLineIndent_Proxy(
  3640. ITextPara __RPC_FAR * This,
  3641. /* [retval][out] */ float __RPC_FAR *pValue);
  3642. void __RPC_STUB ITextPara_GetFirstLineIndent_Stub(
  3643. IRpcStubBuffer *This,
  3644. IRpcChannelBuffer *_pRpcChannelBuffer,
  3645. PRPC_MESSAGE _pRpcMessage,
  3646. DWORD *_pdwStubPhase);
  3647. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetKeepTogether_Proxy(
  3648. ITextPara __RPC_FAR * This,
  3649. /* [retval][out] */ long __RPC_FAR *pValue);
  3650. void __RPC_STUB ITextPara_GetKeepTogether_Stub(
  3651. IRpcStubBuffer *This,
  3652. IRpcChannelBuffer *_pRpcChannelBuffer,
  3653. PRPC_MESSAGE _pRpcMessage,
  3654. DWORD *_pdwStubPhase);
  3655. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetKeepTogether_Proxy(
  3656. ITextPara __RPC_FAR * This,
  3657. /* [in] */ long Value);
  3658. void __RPC_STUB ITextPara_SetKeepTogether_Stub(
  3659. IRpcStubBuffer *This,
  3660. IRpcChannelBuffer *_pRpcChannelBuffer,
  3661. PRPC_MESSAGE _pRpcMessage,
  3662. DWORD *_pdwStubPhase);
  3663. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetKeepWithNext_Proxy(
  3664. ITextPara __RPC_FAR * This,
  3665. /* [retval][out] */ long __RPC_FAR *pValue);
  3666. void __RPC_STUB ITextPara_GetKeepWithNext_Stub(
  3667. IRpcStubBuffer *This,
  3668. IRpcChannelBuffer *_pRpcChannelBuffer,
  3669. PRPC_MESSAGE _pRpcMessage,
  3670. DWORD *_pdwStubPhase);
  3671. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetKeepWithNext_Proxy(
  3672. ITextPara __RPC_FAR * This,
  3673. /* [in] */ long Value);
  3674. void __RPC_STUB ITextPara_SetKeepWithNext_Stub(
  3675. IRpcStubBuffer *This,
  3676. IRpcChannelBuffer *_pRpcChannelBuffer,
  3677. PRPC_MESSAGE _pRpcMessage,
  3678. DWORD *_pdwStubPhase);
  3679. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetLeftIndent_Proxy(
  3680. ITextPara __RPC_FAR * This,
  3681. /* [retval][out] */ float __RPC_FAR *pValue);
  3682. void __RPC_STUB ITextPara_GetLeftIndent_Stub(
  3683. IRpcStubBuffer *This,
  3684. IRpcChannelBuffer *_pRpcChannelBuffer,
  3685. PRPC_MESSAGE _pRpcMessage,
  3686. DWORD *_pdwStubPhase);
  3687. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetLineSpacing_Proxy(
  3688. ITextPara __RPC_FAR * This,
  3689. /* [retval][out] */ float __RPC_FAR *pValue);
  3690. void __RPC_STUB ITextPara_GetLineSpacing_Stub(
  3691. IRpcStubBuffer *This,
  3692. IRpcChannelBuffer *_pRpcChannelBuffer,
  3693. PRPC_MESSAGE _pRpcMessage,
  3694. DWORD *_pdwStubPhase);
  3695. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetLineSpacingRule_Proxy(
  3696. ITextPara __RPC_FAR * This,
  3697. /* [retval][out] */ long __RPC_FAR *pValue);
  3698. void __RPC_STUB ITextPara_GetLineSpacingRule_Stub(
  3699. IRpcStubBuffer *This,
  3700. IRpcChannelBuffer *_pRpcChannelBuffer,
  3701. PRPC_MESSAGE _pRpcMessage,
  3702. DWORD *_pdwStubPhase);
  3703. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetListAlignment_Proxy(
  3704. ITextPara __RPC_FAR * This,
  3705. /* [retval][out] */ long __RPC_FAR *pValue);
  3706. void __RPC_STUB ITextPara_GetListAlignment_Stub(
  3707. IRpcStubBuffer *This,
  3708. IRpcChannelBuffer *_pRpcChannelBuffer,
  3709. PRPC_MESSAGE _pRpcMessage,
  3710. DWORD *_pdwStubPhase);
  3711. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetListAlignment_Proxy(
  3712. ITextPara __RPC_FAR * This,
  3713. /* [in] */ long Value);
  3714. void __RPC_STUB ITextPara_SetListAlignment_Stub(
  3715. IRpcStubBuffer *This,
  3716. IRpcChannelBuffer *_pRpcChannelBuffer,
  3717. PRPC_MESSAGE _pRpcMessage,
  3718. DWORD *_pdwStubPhase);
  3719. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetListLevelIndex_Proxy(
  3720. ITextPara __RPC_FAR * This,
  3721. /* [retval][out] */ long __RPC_FAR *pValue);
  3722. void __RPC_STUB ITextPara_GetListLevelIndex_Stub(
  3723. IRpcStubBuffer *This,
  3724. IRpcChannelBuffer *_pRpcChannelBuffer,
  3725. PRPC_MESSAGE _pRpcMessage,
  3726. DWORD *_pdwStubPhase);
  3727. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetListLevelIndex_Proxy(
  3728. ITextPara __RPC_FAR * This,
  3729. /* [in] */ long Value);
  3730. void __RPC_STUB ITextPara_SetListLevelIndex_Stub(
  3731. IRpcStubBuffer *This,
  3732. IRpcChannelBuffer *_pRpcChannelBuffer,
  3733. PRPC_MESSAGE _pRpcMessage,
  3734. DWORD *_pdwStubPhase);
  3735. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetListStart_Proxy(
  3736. ITextPara __RPC_FAR * This,
  3737. /* [retval][out] */ long __RPC_FAR *pValue);
  3738. void __RPC_STUB ITextPara_GetListStart_Stub(
  3739. IRpcStubBuffer *This,
  3740. IRpcChannelBuffer *_pRpcChannelBuffer,
  3741. PRPC_MESSAGE _pRpcMessage,
  3742. DWORD *_pdwStubPhase);
  3743. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetListStart_Proxy(
  3744. ITextPara __RPC_FAR * This,
  3745. /* [in] */ long Value);
  3746. void __RPC_STUB ITextPara_SetListStart_Stub(
  3747. IRpcStubBuffer *This,
  3748. IRpcChannelBuffer *_pRpcChannelBuffer,
  3749. PRPC_MESSAGE _pRpcMessage,
  3750. DWORD *_pdwStubPhase);
  3751. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetListTab_Proxy(
  3752. ITextPara __RPC_FAR * This,
  3753. /* [retval][out] */ float __RPC_FAR *pValue);
  3754. void __RPC_STUB ITextPara_GetListTab_Stub(
  3755. IRpcStubBuffer *This,
  3756. IRpcChannelBuffer *_pRpcChannelBuffer,
  3757. PRPC_MESSAGE _pRpcMessage,
  3758. DWORD *_pdwStubPhase);
  3759. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetListTab_Proxy(
  3760. ITextPara __RPC_FAR * This,
  3761. /* [in] */ float Value);
  3762. void __RPC_STUB ITextPara_SetListTab_Stub(
  3763. IRpcStubBuffer *This,
  3764. IRpcChannelBuffer *_pRpcChannelBuffer,
  3765. PRPC_MESSAGE _pRpcMessage,
  3766. DWORD *_pdwStubPhase);
  3767. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetListType_Proxy(
  3768. ITextPara __RPC_FAR * This,
  3769. /* [retval][out] */ long __RPC_FAR *pValue);
  3770. void __RPC_STUB ITextPara_GetListType_Stub(
  3771. IRpcStubBuffer *This,
  3772. IRpcChannelBuffer *_pRpcChannelBuffer,
  3773. PRPC_MESSAGE _pRpcMessage,
  3774. DWORD *_pdwStubPhase);
  3775. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetListType_Proxy(
  3776. ITextPara __RPC_FAR * This,
  3777. /* [in] */ long Value);
  3778. void __RPC_STUB ITextPara_SetListType_Stub(
  3779. IRpcStubBuffer *This,
  3780. IRpcChannelBuffer *_pRpcChannelBuffer,
  3781. PRPC_MESSAGE _pRpcMessage,
  3782. DWORD *_pdwStubPhase);
  3783. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetNoLineNumber_Proxy(
  3784. ITextPara __RPC_FAR * This,
  3785. /* [retval][out] */ long __RPC_FAR *pValue);
  3786. void __RPC_STUB ITextPara_GetNoLineNumber_Stub(
  3787. IRpcStubBuffer *This,
  3788. IRpcChannelBuffer *_pRpcChannelBuffer,
  3789. PRPC_MESSAGE _pRpcMessage,
  3790. DWORD *_pdwStubPhase);
  3791. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetNoLineNumber_Proxy(
  3792. ITextPara __RPC_FAR * This,
  3793. /* [in] */ long Value);
  3794. void __RPC_STUB ITextPara_SetNoLineNumber_Stub(
  3795. IRpcStubBuffer *This,
  3796. IRpcChannelBuffer *_pRpcChannelBuffer,
  3797. PRPC_MESSAGE _pRpcMessage,
  3798. DWORD *_pdwStubPhase);
  3799. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetPageBreakBefore_Proxy(
  3800. ITextPara __RPC_FAR * This,
  3801. /* [retval][out] */ long __RPC_FAR *pValue);
  3802. void __RPC_STUB ITextPara_GetPageBreakBefore_Stub(
  3803. IRpcStubBuffer *This,
  3804. IRpcChannelBuffer *_pRpcChannelBuffer,
  3805. PRPC_MESSAGE _pRpcMessage,
  3806. DWORD *_pdwStubPhase);
  3807. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetPageBreakBefore_Proxy(
  3808. ITextPara __RPC_FAR * This,
  3809. /* [in] */ long Value);
  3810. void __RPC_STUB ITextPara_SetPageBreakBefore_Stub(
  3811. IRpcStubBuffer *This,
  3812. IRpcChannelBuffer *_pRpcChannelBuffer,
  3813. PRPC_MESSAGE _pRpcMessage,
  3814. DWORD *_pdwStubPhase);
  3815. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetRightIndent_Proxy(
  3816. ITextPara __RPC_FAR * This,
  3817. /* [retval][out] */ float __RPC_FAR *pValue);
  3818. void __RPC_STUB ITextPara_GetRightIndent_Stub(
  3819. IRpcStubBuffer *This,
  3820. IRpcChannelBuffer *_pRpcChannelBuffer,
  3821. PRPC_MESSAGE _pRpcMessage,
  3822. DWORD *_pdwStubPhase);
  3823. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetRightIndent_Proxy(
  3824. ITextPara __RPC_FAR * This,
  3825. /* [in] */ float Value);
  3826. void __RPC_STUB ITextPara_SetRightIndent_Stub(
  3827. IRpcStubBuffer *This,
  3828. IRpcChannelBuffer *_pRpcChannelBuffer,
  3829. PRPC_MESSAGE _pRpcMessage,
  3830. DWORD *_pdwStubPhase);
  3831. /* [id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetIndents_Proxy(
  3832. ITextPara __RPC_FAR * This,
  3833. /* [in] */ float StartIndent,
  3834. /* [in] */ float LeftIndent,
  3835. /* [in] */ float RightIndent);
  3836. void __RPC_STUB ITextPara_SetIndents_Stub(
  3837. IRpcStubBuffer *This,
  3838. IRpcChannelBuffer *_pRpcChannelBuffer,
  3839. PRPC_MESSAGE _pRpcMessage,
  3840. DWORD *_pdwStubPhase);
  3841. /* [id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetLineSpacing_Proxy(
  3842. ITextPara __RPC_FAR * This,
  3843. /* [in] */ long LineSpacingRule,
  3844. /* [in] */ float LineSpacing);
  3845. void __RPC_STUB ITextPara_SetLineSpacing_Stub(
  3846. IRpcStubBuffer *This,
  3847. IRpcChannelBuffer *_pRpcChannelBuffer,
  3848. PRPC_MESSAGE _pRpcMessage,
  3849. DWORD *_pdwStubPhase);
  3850. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetSpaceAfter_Proxy(
  3851. ITextPara __RPC_FAR * This,
  3852. /* [retval][out] */ float __RPC_FAR *pValue);
  3853. void __RPC_STUB ITextPara_GetSpaceAfter_Stub(
  3854. IRpcStubBuffer *This,
  3855. IRpcChannelBuffer *_pRpcChannelBuffer,
  3856. PRPC_MESSAGE _pRpcMessage,
  3857. DWORD *_pdwStubPhase);
  3858. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetSpaceAfter_Proxy(
  3859. ITextPara __RPC_FAR * This,
  3860. /* [in] */ float Value);
  3861. void __RPC_STUB ITextPara_SetSpaceAfter_Stub(
  3862. IRpcStubBuffer *This,
  3863. IRpcChannelBuffer *_pRpcChannelBuffer,
  3864. PRPC_MESSAGE _pRpcMessage,
  3865. DWORD *_pdwStubPhase);
  3866. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetSpaceBefore_Proxy(
  3867. ITextPara __RPC_FAR * This,
  3868. /* [retval][out] */ float __RPC_FAR *pValue);
  3869. void __RPC_STUB ITextPara_GetSpaceBefore_Stub(
  3870. IRpcStubBuffer *This,
  3871. IRpcChannelBuffer *_pRpcChannelBuffer,
  3872. PRPC_MESSAGE _pRpcMessage,
  3873. DWORD *_pdwStubPhase);
  3874. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetSpaceBefore_Proxy(
  3875. ITextPara __RPC_FAR * This,
  3876. /* [in] */ float Value);
  3877. void __RPC_STUB ITextPara_SetSpaceBefore_Stub(
  3878. IRpcStubBuffer *This,
  3879. IRpcChannelBuffer *_pRpcChannelBuffer,
  3880. PRPC_MESSAGE _pRpcMessage,
  3881. DWORD *_pdwStubPhase);
  3882. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetWidowControl_Proxy(
  3883. ITextPara __RPC_FAR * This,
  3884. /* [retval][out] */ long __RPC_FAR *pValue);
  3885. void __RPC_STUB ITextPara_GetWidowControl_Stub(
  3886. IRpcStubBuffer *This,
  3887. IRpcChannelBuffer *_pRpcChannelBuffer,
  3888. PRPC_MESSAGE _pRpcMessage,
  3889. DWORD *_pdwStubPhase);
  3890. /* [propput][id] */ HRESULT STDMETHODCALLTYPE ITextPara_SetWidowControl_Proxy(
  3891. ITextPara __RPC_FAR * This,
  3892. /* [in] */ long Value);
  3893. void __RPC_STUB ITextPara_SetWidowControl_Stub(
  3894. IRpcStubBuffer *This,
  3895. IRpcChannelBuffer *_pRpcChannelBuffer,
  3896. PRPC_MESSAGE _pRpcMessage,
  3897. DWORD *_pdwStubPhase);
  3898. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetTabCount_Proxy(
  3899. ITextPara __RPC_FAR * This,
  3900. /* [retval][out] */ long __RPC_FAR *pCount);
  3901. void __RPC_STUB ITextPara_GetTabCount_Stub(
  3902. IRpcStubBuffer *This,
  3903. IRpcChannelBuffer *_pRpcChannelBuffer,
  3904. PRPC_MESSAGE _pRpcMessage,
  3905. DWORD *_pdwStubPhase);
  3906. /* [id] */ HRESULT STDMETHODCALLTYPE ITextPara_AddTab_Proxy(
  3907. ITextPara __RPC_FAR * This,
  3908. /* [in] */ float tbPos,
  3909. /* [in] */ long tbAlign,
  3910. /* [in] */ long tbLeader);
  3911. void __RPC_STUB ITextPara_AddTab_Stub(
  3912. IRpcStubBuffer *This,
  3913. IRpcChannelBuffer *_pRpcChannelBuffer,
  3914. PRPC_MESSAGE _pRpcMessage,
  3915. DWORD *_pdwStubPhase);
  3916. /* [id] */ HRESULT STDMETHODCALLTYPE ITextPara_ClearAllTabs_Proxy(
  3917. ITextPara __RPC_FAR * This);
  3918. void __RPC_STUB ITextPara_ClearAllTabs_Stub(
  3919. IRpcStubBuffer *This,
  3920. IRpcChannelBuffer *_pRpcChannelBuffer,
  3921. PRPC_MESSAGE _pRpcMessage,
  3922. DWORD *_pdwStubPhase);
  3923. /* [id] */ HRESULT STDMETHODCALLTYPE ITextPara_DeleteTab_Proxy(
  3924. ITextPara __RPC_FAR * This,
  3925. /* [in] */ float tbPos);
  3926. void __RPC_STUB ITextPara_DeleteTab_Stub(
  3927. IRpcStubBuffer *This,
  3928. IRpcChannelBuffer *_pRpcChannelBuffer,
  3929. PRPC_MESSAGE _pRpcMessage,
  3930. DWORD *_pdwStubPhase);
  3931. /* [id] */ HRESULT STDMETHODCALLTYPE ITextPara_GetTab_Proxy(
  3932. ITextPara __RPC_FAR * This,
  3933. /* [in] */ long iTab,
  3934. /* [out] */ float __RPC_FAR *ptbPos,
  3935. /* [out] */ long __RPC_FAR *ptbAlign,
  3936. /* [out] */ long __RPC_FAR *ptbLeader);
  3937. void __RPC_STUB ITextPara_GetTab_Stub(
  3938. IRpcStubBuffer *This,
  3939. IRpcChannelBuffer *_pRpcChannelBuffer,
  3940. PRPC_MESSAGE _pRpcMessage,
  3941. DWORD *_pdwStubPhase);
  3942. #endif /* __ITextPara_INTERFACE_DEFINED__ */
  3943. #ifndef __ITextStoryRanges_INTERFACE_DEFINED__
  3944. #define __ITextStoryRanges_INTERFACE_DEFINED__
  3945. /* interface ITextStoryRanges */
  3946. /* [object][nonextensible][dual][version][uuid] */
  3947. EXTERN_C const IID IID_ITextStoryRanges;
  3948. #if defined(__cplusplus) && !defined(CINTERFACE)
  3949. MIDL_INTERFACE("8CC497C5-A1DF-11ce-8098-00AA0047BE5D")
  3950. ITextStoryRanges : public IDispatch
  3951. {
  3952. public:
  3953. virtual /* [restricted][id] */ HRESULT STDMETHODCALLTYPE _NewEnum(
  3954. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkEnum) = 0;
  3955. virtual /* [id] */ HRESULT STDMETHODCALLTYPE Item(
  3956. /* [in] */ long Index,
  3957. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange) = 0;
  3958. virtual /* [propget][id] */ HRESULT STDMETHODCALLTYPE GetCount(
  3959. /* [retval][out] */ long __RPC_FAR *pCount) = 0;
  3960. };
  3961. #else /* C style interface */
  3962. typedef struct ITextStoryRangesVtbl
  3963. {
  3964. BEGIN_INTERFACE
  3965. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  3966. ITextStoryRanges __RPC_FAR * This,
  3967. /* [in] */ REFIID riid,
  3968. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  3969. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  3970. ITextStoryRanges __RPC_FAR * This);
  3971. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  3972. ITextStoryRanges __RPC_FAR * This);
  3973. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  3974. ITextStoryRanges __RPC_FAR * This,
  3975. /* [out] */ UINT __RPC_FAR *pctinfo);
  3976. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  3977. ITextStoryRanges __RPC_FAR * This,
  3978. /* [in] */ UINT iTInfo,
  3979. /* [in] */ LCID lcid,
  3980. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  3981. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  3982. ITextStoryRanges __RPC_FAR * This,
  3983. /* [in] */ REFIID riid,
  3984. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  3985. /* [in] */ UINT cNames,
  3986. /* [in] */ LCID lcid,
  3987. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  3988. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  3989. ITextStoryRanges __RPC_FAR * This,
  3990. /* [in] */ DISPID dispIdMember,
  3991. /* [in] */ REFIID riid,
  3992. /* [in] */ LCID lcid,
  3993. /* [in] */ WORD wFlags,
  3994. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  3995. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  3996. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  3997. /* [out] */ UINT __RPC_FAR *puArgErr);
  3998. /* [restricted][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *_NewEnum )(
  3999. ITextStoryRanges __RPC_FAR * This,
  4000. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkEnum);
  4001. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Item )(
  4002. ITextStoryRanges __RPC_FAR * This,
  4003. /* [in] */ long Index,
  4004. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  4005. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCount )(
  4006. ITextStoryRanges __RPC_FAR * This,
  4007. /* [retval][out] */ long __RPC_FAR *pCount);
  4008. END_INTERFACE
  4009. } ITextStoryRangesVtbl;
  4010. interface ITextStoryRanges
  4011. {
  4012. CONST_VTBL struct ITextStoryRangesVtbl __RPC_FAR *lpVtbl;
  4013. };
  4014. #ifdef COBJMACROS
  4015. #define ITextStoryRanges_QueryInterface(This,riid,ppvObject) \
  4016. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4017. #define ITextStoryRanges_AddRef(This) \
  4018. (This)->lpVtbl -> AddRef(This)
  4019. #define ITextStoryRanges_Release(This) \
  4020. (This)->lpVtbl -> Release(This)
  4021. #define ITextStoryRanges_GetTypeInfoCount(This,pctinfo) \
  4022. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4023. #define ITextStoryRanges_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4024. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4025. #define ITextStoryRanges_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4026. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4027. #define ITextStoryRanges_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4028. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4029. #define ITextStoryRanges__NewEnum(This,ppunkEnum) \
  4030. (This)->lpVtbl -> _NewEnum(This,ppunkEnum)
  4031. #define ITextStoryRanges_Item(This,Index,ppRange) \
  4032. (This)->lpVtbl -> Item(This,Index,ppRange)
  4033. #define ITextStoryRanges_GetCount(This,pCount) \
  4034. (This)->lpVtbl -> GetCount(This,pCount)
  4035. #endif /* COBJMACROS */
  4036. #endif /* C style interface */
  4037. /* [restricted][id] */ HRESULT STDMETHODCALLTYPE ITextStoryRanges__NewEnum_Proxy(
  4038. ITextStoryRanges __RPC_FAR * This,
  4039. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppunkEnum);
  4040. void __RPC_STUB ITextStoryRanges__NewEnum_Stub(
  4041. IRpcStubBuffer *This,
  4042. IRpcChannelBuffer *_pRpcChannelBuffer,
  4043. PRPC_MESSAGE _pRpcMessage,
  4044. DWORD *_pdwStubPhase);
  4045. /* [id] */ HRESULT STDMETHODCALLTYPE ITextStoryRanges_Item_Proxy(
  4046. ITextStoryRanges __RPC_FAR * This,
  4047. /* [in] */ long Index,
  4048. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  4049. void __RPC_STUB ITextStoryRanges_Item_Stub(
  4050. IRpcStubBuffer *This,
  4051. IRpcChannelBuffer *_pRpcChannelBuffer,
  4052. PRPC_MESSAGE _pRpcMessage,
  4053. DWORD *_pdwStubPhase);
  4054. /* [propget][id] */ HRESULT STDMETHODCALLTYPE ITextStoryRanges_GetCount_Proxy(
  4055. ITextStoryRanges __RPC_FAR * This,
  4056. /* [retval][out] */ long __RPC_FAR *pCount);
  4057. void __RPC_STUB ITextStoryRanges_GetCount_Stub(
  4058. IRpcStubBuffer *This,
  4059. IRpcChannelBuffer *_pRpcChannelBuffer,
  4060. PRPC_MESSAGE _pRpcMessage,
  4061. DWORD *_pdwStubPhase);
  4062. #endif /* __ITextStoryRanges_INTERFACE_DEFINED__ */
  4063. #ifndef __ITextDocument2_INTERFACE_DEFINED__
  4064. #define __ITextDocument2_INTERFACE_DEFINED__
  4065. /* interface ITextDocument2 */
  4066. /* [object][nonextensible][dual][version][uuid] */
  4067. EXTERN_C const IID IID_ITextDocument2;
  4068. #if defined(__cplusplus) && !defined(CINTERFACE)
  4069. MIDL_INTERFACE("01c25500-4268-11d1-883a-3c8b00c10000")
  4070. ITextDocument2 : public ITextDocument
  4071. {
  4072. public:
  4073. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AttachMsgFilter(
  4074. /* [in] */ IUnknown __RPC_FAR *pFilter) = 0;
  4075. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SetEffectColor(
  4076. /* [in] */ long Index,
  4077. /* [in] */ COLORREF cr) = 0;
  4078. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetEffectColor(
  4079. /* [in] */ long Index,
  4080. /* [out] */ COLORREF __RPC_FAR *pcr) = 0;
  4081. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE GetCaretType(
  4082. /* [retval][out] */ long __RPC_FAR *pCaretType) = 0;
  4083. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE SetCaretType(
  4084. /* [in] */ long CaretType) = 0;
  4085. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetImmContext(
  4086. /* [retval][out] */ long __RPC_FAR *pContext) = 0;
  4087. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReleaseImmContext(
  4088. /* [in] */ long Context) = 0;
  4089. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetPreferredFont(
  4090. /* [in] */ long cp,
  4091. /* [in] */ long CodePage,
  4092. /* [in] */ long Option,
  4093. /* [in] */ long curCodepage,
  4094. /* [in] */ long curFontSize,
  4095. /* [out] */ BSTR __RPC_FAR *pbstr,
  4096. /* [out] */ long __RPC_FAR *pPitchAndFamily,
  4097. /* [out] */ long __RPC_FAR *pNewFontSize) = 0;
  4098. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE GetNotificationMode(
  4099. /* [retval][out] */ long __RPC_FAR *pMode) = 0;
  4100. virtual /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE SetNotificationMode(
  4101. /* [in] */ long Mode) = 0;
  4102. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetClientRect(
  4103. /* [in] */ long Type,
  4104. /* [out] */ long __RPC_FAR *pLeft,
  4105. /* [out] */ long __RPC_FAR *pTop,
  4106. /* [out] */ long __RPC_FAR *pRight,
  4107. /* [out] */ long __RPC_FAR *pBottom) = 0;
  4108. virtual /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE GetSelectionEx(
  4109. /* [retval][out] */ ITextSelection __RPC_FAR *__RPC_FAR *ppSel) = 0;
  4110. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetWindow(
  4111. /* [out] */ long __RPC_FAR *phWnd) = 0;
  4112. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetFEFlags(
  4113. /* [out] */ long __RPC_FAR *pFlags) = 0;
  4114. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE UpdateWindow( void) = 0;
  4115. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE CheckTextLimit(
  4116. long cch,
  4117. long __RPC_FAR *pcch) = 0;
  4118. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE IMEInProgress(
  4119. long Mode) = 0;
  4120. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE SysBeep( void) = 0;
  4121. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Update(
  4122. /* [in] */ long Mode) = 0;
  4123. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE Notify(
  4124. /* [in] */ long Notify) = 0;
  4125. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDocumentFont(
  4126. /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *ppITextFont) = 0;
  4127. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetDocumentPara(
  4128. /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *ppITextPara) = 0;
  4129. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE GetCallManager(
  4130. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppVoid) = 0;
  4131. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ReleaseCallManager(
  4132. IUnknown __RPC_FAR *pVoid) = 0;
  4133. };
  4134. #else /* C style interface */
  4135. typedef struct ITextDocument2Vtbl
  4136. {
  4137. BEGIN_INTERFACE
  4138. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4139. ITextDocument2 __RPC_FAR * This,
  4140. /* [in] */ REFIID riid,
  4141. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4142. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4143. ITextDocument2 __RPC_FAR * This);
  4144. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4145. ITextDocument2 __RPC_FAR * This);
  4146. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfoCount )(
  4147. ITextDocument2 __RPC_FAR * This,
  4148. /* [out] */ UINT __RPC_FAR *pctinfo);
  4149. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetTypeInfo )(
  4150. ITextDocument2 __RPC_FAR * This,
  4151. /* [in] */ UINT iTInfo,
  4152. /* [in] */ LCID lcid,
  4153. /* [out] */ ITypeInfo __RPC_FAR *__RPC_FAR *ppTInfo);
  4154. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetIDsOfNames )(
  4155. ITextDocument2 __RPC_FAR * This,
  4156. /* [in] */ REFIID riid,
  4157. /* [size_is][in] */ LPOLESTR __RPC_FAR *rgszNames,
  4158. /* [in] */ UINT cNames,
  4159. /* [in] */ LCID lcid,
  4160. /* [size_is][out] */ DISPID __RPC_FAR *rgDispId);
  4161. /* [local] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Invoke )(
  4162. ITextDocument2 __RPC_FAR * This,
  4163. /* [in] */ DISPID dispIdMember,
  4164. /* [in] */ REFIID riid,
  4165. /* [in] */ LCID lcid,
  4166. /* [in] */ WORD wFlags,
  4167. /* [out][in] */ DISPPARAMS __RPC_FAR *pDispParams,
  4168. /* [out] */ VARIANT __RPC_FAR *pVarResult,
  4169. /* [out] */ EXCEPINFO __RPC_FAR *pExcepInfo,
  4170. /* [out] */ UINT __RPC_FAR *puArgErr);
  4171. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetName )(
  4172. ITextDocument2 __RPC_FAR * This,
  4173. /* [retval][out] */ BSTR __RPC_FAR *pName);
  4174. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSelection )(
  4175. ITextDocument2 __RPC_FAR * This,
  4176. /* [retval][out] */ ITextSelection __RPC_FAR *__RPC_FAR *ppSel);
  4177. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryCount )(
  4178. ITextDocument2 __RPC_FAR * This,
  4179. /* [retval][out] */ long __RPC_FAR *pCount);
  4180. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetStoryRanges )(
  4181. ITextDocument2 __RPC_FAR * This,
  4182. /* [retval][out] */ ITextStoryRanges __RPC_FAR *__RPC_FAR *ppStories);
  4183. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSaved )(
  4184. ITextDocument2 __RPC_FAR * This,
  4185. /* [retval][out] */ long __RPC_FAR *pValue);
  4186. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetSaved )(
  4187. ITextDocument2 __RPC_FAR * This,
  4188. /* [in] */ long Value);
  4189. /* [propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDefaultTabStop )(
  4190. ITextDocument2 __RPC_FAR * This,
  4191. /* [retval][out] */ float __RPC_FAR *pValue);
  4192. /* [propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetDefaultTabStop )(
  4193. ITextDocument2 __RPC_FAR * This,
  4194. /* [in] */ float Value);
  4195. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *New )(
  4196. ITextDocument2 __RPC_FAR * This);
  4197. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Open )(
  4198. ITextDocument2 __RPC_FAR * This,
  4199. /* [in] */ VARIANT __RPC_FAR *pVar,
  4200. /* [in] */ long Flags,
  4201. /* [in] */ long CodePage);
  4202. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Save )(
  4203. ITextDocument2 __RPC_FAR * This,
  4204. /* [in] */ VARIANT __RPC_FAR *pVar,
  4205. /* [in] */ long Flags,
  4206. /* [in] */ long CodePage);
  4207. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Freeze )(
  4208. ITextDocument2 __RPC_FAR * This,
  4209. /* [retval][out] */ long __RPC_FAR *pCount);
  4210. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Unfreeze )(
  4211. ITextDocument2 __RPC_FAR * This,
  4212. /* [retval][out] */ long __RPC_FAR *pCount);
  4213. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *BeginEditCollection )(
  4214. ITextDocument2 __RPC_FAR * This);
  4215. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *EndEditCollection )(
  4216. ITextDocument2 __RPC_FAR * This);
  4217. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Undo )(
  4218. ITextDocument2 __RPC_FAR * This,
  4219. /* [in] */ long Count,
  4220. /* [retval][out] */ long __RPC_FAR *prop);
  4221. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Redo )(
  4222. ITextDocument2 __RPC_FAR * This,
  4223. /* [in] */ long Count,
  4224. /* [retval][out] */ long __RPC_FAR *prop);
  4225. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Range )(
  4226. ITextDocument2 __RPC_FAR * This,
  4227. /* [in] */ long cp1,
  4228. /* [in] */ long cp2,
  4229. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  4230. /* [id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *RangeFromPoint )(
  4231. ITextDocument2 __RPC_FAR * This,
  4232. /* [in] */ long x,
  4233. /* [in] */ long y,
  4234. /* [retval][out] */ ITextRange __RPC_FAR *__RPC_FAR *ppRange);
  4235. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AttachMsgFilter )(
  4236. ITextDocument2 __RPC_FAR * This,
  4237. /* [in] */ IUnknown __RPC_FAR *pFilter);
  4238. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetEffectColor )(
  4239. ITextDocument2 __RPC_FAR * This,
  4240. /* [in] */ long Index,
  4241. /* [in] */ COLORREF cr);
  4242. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetEffectColor )(
  4243. ITextDocument2 __RPC_FAR * This,
  4244. /* [in] */ long Index,
  4245. /* [out] */ COLORREF __RPC_FAR *pcr);
  4246. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCaretType )(
  4247. ITextDocument2 __RPC_FAR * This,
  4248. /* [retval][out] */ long __RPC_FAR *pCaretType);
  4249. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetCaretType )(
  4250. ITextDocument2 __RPC_FAR * This,
  4251. /* [in] */ long CaretType);
  4252. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetImmContext )(
  4253. ITextDocument2 __RPC_FAR * This,
  4254. /* [retval][out] */ long __RPC_FAR *pContext);
  4255. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseImmContext )(
  4256. ITextDocument2 __RPC_FAR * This,
  4257. /* [in] */ long Context);
  4258. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetPreferredFont )(
  4259. ITextDocument2 __RPC_FAR * This,
  4260. /* [in] */ long cp,
  4261. /* [in] */ long CodePage,
  4262. /* [in] */ long Option,
  4263. /* [in] */ long curCodepage,
  4264. /* [in] */ long curFontSize,
  4265. /* [out] */ BSTR __RPC_FAR *pbstr,
  4266. /* [out] */ long __RPC_FAR *pPitchAndFamily,
  4267. /* [out] */ long __RPC_FAR *pNewFontSize);
  4268. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetNotificationMode )(
  4269. ITextDocument2 __RPC_FAR * This,
  4270. /* [retval][out] */ long __RPC_FAR *pMode);
  4271. /* [helpstring][propput][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SetNotificationMode )(
  4272. ITextDocument2 __RPC_FAR * This,
  4273. /* [in] */ long Mode);
  4274. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetClientRect )(
  4275. ITextDocument2 __RPC_FAR * This,
  4276. /* [in] */ long Type,
  4277. /* [out] */ long __RPC_FAR *pLeft,
  4278. /* [out] */ long __RPC_FAR *pTop,
  4279. /* [out] */ long __RPC_FAR *pRight,
  4280. /* [out] */ long __RPC_FAR *pBottom);
  4281. /* [helpstring][propget][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetSelectionEx )(
  4282. ITextDocument2 __RPC_FAR * This,
  4283. /* [retval][out] */ ITextSelection __RPC_FAR *__RPC_FAR *ppSel);
  4284. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetWindow )(
  4285. ITextDocument2 __RPC_FAR * This,
  4286. /* [out] */ long __RPC_FAR *phWnd);
  4287. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetFEFlags )(
  4288. ITextDocument2 __RPC_FAR * This,
  4289. /* [out] */ long __RPC_FAR *pFlags);
  4290. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *UpdateWindow )(
  4291. ITextDocument2 __RPC_FAR * This);
  4292. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *CheckTextLimit )(
  4293. ITextDocument2 __RPC_FAR * This,
  4294. long cch,
  4295. long __RPC_FAR *pcch);
  4296. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *IMEInProgress )(
  4297. ITextDocument2 __RPC_FAR * This,
  4298. long Mode);
  4299. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *SysBeep )(
  4300. ITextDocument2 __RPC_FAR * This);
  4301. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Update )(
  4302. ITextDocument2 __RPC_FAR * This,
  4303. /* [in] */ long Mode);
  4304. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *Notify )(
  4305. ITextDocument2 __RPC_FAR * This,
  4306. /* [in] */ long Notify);
  4307. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDocumentFont )(
  4308. ITextDocument2 __RPC_FAR * This,
  4309. /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *ppITextFont);
  4310. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetDocumentPara )(
  4311. ITextDocument2 __RPC_FAR * This,
  4312. /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *ppITextPara);
  4313. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *GetCallManager )(
  4314. ITextDocument2 __RPC_FAR * This,
  4315. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppVoid);
  4316. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *ReleaseCallManager )(
  4317. ITextDocument2 __RPC_FAR * This,
  4318. IUnknown __RPC_FAR *pVoid);
  4319. END_INTERFACE
  4320. } ITextDocument2Vtbl;
  4321. interface ITextDocument2
  4322. {
  4323. CONST_VTBL struct ITextDocument2Vtbl __RPC_FAR *lpVtbl;
  4324. };
  4325. #ifdef COBJMACROS
  4326. #define ITextDocument2_QueryInterface(This,riid,ppvObject) \
  4327. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4328. #define ITextDocument2_AddRef(This) \
  4329. (This)->lpVtbl -> AddRef(This)
  4330. #define ITextDocument2_Release(This) \
  4331. (This)->lpVtbl -> Release(This)
  4332. #define ITextDocument2_GetTypeInfoCount(This,pctinfo) \
  4333. (This)->lpVtbl -> GetTypeInfoCount(This,pctinfo)
  4334. #define ITextDocument2_GetTypeInfo(This,iTInfo,lcid,ppTInfo) \
  4335. (This)->lpVtbl -> GetTypeInfo(This,iTInfo,lcid,ppTInfo)
  4336. #define ITextDocument2_GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId) \
  4337. (This)->lpVtbl -> GetIDsOfNames(This,riid,rgszNames,cNames,lcid,rgDispId)
  4338. #define ITextDocument2_Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr) \
  4339. (This)->lpVtbl -> Invoke(This,dispIdMember,riid,lcid,wFlags,pDispParams,pVarResult,pExcepInfo,puArgErr)
  4340. #define ITextDocument2_GetName(This,pName) \
  4341. (This)->lpVtbl -> GetName(This,pName)
  4342. #define ITextDocument2_GetSelection(This,ppSel) \
  4343. (This)->lpVtbl -> GetSelection(This,ppSel)
  4344. #define ITextDocument2_GetStoryCount(This,pCount) \
  4345. (This)->lpVtbl -> GetStoryCount(This,pCount)
  4346. #define ITextDocument2_GetStoryRanges(This,ppStories) \
  4347. (This)->lpVtbl -> GetStoryRanges(This,ppStories)
  4348. #define ITextDocument2_GetSaved(This,pValue) \
  4349. (This)->lpVtbl -> GetSaved(This,pValue)
  4350. #define ITextDocument2_SetSaved(This,Value) \
  4351. (This)->lpVtbl -> SetSaved(This,Value)
  4352. #define ITextDocument2_GetDefaultTabStop(This,pValue) \
  4353. (This)->lpVtbl -> GetDefaultTabStop(This,pValue)
  4354. #define ITextDocument2_SetDefaultTabStop(This,Value) \
  4355. (This)->lpVtbl -> SetDefaultTabStop(This,Value)
  4356. #define ITextDocument2_New(This) \
  4357. (This)->lpVtbl -> New(This)
  4358. #define ITextDocument2_Open(This,pVar,Flags,CodePage) \
  4359. (This)->lpVtbl -> Open(This,pVar,Flags,CodePage)
  4360. #define ITextDocument2_Save(This,pVar,Flags,CodePage) \
  4361. (This)->lpVtbl -> Save(This,pVar,Flags,CodePage)
  4362. #define ITextDocument2_Freeze(This,pCount) \
  4363. (This)->lpVtbl -> Freeze(This,pCount)
  4364. #define ITextDocument2_Unfreeze(This,pCount) \
  4365. (This)->lpVtbl -> Unfreeze(This,pCount)
  4366. #define ITextDocument2_BeginEditCollection(This) \
  4367. (This)->lpVtbl -> BeginEditCollection(This)
  4368. #define ITextDocument2_EndEditCollection(This) \
  4369. (This)->lpVtbl -> EndEditCollection(This)
  4370. #define ITextDocument2_Undo(This,Count,prop) \
  4371. (This)->lpVtbl -> Undo(This,Count,prop)
  4372. #define ITextDocument2_Redo(This,Count,prop) \
  4373. (This)->lpVtbl -> Redo(This,Count,prop)
  4374. #define ITextDocument2_Range(This,cp1,cp2,ppRange) \
  4375. (This)->lpVtbl -> Range(This,cp1,cp2,ppRange)
  4376. #define ITextDocument2_RangeFromPoint(This,x,y,ppRange) \
  4377. (This)->lpVtbl -> RangeFromPoint(This,x,y,ppRange)
  4378. #define ITextDocument2_AttachMsgFilter(This,pFilter) \
  4379. (This)->lpVtbl -> AttachMsgFilter(This,pFilter)
  4380. #define ITextDocument2_SetEffectColor(This,Index,cr) \
  4381. (This)->lpVtbl -> SetEffectColor(This,Index,cr)
  4382. #define ITextDocument2_GetEffectColor(This,Index,pcr) \
  4383. (This)->lpVtbl -> GetEffectColor(This,Index,pcr)
  4384. #define ITextDocument2_GetCaretType(This,pCaretType) \
  4385. (This)->lpVtbl -> GetCaretType(This,pCaretType)
  4386. #define ITextDocument2_SetCaretType(This,CaretType) \
  4387. (This)->lpVtbl -> SetCaretType(This,CaretType)
  4388. #define ITextDocument2_GetImmContext(This,pContext) \
  4389. (This)->lpVtbl -> GetImmContext(This,pContext)
  4390. #define ITextDocument2_ReleaseImmContext(This,Context) \
  4391. (This)->lpVtbl -> ReleaseImmContext(This,Context)
  4392. #define ITextDocument2_GetPreferredFont(This,cp,CodePage,Option,curCodepage,curFontSize,pbstr,pPitchAndFamily,pNewFontSize) \
  4393. (This)->lpVtbl -> GetPreferredFont(This,cp,CodePage,Option,curCodepage,curFontSize,pbstr,pPitchAndFamily,pNewFontSize)
  4394. #define ITextDocument2_GetNotificationMode(This,pMode) \
  4395. (This)->lpVtbl -> GetNotificationMode(This,pMode)
  4396. #define ITextDocument2_SetNotificationMode(This,Mode) \
  4397. (This)->lpVtbl -> SetNotificationMode(This,Mode)
  4398. #define ITextDocument2_GetClientRect(This,Type,pLeft,pTop,pRight,pBottom) \
  4399. (This)->lpVtbl -> GetClientRect(This,Type,pLeft,pTop,pRight,pBottom)
  4400. #define ITextDocument2_GetSelectionEx(This,ppSel) \
  4401. (This)->lpVtbl -> GetSelectionEx(This,ppSel)
  4402. #define ITextDocument2_GetWindow(This,phWnd) \
  4403. (This)->lpVtbl -> GetWindow(This,phWnd)
  4404. #define ITextDocument2_GetFEFlags(This,pFlags) \
  4405. (This)->lpVtbl -> GetFEFlags(This,pFlags)
  4406. #define ITextDocument2_UpdateWindow(This) \
  4407. (This)->lpVtbl -> UpdateWindow(This)
  4408. #define ITextDocument2_CheckTextLimit(This,cch,pcch) \
  4409. (This)->lpVtbl -> CheckTextLimit(This,cch,pcch)
  4410. #define ITextDocument2_IMEInProgress(This,Mode) \
  4411. (This)->lpVtbl -> IMEInProgress(This,Mode)
  4412. #define ITextDocument2_SysBeep(This) \
  4413. (This)->lpVtbl -> SysBeep(This)
  4414. #define ITextDocument2_Update(This,Mode) \
  4415. (This)->lpVtbl -> Update(This,Mode)
  4416. #define ITextDocument2_Notify(This,Notify) \
  4417. (This)->lpVtbl -> Notify(This,Notify)
  4418. #define ITextDocument2_GetDocumentFont(This,ppITextFont) \
  4419. (This)->lpVtbl -> GetDocumentFont(This,ppITextFont)
  4420. #define ITextDocument2_GetDocumentPara(This,ppITextPara) \
  4421. (This)->lpVtbl -> GetDocumentPara(This,ppITextPara)
  4422. #define ITextDocument2_GetCallManager(This,ppVoid) \
  4423. (This)->lpVtbl -> GetCallManager(This,ppVoid)
  4424. #define ITextDocument2_ReleaseCallManager(This,pVoid) \
  4425. (This)->lpVtbl -> ReleaseCallManager(This,pVoid)
  4426. #endif /* COBJMACROS */
  4427. #endif /* C style interface */
  4428. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_AttachMsgFilter_Proxy(
  4429. ITextDocument2 __RPC_FAR * This,
  4430. /* [in] */ IUnknown __RPC_FAR *pFilter);
  4431. void __RPC_STUB ITextDocument2_AttachMsgFilter_Stub(
  4432. IRpcStubBuffer *This,
  4433. IRpcChannelBuffer *_pRpcChannelBuffer,
  4434. PRPC_MESSAGE _pRpcMessage,
  4435. DWORD *_pdwStubPhase);
  4436. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_SetEffectColor_Proxy(
  4437. ITextDocument2 __RPC_FAR * This,
  4438. /* [in] */ long Index,
  4439. /* [in] */ COLORREF cr);
  4440. void __RPC_STUB ITextDocument2_SetEffectColor_Stub(
  4441. IRpcStubBuffer *This,
  4442. IRpcChannelBuffer *_pRpcChannelBuffer,
  4443. PRPC_MESSAGE _pRpcMessage,
  4444. DWORD *_pdwStubPhase);
  4445. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_GetEffectColor_Proxy(
  4446. ITextDocument2 __RPC_FAR * This,
  4447. /* [in] */ long Index,
  4448. /* [out] */ COLORREF __RPC_FAR *pcr);
  4449. void __RPC_STUB ITextDocument2_GetEffectColor_Stub(
  4450. IRpcStubBuffer *This,
  4451. IRpcChannelBuffer *_pRpcChannelBuffer,
  4452. PRPC_MESSAGE _pRpcMessage,
  4453. DWORD *_pdwStubPhase);
  4454. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_GetCaretType_Proxy(
  4455. ITextDocument2 __RPC_FAR * This,
  4456. /* [retval][out] */ long __RPC_FAR *pCaretType);
  4457. void __RPC_STUB ITextDocument2_GetCaretType_Stub(
  4458. IRpcStubBuffer *This,
  4459. IRpcChannelBuffer *_pRpcChannelBuffer,
  4460. PRPC_MESSAGE _pRpcMessage,
  4461. DWORD *_pdwStubPhase);
  4462. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_SetCaretType_Proxy(
  4463. ITextDocument2 __RPC_FAR * This,
  4464. /* [in] */ long CaretType);
  4465. void __RPC_STUB ITextDocument2_SetCaretType_Stub(
  4466. IRpcStubBuffer *This,
  4467. IRpcChannelBuffer *_pRpcChannelBuffer,
  4468. PRPC_MESSAGE _pRpcMessage,
  4469. DWORD *_pdwStubPhase);
  4470. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_GetImmContext_Proxy(
  4471. ITextDocument2 __RPC_FAR * This,
  4472. /* [retval][out] */ long __RPC_FAR *pContext);
  4473. void __RPC_STUB ITextDocument2_GetImmContext_Stub(
  4474. IRpcStubBuffer *This,
  4475. IRpcChannelBuffer *_pRpcChannelBuffer,
  4476. PRPC_MESSAGE _pRpcMessage,
  4477. DWORD *_pdwStubPhase);
  4478. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_ReleaseImmContext_Proxy(
  4479. ITextDocument2 __RPC_FAR * This,
  4480. /* [in] */ long Context);
  4481. void __RPC_STUB ITextDocument2_ReleaseImmContext_Stub(
  4482. IRpcStubBuffer *This,
  4483. IRpcChannelBuffer *_pRpcChannelBuffer,
  4484. PRPC_MESSAGE _pRpcMessage,
  4485. DWORD *_pdwStubPhase);
  4486. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_GetPreferredFont_Proxy(
  4487. ITextDocument2 __RPC_FAR * This,
  4488. /* [in] */ long cp,
  4489. /* [in] */ long CodePage,
  4490. /* [in] */ long Option,
  4491. /* [in] */ long curCodepage,
  4492. /* [in] */ long curFontSize,
  4493. /* [out] */ BSTR __RPC_FAR *pbstr,
  4494. /* [out] */ long __RPC_FAR *pPitchAndFamily,
  4495. /* [out] */ long __RPC_FAR *pNewFontSize);
  4496. void __RPC_STUB ITextDocument2_GetPreferredFont_Stub(
  4497. IRpcStubBuffer *This,
  4498. IRpcChannelBuffer *_pRpcChannelBuffer,
  4499. PRPC_MESSAGE _pRpcMessage,
  4500. DWORD *_pdwStubPhase);
  4501. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_GetNotificationMode_Proxy(
  4502. ITextDocument2 __RPC_FAR * This,
  4503. /* [retval][out] */ long __RPC_FAR *pMode);
  4504. void __RPC_STUB ITextDocument2_GetNotificationMode_Stub(
  4505. IRpcStubBuffer *This,
  4506. IRpcChannelBuffer *_pRpcChannelBuffer,
  4507. PRPC_MESSAGE _pRpcMessage,
  4508. DWORD *_pdwStubPhase);
  4509. /* [helpstring][propput][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_SetNotificationMode_Proxy(
  4510. ITextDocument2 __RPC_FAR * This,
  4511. /* [in] */ long Mode);
  4512. void __RPC_STUB ITextDocument2_SetNotificationMode_Stub(
  4513. IRpcStubBuffer *This,
  4514. IRpcChannelBuffer *_pRpcChannelBuffer,
  4515. PRPC_MESSAGE _pRpcMessage,
  4516. DWORD *_pdwStubPhase);
  4517. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_GetClientRect_Proxy(
  4518. ITextDocument2 __RPC_FAR * This,
  4519. /* [in] */ long Type,
  4520. /* [out] */ long __RPC_FAR *pLeft,
  4521. /* [out] */ long __RPC_FAR *pTop,
  4522. /* [out] */ long __RPC_FAR *pRight,
  4523. /* [out] */ long __RPC_FAR *pBottom);
  4524. void __RPC_STUB ITextDocument2_GetClientRect_Stub(
  4525. IRpcStubBuffer *This,
  4526. IRpcChannelBuffer *_pRpcChannelBuffer,
  4527. PRPC_MESSAGE _pRpcMessage,
  4528. DWORD *_pdwStubPhase);
  4529. /* [helpstring][propget][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_GetSelectionEx_Proxy(
  4530. ITextDocument2 __RPC_FAR * This,
  4531. /* [retval][out] */ ITextSelection __RPC_FAR *__RPC_FAR *ppSel);
  4532. void __RPC_STUB ITextDocument2_GetSelectionEx_Stub(
  4533. IRpcStubBuffer *This,
  4534. IRpcChannelBuffer *_pRpcChannelBuffer,
  4535. PRPC_MESSAGE _pRpcMessage,
  4536. DWORD *_pdwStubPhase);
  4537. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_GetWindow_Proxy(
  4538. ITextDocument2 __RPC_FAR * This,
  4539. /* [out] */ long __RPC_FAR *phWnd);
  4540. void __RPC_STUB ITextDocument2_GetWindow_Stub(
  4541. IRpcStubBuffer *This,
  4542. IRpcChannelBuffer *_pRpcChannelBuffer,
  4543. PRPC_MESSAGE _pRpcMessage,
  4544. DWORD *_pdwStubPhase);
  4545. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_GetFEFlags_Proxy(
  4546. ITextDocument2 __RPC_FAR * This,
  4547. /* [out] */ long __RPC_FAR *pFlags);
  4548. void __RPC_STUB ITextDocument2_GetFEFlags_Stub(
  4549. IRpcStubBuffer *This,
  4550. IRpcChannelBuffer *_pRpcChannelBuffer,
  4551. PRPC_MESSAGE _pRpcMessage,
  4552. DWORD *_pdwStubPhase);
  4553. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_UpdateWindow_Proxy(
  4554. ITextDocument2 __RPC_FAR * This);
  4555. void __RPC_STUB ITextDocument2_UpdateWindow_Stub(
  4556. IRpcStubBuffer *This,
  4557. IRpcChannelBuffer *_pRpcChannelBuffer,
  4558. PRPC_MESSAGE _pRpcMessage,
  4559. DWORD *_pdwStubPhase);
  4560. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_CheckTextLimit_Proxy(
  4561. ITextDocument2 __RPC_FAR * This,
  4562. long cch,
  4563. long __RPC_FAR *pcch);
  4564. void __RPC_STUB ITextDocument2_CheckTextLimit_Stub(
  4565. IRpcStubBuffer *This,
  4566. IRpcChannelBuffer *_pRpcChannelBuffer,
  4567. PRPC_MESSAGE _pRpcMessage,
  4568. DWORD *_pdwStubPhase);
  4569. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_IMEInProgress_Proxy(
  4570. ITextDocument2 __RPC_FAR * This,
  4571. long Mode);
  4572. void __RPC_STUB ITextDocument2_IMEInProgress_Stub(
  4573. IRpcStubBuffer *This,
  4574. IRpcChannelBuffer *_pRpcChannelBuffer,
  4575. PRPC_MESSAGE _pRpcMessage,
  4576. DWORD *_pdwStubPhase);
  4577. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_SysBeep_Proxy(
  4578. ITextDocument2 __RPC_FAR * This);
  4579. void __RPC_STUB ITextDocument2_SysBeep_Stub(
  4580. IRpcStubBuffer *This,
  4581. IRpcChannelBuffer *_pRpcChannelBuffer,
  4582. PRPC_MESSAGE _pRpcMessage,
  4583. DWORD *_pdwStubPhase);
  4584. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_Update_Proxy(
  4585. ITextDocument2 __RPC_FAR * This,
  4586. /* [in] */ long Mode);
  4587. void __RPC_STUB ITextDocument2_Update_Stub(
  4588. IRpcStubBuffer *This,
  4589. IRpcChannelBuffer *_pRpcChannelBuffer,
  4590. PRPC_MESSAGE _pRpcMessage,
  4591. DWORD *_pdwStubPhase);
  4592. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_Notify_Proxy(
  4593. ITextDocument2 __RPC_FAR * This,
  4594. /* [in] */ long Notify);
  4595. void __RPC_STUB ITextDocument2_Notify_Stub(
  4596. IRpcStubBuffer *This,
  4597. IRpcChannelBuffer *_pRpcChannelBuffer,
  4598. PRPC_MESSAGE _pRpcMessage,
  4599. DWORD *_pdwStubPhase);
  4600. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_GetDocumentFont_Proxy(
  4601. ITextDocument2 __RPC_FAR * This,
  4602. /* [retval][out] */ ITextFont __RPC_FAR *__RPC_FAR *ppITextFont);
  4603. void __RPC_STUB ITextDocument2_GetDocumentFont_Stub(
  4604. IRpcStubBuffer *This,
  4605. IRpcChannelBuffer *_pRpcChannelBuffer,
  4606. PRPC_MESSAGE _pRpcMessage,
  4607. DWORD *_pdwStubPhase);
  4608. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_GetDocumentPara_Proxy(
  4609. ITextDocument2 __RPC_FAR * This,
  4610. /* [retval][out] */ ITextPara __RPC_FAR *__RPC_FAR *ppITextPara);
  4611. void __RPC_STUB ITextDocument2_GetDocumentPara_Stub(
  4612. IRpcStubBuffer *This,
  4613. IRpcChannelBuffer *_pRpcChannelBuffer,
  4614. PRPC_MESSAGE _pRpcMessage,
  4615. DWORD *_pdwStubPhase);
  4616. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_GetCallManager_Proxy(
  4617. ITextDocument2 __RPC_FAR * This,
  4618. /* [retval][out] */ IUnknown __RPC_FAR *__RPC_FAR *ppVoid);
  4619. void __RPC_STUB ITextDocument2_GetCallManager_Stub(
  4620. IRpcStubBuffer *This,
  4621. IRpcChannelBuffer *_pRpcChannelBuffer,
  4622. PRPC_MESSAGE _pRpcMessage,
  4623. DWORD *_pdwStubPhase);
  4624. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextDocument2_ReleaseCallManager_Proxy(
  4625. ITextDocument2 __RPC_FAR * This,
  4626. IUnknown __RPC_FAR *pVoid);
  4627. void __RPC_STUB ITextDocument2_ReleaseCallManager_Stub(
  4628. IRpcStubBuffer *This,
  4629. IRpcChannelBuffer *_pRpcChannelBuffer,
  4630. PRPC_MESSAGE _pRpcMessage,
  4631. DWORD *_pdwStubPhase);
  4632. #endif /* __ITextDocument2_INTERFACE_DEFINED__ */
  4633. #ifndef __ITextMsgFilter_INTERFACE_DEFINED__
  4634. #define __ITextMsgFilter_INTERFACE_DEFINED__
  4635. /* interface ITextMsgFilter */
  4636. /* [object][nonextensible][version][uuid] */
  4637. EXTERN_C const IID IID_ITextMsgFilter;
  4638. #if defined(__cplusplus) && !defined(CINTERFACE)
  4639. MIDL_INTERFACE("a3787420-4267-11d1-883a-3c8b00c10000")
  4640. ITextMsgFilter : public IUnknown
  4641. {
  4642. public:
  4643. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AttachDocument(
  4644. /* [in] */ HWND hwnd,
  4645. /* [in] */ ITextDocument2 __RPC_FAR *pTextDoc,
  4646. /* [in] */ IUnknown __RPC_FAR *punk) = 0;
  4647. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE HandleMessage(
  4648. /* [out][in] */ UINT __RPC_FAR *pmsg,
  4649. /* [out][in] */ WPARAM __RPC_FAR *pwparam,
  4650. /* [out][in] */ LPARAM __RPC_FAR *plparam,
  4651. /* [out] */ LRESULT __RPC_FAR *plres) = 0;
  4652. virtual /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE AttachMsgFilter(
  4653. /* [in] */ ITextMsgFilter __RPC_FAR *pMsgFilter) = 0;
  4654. };
  4655. #else /* C style interface */
  4656. typedef struct ITextMsgFilterVtbl
  4657. {
  4658. BEGIN_INTERFACE
  4659. HRESULT ( STDMETHODCALLTYPE __RPC_FAR *QueryInterface )(
  4660. ITextMsgFilter __RPC_FAR * This,
  4661. /* [in] */ REFIID riid,
  4662. /* [iid_is][out] */ void __RPC_FAR *__RPC_FAR *ppvObject);
  4663. ULONG ( STDMETHODCALLTYPE __RPC_FAR *AddRef )(
  4664. ITextMsgFilter __RPC_FAR * This);
  4665. ULONG ( STDMETHODCALLTYPE __RPC_FAR *Release )(
  4666. ITextMsgFilter __RPC_FAR * This);
  4667. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AttachDocument )(
  4668. ITextMsgFilter __RPC_FAR * This,
  4669. /* [in] */ HWND hwnd,
  4670. /* [in] */ ITextDocument2 __RPC_FAR *pTextDoc,
  4671. /* [in] */ IUnknown __RPC_FAR *punk);
  4672. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *HandleMessage )(
  4673. ITextMsgFilter __RPC_FAR * This,
  4674. /* [out][in] */ UINT __RPC_FAR *pmsg,
  4675. /* [out][in] */ WPARAM __RPC_FAR *pwparam,
  4676. /* [out][in] */ LPARAM __RPC_FAR *plparam,
  4677. /* [out] */ LRESULT __RPC_FAR *plres);
  4678. /* [helpstring][id] */ HRESULT ( STDMETHODCALLTYPE __RPC_FAR *AttachMsgFilter )(
  4679. ITextMsgFilter __RPC_FAR * This,
  4680. /* [in] */ ITextMsgFilter __RPC_FAR *pMsgFilter);
  4681. END_INTERFACE
  4682. } ITextMsgFilterVtbl;
  4683. interface ITextMsgFilter
  4684. {
  4685. CONST_VTBL struct ITextMsgFilterVtbl __RPC_FAR *lpVtbl;
  4686. };
  4687. #ifdef COBJMACROS
  4688. #define ITextMsgFilter_QueryInterface(This,riid,ppvObject) \
  4689. (This)->lpVtbl -> QueryInterface(This,riid,ppvObject)
  4690. #define ITextMsgFilter_AddRef(This) \
  4691. (This)->lpVtbl -> AddRef(This)
  4692. #define ITextMsgFilter_Release(This) \
  4693. (This)->lpVtbl -> Release(This)
  4694. #define ITextMsgFilter_AttachDocument(This,hwnd,pTextDoc,punk) \
  4695. (This)->lpVtbl -> AttachDocument(This,hwnd,pTextDoc,punk)
  4696. #define ITextMsgFilter_HandleMessage(This,pmsg,pwparam,plparam,plres) \
  4697. (This)->lpVtbl -> HandleMessage(This,pmsg,pwparam,plparam,plres)
  4698. #define ITextMsgFilter_AttachMsgFilter(This,pMsgFilter) \
  4699. (This)->lpVtbl -> AttachMsgFilter(This,pMsgFilter)
  4700. #endif /* COBJMACROS */
  4701. #endif /* C style interface */
  4702. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextMsgFilter_AttachDocument_Proxy(
  4703. ITextMsgFilter __RPC_FAR * This,
  4704. /* [in] */ HWND hwnd,
  4705. /* [in] */ ITextDocument2 __RPC_FAR *pTextDoc,
  4706. /* [in] */ IUnknown __RPC_FAR *punk);
  4707. void __RPC_STUB ITextMsgFilter_AttachDocument_Stub(
  4708. IRpcStubBuffer *This,
  4709. IRpcChannelBuffer *_pRpcChannelBuffer,
  4710. PRPC_MESSAGE _pRpcMessage,
  4711. DWORD *_pdwStubPhase);
  4712. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextMsgFilter_HandleMessage_Proxy(
  4713. ITextMsgFilter __RPC_FAR * This,
  4714. /* [out][in] */ UINT __RPC_FAR *pmsg,
  4715. /* [out][in] */ WPARAM __RPC_FAR *pwparam,
  4716. /* [out][in] */ LPARAM __RPC_FAR *plparam,
  4717. /* [out] */ LRESULT __RPC_FAR *plres);
  4718. void __RPC_STUB ITextMsgFilter_HandleMessage_Stub(
  4719. IRpcStubBuffer *This,
  4720. IRpcChannelBuffer *_pRpcChannelBuffer,
  4721. PRPC_MESSAGE _pRpcMessage,
  4722. DWORD *_pdwStubPhase);
  4723. /* [helpstring][id] */ HRESULT STDMETHODCALLTYPE ITextMsgFilter_AttachMsgFilter_Proxy(
  4724. ITextMsgFilter __RPC_FAR * This,
  4725. /* [in] */ ITextMsgFilter __RPC_FAR *pMsgFilter);
  4726. void __RPC_STUB ITextMsgFilter_AttachMsgFilter_Stub(
  4727. IRpcStubBuffer *This,
  4728. IRpcChannelBuffer *_pRpcChannelBuffer,
  4729. PRPC_MESSAGE _pRpcMessage,
  4730. DWORD *_pdwStubPhase);
  4731. #endif /* __ITextMsgFilter_INTERFACE_DEFINED__ */
  4732. #endif /* __tom_LIBRARY_DEFINED__ */
  4733. /* Additional Prototypes for ALL interfaces */
  4734. unsigned long __RPC_USER BSTR_UserSize( unsigned long __RPC_FAR *, unsigned long , BSTR __RPC_FAR * );
  4735. unsigned char __RPC_FAR * __RPC_USER BSTR_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  4736. unsigned char __RPC_FAR * __RPC_USER BSTR_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, BSTR __RPC_FAR * );
  4737. void __RPC_USER BSTR_UserFree( unsigned long __RPC_FAR *, BSTR __RPC_FAR * );
  4738. unsigned long __RPC_USER HWND_UserSize( unsigned long __RPC_FAR *, unsigned long , HWND __RPC_FAR * );
  4739. unsigned char __RPC_FAR * __RPC_USER HWND_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * );
  4740. unsigned char __RPC_FAR * __RPC_USER HWND_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, HWND __RPC_FAR * );
  4741. void __RPC_USER HWND_UserFree( unsigned long __RPC_FAR *, HWND __RPC_FAR * );
  4742. unsigned long __RPC_USER VARIANT_UserSize( unsigned long __RPC_FAR *, unsigned long , VARIANT __RPC_FAR * );
  4743. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserMarshal( unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  4744. unsigned char __RPC_FAR * __RPC_USER VARIANT_UserUnmarshal(unsigned long __RPC_FAR *, unsigned char __RPC_FAR *, VARIANT __RPC_FAR * );
  4745. void __RPC_USER VARIANT_UserFree( unsigned long __RPC_FAR *, VARIANT __RPC_FAR * );
  4746. /* end of Additional Prototypes */
  4747. #ifdef __cplusplus
  4748. }
  4749. #endif
  4750. #endif