Home | Info | Community | Development | myReactOS | Contact Us
ReactOS Development > Doxygentom.idl
Go to the documentation of this file.
00001 /* 00002 * Copyright 2006 Juan Lang 00003 * 00004 * This library is free software; you can redistribute it and/or 00005 * modify it under the terms of the GNU Lesser General Public 00006 * License as published by the Free Software Foundation; either 00007 * version 2.1 of the License, or (at your option) any later version. 00008 * 00009 * This library is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00012 * Lesser General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU Lesser General Public 00015 * License along with this library; if not, write to the Free Software 00016 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 00017 */ 00018 00019 import "oaidl.idl"; 00020 00021 cpp_quote("#ifdef WINE_NO_UNICODE_MACROS") 00022 cpp_quote("#undef FindText") 00023 cpp_quote("#endif") 00024 00025 typedef enum tagTomConstants 00026 { 00027 tomFalse = 0, 00028 tomTrue = -1, 00029 tomUndefined = -9999999, 00030 tomToggle = -9999998, 00031 tomAutoColor = -9999997, 00032 tomDefault = -9999996, 00033 tomSuspend = -9999995, 00034 tomResume = -9999994, 00035 tomApplyNow = 0, 00036 tomApplyLater = 1, 00037 tomTrackParms = 2, 00038 tomCacheParms = 3, 00039 tomBackward = 0xc0000001, 00040 tomForward = 0x3fffffff, 00041 tomMove = 0, 00042 tomExtend = 1, 00043 tomNoSelection = 0, 00044 tomSelectionIP = 1, 00045 tomSelectionNormal = 2, 00046 tomSelectionFrame = 3, 00047 tomSelectionColumn = 4, 00048 tomSelectionRow = 5, 00049 tomSelectionBlock = 6, 00050 tomSelectionInlineShape = 7, 00051 tomSelectionShape = 8, 00052 tomSelStartActive = 1, 00053 tomSelAtEOL = 2, 00054 tomSelOvertype = 4, 00055 tomSelActive = 8, 00056 tomSelReplace = 16, 00057 tomEnd = 0, 00058 tomStart = 32, 00059 tomCollapseEnd = 0, 00060 tomCollapseStart = 1, 00061 tomClientCoord = 256, 00062 tomNone = 0, 00063 tomSingle = 1, 00064 tomWords = 2, 00065 tomDouble = 3, 00066 tomDotted = 4, 00067 tomDash = 5, 00068 tomDashDot = 6, 00069 tomDashDotDot = 7, 00070 tomWave = 8, 00071 tomThick = 9, 00072 tomHair = 10, 00073 tomLineSpaceSingle = 0, 00074 tomLineSpace1pt5 = 1, 00075 tomLineSpaceDouble = 2, 00076 tomLineSpaceAtLeast = 3, 00077 tomLineSpaceExactly = 4, 00078 tomLineSpaceMultiple = 5, 00079 tomAlignLeft = 0, 00080 tomAlignCenter = 1, 00081 tomAlignRight = 2, 00082 tomAlignJustify = 3, 00083 tomAlignDecimal = 3, 00084 tomAlignBar = 4, 00085 tomAlignInterWord = 3, 00086 tomAlignInterLetter = 4, 00087 tomAlignScaled = 5, 00088 tomAlignGlyphs = 6, 00089 tomAlignSnapGrid = 7, 00090 tomSpaces = 0, 00091 tomDots = 1, 00092 tomDashes = 2, 00093 tomLines = 3, 00094 tomThickLines = 4, 00095 tomEquals = 5, 00096 tomTabBack = -3, 00097 tomTabNext = -2, 00098 tomTabHere = -1, 00099 tomListBullet = 1, 00100 tomListNumberAsArabic = 2, 00101 tomListNumberAsLCLetter = 3, 00102 tomListNumberAsUCLetter = 4, 00103 tomListNumberAsLCRoman = 5, 00104 tomListNumberAsUCRoman = 6, 00105 tomListNumberAsSequence = 7, 00106 tomListParentheses = 0x10000, 00107 tomListPeriod = 0x20000, 00108 tomListPlain = 0x30000, 00109 tomCharacter = 1, 00110 tomWord = 2, 00111 tomSentence = 3, 00112 tomParagraph = 4, 00113 tomLine = 5, 00114 tomStory = 6, 00115 tomScreen = 7, 00116 tomSection = 8, 00117 tomColumn = 9, 00118 tomRow = 10, 00119 tomWindow = 11, 00120 tomCell = 12, 00121 tomCharFormat = 13, 00122 tomParaFormat = 14, 00123 tomTable = 15, 00124 tomObject = 16, 00125 tomMatchWord = 2, 00126 tomMatchCase = 4, 00127 tomMatchPattern = 8, 00128 tomUnknownStory = 0, 00129 tomMainTextStory = 1, 00130 tomFootnotesStory = 2, 00131 tomEndnotesStory = 3, 00132 tomCommentsStory = 4, 00133 tomTextFrameStory = 5, 00134 tomEvenPagesHeaderStory = 6, 00135 tomPrimaryHeaderStory = 7, 00136 tomEvenPagesFooterStory = 8, 00137 tomPrimaryFooterStory = 9, 00138 tomFirstPageHeaderStory = 10, 00139 tomFirstPageFooterStory = 11, 00140 tomNoAnimation = 0, 00141 tomLasVegasLights = 1, 00142 tomBlinkingBackground = 2, 00143 tomSparkleText = 3, 00144 tomMarchingBlackAnts = 4, 00145 tomMarchingRedAnts = 5, 00146 tomShimmer = 6, 00147 tomWipeDown = 7, 00148 tomWipeRight = 8, 00149 tomAnimationMax = 8, 00150 tomLowerCase = 0, 00151 tomUpperCase = 1, 00152 tomTitleCase = 2, 00153 tomSentenceCase = 4, 00154 tomToggleCase = 5, 00155 tomReadOnly = 0x100, 00156 tomShareDenyRead = 0x200, 00157 tomShareDenyWrite = 0x400, 00158 tomPasteFile = 0x1000, 00159 tomCreateNew = 0x10, 00160 tomCreateAlways = 0x20, 00161 tomOpenExisting = 0x30, 00162 tomOpenAlways = 0x40, 00163 tomTruncateExisting = 0x50, 00164 tomRTF = 0x1, 00165 tomText = 0x2, 00166 tomHTML = 0x3, 00167 tomWordDocument = 0x4, 00168 tomBold = 0x80000001, 00169 tomItalic = 0x80000002, 00170 tomUnderline = 0x80000004, 00171 tomStrikeout = 0x80000008, 00172 tomProtected = 0x80000010, 00173 tomLink = 0x80000020, 00174 tomSmallCaps = 0x80000040, 00175 tomAllCaps = 0x80000080, 00176 tomHidden = 0x80000100, 00177 tomOutline = 0x80000200, 00178 tomShadow = 0x80000400, 00179 tomEmboss = 0x80000800, 00180 tomImprint = 0x80001000, 00181 tomDisabled = 0x80002000, 00182 tomRevised = 0x80004000, 00183 tomNormalCaret = 0, 00184 tomKoreanBlockCaret = 0x1, 00185 tomIncludeInset = 0x1, 00186 tomIgnoreCurrentFont = 0, 00187 tomMatchFontCharset = 0x1, 00188 tomMatchFontSignature = 0x2, 00189 tomCharset = 0x80000000, 00190 tomRE10Mode = 0x1, 00191 tomNoIME = 0x80000, 00192 tomSelfIME = 0x40000 00193 } tomConstants; 00194 00195 interface ITextRange; 00196 interface ITextSelection; 00197 interface ITextStoryRanges; 00198 00199 [ 00200 object, 00201 uuid(8cc497c0-a1df-11ce-8098-00aa0047be5d) 00202 ] 00203 interface ITextDocument : IDispatch 00204 { 00205 HRESULT GetName([retval, out]BSTR *pName); 00206 HRESULT GetSelection([retval, out]ITextSelection **ppSel); 00207 HRESULT GetStoryCount([retval, out]LONG *pCount); 00208 HRESULT GetStoryRanges([retval, out]ITextStoryRanges **ppStories); 00209 HRESULT GetSaved([retval, out]LONG *pValue); 00210 HRESULT SetSaved([in]LONG Value); 00211 HRESULT GetDefaultTabStop([retval, out]float *pValue); 00212 HRESULT SetDefaultTabStop([in]float Value); 00213 HRESULT New(); 00214 HRESULT Open([in]VARIANT *pVar, [in]LONG Flags, [in]LONG CodePage); 00215 HRESULT Save([in]VARIANT *pVar, [in]LONG Flags, [in]LONG CodePage); 00216 HRESULT Freeze([retval, out]LONG *pCount); 00217 HRESULT Unfreeze([retval, out]LONG *pCount); 00218 HRESULT BeginEditCollection(); 00219 HRESULT EndEditCollection(); 00220 HRESULT Undo([in]LONG Count, [retval, out]LONG *prop); 00221 HRESULT Redo([in]LONG Count, [retval, out]LONG *prop); 00222 HRESULT Range([in]LONG cp1, [in]LONG cp2, [retval, out]ITextRange **ppRange); 00223 HRESULT RangeFromPoint([in]LONG x, [in]LONG y, [retval, out]ITextRange **ppRange); 00224 } 00225 00226 interface ITextFont; 00227 interface ITextPara; 00228 00229 [ 00230 object, 00231 uuid(8cc497c2-a1df-11ce-8098-00aa0047be5d) 00232 ] 00233 interface ITextRange : IDispatch 00234 { 00235 HRESULT GetText([retval, out]BSTR *pbstr); 00236 HRESULT SetText([in]BSTR bstr); 00237 HRESULT GetChar([retval, out]LONG *pch); 00238 HRESULT SetChar([in]LONG ch); 00239 HRESULT GetDuplicate([retval, out]ITextRange **ppRange); 00240 HRESULT GetFormattedText([retval, out]ITextRange **ppRange); 00241 HRESULT SetFormattedText([in]ITextRange *pRange); 00242 HRESULT GetStart([retval, out]LONG *pcpFirst); 00243 HRESULT SetStart([in]LONG cpFirst); 00244 HRESULT GetEnd([retval, out]LONG *pcpLim); 00245 HRESULT SetEnd([in]LONG cpLim); 00246 HRESULT GetFont([retval, out]ITextFont **pFont); 00247 HRESULT SetFont([in]ITextFont *pFont); 00248 HRESULT GetPara([retval, out]ITextPara **ppPara); 00249 HRESULT SetPara([in]ITextPara *pPara); 00250 HRESULT GetStoryLength([retval, out]LONG *pcch); 00251 HRESULT GetStoryType([retval, out]LONG *pValue); 00252 HRESULT Collapse([in]LONG bStart); 00253 HRESULT Expand([in]LONG Unit, [retval, out]LONG *pDelta); 00254 HRESULT GetIndex([in]LONG Unit, [retval, out]LONG *pIndex); 00255 HRESULT SetIndex([in]LONG Unit, [in]LONG Index, [in]LONG Extend); 00256 HRESULT SetRange([in]LONG cpActive, [in]LONG cpOther); 00257 HRESULT InRange([in]ITextRange *pRange, [retval, out]LONG *pb); 00258 HRESULT InStory([in]ITextRange *pRange, [retval, out]LONG *pb); 00259 HRESULT IsEqual([in]ITextRange *pRange, [retval, out]LONG *pb); 00260 HRESULT Select(); 00261 HRESULT StartOf([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta); 00262 HRESULT EndOf([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta); 00263 HRESULT Move([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta); 00264 HRESULT MoveStart([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta); 00265 HRESULT MoveEnd([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta); 00266 HRESULT MoveWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta); 00267 HRESULT MoveStartWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta); 00268 HRESULT MoveEndWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta); 00269 HRESULT MoveUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta); 00270 HRESULT MoveStartUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta); 00271 HRESULT MoveEndUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta); 00272 HRESULT FindText([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength); 00273 HRESULT FindTextStart([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength); 00274 HRESULT FindTextEnd([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength); 00275 HRESULT Delete([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta); 00276 HRESULT Cut([out]VARIANT *pVar); 00277 HRESULT Copy([out]VARIANT *pVar); 00278 HRESULT Paste([in]VARIANT *pVar, [in]LONG Format); 00279 HRESULT CanPaste([in]VARIANT *pVar, [in]LONG Format, [retval, out]LONG *pb); 00280 HRESULT CanEdit([retval, out]LONG *pb); 00281 HRESULT ChangeCase([in]LONG Type); 00282 HRESULT GetPoint([in]LONG Type, [out]LONG *cx, [out]LONG *cy); 00283 HRESULT SetPoint([in]LONG x, [in]LONG y, [in]LONG Type, [in]LONG Extend); 00284 HRESULT ScrollIntoView([in]LONG Value); 00285 HRESULT GetEmbeddedObject([retval, out]IUnknown **ppv); 00286 } 00287 00288 [ 00289 object, 00290 uuid(8cc497c1-a1df-11ce-8098-00aa0047be5d) 00291 ] 00292 interface ITextSelection : ITextRange 00293 { 00294 HRESULT GetFlags([retval, out]LONG *pFlags); 00295 HRESULT SetFlags([in]LONG Flags); 00296 HRESULT GetType([retval, out]LONG *pType); 00297 HRESULT MoveLeft([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta); 00298 HRESULT MoveRight([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta); 00299 HRESULT MoveUp([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta); 00300 HRESULT MoveDown([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta); 00301 HRESULT HomeKey([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta); 00302 HRESULT EndKey([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta); 00303 HRESULT TypeText([in]BSTR bstr); 00304 } 00305 00306 [ 00307 object, 00308 uuid(8cc497c3-a1df-11ce-8098-00aa0047be5d) 00309 ] 00310 interface ITextFont : IDispatch 00311 { 00312 HRESULT GetDuplicate([retval, out]ITextFont **ppFont); 00313 HRESULT SetDuplicate([in]ITextFont *pFont); 00314 HRESULT CanChange([out]LONG *pB); 00315 HRESULT IsEqual([in]ITextFont *pFont, [retval, out]LONG *pB); 00316 HRESULT Reset([in]LONG Value); 00317 HRESULT GetStyle([retval, out]LONG *pValue); 00318 HRESULT SetStyle([in]LONG Value); 00319 HRESULT GetAllCaps([retval, out]LONG *pValue); 00320 HRESULT SetAllCaps([in]LONG Value); 00321 HRESULT GetAnimation([retval, out]LONG *pValue); 00322 HRESULT SetAnimation([in]LONG Value); 00323 HRESULT GetBackColor([retval, out]LONG *pValue); 00324 HRESULT SetBackColor([in]LONG Value); 00325 HRESULT GetBold([retval, out]LONG *pValue); 00326 HRESULT SetBold([in]LONG Value); 00327 HRESULT GetEmboss([retval, out]LONG *pValue); 00328 HRESULT SetEmboss([in]LONG Value); 00329 HRESULT GetForeColor([retval, out]LONG *pValue); 00330 HRESULT SetForeColor([in]LONG Value); 00331 HRESULT GetHidden([retval, out]LONG *pValue); 00332 HRESULT SetHidden([in]LONG Value); 00333 HRESULT GetEngrave([retval, out]LONG *pValue); 00334 HRESULT SetEngrave([in]LONG Value); 00335 HRESULT GetItalic([retval, out]LONG *pValue); 00336 HRESULT SetItalic([in]LONG Value); 00337 HRESULT GetKerning([retval, out]LONG *pValue); 00338 HRESULT SetKerning([in]LONG Value); 00339 HRESULT GetLanguageID([retval, out]LONG *pValue); 00340 HRESULT SetLanguageID([in]LONG Value); 00341 HRESULT GetName([retval, out]BSTR *pValue); 00342 HRESULT SetName([in]BSTR Value); 00343 HRESULT GetOutline([retval, out]LONG *pValue); 00344 HRESULT SetOutline([in]LONG Value); 00345 HRESULT GetPosition([retval, out]LONG *pValue); 00346 HRESULT SetPosition([in]LONG Value); 00347 HRESULT GetProtected([retval, out]LONG *pValue); 00348 HRESULT SetProtected([in]LONG Value); 00349 HRESULT GetShadow([retval, out]LONG *pValue); 00350 HRESULT SetShadow([in]LONG Value); 00351 HRESULT GetSize([retval, out]LONG *pValue); 00352 HRESULT SetSize([in]LONG Value); 00353 HRESULT GetSmallCaps([retval, out]LONG *pValue); 00354 HRESULT SetSmallCaps([in]LONG Value); 00355 HRESULT GetSpacing([retval, out]float *pValue); 00356 HRESULT SetSpacing([in]float Value); 00357 HRESULT GetStrikeThrough([retval, out]LONG *pValue); 00358 HRESULT SetStrikeThrough([in]LONG Value); 00359 HRESULT GetSubscript([retval, out]LONG *pValue); 00360 HRESULT SetSubscript([in]LONG Value); 00361 HRESULT GetSuperscript([retval, out]LONG *pValue); 00362 HRESULT SetSuperscript([in]LONG Value); 00363 HRESULT GetUnderline([retval, out]LONG *pValue); 00364 HRESULT SetUnderline([in]LONG Value); 00365 HRESULT GetWeight([retval, out]LONG *pValue); 00366 HRESULT SetWeight([in]LONG Value); 00367 } 00368 00369 [ 00370 object, 00371 uuid(8cc497c4-a1df-11ce-8098-00aa0047be5d) 00372 ] 00373 interface ITextPara : IDispatch 00374 { 00375 HRESULT GetDuplicate([retval, out]ITextPara **ppPara); 00376 HRESULT SetDuplicate([in]ITextPara *pPara); 00377 HRESULT CanChange([out]LONG *pB); 00378 HRESULT IsEqual([in]ITextPara *pPara, [retval, out]LONG *pB); 00379 HRESULT Reset([in]LONG Value); 00380 HRESULT GetStyle([retval, out]LONG *pValue); 00381 HRESULT SetStyle([in]LONG Value); 00382 HRESULT GetAlignment([retval, out]LONG *pValue); 00383 HRESULT SetAlignment([in]LONG Value); 00384 HRESULT GetHyphenation([retval, out]LONG *pValue); 00385 HRESULT SetHyphenation([in]LONG Value); 00386 HRESULT GetFirstLineIndent([retval, out]float *pValue); 00387 HRESULT GetKeepTogether([retval, out]LONG *pValue); 00388 HRESULT SetKeepTogether([in]LONG Value); 00389 HRESULT GetKeepWithNext([retval, out]LONG *pValue); 00390 HRESULT SetKeepWithNext([in]LONG Value); 00391 HRESULT GetLeftIndent([retval, out]float *pValue); 00392 HRESULT GetLineSpacing([retval, out]float *pValue); 00393 HRESULT GetLineSpacingRule([retval, out]LONG *pValue); 00394 HRESULT GetListAlignment([retval, out]LONG *pValue); 00395 HRESULT SetListAlignment([in]LONG Value); 00396 HRESULT GetListLevelIndex([retval, out]LONG *pValue); 00397 HRESULT SetListLevelIndex([in]LONG Value); 00398 HRESULT GetListStart([retval, out]LONG *pValue); 00399 HRESULT SetListStart([in]LONG Value); 00400 HRESULT GetListTab([retval, out]LONG *pValue); 00401 HRESULT SetListTab([in]LONG Value); 00402 HRESULT GetListType([retval, out]LONG *pValue); 00403 HRESULT SetListType([in]LONG Value); 00404 HRESULT GetNoLineNumber([retval, out]LONG *pValue); 00405 HRESULT SetNoLineNumber([in]LONG Value); 00406 HRESULT GetPageBreakBefore([retval, out]LONG *pValue); 00407 HRESULT SetPageBreakBefore([in]LONG Value); 00408 HRESULT GetRightIndent([retval, out]float *pValue); 00409 HRESULT SetRightIndent([in]float Value); 00410 HRESULT SetIndents([in]float StartIndent, [in]float LeftIndent, [in]float RightIndent); 00411 HRESULT SetLineSpacing([in]LONG LineSpacingRule, [in]float LineSpacing); 00412 HRESULT GetSpaceAfter([retval, out]float *pValue); 00413 HRESULT SetSpaceAfter([in]float Value); 00414 HRESULT GetSpaceBefore([retval, out]float *pValue); 00415 HRESULT SetSpaceBefore([in]float Value); 00416 HRESULT GetWindowControl([retval, out]float *pValue); 00417 HRESULT SetWindowControl([in]float Value); 00418 HRESULT GetTabCount([retval, out]LONG *pCount); 00419 HRESULT AddTab([in]float tbPos, [in]LONG tbAlign, [in]LONG tbLeader); 00420 HRESULT ClearAllTabs(); 00421 HRESULT DeleteTab([in]float tbPos); 00422 HRESULT GetTab([in]LONG iTab, [out]float *ptbPos, [out]LONG *ptbAlign, [out]LONG *ptbLeader); 00423 } 00424 00425 [ 00426 object, 00427 uuid(8cc497c5-a1df-11ce-8098-00aa0047be5d) 00428 ] 00429 interface ITextStoryRanges : IDispatch 00430 { 00431 HRESULT _NewEnum([retval, out]IUnknown **ppUnkEnum); 00432 HRESULT Item([in]LONG Index, [retval, out]ITextRange **ppRange); 00433 HRESULT GetCount([retval, out]LONG *pCount); 00434 } Generated on Sun May 27 2012 04:32:29 for ReactOS by
1.7.6.1
|