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.

6612 lines
217 KiB

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