TOM.h 217 KB

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