xpsobjectmodel.h 470 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667
  1. /*** Autogenerated by WIDL 7.7 from include/xpsobjectmodel.idl - Do not edit ***/
  2. #ifdef _WIN32
  3. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  4. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  5. #endif
  6. #include <rpc.h>
  7. #include <rpcndr.h>
  8. #endif
  9. #ifndef COM_NO_WINDOWS_H
  10. #include <windows.h>
  11. #include <ole2.h>
  12. #endif
  13. #ifndef __xpsobjectmodel_h__
  14. #define __xpsobjectmodel_h__
  15. /* Forward declarations */
  16. #ifndef __IXpsOMShareable_FWD_DEFINED__
  17. #define __IXpsOMShareable_FWD_DEFINED__
  18. typedef interface IXpsOMShareable IXpsOMShareable;
  19. #ifdef __cplusplus
  20. interface IXpsOMShareable;
  21. #endif /* __cplusplus */
  22. #endif
  23. #ifndef __IXpsOMPart_FWD_DEFINED__
  24. #define __IXpsOMPart_FWD_DEFINED__
  25. typedef interface IXpsOMPart IXpsOMPart;
  26. #ifdef __cplusplus
  27. interface IXpsOMPart;
  28. #endif /* __cplusplus */
  29. #endif
  30. #ifndef __IXpsOMGlyphsEditor_FWD_DEFINED__
  31. #define __IXpsOMGlyphsEditor_FWD_DEFINED__
  32. typedef interface IXpsOMGlyphsEditor IXpsOMGlyphsEditor;
  33. #ifdef __cplusplus
  34. interface IXpsOMGlyphsEditor;
  35. #endif /* __cplusplus */
  36. #endif
  37. #ifndef __IXpsOMDashCollection_FWD_DEFINED__
  38. #define __IXpsOMDashCollection_FWD_DEFINED__
  39. typedef interface IXpsOMDashCollection IXpsOMDashCollection;
  40. #ifdef __cplusplus
  41. interface IXpsOMDashCollection;
  42. #endif /* __cplusplus */
  43. #endif
  44. #ifndef __IXpsOMGeometryFigure_FWD_DEFINED__
  45. #define __IXpsOMGeometryFigure_FWD_DEFINED__
  46. typedef interface IXpsOMGeometryFigure IXpsOMGeometryFigure;
  47. #ifdef __cplusplus
  48. interface IXpsOMGeometryFigure;
  49. #endif /* __cplusplus */
  50. #endif
  51. #ifndef __IXpsOMGeometryFigureCollection_FWD_DEFINED__
  52. #define __IXpsOMGeometryFigureCollection_FWD_DEFINED__
  53. typedef interface IXpsOMGeometryFigureCollection IXpsOMGeometryFigureCollection;
  54. #ifdef __cplusplus
  55. interface IXpsOMGeometryFigureCollection;
  56. #endif /* __cplusplus */
  57. #endif
  58. #ifndef __IXpsOMGradientStopCollection_FWD_DEFINED__
  59. #define __IXpsOMGradientStopCollection_FWD_DEFINED__
  60. typedef interface IXpsOMGradientStopCollection IXpsOMGradientStopCollection;
  61. #ifdef __cplusplus
  62. interface IXpsOMGradientStopCollection;
  63. #endif /* __cplusplus */
  64. #endif
  65. #ifndef __IXpsOMGradientStop_FWD_DEFINED__
  66. #define __IXpsOMGradientStop_FWD_DEFINED__
  67. typedef interface IXpsOMGradientStop IXpsOMGradientStop;
  68. #ifdef __cplusplus
  69. interface IXpsOMGradientStop;
  70. #endif /* __cplusplus */
  71. #endif
  72. #ifndef __IXpsOMPartResources_FWD_DEFINED__
  73. #define __IXpsOMPartResources_FWD_DEFINED__
  74. typedef interface IXpsOMPartResources IXpsOMPartResources;
  75. #ifdef __cplusplus
  76. interface IXpsOMPartResources;
  77. #endif /* __cplusplus */
  78. #endif
  79. #ifndef __IXpsOMFontResourceCollection_FWD_DEFINED__
  80. #define __IXpsOMFontResourceCollection_FWD_DEFINED__
  81. typedef interface IXpsOMFontResourceCollection IXpsOMFontResourceCollection;
  82. #ifdef __cplusplus
  83. interface IXpsOMFontResourceCollection;
  84. #endif /* __cplusplus */
  85. #endif
  86. #ifndef __IXpsOMImageResourceCollection_FWD_DEFINED__
  87. #define __IXpsOMImageResourceCollection_FWD_DEFINED__
  88. typedef interface IXpsOMImageResourceCollection IXpsOMImageResourceCollection;
  89. #ifdef __cplusplus
  90. interface IXpsOMImageResourceCollection;
  91. #endif /* __cplusplus */
  92. #endif
  93. #ifndef __IXpsOMColorProfileResourceCollection_FWD_DEFINED__
  94. #define __IXpsOMColorProfileResourceCollection_FWD_DEFINED__
  95. typedef interface IXpsOMColorProfileResourceCollection IXpsOMColorProfileResourceCollection;
  96. #ifdef __cplusplus
  97. interface IXpsOMColorProfileResourceCollection;
  98. #endif /* __cplusplus */
  99. #endif
  100. #ifndef __IXpsOMRemoteDictionaryResourceCollection_FWD_DEFINED__
  101. #define __IXpsOMRemoteDictionaryResourceCollection_FWD_DEFINED__
  102. typedef interface IXpsOMRemoteDictionaryResourceCollection IXpsOMRemoteDictionaryResourceCollection;
  103. #ifdef __cplusplus
  104. interface IXpsOMRemoteDictionaryResourceCollection;
  105. #endif /* __cplusplus */
  106. #endif
  107. #ifndef __IXpsOMSignatureBlockResourceCollection_FWD_DEFINED__
  108. #define __IXpsOMSignatureBlockResourceCollection_FWD_DEFINED__
  109. typedef interface IXpsOMSignatureBlockResourceCollection IXpsOMSignatureBlockResourceCollection;
  110. #ifdef __cplusplus
  111. interface IXpsOMSignatureBlockResourceCollection;
  112. #endif /* __cplusplus */
  113. #endif
  114. #ifndef __IXpsOMVisualCollection_FWD_DEFINED__
  115. #define __IXpsOMVisualCollection_FWD_DEFINED__
  116. typedef interface IXpsOMVisualCollection IXpsOMVisualCollection;
  117. #ifdef __cplusplus
  118. interface IXpsOMVisualCollection;
  119. #endif /* __cplusplus */
  120. #endif
  121. #ifndef __IXpsOMDictionary_FWD_DEFINED__
  122. #define __IXpsOMDictionary_FWD_DEFINED__
  123. typedef interface IXpsOMDictionary IXpsOMDictionary;
  124. #ifdef __cplusplus
  125. interface IXpsOMDictionary;
  126. #endif /* __cplusplus */
  127. #endif
  128. #ifndef __IXpsOMPageReference_FWD_DEFINED__
  129. #define __IXpsOMPageReference_FWD_DEFINED__
  130. typedef interface IXpsOMPageReference IXpsOMPageReference;
  131. #ifdef __cplusplus
  132. interface IXpsOMPageReference;
  133. #endif /* __cplusplus */
  134. #endif
  135. #ifndef __IXpsOMPageReferenceCollection_FWD_DEFINED__
  136. #define __IXpsOMPageReferenceCollection_FWD_DEFINED__
  137. typedef interface IXpsOMPageReferenceCollection IXpsOMPageReferenceCollection;
  138. #ifdef __cplusplus
  139. interface IXpsOMPageReferenceCollection;
  140. #endif /* __cplusplus */
  141. #endif
  142. #ifndef __IXpsOMDocumentCollection_FWD_DEFINED__
  143. #define __IXpsOMDocumentCollection_FWD_DEFINED__
  144. typedef interface IXpsOMDocumentCollection IXpsOMDocumentCollection;
  145. #ifdef __cplusplus
  146. interface IXpsOMDocumentCollection;
  147. #endif /* __cplusplus */
  148. #endif
  149. #ifndef __IXpsOMPackage_FWD_DEFINED__
  150. #define __IXpsOMPackage_FWD_DEFINED__
  151. typedef interface IXpsOMPackage IXpsOMPackage;
  152. #ifdef __cplusplus
  153. interface IXpsOMPackage;
  154. #endif /* __cplusplus */
  155. #endif
  156. #ifndef __IXpsOMObjectFactory_FWD_DEFINED__
  157. #define __IXpsOMObjectFactory_FWD_DEFINED__
  158. typedef interface IXpsOMObjectFactory IXpsOMObjectFactory;
  159. #ifdef __cplusplus
  160. interface IXpsOMObjectFactory;
  161. #endif /* __cplusplus */
  162. #endif
  163. #ifndef __IXpsOMNameCollection_FWD_DEFINED__
  164. #define __IXpsOMNameCollection_FWD_DEFINED__
  165. typedef interface IXpsOMNameCollection IXpsOMNameCollection;
  166. #ifdef __cplusplus
  167. interface IXpsOMNameCollection;
  168. #endif /* __cplusplus */
  169. #endif
  170. #ifndef __IXpsOMPartUriCollection_FWD_DEFINED__
  171. #define __IXpsOMPartUriCollection_FWD_DEFINED__
  172. typedef interface IXpsOMPartUriCollection IXpsOMPartUriCollection;
  173. #ifdef __cplusplus
  174. interface IXpsOMPartUriCollection;
  175. #endif /* __cplusplus */
  176. #endif
  177. #ifndef __IXpsOMPackageWriter_FWD_DEFINED__
  178. #define __IXpsOMPackageWriter_FWD_DEFINED__
  179. typedef interface IXpsOMPackageWriter IXpsOMPackageWriter;
  180. #ifdef __cplusplus
  181. interface IXpsOMPackageWriter;
  182. #endif /* __cplusplus */
  183. #endif
  184. #ifndef __IXpsOMPackageTarget_FWD_DEFINED__
  185. #define __IXpsOMPackageTarget_FWD_DEFINED__
  186. typedef interface IXpsOMPackageTarget IXpsOMPackageTarget;
  187. #ifdef __cplusplus
  188. interface IXpsOMPackageTarget;
  189. #endif /* __cplusplus */
  190. #endif
  191. #ifndef __IXpsOMVisual_FWD_DEFINED__
  192. #define __IXpsOMVisual_FWD_DEFINED__
  193. typedef interface IXpsOMVisual IXpsOMVisual;
  194. #ifdef __cplusplus
  195. interface IXpsOMVisual;
  196. #endif /* __cplusplus */
  197. #endif
  198. #ifndef __IXpsOMBrush_FWD_DEFINED__
  199. #define __IXpsOMBrush_FWD_DEFINED__
  200. typedef interface IXpsOMBrush IXpsOMBrush;
  201. #ifdef __cplusplus
  202. interface IXpsOMBrush;
  203. #endif /* __cplusplus */
  204. #endif
  205. #ifndef __IXpsOMMatrixTransform_FWD_DEFINED__
  206. #define __IXpsOMMatrixTransform_FWD_DEFINED__
  207. typedef interface IXpsOMMatrixTransform IXpsOMMatrixTransform;
  208. #ifdef __cplusplus
  209. interface IXpsOMMatrixTransform;
  210. #endif /* __cplusplus */
  211. #endif
  212. #ifndef __IXpsOMGeometry_FWD_DEFINED__
  213. #define __IXpsOMGeometry_FWD_DEFINED__
  214. typedef interface IXpsOMGeometry IXpsOMGeometry;
  215. #ifdef __cplusplus
  216. interface IXpsOMGeometry;
  217. #endif /* __cplusplus */
  218. #endif
  219. #ifndef __IXpsOMGlyphs_FWD_DEFINED__
  220. #define __IXpsOMGlyphs_FWD_DEFINED__
  221. typedef interface IXpsOMGlyphs IXpsOMGlyphs;
  222. #ifdef __cplusplus
  223. interface IXpsOMGlyphs;
  224. #endif /* __cplusplus */
  225. #endif
  226. #ifndef __IXpsOMPath_FWD_DEFINED__
  227. #define __IXpsOMPath_FWD_DEFINED__
  228. typedef interface IXpsOMPath IXpsOMPath;
  229. #ifdef __cplusplus
  230. interface IXpsOMPath;
  231. #endif /* __cplusplus */
  232. #endif
  233. #ifndef __IXpsOMSolidColorBrush_FWD_DEFINED__
  234. #define __IXpsOMSolidColorBrush_FWD_DEFINED__
  235. typedef interface IXpsOMSolidColorBrush IXpsOMSolidColorBrush;
  236. #ifdef __cplusplus
  237. interface IXpsOMSolidColorBrush;
  238. #endif /* __cplusplus */
  239. #endif
  240. #ifndef __IXpsOMTileBrush_FWD_DEFINED__
  241. #define __IXpsOMTileBrush_FWD_DEFINED__
  242. typedef interface IXpsOMTileBrush IXpsOMTileBrush;
  243. #ifdef __cplusplus
  244. interface IXpsOMTileBrush;
  245. #endif /* __cplusplus */
  246. #endif
  247. #ifndef __IXpsOMGradientBrush_FWD_DEFINED__
  248. #define __IXpsOMGradientBrush_FWD_DEFINED__
  249. typedef interface IXpsOMGradientBrush IXpsOMGradientBrush;
  250. #ifdef __cplusplus
  251. interface IXpsOMGradientBrush;
  252. #endif /* __cplusplus */
  253. #endif
  254. #ifndef __IXpsOMVisualBrush_FWD_DEFINED__
  255. #define __IXpsOMVisualBrush_FWD_DEFINED__
  256. typedef interface IXpsOMVisualBrush IXpsOMVisualBrush;
  257. #ifdef __cplusplus
  258. interface IXpsOMVisualBrush;
  259. #endif /* __cplusplus */
  260. #endif
  261. #ifndef __IXpsOMImageBrush_FWD_DEFINED__
  262. #define __IXpsOMImageBrush_FWD_DEFINED__
  263. typedef interface IXpsOMImageBrush IXpsOMImageBrush;
  264. #ifdef __cplusplus
  265. interface IXpsOMImageBrush;
  266. #endif /* __cplusplus */
  267. #endif
  268. #ifndef __IXpsOMLinearGradientBrush_FWD_DEFINED__
  269. #define __IXpsOMLinearGradientBrush_FWD_DEFINED__
  270. typedef interface IXpsOMLinearGradientBrush IXpsOMLinearGradientBrush;
  271. #ifdef __cplusplus
  272. interface IXpsOMLinearGradientBrush;
  273. #endif /* __cplusplus */
  274. #endif
  275. #ifndef __IXpsOMRadialGradientBrush_FWD_DEFINED__
  276. #define __IXpsOMRadialGradientBrush_FWD_DEFINED__
  277. typedef interface IXpsOMRadialGradientBrush IXpsOMRadialGradientBrush;
  278. #ifdef __cplusplus
  279. interface IXpsOMRadialGradientBrush;
  280. #endif /* __cplusplus */
  281. #endif
  282. #ifndef __IXpsOMResource_FWD_DEFINED__
  283. #define __IXpsOMResource_FWD_DEFINED__
  284. typedef interface IXpsOMResource IXpsOMResource;
  285. #ifdef __cplusplus
  286. interface IXpsOMResource;
  287. #endif /* __cplusplus */
  288. #endif
  289. #ifndef __IXpsOMFontResource_FWD_DEFINED__
  290. #define __IXpsOMFontResource_FWD_DEFINED__
  291. typedef interface IXpsOMFontResource IXpsOMFontResource;
  292. #ifdef __cplusplus
  293. interface IXpsOMFontResource;
  294. #endif /* __cplusplus */
  295. #endif
  296. #ifndef __IXpsOMImageResource_FWD_DEFINED__
  297. #define __IXpsOMImageResource_FWD_DEFINED__
  298. typedef interface IXpsOMImageResource IXpsOMImageResource;
  299. #ifdef __cplusplus
  300. interface IXpsOMImageResource;
  301. #endif /* __cplusplus */
  302. #endif
  303. #ifndef __IXpsOMColorProfileResource_FWD_DEFINED__
  304. #define __IXpsOMColorProfileResource_FWD_DEFINED__
  305. typedef interface IXpsOMColorProfileResource IXpsOMColorProfileResource;
  306. #ifdef __cplusplus
  307. interface IXpsOMColorProfileResource;
  308. #endif /* __cplusplus */
  309. #endif
  310. #ifndef __IXpsOMPrintTicketResource_FWD_DEFINED__
  311. #define __IXpsOMPrintTicketResource_FWD_DEFINED__
  312. typedef interface IXpsOMPrintTicketResource IXpsOMPrintTicketResource;
  313. #ifdef __cplusplus
  314. interface IXpsOMPrintTicketResource;
  315. #endif /* __cplusplus */
  316. #endif
  317. #ifndef __IXpsOMRemoteDictionaryResource_FWD_DEFINED__
  318. #define __IXpsOMRemoteDictionaryResource_FWD_DEFINED__
  319. typedef interface IXpsOMRemoteDictionaryResource IXpsOMRemoteDictionaryResource;
  320. #ifdef __cplusplus
  321. interface IXpsOMRemoteDictionaryResource;
  322. #endif /* __cplusplus */
  323. #endif
  324. #ifndef __IXpsOMDocumentStructureResource_FWD_DEFINED__
  325. #define __IXpsOMDocumentStructureResource_FWD_DEFINED__
  326. typedef interface IXpsOMDocumentStructureResource IXpsOMDocumentStructureResource;
  327. #ifdef __cplusplus
  328. interface IXpsOMDocumentStructureResource;
  329. #endif /* __cplusplus */
  330. #endif
  331. #ifndef __IXpsOMStoryFragmentsResource_FWD_DEFINED__
  332. #define __IXpsOMStoryFragmentsResource_FWD_DEFINED__
  333. typedef interface IXpsOMStoryFragmentsResource IXpsOMStoryFragmentsResource;
  334. #ifdef __cplusplus
  335. interface IXpsOMStoryFragmentsResource;
  336. #endif /* __cplusplus */
  337. #endif
  338. #ifndef __IXpsOMSignatureBlockResource_FWD_DEFINED__
  339. #define __IXpsOMSignatureBlockResource_FWD_DEFINED__
  340. typedef interface IXpsOMSignatureBlockResource IXpsOMSignatureBlockResource;
  341. #ifdef __cplusplus
  342. interface IXpsOMSignatureBlockResource;
  343. #endif /* __cplusplus */
  344. #endif
  345. #ifndef __IXpsOMCanvas_FWD_DEFINED__
  346. #define __IXpsOMCanvas_FWD_DEFINED__
  347. typedef interface IXpsOMCanvas IXpsOMCanvas;
  348. #ifdef __cplusplus
  349. interface IXpsOMCanvas;
  350. #endif /* __cplusplus */
  351. #endif
  352. #ifndef __IXpsOMPage_FWD_DEFINED__
  353. #define __IXpsOMPage_FWD_DEFINED__
  354. typedef interface IXpsOMPage IXpsOMPage;
  355. #ifdef __cplusplus
  356. interface IXpsOMPage;
  357. #endif /* __cplusplus */
  358. #endif
  359. #ifndef __IXpsOMDocument_FWD_DEFINED__
  360. #define __IXpsOMDocument_FWD_DEFINED__
  361. typedef interface IXpsOMDocument IXpsOMDocument;
  362. #ifdef __cplusplus
  363. interface IXpsOMDocument;
  364. #endif /* __cplusplus */
  365. #endif
  366. #ifndef __IXpsOMDocumentSequence_FWD_DEFINED__
  367. #define __IXpsOMDocumentSequence_FWD_DEFINED__
  368. typedef interface IXpsOMDocumentSequence IXpsOMDocumentSequence;
  369. #ifdef __cplusplus
  370. interface IXpsOMDocumentSequence;
  371. #endif /* __cplusplus */
  372. #endif
  373. #ifndef __IXpsOMCoreProperties_FWD_DEFINED__
  374. #define __IXpsOMCoreProperties_FWD_DEFINED__
  375. typedef interface IXpsOMCoreProperties IXpsOMCoreProperties;
  376. #ifdef __cplusplus
  377. interface IXpsOMCoreProperties;
  378. #endif /* __cplusplus */
  379. #endif
  380. #ifndef __IXpsOMThumbnailGenerator_FWD_DEFINED__
  381. #define __IXpsOMThumbnailGenerator_FWD_DEFINED__
  382. typedef interface IXpsOMThumbnailGenerator IXpsOMThumbnailGenerator;
  383. #ifdef __cplusplus
  384. interface IXpsOMThumbnailGenerator;
  385. #endif /* __cplusplus */
  386. #endif
  387. #ifndef __XpsOMObjectFactory_FWD_DEFINED__
  388. #define __XpsOMObjectFactory_FWD_DEFINED__
  389. #ifdef __cplusplus
  390. typedef class XpsOMObjectFactory XpsOMObjectFactory;
  391. #else
  392. typedef struct XpsOMObjectFactory XpsOMObjectFactory;
  393. #endif /* defined __cplusplus */
  394. #endif /* defined __XpsOMObjectFactory_FWD_DEFINED__ */
  395. #ifndef __XpsOMThumbnailGenerator_FWD_DEFINED__
  396. #define __XpsOMThumbnailGenerator_FWD_DEFINED__
  397. #ifdef __cplusplus
  398. typedef class XpsOMThumbnailGenerator XpsOMThumbnailGenerator;
  399. #else
  400. typedef struct XpsOMThumbnailGenerator XpsOMThumbnailGenerator;
  401. #endif /* defined __cplusplus */
  402. #endif /* defined __XpsOMThumbnailGenerator_FWD_DEFINED__ */
  403. /* Headers for imported files */
  404. #include <oaidl.h>
  405. #include <ocidl.h>
  406. #include <msopc.h>
  407. #ifdef __cplusplus
  408. extern "C" {
  409. #endif
  410. #include <winapifamily.h>
  411. #if NTDDI_VERSION >= 0x06010000
  412. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  413. #endif
  414. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
  415. #define XPS_E_INVALID_LANGUAGE MAKE_HRESULT(1, FACILITY_XPS, 0x0)
  416. #define XPS_E_INVALID_NAME MAKE_HRESULT(1, FACILITY_XPS, 0x1)
  417. #define XPS_E_INVALID_RESOURCE_KEY MAKE_HRESULT(1, FACILITY_XPS, 0x2)
  418. #define XPS_E_INVALID_PAGE_SIZE MAKE_HRESULT(1, FACILITY_XPS, 0x3)
  419. #define XPS_E_INVALID_BLEED_BOX MAKE_HRESULT(1, FACILITY_XPS, 0x4)
  420. #define XPS_E_INVALID_THUMBNAIL_IMAGE_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x5)
  421. #define XPS_E_INVALID_LOOKUP_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x6)
  422. #define XPS_E_INVALID_FLOAT MAKE_HRESULT(1, FACILITY_XPS, 0x7)
  423. #define XPS_E_UNEXPECTED_CONTENT_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x8)
  424. #define XPS_E_INVALID_FONT_URI MAKE_HRESULT(1, FACILITY_XPS, 0xa)
  425. #define XPS_E_INVALID_CONTENT_BOX MAKE_HRESULT(1, FACILITY_XPS, 0xb)
  426. #define XPS_E_INVALID_MARKUP MAKE_HRESULT(1, FACILITY_XPS, 0xc)
  427. #define XPS_E_INVALID_XML_ENCODING MAKE_HRESULT(1, FACILITY_XPS, 0xd)
  428. #define XPS_E_INVALID_CONTENT_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0xe)
  429. #define XPS_E_INVALID_OBFUSCATED_FONT_URI MAKE_HRESULT(1, FACILITY_XPS, 0xf)
  430. #define XPS_E_UNEXPECTED_RELATIONSHIP_TYPE MAKE_HRESULT(1, FACILITY_XPS, 0x10)
  431. #define XPS_E_UNEXPECTED_RESTRICTED_FONT_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x11)
  432. #define XPS_E_MISSING_NAME MAKE_HRESULT(1, FACILITY_XPS, 0x100)
  433. #define XPS_E_MISSING_LOOKUP MAKE_HRESULT(1, FACILITY_XPS, 0x101)
  434. #define XPS_E_MISSING_GLYPHS MAKE_HRESULT(1, FACILITY_XPS, 0x102)
  435. #define XPS_E_MISSING_SEGMENT_DATA MAKE_HRESULT(1, FACILITY_XPS, 0x103)
  436. #define XPS_E_MISSING_COLORPROFILE MAKE_HRESULT(1, FACILITY_XPS, 0x104)
  437. #define XPS_E_MISSING_RELATIONSHIP_TARGET MAKE_HRESULT(1, FACILITY_XPS, 0x105)
  438. #define XPS_E_MISSING_RESOURCE_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x106)
  439. #define XPS_E_MISSING_FONTURI MAKE_HRESULT(1, FACILITY_XPS, 0x107)
  440. #define XPS_E_MISSING_DOCUMENTSEQUENCE_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x108)
  441. #define XPS_E_MISSING_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x109)
  442. #define XPS_E_MISSING_REFERRED_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x10a)
  443. #define XPS_E_MISSING_REFERRED_PAGE MAKE_HRESULT(1, FACILITY_XPS, 0x10b)
  444. #define XPS_E_MISSING_PAGE_IN_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x10c)
  445. #define XPS_E_MISSING_PAGE_IN_PAGEREFERENCE MAKE_HRESULT(1, FACILITY_XPS, 0x10d)
  446. #define XPS_E_MISSING_IMAGE_IN_IMAGEBRUSH MAKE_HRESULT(1, FACILITY_XPS, 0x10e)
  447. #define XPS_E_MISSING_RESOURCE_KEY MAKE_HRESULT(1, FACILITY_XPS, 0x10f)
  448. #define XPS_E_MISSING_PART_REFERENCE MAKE_HRESULT(1, FACILITY_XPS, 0x110)
  449. #define XPS_E_MISSING_RESTRICTED_FONT_RELATIONSHIP MAKE_HRESULT(1, FACILITY_XPS, 0x111)
  450. #define XPS_E_MISSING_DISCARDCONTROL MAKE_HRESULT(1, FACILITY_XPS, 0x112)
  451. #define XPS_E_MISSING_PART_STREAM MAKE_HRESULT(1, FACILITY_XPS, 0x113)
  452. #define XPS_E_UNAVAILABLE_PACKAGE MAKE_HRESULT(1, FACILITY_XPS, 0x114)
  453. #define XPS_E_DUPLICATE_RESOURCE_KEYS MAKE_HRESULT(1, FACILITY_XPS, 0x200)
  454. #define XPS_E_MULTIPLE_RESOURCES MAKE_HRESULT(1, FACILITY_XPS, 0x201)
  455. #define XPS_E_MULTIPLE_DOCUMENTSEQUENCE_RELATIONSHIPS MAKE_HRESULT(1, FACILITY_XPS, 0x202)
  456. #define XPS_E_MULTIPLE_THUMBNAILS_ON_PAGE MAKE_HRESULT(1, FACILITY_XPS, 0x203)
  457. #define XPS_E_MULTIPLE_THUMBNAILS_ON_PACKAGE MAKE_HRESULT(1, FACILITY_XPS, 0x204)
  458. #define XPS_E_MULTIPLE_PRINTTICKETS_ON_PAGE MAKE_HRESULT(1, FACILITY_XPS, 0x205)
  459. #define XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENT MAKE_HRESULT(1, FACILITY_XPS, 0x206)
  460. #define XPS_E_MULTIPLE_PRINTTICKETS_ON_DOCUMENTSEQUENCE MAKE_HRESULT(1, FACILITY_XPS, 0x207)
  461. #define XPS_E_MULTIPLE_REFERENCES_TO_PART MAKE_HRESULT(1, FACILITY_XPS, 0x208)
  462. #define XPS_E_DUPLICATE_NAMES MAKE_HRESULT(1, FACILITY_XPS, 0x209)
  463. #define XPS_E_STRING_TOO_LONG MAKE_HRESULT(1, FACILITY_XPS, 0x300)
  464. #define XPS_E_TOO_MANY_INDICES MAKE_HRESULT(1, FACILITY_XPS, 0x301)
  465. #define XPS_E_MAPPING_OUT_OF_ORDER MAKE_HRESULT(1, FACILITY_XPS, 0x302)
  466. #define XPS_E_MAPPING_OUTSIDE_STRING MAKE_HRESULT(1, FACILITY_XPS, 0x303)
  467. #define XPS_E_MAPPING_OUTSIDE_INDICES MAKE_HRESULT(1, FACILITY_XPS, 0x304)
  468. #define XPS_E_CARET_OUTSIDE_STRING MAKE_HRESULT(1, FACILITY_XPS, 0x305)
  469. #define XPS_E_CARET_OUT_OF_ORDER MAKE_HRESULT(1, FACILITY_XPS, 0x306)
  470. #define XPS_E_ODD_BIDILEVEL MAKE_HRESULT(1, FACILITY_XPS, 0x307)
  471. #define XPS_E_ONE_TO_ONE_MAPPING_EXPECTED MAKE_HRESULT(1, FACILITY_XPS, 0x308)
  472. #define XPS_E_RESTRICTED_FONT_NOT_OBFUSCATED MAKE_HRESULT(1, FACILITY_XPS, 0x309)
  473. #define XPS_E_NEGATIVE_FLOAT MAKE_HRESULT(1, FACILITY_XPS, 0x30a)
  474. #define XPS_E_XKEY_ATTR_PRESENT_OUTSIDE_RES_DICT MAKE_HRESULT(1, FACILITY_XPS, 0x400)
  475. #define XPS_E_DICTIONARY_ITEM_NAMED MAKE_HRESULT(1, FACILITY_XPS, 0x401)
  476. #define XPS_E_NESTED_REMOTE_DICTIONARY MAKE_HRESULT(1, FACILITY_XPS, 0x402)
  477. #define XPS_E_INDEX_OUT_OF_RANGE MAKE_HRESULT(1, FACILITY_XPS, 0x500)
  478. #define XPS_E_VISUAL_CIRCULAR_REF MAKE_HRESULT(1, FACILITY_XPS, 0x501)
  479. #define XPS_E_NO_CUSTOM_OBJECTS MAKE_HRESULT(1, FACILITY_XPS, 0x502)
  480. #define XPS_E_ALREADY_OWNED MAKE_HRESULT(1, FACILITY_XPS, 0x503)
  481. #define XPS_E_RESOURCE_NOT_OWNED MAKE_HRESULT(1, FACILITY_XPS, 0x504)
  482. #define XPS_E_UNEXPECTED_COLORPROFILE MAKE_HRESULT(1, FACILITY_XPS, 0x505)
  483. #define XPS_E_COLOR_COMPONENT_OUT_OF_RANGE MAKE_HRESULT(1, FACILITY_XPS, 0x506)
  484. #define XPS_E_BOTH_PATHFIGURE_AND_ABBR_SYNTAX_PRESENT MAKE_HRESULT(1, FACILITY_XPS, 0x507)
  485. #define XPS_E_BOTH_RESOURCE_AND_SOURCEATTR_PRESENT MAKE_HRESULT(1, FACILITY_XPS, 0x508)
  486. #define XPS_E_BLEED_BOX_PAGE_DIMENSIONS_NOT_IN_SYNC MAKE_HRESULT(1, FACILITY_XPS, 0x509)
  487. #define XPS_E_RELATIONSHIP_EXTERNAL MAKE_HRESULT(1, FACILITY_XPS, 0x50a)
  488. #define XPS_E_NOT_ENOUGH_GRADIENT_STOPS MAKE_HRESULT(1, FACILITY_XPS, 0x50b)
  489. #define XPS_E_PACKAGE_WRITER_NOT_CLOSED MAKE_HRESULT(1, FACILITY_XPS, 0x50c)
  490. #ifndef __IXpsOMDocumentStructureResource_FWD_DEFINED__
  491. #define __IXpsOMDocumentStructureResource_FWD_DEFINED__
  492. typedef interface IXpsOMDocumentStructureResource IXpsOMDocumentStructureResource;
  493. #ifdef __cplusplus
  494. interface IXpsOMDocumentStructureResource;
  495. #endif /* __cplusplus */
  496. #endif
  497. #ifndef __IXpsOMCoreProperties_FWD_DEFINED__
  498. #define __IXpsOMCoreProperties_FWD_DEFINED__
  499. typedef interface IXpsOMCoreProperties IXpsOMCoreProperties;
  500. #ifdef __cplusplus
  501. interface IXpsOMCoreProperties;
  502. #endif /* __cplusplus */
  503. #endif
  504. #ifndef __IXpsOMPrintTicketResource_FWD_DEFINED__
  505. #define __IXpsOMPrintTicketResource_FWD_DEFINED__
  506. typedef interface IXpsOMPrintTicketResource IXpsOMPrintTicketResource;
  507. #ifdef __cplusplus
  508. interface IXpsOMPrintTicketResource;
  509. #endif /* __cplusplus */
  510. #endif
  511. #ifndef __IXpsOMStoryFragmentsResource_FWD_DEFINED__
  512. #define __IXpsOMStoryFragmentsResource_FWD_DEFINED__
  513. typedef interface IXpsOMStoryFragmentsResource IXpsOMStoryFragmentsResource;
  514. #ifdef __cplusplus
  515. interface IXpsOMStoryFragmentsResource;
  516. #endif /* __cplusplus */
  517. #endif
  518. #ifndef __IXpsOMPackage_FWD_DEFINED__
  519. #define __IXpsOMPackage_FWD_DEFINED__
  520. typedef interface IXpsOMPackage IXpsOMPackage;
  521. #ifdef __cplusplus
  522. interface IXpsOMPackage;
  523. #endif /* __cplusplus */
  524. #endif
  525. #ifndef __IXpsOMPart_FWD_DEFINED__
  526. #define __IXpsOMPart_FWD_DEFINED__
  527. typedef interface IXpsOMPart IXpsOMPart;
  528. #ifdef __cplusplus
  529. interface IXpsOMPart;
  530. #endif /* __cplusplus */
  531. #endif
  532. #ifndef __IXpsOMShareable_FWD_DEFINED__
  533. #define __IXpsOMShareable_FWD_DEFINED__
  534. typedef interface IXpsOMShareable IXpsOMShareable;
  535. #ifdef __cplusplus
  536. interface IXpsOMShareable;
  537. #endif /* __cplusplus */
  538. #endif
  539. #ifndef __IXpsOMVisual_FWD_DEFINED__
  540. #define __IXpsOMVisual_FWD_DEFINED__
  541. typedef interface IXpsOMVisual IXpsOMVisual;
  542. #ifdef __cplusplus
  543. interface IXpsOMVisual;
  544. #endif /* __cplusplus */
  545. #endif
  546. #ifndef __IXpsOMBrush_FWD_DEFINED__
  547. #define __IXpsOMBrush_FWD_DEFINED__
  548. typedef interface IXpsOMBrush IXpsOMBrush;
  549. #ifdef __cplusplus
  550. interface IXpsOMBrush;
  551. #endif /* __cplusplus */
  552. #endif
  553. #ifndef __IXpsOMTileBrush_FWD_DEFINED__
  554. #define __IXpsOMTileBrush_FWD_DEFINED__
  555. typedef interface IXpsOMTileBrush IXpsOMTileBrush;
  556. #ifdef __cplusplus
  557. interface IXpsOMTileBrush;
  558. #endif /* __cplusplus */
  559. #endif
  560. #ifndef __IXpsOMResource_FWD_DEFINED__
  561. #define __IXpsOMResource_FWD_DEFINED__
  562. typedef interface IXpsOMResource IXpsOMResource;
  563. #ifdef __cplusplus
  564. interface IXpsOMResource;
  565. #endif /* __cplusplus */
  566. #endif
  567. #ifndef __IXpsOMCanvas_FWD_DEFINED__
  568. #define __IXpsOMCanvas_FWD_DEFINED__
  569. typedef interface IXpsOMCanvas IXpsOMCanvas;
  570. #ifdef __cplusplus
  571. interface IXpsOMCanvas;
  572. #endif /* __cplusplus */
  573. #endif
  574. #ifndef __IXpsOMColorProfileResource_FWD_DEFINED__
  575. #define __IXpsOMColorProfileResource_FWD_DEFINED__
  576. typedef interface IXpsOMColorProfileResource IXpsOMColorProfileResource;
  577. #ifdef __cplusplus
  578. interface IXpsOMColorProfileResource;
  579. #endif /* __cplusplus */
  580. #endif
  581. #ifndef __IXpsOMColorProfileResourceCollection_FWD_DEFINED__
  582. #define __IXpsOMColorProfileResourceCollection_FWD_DEFINED__
  583. typedef interface IXpsOMColorProfileResourceCollection IXpsOMColorProfileResourceCollection;
  584. #ifdef __cplusplus
  585. interface IXpsOMColorProfileResourceCollection;
  586. #endif /* __cplusplus */
  587. #endif
  588. #ifndef __IXpsOMDashCollection_FWD_DEFINED__
  589. #define __IXpsOMDashCollection_FWD_DEFINED__
  590. typedef interface IXpsOMDashCollection IXpsOMDashCollection;
  591. #ifdef __cplusplus
  592. interface IXpsOMDashCollection;
  593. #endif /* __cplusplus */
  594. #endif
  595. #ifndef __IXpsOMFontResource_FWD_DEFINED__
  596. #define __IXpsOMFontResource_FWD_DEFINED__
  597. typedef interface IXpsOMFontResource IXpsOMFontResource;
  598. #ifdef __cplusplus
  599. interface IXpsOMFontResource;
  600. #endif /* __cplusplus */
  601. #endif
  602. #ifndef __IXpsOMFontResourceCollection_FWD_DEFINED__
  603. #define __IXpsOMFontResourceCollection_FWD_DEFINED__
  604. typedef interface IXpsOMFontResourceCollection IXpsOMFontResourceCollection;
  605. #ifdef __cplusplus
  606. interface IXpsOMFontResourceCollection;
  607. #endif /* __cplusplus */
  608. #endif
  609. #ifndef __IXpsOMGeometry_FWD_DEFINED__
  610. #define __IXpsOMGeometry_FWD_DEFINED__
  611. typedef interface IXpsOMGeometry IXpsOMGeometry;
  612. #ifdef __cplusplus
  613. interface IXpsOMGeometry;
  614. #endif /* __cplusplus */
  615. #endif
  616. #ifndef __IXpsOMGeometryFigure_FWD_DEFINED__
  617. #define __IXpsOMGeometryFigure_FWD_DEFINED__
  618. typedef interface IXpsOMGeometryFigure IXpsOMGeometryFigure;
  619. #ifdef __cplusplus
  620. interface IXpsOMGeometryFigure;
  621. #endif /* __cplusplus */
  622. #endif
  623. #ifndef __IXpsOMGeometryFigureCollection_FWD_DEFINED__
  624. #define __IXpsOMGeometryFigureCollection_FWD_DEFINED__
  625. typedef interface IXpsOMGeometryFigureCollection IXpsOMGeometryFigureCollection;
  626. #ifdef __cplusplus
  627. interface IXpsOMGeometryFigureCollection;
  628. #endif /* __cplusplus */
  629. #endif
  630. #ifndef __IXpsOMGlyphs_FWD_DEFINED__
  631. #define __IXpsOMGlyphs_FWD_DEFINED__
  632. typedef interface IXpsOMGlyphs IXpsOMGlyphs;
  633. #ifdef __cplusplus
  634. interface IXpsOMGlyphs;
  635. #endif /* __cplusplus */
  636. #endif
  637. #ifndef __IXpsOMGradientBrush_FWD_DEFINED__
  638. #define __IXpsOMGradientBrush_FWD_DEFINED__
  639. typedef interface IXpsOMGradientBrush IXpsOMGradientBrush;
  640. #ifdef __cplusplus
  641. interface IXpsOMGradientBrush;
  642. #endif /* __cplusplus */
  643. #endif
  644. #ifndef __IXpsOMGradientStop_FWD_DEFINED__
  645. #define __IXpsOMGradientStop_FWD_DEFINED__
  646. typedef interface IXpsOMGradientStop IXpsOMGradientStop;
  647. #ifdef __cplusplus
  648. interface IXpsOMGradientStop;
  649. #endif /* __cplusplus */
  650. #endif
  651. #ifndef __IXpsOMGradientStopCollection_FWD_DEFINED__
  652. #define __IXpsOMGradientStopCollection_FWD_DEFINED__
  653. typedef interface IXpsOMGradientStopCollection IXpsOMGradientStopCollection;
  654. #ifdef __cplusplus
  655. interface IXpsOMGradientStopCollection;
  656. #endif /* __cplusplus */
  657. #endif
  658. #ifndef __IXpsOMImageBrush_FWD_DEFINED__
  659. #define __IXpsOMImageBrush_FWD_DEFINED__
  660. typedef interface IXpsOMImageBrush IXpsOMImageBrush;
  661. #ifdef __cplusplus
  662. interface IXpsOMImageBrush;
  663. #endif /* __cplusplus */
  664. #endif
  665. #ifndef __IXpsOMImageResource_FWD_DEFINED__
  666. #define __IXpsOMImageResource_FWD_DEFINED__
  667. typedef interface IXpsOMImageResource IXpsOMImageResource;
  668. #ifdef __cplusplus
  669. interface IXpsOMImageResource;
  670. #endif /* __cplusplus */
  671. #endif
  672. #ifndef __IXpsOMImageResourceCollection_FWD_DEFINED__
  673. #define __IXpsOMImageResourceCollection_FWD_DEFINED__
  674. typedef interface IXpsOMImageResourceCollection IXpsOMImageResourceCollection;
  675. #ifdef __cplusplus
  676. interface IXpsOMImageResourceCollection;
  677. #endif /* __cplusplus */
  678. #endif
  679. #ifndef __IXpsOMLinearGradientBrush_FWD_DEFINED__
  680. #define __IXpsOMLinearGradientBrush_FWD_DEFINED__
  681. typedef interface IXpsOMLinearGradientBrush IXpsOMLinearGradientBrush;
  682. #ifdef __cplusplus
  683. interface IXpsOMLinearGradientBrush;
  684. #endif /* __cplusplus */
  685. #endif
  686. #ifndef __IXpsOMMatrixTransform_FWD_DEFINED__
  687. #define __IXpsOMMatrixTransform_FWD_DEFINED__
  688. typedef interface IXpsOMMatrixTransform IXpsOMMatrixTransform;
  689. #ifdef __cplusplus
  690. interface IXpsOMMatrixTransform;
  691. #endif /* __cplusplus */
  692. #endif
  693. #ifndef __IXpsOMPartResources_FWD_DEFINED__
  694. #define __IXpsOMPartResources_FWD_DEFINED__
  695. typedef interface IXpsOMPartResources IXpsOMPartResources;
  696. #ifdef __cplusplus
  697. interface IXpsOMPartResources;
  698. #endif /* __cplusplus */
  699. #endif
  700. #ifndef __IXpsOMPath_FWD_DEFINED__
  701. #define __IXpsOMPath_FWD_DEFINED__
  702. typedef interface IXpsOMPath IXpsOMPath;
  703. #ifdef __cplusplus
  704. interface IXpsOMPath;
  705. #endif /* __cplusplus */
  706. #endif
  707. #ifndef __IXpsOMPartUriCollection_FWD_DEFINED__
  708. #define __IXpsOMPartUriCollection_FWD_DEFINED__
  709. typedef interface IXpsOMPartUriCollection IXpsOMPartUriCollection;
  710. #ifdef __cplusplus
  711. interface IXpsOMPartUriCollection;
  712. #endif /* __cplusplus */
  713. #endif
  714. #ifndef __IXpsOMRadialGradientBrush_FWD_DEFINED__
  715. #define __IXpsOMRadialGradientBrush_FWD_DEFINED__
  716. typedef interface IXpsOMRadialGradientBrush IXpsOMRadialGradientBrush;
  717. #ifdef __cplusplus
  718. interface IXpsOMRadialGradientBrush;
  719. #endif /* __cplusplus */
  720. #endif
  721. #ifndef __IXpsOMRemoteDictionaryResource_FWD_DEFINED__
  722. #define __IXpsOMRemoteDictionaryResource_FWD_DEFINED__
  723. typedef interface IXpsOMRemoteDictionaryResource IXpsOMRemoteDictionaryResource;
  724. #ifdef __cplusplus
  725. interface IXpsOMRemoteDictionaryResource;
  726. #endif /* __cplusplus */
  727. #endif
  728. #ifndef __IXpsOMRemoteDictionaryResourceCollection_FWD_DEFINED__
  729. #define __IXpsOMRemoteDictionaryResourceCollection_FWD_DEFINED__
  730. typedef interface IXpsOMRemoteDictionaryResourceCollection IXpsOMRemoteDictionaryResourceCollection;
  731. #ifdef __cplusplus
  732. interface IXpsOMRemoteDictionaryResourceCollection;
  733. #endif /* __cplusplus */
  734. #endif
  735. #ifndef __IXpsOMDictionary_FWD_DEFINED__
  736. #define __IXpsOMDictionary_FWD_DEFINED__
  737. typedef interface IXpsOMDictionary IXpsOMDictionary;
  738. #ifdef __cplusplus
  739. interface IXpsOMDictionary;
  740. #endif /* __cplusplus */
  741. #endif
  742. #ifndef __IXpsOMShareable_FWD_DEFINED__
  743. #define __IXpsOMShareable_FWD_DEFINED__
  744. typedef interface IXpsOMShareable IXpsOMShareable;
  745. #ifdef __cplusplus
  746. interface IXpsOMShareable;
  747. #endif /* __cplusplus */
  748. #endif
  749. #ifndef __IXpsOMSolidColorBrush_FWD_DEFINED__
  750. #define __IXpsOMSolidColorBrush_FWD_DEFINED__
  751. typedef interface IXpsOMSolidColorBrush IXpsOMSolidColorBrush;
  752. #ifdef __cplusplus
  753. interface IXpsOMSolidColorBrush;
  754. #endif /* __cplusplus */
  755. #endif
  756. #ifndef __IXpsOMTileBrush_FWD_DEFINED__
  757. #define __IXpsOMTileBrush_FWD_DEFINED__
  758. typedef interface IXpsOMTileBrush IXpsOMTileBrush;
  759. #ifdef __cplusplus
  760. interface IXpsOMTileBrush;
  761. #endif /* __cplusplus */
  762. #endif
  763. #ifndef __IXpsOMVisualBrush_FWD_DEFINED__
  764. #define __IXpsOMVisualBrush_FWD_DEFINED__
  765. typedef interface IXpsOMVisualBrush IXpsOMVisualBrush;
  766. #ifdef __cplusplus
  767. interface IXpsOMVisualBrush;
  768. #endif /* __cplusplus */
  769. #endif
  770. #ifndef __IXpsOMVisualCollection_FWD_DEFINED__
  771. #define __IXpsOMVisualCollection_FWD_DEFINED__
  772. typedef interface IXpsOMVisualCollection IXpsOMVisualCollection;
  773. #ifdef __cplusplus
  774. interface IXpsOMVisualCollection;
  775. #endif /* __cplusplus */
  776. #endif
  777. #ifndef __IXpsOMPageReference_FWD_DEFINED__
  778. #define __IXpsOMPageReference_FWD_DEFINED__
  779. typedef interface IXpsOMPageReference IXpsOMPageReference;
  780. #ifdef __cplusplus
  781. interface IXpsOMPageReference;
  782. #endif /* __cplusplus */
  783. #endif
  784. #ifndef __IXpsOMDocumentSequence_FWD_DEFINED__
  785. #define __IXpsOMDocumentSequence_FWD_DEFINED__
  786. typedef interface IXpsOMDocumentSequence IXpsOMDocumentSequence;
  787. #ifdef __cplusplus
  788. interface IXpsOMDocumentSequence;
  789. #endif /* __cplusplus */
  790. #endif
  791. #ifndef __IXpsOMSignatureBlockResource_FWD_DEFINED__
  792. #define __IXpsOMSignatureBlockResource_FWD_DEFINED__
  793. typedef interface IXpsOMSignatureBlockResource IXpsOMSignatureBlockResource;
  794. #ifdef __cplusplus
  795. interface IXpsOMSignatureBlockResource;
  796. #endif /* __cplusplus */
  797. #endif
  798. #ifndef __IXpsOMSignatureBlockResourceCollection_FWD_DEFINED__
  799. #define __IXpsOMSignatureBlockResourceCollection_FWD_DEFINED__
  800. typedef interface IXpsOMSignatureBlockResourceCollection IXpsOMSignatureBlockResourceCollection;
  801. #ifdef __cplusplus
  802. interface IXpsOMSignatureBlockResourceCollection;
  803. #endif /* __cplusplus */
  804. #endif
  805. #ifndef __IXpsOMNameCollection_FWD_DEFINED__
  806. #define __IXpsOMNameCollection_FWD_DEFINED__
  807. typedef interface IXpsOMNameCollection IXpsOMNameCollection;
  808. #ifdef __cplusplus
  809. interface IXpsOMNameCollection;
  810. #endif /* __cplusplus */
  811. #endif
  812. #ifndef __IXpsOMDocument_FWD_DEFINED__
  813. #define __IXpsOMDocument_FWD_DEFINED__
  814. typedef interface IXpsOMDocument IXpsOMDocument;
  815. #ifdef __cplusplus
  816. interface IXpsOMDocument;
  817. #endif /* __cplusplus */
  818. #endif
  819. #ifndef __IXpsOMPage_FWD_DEFINED__
  820. #define __IXpsOMPage_FWD_DEFINED__
  821. typedef interface IXpsOMPage IXpsOMPage;
  822. #ifdef __cplusplus
  823. interface IXpsOMPage;
  824. #endif /* __cplusplus */
  825. #endif
  826. #ifndef __IXpsOMPackageWriter_FWD_DEFINED__
  827. #define __IXpsOMPackageWriter_FWD_DEFINED__
  828. typedef interface IXpsOMPackageWriter IXpsOMPackageWriter;
  829. #ifdef __cplusplus
  830. interface IXpsOMPackageWriter;
  831. #endif /* __cplusplus */
  832. #endif
  833. #ifndef __IXpsOMPackageTarget_FWD_DEFINED__
  834. #define __IXpsOMPackageTarget_FWD_DEFINED__
  835. typedef interface IXpsOMPackageTarget IXpsOMPackageTarget;
  836. #ifdef __cplusplus
  837. interface IXpsOMPackageTarget;
  838. #endif /* __cplusplus */
  839. #endif
  840. typedef enum __WIDL_xpsobjectmodel_generated_name_0000002F {
  841. XPS_COLOR_INTERPOLATION_SCRGBLINEAR = 1,
  842. XPS_COLOR_INTERPOLATION_SRGBLINEAR = 2
  843. } XPS_COLOR_INTERPOLATION;
  844. typedef enum __WIDL_xpsobjectmodel_generated_name_00000030 {
  845. XPS_COLOR_TYPE_SRGB = 1,
  846. XPS_COLOR_TYPE_SCRGB = 2,
  847. XPS_COLOR_TYPE_CONTEXT = 3
  848. } XPS_COLOR_TYPE;
  849. typedef enum __WIDL_xpsobjectmodel_generated_name_00000031 {
  850. XPS_DASH_CAP_FLAT = 1,
  851. XPS_DASH_CAP_ROUND = 2,
  852. XPS_DASH_CAP_SQUARE = 3,
  853. XPS_DASH_CAP_TRIANGLE = 4
  854. } XPS_DASH_CAP;
  855. typedef enum __WIDL_xpsobjectmodel_generated_name_00000032 {
  856. XPS_FILL_RULE_EVENODD = 1,
  857. XPS_FILL_RULE_NONZERO = 2
  858. } XPS_FILL_RULE;
  859. typedef enum __WIDL_xpsobjectmodel_generated_name_00000033 {
  860. XPS_FONT_EMBEDDING_NORMAL = 1,
  861. XPS_FONT_EMBEDDING_OBFUSCATED = 2,
  862. XPS_FONT_EMBEDDING_RESTRICTED = 3,
  863. XPS_FONT_EMBEDDING_RESTRICTED_UNOBFUSCATED = 4
  864. } XPS_FONT_EMBEDDING;
  865. typedef enum __WIDL_xpsobjectmodel_generated_name_00000034 {
  866. XPS_IMAGE_TYPE_JPEG = 1,
  867. XPS_IMAGE_TYPE_PNG = 2,
  868. XPS_IMAGE_TYPE_TIFF = 3,
  869. XPS_IMAGE_TYPE_WDP = 4,
  870. XPS_IMAGE_TYPE_JXR = 5
  871. } XPS_IMAGE_TYPE;
  872. typedef enum __WIDL_xpsobjectmodel_generated_name_00000035 {
  873. XPS_INTERLEAVING_OFF = 1,
  874. XPS_INTERLEAVING_ON = 2
  875. } XPS_INTERLEAVING;
  876. typedef enum __WIDL_xpsobjectmodel_generated_name_00000036 {
  877. XPS_LINE_CAP_FLAT = 1,
  878. XPS_LINE_CAP_ROUND = 2,
  879. XPS_LINE_CAP_SQUARE = 3,
  880. XPS_LINE_CAP_TRIANGLE = 4
  881. } XPS_LINE_CAP;
  882. typedef enum __WIDL_xpsobjectmodel_generated_name_00000037 {
  883. XPS_LINE_JOIN_MITER = 1,
  884. XPS_LINE_JOIN_BEVEL = 2,
  885. XPS_LINE_JOIN_ROUND = 3
  886. } XPS_LINE_JOIN;
  887. typedef enum __WIDL_xpsobjectmodel_generated_name_00000038 {
  888. XPS_OBJECT_TYPE_CANVAS = 1,
  889. XPS_OBJECT_TYPE_GLYPHS = 2,
  890. XPS_OBJECT_TYPE_PATH = 3,
  891. XPS_OBJECT_TYPE_MATRIX_TRANSFORM = 4,
  892. XPS_OBJECT_TYPE_GEOMETRY = 5,
  893. XPS_OBJECT_TYPE_SOLID_COLOR_BRUSH = 6,
  894. XPS_OBJECT_TYPE_IMAGE_BRUSH = 7,
  895. XPS_OBJECT_TYPE_LINEAR_GRADIENT_BRUSH = 8,
  896. XPS_OBJECT_TYPE_RADIAL_GRADIENT_BRUSH = 9,
  897. XPS_OBJECT_TYPE_VISUAL_BRUSH = 10
  898. } XPS_OBJECT_TYPE;
  899. typedef enum __WIDL_xpsobjectmodel_generated_name_00000039 {
  900. XPS_SEGMENT_STROKE_PATTERN_ALL = 1,
  901. XPS_SEGMENT_STROKE_PATTERN_NONE = 2,
  902. XPS_SEGMENT_STROKE_PATTERN_MIXED = 3
  903. } XPS_SEGMENT_STROKE_PATTERN;
  904. typedef enum __WIDL_xpsobjectmodel_generated_name_0000003A {
  905. XPS_SEGMENT_TYPE_ARC_LARGE_CLOCKWISE = 1,
  906. XPS_SEGMENT_TYPE_ARC_LARGE_COUNTERCLOCKWISE = 2,
  907. XPS_SEGMENT_TYPE_ARC_SMALL_CLOCKWISE = 3,
  908. XPS_SEGMENT_TYPE_ARC_SMALL_COUNTERCLOCKWISE = 4,
  909. XPS_SEGMENT_TYPE_BEZIER = 5,
  910. XPS_SEGMENT_TYPE_LINE = 6,
  911. XPS_SEGMENT_TYPE_QUADRATIC_BEZIER = 7
  912. } XPS_SEGMENT_TYPE;
  913. typedef enum __WIDL_xpsobjectmodel_generated_name_0000003B {
  914. XPS_SPREAD_METHOD_PAD = 1,
  915. XPS_SPREAD_METHOD_REFLECT = 2,
  916. XPS_SPREAD_METHOD_REPEAT = 3
  917. } XPS_SPREAD_METHOD;
  918. typedef enum __WIDL_xpsobjectmodel_generated_name_0000003C {
  919. XPS_STYLE_SIMULATION_NONE = 1,
  920. XPS_STYLE_SIMULATION_ITALIC = 2,
  921. XPS_STYLE_SIMULATION_BOLD = 3,
  922. XPS_STYLE_SIMULATION_BOLDITALIC = 4
  923. } XPS_STYLE_SIMULATION;
  924. typedef enum __WIDL_xpsobjectmodel_generated_name_0000003D {
  925. XPS_THUMBNAIL_SIZE_VERYSMALL = 1,
  926. XPS_THUMBNAIL_SIZE_SMALL = 2,
  927. XPS_THUMBNAIL_SIZE_MEDIUM = 3,
  928. XPS_THUMBNAIL_SIZE_LARGE = 4
  929. } XPS_THUMBNAIL_SIZE;
  930. typedef enum __WIDL_xpsobjectmodel_generated_name_0000003E {
  931. XPS_TILE_MODE_NONE = 1,
  932. XPS_TILE_MODE_TILE = 2,
  933. XPS_TILE_MODE_FLIPX = 3,
  934. XPS_TILE_MODE_FLIPY = 4,
  935. XPS_TILE_MODE_FLIPXY = 5
  936. } XPS_TILE_MODE;
  937. typedef struct __WIDL_xpsobjectmodel_generated_name_00000040 {
  938. XPS_COLOR_TYPE colorType;
  939. union __WIDL_xpsobjectmodel_generated_name_0000003F {
  940. struct {
  941. UINT8 alpha;
  942. UINT8 red;
  943. UINT8 green;
  944. UINT8 blue;
  945. } sRGB;
  946. struct {
  947. FLOAT alpha;
  948. FLOAT red;
  949. FLOAT green;
  950. FLOAT blue;
  951. } scRGB;
  952. struct {
  953. UINT8 channelCount;
  954. FLOAT channels[9];
  955. } context;
  956. } value;
  957. } XPS_COLOR;
  958. typedef struct __WIDL_xpsobjectmodel_generated_name_00000041 {
  959. FLOAT length;
  960. FLOAT gap;
  961. } XPS_DASH;
  962. typedef struct __WIDL_xpsobjectmodel_generated_name_00000042 {
  963. LONG index;
  964. FLOAT advanceWidth;
  965. FLOAT horizontalOffset;
  966. FLOAT verticalOffset;
  967. } XPS_GLYPH_INDEX;
  968. typedef struct __WIDL_xpsobjectmodel_generated_name_00000043 {
  969. UINT32 unicodeStringStart;
  970. UINT16 unicodeStringLength;
  971. UINT32 glyphIndicesStart;
  972. UINT16 glyphIndicesLength;
  973. } XPS_GLYPH_MAPPING;
  974. typedef struct __WIDL_xpsobjectmodel_generated_name_00000044 {
  975. FLOAT m11;
  976. FLOAT m12;
  977. FLOAT m21;
  978. FLOAT m22;
  979. FLOAT m31;
  980. FLOAT m32;
  981. } XPS_MATRIX;
  982. typedef struct __WIDL_xpsobjectmodel_generated_name_00000045 {
  983. FLOAT x;
  984. FLOAT y;
  985. } XPS_POINT;
  986. typedef struct __WIDL_xpsobjectmodel_generated_name_00000046 {
  987. FLOAT x;
  988. FLOAT y;
  989. FLOAT width;
  990. FLOAT height;
  991. } XPS_RECT;
  992. typedef struct __WIDL_xpsobjectmodel_generated_name_00000047 {
  993. FLOAT width;
  994. FLOAT height;
  995. } XPS_SIZE;
  996. /*****************************************************************************
  997. * IXpsOMShareable interface
  998. */
  999. #ifndef __IXpsOMShareable_INTERFACE_DEFINED__
  1000. #define __IXpsOMShareable_INTERFACE_DEFINED__
  1001. DEFINE_GUID(IID_IXpsOMShareable, 0x7137398f, 0x2fc1, 0x454d, 0x8c,0x6a, 0x2c,0x31,0x15,0xa1,0x6e,0xce);
  1002. #if defined(__cplusplus) && !defined(CINTERFACE)
  1003. MIDL_INTERFACE("7137398f-2fc1-454d-8c6a-2c3115a16ece")
  1004. IXpsOMShareable : public IUnknown
  1005. {
  1006. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  1007. IUnknown **owner) = 0;
  1008. virtual HRESULT STDMETHODCALLTYPE GetType(
  1009. XPS_OBJECT_TYPE *type) = 0;
  1010. };
  1011. #ifdef __CRT_UUID_DECL
  1012. __CRT_UUID_DECL(IXpsOMShareable, 0x7137398f, 0x2fc1, 0x454d, 0x8c,0x6a, 0x2c,0x31,0x15,0xa1,0x6e,0xce)
  1013. #endif
  1014. #else
  1015. typedef struct IXpsOMShareableVtbl {
  1016. BEGIN_INTERFACE
  1017. /*** IUnknown methods ***/
  1018. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1019. IXpsOMShareable *This,
  1020. REFIID riid,
  1021. void **ppvObject);
  1022. ULONG (STDMETHODCALLTYPE *AddRef)(
  1023. IXpsOMShareable *This);
  1024. ULONG (STDMETHODCALLTYPE *Release)(
  1025. IXpsOMShareable *This);
  1026. /*** IXpsOMShareable methods ***/
  1027. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  1028. IXpsOMShareable *This,
  1029. IUnknown **owner);
  1030. HRESULT (STDMETHODCALLTYPE *GetType)(
  1031. IXpsOMShareable *This,
  1032. XPS_OBJECT_TYPE *type);
  1033. END_INTERFACE
  1034. } IXpsOMShareableVtbl;
  1035. interface IXpsOMShareable {
  1036. CONST_VTBL IXpsOMShareableVtbl* lpVtbl;
  1037. };
  1038. #ifdef COBJMACROS
  1039. #ifndef WIDL_C_INLINE_WRAPPERS
  1040. /*** IUnknown methods ***/
  1041. #define IXpsOMShareable_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1042. #define IXpsOMShareable_AddRef(This) (This)->lpVtbl->AddRef(This)
  1043. #define IXpsOMShareable_Release(This) (This)->lpVtbl->Release(This)
  1044. /*** IXpsOMShareable methods ***/
  1045. #define IXpsOMShareable_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  1046. #define IXpsOMShareable_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  1047. #else
  1048. /*** IUnknown methods ***/
  1049. static FORCEINLINE HRESULT IXpsOMShareable_QueryInterface(IXpsOMShareable* This,REFIID riid,void **ppvObject) {
  1050. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1051. }
  1052. static FORCEINLINE ULONG IXpsOMShareable_AddRef(IXpsOMShareable* This) {
  1053. return This->lpVtbl->AddRef(This);
  1054. }
  1055. static FORCEINLINE ULONG IXpsOMShareable_Release(IXpsOMShareable* This) {
  1056. return This->lpVtbl->Release(This);
  1057. }
  1058. /*** IXpsOMShareable methods ***/
  1059. static FORCEINLINE HRESULT IXpsOMShareable_GetOwner(IXpsOMShareable* This,IUnknown **owner) {
  1060. return This->lpVtbl->GetOwner(This,owner);
  1061. }
  1062. static FORCEINLINE HRESULT IXpsOMShareable_GetType(IXpsOMShareable* This,XPS_OBJECT_TYPE *type) {
  1063. return This->lpVtbl->GetType(This,type);
  1064. }
  1065. #endif
  1066. #endif
  1067. #endif
  1068. #endif /* __IXpsOMShareable_INTERFACE_DEFINED__ */
  1069. /*****************************************************************************
  1070. * IXpsOMPart interface
  1071. */
  1072. #ifndef __IXpsOMPart_INTERFACE_DEFINED__
  1073. #define __IXpsOMPart_INTERFACE_DEFINED__
  1074. DEFINE_GUID(IID_IXpsOMPart, 0x74eb2f0b, 0xa91e, 0x4486, 0xaf,0xac, 0x0f,0xab,0xec,0xa3,0xdf,0xc6);
  1075. #if defined(__cplusplus) && !defined(CINTERFACE)
  1076. MIDL_INTERFACE("74eb2f0b-a91e-4486-afac-0fabeca3dfc6")
  1077. IXpsOMPart : public IUnknown
  1078. {
  1079. virtual HRESULT STDMETHODCALLTYPE GetPartName(
  1080. IOpcPartUri **partUri) = 0;
  1081. virtual HRESULT STDMETHODCALLTYPE SetPartName(
  1082. IOpcPartUri *partUri) = 0;
  1083. };
  1084. #ifdef __CRT_UUID_DECL
  1085. __CRT_UUID_DECL(IXpsOMPart, 0x74eb2f0b, 0xa91e, 0x4486, 0xaf,0xac, 0x0f,0xab,0xec,0xa3,0xdf,0xc6)
  1086. #endif
  1087. #else
  1088. typedef struct IXpsOMPartVtbl {
  1089. BEGIN_INTERFACE
  1090. /*** IUnknown methods ***/
  1091. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1092. IXpsOMPart *This,
  1093. REFIID riid,
  1094. void **ppvObject);
  1095. ULONG (STDMETHODCALLTYPE *AddRef)(
  1096. IXpsOMPart *This);
  1097. ULONG (STDMETHODCALLTYPE *Release)(
  1098. IXpsOMPart *This);
  1099. /*** IXpsOMPart methods ***/
  1100. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  1101. IXpsOMPart *This,
  1102. IOpcPartUri **partUri);
  1103. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  1104. IXpsOMPart *This,
  1105. IOpcPartUri *partUri);
  1106. END_INTERFACE
  1107. } IXpsOMPartVtbl;
  1108. interface IXpsOMPart {
  1109. CONST_VTBL IXpsOMPartVtbl* lpVtbl;
  1110. };
  1111. #ifdef COBJMACROS
  1112. #ifndef WIDL_C_INLINE_WRAPPERS
  1113. /*** IUnknown methods ***/
  1114. #define IXpsOMPart_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1115. #define IXpsOMPart_AddRef(This) (This)->lpVtbl->AddRef(This)
  1116. #define IXpsOMPart_Release(This) (This)->lpVtbl->Release(This)
  1117. /*** IXpsOMPart methods ***/
  1118. #define IXpsOMPart_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  1119. #define IXpsOMPart_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  1120. #else
  1121. /*** IUnknown methods ***/
  1122. static FORCEINLINE HRESULT IXpsOMPart_QueryInterface(IXpsOMPart* This,REFIID riid,void **ppvObject) {
  1123. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1124. }
  1125. static FORCEINLINE ULONG IXpsOMPart_AddRef(IXpsOMPart* This) {
  1126. return This->lpVtbl->AddRef(This);
  1127. }
  1128. static FORCEINLINE ULONG IXpsOMPart_Release(IXpsOMPart* This) {
  1129. return This->lpVtbl->Release(This);
  1130. }
  1131. /*** IXpsOMPart methods ***/
  1132. static FORCEINLINE HRESULT IXpsOMPart_GetPartName(IXpsOMPart* This,IOpcPartUri **partUri) {
  1133. return This->lpVtbl->GetPartName(This,partUri);
  1134. }
  1135. static FORCEINLINE HRESULT IXpsOMPart_SetPartName(IXpsOMPart* This,IOpcPartUri *partUri) {
  1136. return This->lpVtbl->SetPartName(This,partUri);
  1137. }
  1138. #endif
  1139. #endif
  1140. #endif
  1141. #endif /* __IXpsOMPart_INTERFACE_DEFINED__ */
  1142. /*****************************************************************************
  1143. * IXpsOMGlyphsEditor interface
  1144. */
  1145. #ifndef __IXpsOMGlyphsEditor_INTERFACE_DEFINED__
  1146. #define __IXpsOMGlyphsEditor_INTERFACE_DEFINED__
  1147. DEFINE_GUID(IID_IXpsOMGlyphsEditor, 0xa5ab8616, 0x5b16, 0x4b9f, 0x96,0x29, 0x89,0xb3,0x23,0xed,0x79,0x09);
  1148. #if defined(__cplusplus) && !defined(CINTERFACE)
  1149. MIDL_INTERFACE("a5ab8616-5b16-4b9f-9629-89b323ed7909")
  1150. IXpsOMGlyphsEditor : public IUnknown
  1151. {
  1152. virtual HRESULT STDMETHODCALLTYPE ApplyEdits(
  1153. ) = 0;
  1154. virtual HRESULT STDMETHODCALLTYPE GetUnicodeString(
  1155. LPWSTR *unicodeString) = 0;
  1156. virtual HRESULT STDMETHODCALLTYPE SetUnicodeString(
  1157. LPCWSTR unicodeString) = 0;
  1158. virtual HRESULT STDMETHODCALLTYPE GetGlyphIndexCount(
  1159. UINT32 *indexCount) = 0;
  1160. virtual HRESULT STDMETHODCALLTYPE GetGlyphIndices(
  1161. UINT32 *indexCount,
  1162. XPS_GLYPH_INDEX *glyphIndices) = 0;
  1163. virtual HRESULT STDMETHODCALLTYPE SetGlyphIndices(
  1164. UINT32 indexCount,
  1165. const XPS_GLYPH_INDEX *glyphIndices) = 0;
  1166. virtual HRESULT STDMETHODCALLTYPE GetGlyphMappingCount(
  1167. UINT32 *glyphMappingCount) = 0;
  1168. virtual HRESULT STDMETHODCALLTYPE GetGlyphMappings(
  1169. UINT32 *glyphMappingCount,
  1170. XPS_GLYPH_MAPPING *glyphMappings) = 0;
  1171. virtual HRESULT STDMETHODCALLTYPE SetGlyphMappings(
  1172. UINT32 glyphMappingCount,
  1173. const XPS_GLYPH_MAPPING *glyphMappings) = 0;
  1174. virtual HRESULT STDMETHODCALLTYPE GetProhibitedCaretStopCount(
  1175. UINT32 *prohibitedCaretStopCount) = 0;
  1176. virtual HRESULT STDMETHODCALLTYPE GetProhibitedCaretStops(
  1177. UINT32 *count,
  1178. UINT32 *prohibitedCaretStops) = 0;
  1179. virtual HRESULT STDMETHODCALLTYPE SetProhibitedCaretStops(
  1180. UINT32 count,
  1181. const UINT32 *prohibitedCaretStops) = 0;
  1182. virtual HRESULT STDMETHODCALLTYPE GetBidiLevel(
  1183. UINT32 *bidiLevel) = 0;
  1184. virtual HRESULT STDMETHODCALLTYPE SetBidiLevel(
  1185. UINT32 bidiLevel) = 0;
  1186. virtual HRESULT STDMETHODCALLTYPE GetIsSideways(
  1187. WINBOOL *isSideways) = 0;
  1188. virtual HRESULT STDMETHODCALLTYPE SetIsSideways(
  1189. WINBOOL isSideways) = 0;
  1190. virtual HRESULT STDMETHODCALLTYPE GetDeviceFontName(
  1191. LPWSTR *deviceFontName) = 0;
  1192. virtual HRESULT STDMETHODCALLTYPE SetDeviceFontName(
  1193. LPCWSTR deviceFontName) = 0;
  1194. };
  1195. #ifdef __CRT_UUID_DECL
  1196. __CRT_UUID_DECL(IXpsOMGlyphsEditor, 0xa5ab8616, 0x5b16, 0x4b9f, 0x96,0x29, 0x89,0xb3,0x23,0xed,0x79,0x09)
  1197. #endif
  1198. #else
  1199. typedef struct IXpsOMGlyphsEditorVtbl {
  1200. BEGIN_INTERFACE
  1201. /*** IUnknown methods ***/
  1202. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1203. IXpsOMGlyphsEditor *This,
  1204. REFIID riid,
  1205. void **ppvObject);
  1206. ULONG (STDMETHODCALLTYPE *AddRef)(
  1207. IXpsOMGlyphsEditor *This);
  1208. ULONG (STDMETHODCALLTYPE *Release)(
  1209. IXpsOMGlyphsEditor *This);
  1210. /*** IXpsOMGlyphsEditor methods ***/
  1211. HRESULT (STDMETHODCALLTYPE *ApplyEdits)(
  1212. IXpsOMGlyphsEditor *This);
  1213. HRESULT (STDMETHODCALLTYPE *GetUnicodeString)(
  1214. IXpsOMGlyphsEditor *This,
  1215. LPWSTR *unicodeString);
  1216. HRESULT (STDMETHODCALLTYPE *SetUnicodeString)(
  1217. IXpsOMGlyphsEditor *This,
  1218. LPCWSTR unicodeString);
  1219. HRESULT (STDMETHODCALLTYPE *GetGlyphIndexCount)(
  1220. IXpsOMGlyphsEditor *This,
  1221. UINT32 *indexCount);
  1222. HRESULT (STDMETHODCALLTYPE *GetGlyphIndices)(
  1223. IXpsOMGlyphsEditor *This,
  1224. UINT32 *indexCount,
  1225. XPS_GLYPH_INDEX *glyphIndices);
  1226. HRESULT (STDMETHODCALLTYPE *SetGlyphIndices)(
  1227. IXpsOMGlyphsEditor *This,
  1228. UINT32 indexCount,
  1229. const XPS_GLYPH_INDEX *glyphIndices);
  1230. HRESULT (STDMETHODCALLTYPE *GetGlyphMappingCount)(
  1231. IXpsOMGlyphsEditor *This,
  1232. UINT32 *glyphMappingCount);
  1233. HRESULT (STDMETHODCALLTYPE *GetGlyphMappings)(
  1234. IXpsOMGlyphsEditor *This,
  1235. UINT32 *glyphMappingCount,
  1236. XPS_GLYPH_MAPPING *glyphMappings);
  1237. HRESULT (STDMETHODCALLTYPE *SetGlyphMappings)(
  1238. IXpsOMGlyphsEditor *This,
  1239. UINT32 glyphMappingCount,
  1240. const XPS_GLYPH_MAPPING *glyphMappings);
  1241. HRESULT (STDMETHODCALLTYPE *GetProhibitedCaretStopCount)(
  1242. IXpsOMGlyphsEditor *This,
  1243. UINT32 *prohibitedCaretStopCount);
  1244. HRESULT (STDMETHODCALLTYPE *GetProhibitedCaretStops)(
  1245. IXpsOMGlyphsEditor *This,
  1246. UINT32 *count,
  1247. UINT32 *prohibitedCaretStops);
  1248. HRESULT (STDMETHODCALLTYPE *SetProhibitedCaretStops)(
  1249. IXpsOMGlyphsEditor *This,
  1250. UINT32 count,
  1251. const UINT32 *prohibitedCaretStops);
  1252. HRESULT (STDMETHODCALLTYPE *GetBidiLevel)(
  1253. IXpsOMGlyphsEditor *This,
  1254. UINT32 *bidiLevel);
  1255. HRESULT (STDMETHODCALLTYPE *SetBidiLevel)(
  1256. IXpsOMGlyphsEditor *This,
  1257. UINT32 bidiLevel);
  1258. HRESULT (STDMETHODCALLTYPE *GetIsSideways)(
  1259. IXpsOMGlyphsEditor *This,
  1260. WINBOOL *isSideways);
  1261. HRESULT (STDMETHODCALLTYPE *SetIsSideways)(
  1262. IXpsOMGlyphsEditor *This,
  1263. WINBOOL isSideways);
  1264. HRESULT (STDMETHODCALLTYPE *GetDeviceFontName)(
  1265. IXpsOMGlyphsEditor *This,
  1266. LPWSTR *deviceFontName);
  1267. HRESULT (STDMETHODCALLTYPE *SetDeviceFontName)(
  1268. IXpsOMGlyphsEditor *This,
  1269. LPCWSTR deviceFontName);
  1270. END_INTERFACE
  1271. } IXpsOMGlyphsEditorVtbl;
  1272. interface IXpsOMGlyphsEditor {
  1273. CONST_VTBL IXpsOMGlyphsEditorVtbl* lpVtbl;
  1274. };
  1275. #ifdef COBJMACROS
  1276. #ifndef WIDL_C_INLINE_WRAPPERS
  1277. /*** IUnknown methods ***/
  1278. #define IXpsOMGlyphsEditor_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1279. #define IXpsOMGlyphsEditor_AddRef(This) (This)->lpVtbl->AddRef(This)
  1280. #define IXpsOMGlyphsEditor_Release(This) (This)->lpVtbl->Release(This)
  1281. /*** IXpsOMGlyphsEditor methods ***/
  1282. #define IXpsOMGlyphsEditor_ApplyEdits(This) (This)->lpVtbl->ApplyEdits(This)
  1283. #define IXpsOMGlyphsEditor_GetUnicodeString(This,unicodeString) (This)->lpVtbl->GetUnicodeString(This,unicodeString)
  1284. #define IXpsOMGlyphsEditor_SetUnicodeString(This,unicodeString) (This)->lpVtbl->SetUnicodeString(This,unicodeString)
  1285. #define IXpsOMGlyphsEditor_GetGlyphIndexCount(This,indexCount) (This)->lpVtbl->GetGlyphIndexCount(This,indexCount)
  1286. #define IXpsOMGlyphsEditor_GetGlyphIndices(This,indexCount,glyphIndices) (This)->lpVtbl->GetGlyphIndices(This,indexCount,glyphIndices)
  1287. #define IXpsOMGlyphsEditor_SetGlyphIndices(This,indexCount,glyphIndices) (This)->lpVtbl->SetGlyphIndices(This,indexCount,glyphIndices)
  1288. #define IXpsOMGlyphsEditor_GetGlyphMappingCount(This,glyphMappingCount) (This)->lpVtbl->GetGlyphMappingCount(This,glyphMappingCount)
  1289. #define IXpsOMGlyphsEditor_GetGlyphMappings(This,glyphMappingCount,glyphMappings) (This)->lpVtbl->GetGlyphMappings(This,glyphMappingCount,glyphMappings)
  1290. #define IXpsOMGlyphsEditor_SetGlyphMappings(This,glyphMappingCount,glyphMappings) (This)->lpVtbl->SetGlyphMappings(This,glyphMappingCount,glyphMappings)
  1291. #define IXpsOMGlyphsEditor_GetProhibitedCaretStopCount(This,prohibitedCaretStopCount) (This)->lpVtbl->GetProhibitedCaretStopCount(This,prohibitedCaretStopCount)
  1292. #define IXpsOMGlyphsEditor_GetProhibitedCaretStops(This,count,prohibitedCaretStops) (This)->lpVtbl->GetProhibitedCaretStops(This,count,prohibitedCaretStops)
  1293. #define IXpsOMGlyphsEditor_SetProhibitedCaretStops(This,count,prohibitedCaretStops) (This)->lpVtbl->SetProhibitedCaretStops(This,count,prohibitedCaretStops)
  1294. #define IXpsOMGlyphsEditor_GetBidiLevel(This,bidiLevel) (This)->lpVtbl->GetBidiLevel(This,bidiLevel)
  1295. #define IXpsOMGlyphsEditor_SetBidiLevel(This,bidiLevel) (This)->lpVtbl->SetBidiLevel(This,bidiLevel)
  1296. #define IXpsOMGlyphsEditor_GetIsSideways(This,isSideways) (This)->lpVtbl->GetIsSideways(This,isSideways)
  1297. #define IXpsOMGlyphsEditor_SetIsSideways(This,isSideways) (This)->lpVtbl->SetIsSideways(This,isSideways)
  1298. #define IXpsOMGlyphsEditor_GetDeviceFontName(This,deviceFontName) (This)->lpVtbl->GetDeviceFontName(This,deviceFontName)
  1299. #define IXpsOMGlyphsEditor_SetDeviceFontName(This,deviceFontName) (This)->lpVtbl->SetDeviceFontName(This,deviceFontName)
  1300. #else
  1301. /*** IUnknown methods ***/
  1302. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_QueryInterface(IXpsOMGlyphsEditor* This,REFIID riid,void **ppvObject) {
  1303. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1304. }
  1305. static FORCEINLINE ULONG IXpsOMGlyphsEditor_AddRef(IXpsOMGlyphsEditor* This) {
  1306. return This->lpVtbl->AddRef(This);
  1307. }
  1308. static FORCEINLINE ULONG IXpsOMGlyphsEditor_Release(IXpsOMGlyphsEditor* This) {
  1309. return This->lpVtbl->Release(This);
  1310. }
  1311. /*** IXpsOMGlyphsEditor methods ***/
  1312. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_ApplyEdits(IXpsOMGlyphsEditor* This) {
  1313. return This->lpVtbl->ApplyEdits(This);
  1314. }
  1315. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetUnicodeString(IXpsOMGlyphsEditor* This,LPWSTR *unicodeString) {
  1316. return This->lpVtbl->GetUnicodeString(This,unicodeString);
  1317. }
  1318. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetUnicodeString(IXpsOMGlyphsEditor* This,LPCWSTR unicodeString) {
  1319. return This->lpVtbl->SetUnicodeString(This,unicodeString);
  1320. }
  1321. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetGlyphIndexCount(IXpsOMGlyphsEditor* This,UINT32 *indexCount) {
  1322. return This->lpVtbl->GetGlyphIndexCount(This,indexCount);
  1323. }
  1324. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetGlyphIndices(IXpsOMGlyphsEditor* This,UINT32 *indexCount,XPS_GLYPH_INDEX *glyphIndices) {
  1325. return This->lpVtbl->GetGlyphIndices(This,indexCount,glyphIndices);
  1326. }
  1327. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetGlyphIndices(IXpsOMGlyphsEditor* This,UINT32 indexCount,const XPS_GLYPH_INDEX *glyphIndices) {
  1328. return This->lpVtbl->SetGlyphIndices(This,indexCount,glyphIndices);
  1329. }
  1330. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetGlyphMappingCount(IXpsOMGlyphsEditor* This,UINT32 *glyphMappingCount) {
  1331. return This->lpVtbl->GetGlyphMappingCount(This,glyphMappingCount);
  1332. }
  1333. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetGlyphMappings(IXpsOMGlyphsEditor* This,UINT32 *glyphMappingCount,XPS_GLYPH_MAPPING *glyphMappings) {
  1334. return This->lpVtbl->GetGlyphMappings(This,glyphMappingCount,glyphMappings);
  1335. }
  1336. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetGlyphMappings(IXpsOMGlyphsEditor* This,UINT32 glyphMappingCount,const XPS_GLYPH_MAPPING *glyphMappings) {
  1337. return This->lpVtbl->SetGlyphMappings(This,glyphMappingCount,glyphMappings);
  1338. }
  1339. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetProhibitedCaretStopCount(IXpsOMGlyphsEditor* This,UINT32 *prohibitedCaretStopCount) {
  1340. return This->lpVtbl->GetProhibitedCaretStopCount(This,prohibitedCaretStopCount);
  1341. }
  1342. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetProhibitedCaretStops(IXpsOMGlyphsEditor* This,UINT32 *count,UINT32 *prohibitedCaretStops) {
  1343. return This->lpVtbl->GetProhibitedCaretStops(This,count,prohibitedCaretStops);
  1344. }
  1345. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetProhibitedCaretStops(IXpsOMGlyphsEditor* This,UINT32 count,const UINT32 *prohibitedCaretStops) {
  1346. return This->lpVtbl->SetProhibitedCaretStops(This,count,prohibitedCaretStops);
  1347. }
  1348. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetBidiLevel(IXpsOMGlyphsEditor* This,UINT32 *bidiLevel) {
  1349. return This->lpVtbl->GetBidiLevel(This,bidiLevel);
  1350. }
  1351. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetBidiLevel(IXpsOMGlyphsEditor* This,UINT32 bidiLevel) {
  1352. return This->lpVtbl->SetBidiLevel(This,bidiLevel);
  1353. }
  1354. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetIsSideways(IXpsOMGlyphsEditor* This,WINBOOL *isSideways) {
  1355. return This->lpVtbl->GetIsSideways(This,isSideways);
  1356. }
  1357. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetIsSideways(IXpsOMGlyphsEditor* This,WINBOOL isSideways) {
  1358. return This->lpVtbl->SetIsSideways(This,isSideways);
  1359. }
  1360. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_GetDeviceFontName(IXpsOMGlyphsEditor* This,LPWSTR *deviceFontName) {
  1361. return This->lpVtbl->GetDeviceFontName(This,deviceFontName);
  1362. }
  1363. static FORCEINLINE HRESULT IXpsOMGlyphsEditor_SetDeviceFontName(IXpsOMGlyphsEditor* This,LPCWSTR deviceFontName) {
  1364. return This->lpVtbl->SetDeviceFontName(This,deviceFontName);
  1365. }
  1366. #endif
  1367. #endif
  1368. #endif
  1369. #endif /* __IXpsOMGlyphsEditor_INTERFACE_DEFINED__ */
  1370. /*****************************************************************************
  1371. * IXpsOMDashCollection interface
  1372. */
  1373. #ifndef __IXpsOMDashCollection_INTERFACE_DEFINED__
  1374. #define __IXpsOMDashCollection_INTERFACE_DEFINED__
  1375. DEFINE_GUID(IID_IXpsOMDashCollection, 0x081613f4, 0x74eb, 0x48f2, 0x83,0xb3, 0x37,0xa9,0xce,0x2d,0x7d,0xc6);
  1376. #if defined(__cplusplus) && !defined(CINTERFACE)
  1377. MIDL_INTERFACE("081613f4-74eb-48f2-83b3-37a9ce2d7dc6")
  1378. IXpsOMDashCollection : public IUnknown
  1379. {
  1380. virtual HRESULT STDMETHODCALLTYPE GetCount(
  1381. UINT32 *count) = 0;
  1382. virtual HRESULT STDMETHODCALLTYPE GetAt(
  1383. UINT32 index,
  1384. XPS_DASH *dash) = 0;
  1385. virtual HRESULT STDMETHODCALLTYPE InsertAt(
  1386. UINT32 index,
  1387. const XPS_DASH *dash) = 0;
  1388. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  1389. UINT32 index) = 0;
  1390. virtual HRESULT STDMETHODCALLTYPE SetAt(
  1391. UINT32 index,
  1392. const XPS_DASH *dash) = 0;
  1393. virtual HRESULT STDMETHODCALLTYPE Append(
  1394. const XPS_DASH *dash) = 0;
  1395. };
  1396. #ifdef __CRT_UUID_DECL
  1397. __CRT_UUID_DECL(IXpsOMDashCollection, 0x081613f4, 0x74eb, 0x48f2, 0x83,0xb3, 0x37,0xa9,0xce,0x2d,0x7d,0xc6)
  1398. #endif
  1399. #else
  1400. typedef struct IXpsOMDashCollectionVtbl {
  1401. BEGIN_INTERFACE
  1402. /*** IUnknown methods ***/
  1403. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1404. IXpsOMDashCollection *This,
  1405. REFIID riid,
  1406. void **ppvObject);
  1407. ULONG (STDMETHODCALLTYPE *AddRef)(
  1408. IXpsOMDashCollection *This);
  1409. ULONG (STDMETHODCALLTYPE *Release)(
  1410. IXpsOMDashCollection *This);
  1411. /*** IXpsOMDashCollection methods ***/
  1412. HRESULT (STDMETHODCALLTYPE *GetCount)(
  1413. IXpsOMDashCollection *This,
  1414. UINT32 *count);
  1415. HRESULT (STDMETHODCALLTYPE *GetAt)(
  1416. IXpsOMDashCollection *This,
  1417. UINT32 index,
  1418. XPS_DASH *dash);
  1419. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  1420. IXpsOMDashCollection *This,
  1421. UINT32 index,
  1422. const XPS_DASH *dash);
  1423. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  1424. IXpsOMDashCollection *This,
  1425. UINT32 index);
  1426. HRESULT (STDMETHODCALLTYPE *SetAt)(
  1427. IXpsOMDashCollection *This,
  1428. UINT32 index,
  1429. const XPS_DASH *dash);
  1430. HRESULT (STDMETHODCALLTYPE *Append)(
  1431. IXpsOMDashCollection *This,
  1432. const XPS_DASH *dash);
  1433. END_INTERFACE
  1434. } IXpsOMDashCollectionVtbl;
  1435. interface IXpsOMDashCollection {
  1436. CONST_VTBL IXpsOMDashCollectionVtbl* lpVtbl;
  1437. };
  1438. #ifdef COBJMACROS
  1439. #ifndef WIDL_C_INLINE_WRAPPERS
  1440. /*** IUnknown methods ***/
  1441. #define IXpsOMDashCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1442. #define IXpsOMDashCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  1443. #define IXpsOMDashCollection_Release(This) (This)->lpVtbl->Release(This)
  1444. /*** IXpsOMDashCollection methods ***/
  1445. #define IXpsOMDashCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  1446. #define IXpsOMDashCollection_GetAt(This,index,dash) (This)->lpVtbl->GetAt(This,index,dash)
  1447. #define IXpsOMDashCollection_InsertAt(This,index,dash) (This)->lpVtbl->InsertAt(This,index,dash)
  1448. #define IXpsOMDashCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  1449. #define IXpsOMDashCollection_SetAt(This,index,dash) (This)->lpVtbl->SetAt(This,index,dash)
  1450. #define IXpsOMDashCollection_Append(This,dash) (This)->lpVtbl->Append(This,dash)
  1451. #else
  1452. /*** IUnknown methods ***/
  1453. static FORCEINLINE HRESULT IXpsOMDashCollection_QueryInterface(IXpsOMDashCollection* This,REFIID riid,void **ppvObject) {
  1454. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1455. }
  1456. static FORCEINLINE ULONG IXpsOMDashCollection_AddRef(IXpsOMDashCollection* This) {
  1457. return This->lpVtbl->AddRef(This);
  1458. }
  1459. static FORCEINLINE ULONG IXpsOMDashCollection_Release(IXpsOMDashCollection* This) {
  1460. return This->lpVtbl->Release(This);
  1461. }
  1462. /*** IXpsOMDashCollection methods ***/
  1463. static FORCEINLINE HRESULT IXpsOMDashCollection_GetCount(IXpsOMDashCollection* This,UINT32 *count) {
  1464. return This->lpVtbl->GetCount(This,count);
  1465. }
  1466. static FORCEINLINE HRESULT IXpsOMDashCollection_GetAt(IXpsOMDashCollection* This,UINT32 index,XPS_DASH *dash) {
  1467. return This->lpVtbl->GetAt(This,index,dash);
  1468. }
  1469. static FORCEINLINE HRESULT IXpsOMDashCollection_InsertAt(IXpsOMDashCollection* This,UINT32 index,const XPS_DASH *dash) {
  1470. return This->lpVtbl->InsertAt(This,index,dash);
  1471. }
  1472. static FORCEINLINE HRESULT IXpsOMDashCollection_RemoveAt(IXpsOMDashCollection* This,UINT32 index) {
  1473. return This->lpVtbl->RemoveAt(This,index);
  1474. }
  1475. static FORCEINLINE HRESULT IXpsOMDashCollection_SetAt(IXpsOMDashCollection* This,UINT32 index,const XPS_DASH *dash) {
  1476. return This->lpVtbl->SetAt(This,index,dash);
  1477. }
  1478. static FORCEINLINE HRESULT IXpsOMDashCollection_Append(IXpsOMDashCollection* This,const XPS_DASH *dash) {
  1479. return This->lpVtbl->Append(This,dash);
  1480. }
  1481. #endif
  1482. #endif
  1483. #endif
  1484. #endif /* __IXpsOMDashCollection_INTERFACE_DEFINED__ */
  1485. /*****************************************************************************
  1486. * IXpsOMGeometryFigure interface
  1487. */
  1488. #ifndef __IXpsOMGeometryFigure_INTERFACE_DEFINED__
  1489. #define __IXpsOMGeometryFigure_INTERFACE_DEFINED__
  1490. DEFINE_GUID(IID_IXpsOMGeometryFigure, 0xd410dc83, 0x908c, 0x443e, 0x89,0x47, 0xb1,0x79,0x5d,0x3c,0x16,0x5a);
  1491. #if defined(__cplusplus) && !defined(CINTERFACE)
  1492. MIDL_INTERFACE("d410dc83-908c-443e-8947-b1795d3c165a")
  1493. IXpsOMGeometryFigure : public IUnknown
  1494. {
  1495. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  1496. IXpsOMGeometry **owner) = 0;
  1497. virtual HRESULT STDMETHODCALLTYPE GetSegmentData(
  1498. UINT32 *dataCount,
  1499. FLOAT *segmentData) = 0;
  1500. virtual HRESULT STDMETHODCALLTYPE GetSegmentTypes(
  1501. UINT32 *segmentCount,
  1502. XPS_SEGMENT_TYPE *segmentTypes) = 0;
  1503. virtual HRESULT STDMETHODCALLTYPE GetSegmentStrokes(
  1504. UINT32 *segmentCount,
  1505. WINBOOL *segmentStrokes) = 0;
  1506. virtual HRESULT STDMETHODCALLTYPE SetSegments(
  1507. UINT32 segmentCount,
  1508. UINT32 segmentDataCount,
  1509. const XPS_SEGMENT_TYPE *segmentTypes,
  1510. const FLOAT *segmentData,
  1511. const WINBOOL *segmentStrokes) = 0;
  1512. virtual HRESULT STDMETHODCALLTYPE GetStartPoint(
  1513. XPS_POINT *startPoint) = 0;
  1514. virtual HRESULT STDMETHODCALLTYPE SetStartPoint(
  1515. const XPS_POINT *startPoint) = 0;
  1516. virtual HRESULT STDMETHODCALLTYPE GetIsClosed(
  1517. WINBOOL *isClosed) = 0;
  1518. virtual HRESULT STDMETHODCALLTYPE SetIsClosed(
  1519. WINBOOL isClosed) = 0;
  1520. virtual HRESULT STDMETHODCALLTYPE GetIsFilled(
  1521. WINBOOL *isFilled) = 0;
  1522. virtual HRESULT STDMETHODCALLTYPE SetIsFilled(
  1523. WINBOOL isFilled) = 0;
  1524. virtual HRESULT STDMETHODCALLTYPE GetSegmentCount(
  1525. UINT32 *segmentCount) = 0;
  1526. virtual HRESULT STDMETHODCALLTYPE GetSegmentDataCount(
  1527. UINT32 *segmentDataCount) = 0;
  1528. virtual HRESULT STDMETHODCALLTYPE GetSegmentStrokePattern(
  1529. XPS_SEGMENT_STROKE_PATTERN *segmentStrokePattern) = 0;
  1530. virtual HRESULT STDMETHODCALLTYPE Clone(
  1531. IXpsOMGeometryFigure **geometryFigure) = 0;
  1532. };
  1533. #ifdef __CRT_UUID_DECL
  1534. __CRT_UUID_DECL(IXpsOMGeometryFigure, 0xd410dc83, 0x908c, 0x443e, 0x89,0x47, 0xb1,0x79,0x5d,0x3c,0x16,0x5a)
  1535. #endif
  1536. #else
  1537. typedef struct IXpsOMGeometryFigureVtbl {
  1538. BEGIN_INTERFACE
  1539. /*** IUnknown methods ***/
  1540. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1541. IXpsOMGeometryFigure *This,
  1542. REFIID riid,
  1543. void **ppvObject);
  1544. ULONG (STDMETHODCALLTYPE *AddRef)(
  1545. IXpsOMGeometryFigure *This);
  1546. ULONG (STDMETHODCALLTYPE *Release)(
  1547. IXpsOMGeometryFigure *This);
  1548. /*** IXpsOMGeometryFigure methods ***/
  1549. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  1550. IXpsOMGeometryFigure *This,
  1551. IXpsOMGeometry **owner);
  1552. HRESULT (STDMETHODCALLTYPE *GetSegmentData)(
  1553. IXpsOMGeometryFigure *This,
  1554. UINT32 *dataCount,
  1555. FLOAT *segmentData);
  1556. HRESULT (STDMETHODCALLTYPE *GetSegmentTypes)(
  1557. IXpsOMGeometryFigure *This,
  1558. UINT32 *segmentCount,
  1559. XPS_SEGMENT_TYPE *segmentTypes);
  1560. HRESULT (STDMETHODCALLTYPE *GetSegmentStrokes)(
  1561. IXpsOMGeometryFigure *This,
  1562. UINT32 *segmentCount,
  1563. WINBOOL *segmentStrokes);
  1564. HRESULT (STDMETHODCALLTYPE *SetSegments)(
  1565. IXpsOMGeometryFigure *This,
  1566. UINT32 segmentCount,
  1567. UINT32 segmentDataCount,
  1568. const XPS_SEGMENT_TYPE *segmentTypes,
  1569. const FLOAT *segmentData,
  1570. const WINBOOL *segmentStrokes);
  1571. HRESULT (STDMETHODCALLTYPE *GetStartPoint)(
  1572. IXpsOMGeometryFigure *This,
  1573. XPS_POINT *startPoint);
  1574. HRESULT (STDMETHODCALLTYPE *SetStartPoint)(
  1575. IXpsOMGeometryFigure *This,
  1576. const XPS_POINT *startPoint);
  1577. HRESULT (STDMETHODCALLTYPE *GetIsClosed)(
  1578. IXpsOMGeometryFigure *This,
  1579. WINBOOL *isClosed);
  1580. HRESULT (STDMETHODCALLTYPE *SetIsClosed)(
  1581. IXpsOMGeometryFigure *This,
  1582. WINBOOL isClosed);
  1583. HRESULT (STDMETHODCALLTYPE *GetIsFilled)(
  1584. IXpsOMGeometryFigure *This,
  1585. WINBOOL *isFilled);
  1586. HRESULT (STDMETHODCALLTYPE *SetIsFilled)(
  1587. IXpsOMGeometryFigure *This,
  1588. WINBOOL isFilled);
  1589. HRESULT (STDMETHODCALLTYPE *GetSegmentCount)(
  1590. IXpsOMGeometryFigure *This,
  1591. UINT32 *segmentCount);
  1592. HRESULT (STDMETHODCALLTYPE *GetSegmentDataCount)(
  1593. IXpsOMGeometryFigure *This,
  1594. UINT32 *segmentDataCount);
  1595. HRESULT (STDMETHODCALLTYPE *GetSegmentStrokePattern)(
  1596. IXpsOMGeometryFigure *This,
  1597. XPS_SEGMENT_STROKE_PATTERN *segmentStrokePattern);
  1598. HRESULT (STDMETHODCALLTYPE *Clone)(
  1599. IXpsOMGeometryFigure *This,
  1600. IXpsOMGeometryFigure **geometryFigure);
  1601. END_INTERFACE
  1602. } IXpsOMGeometryFigureVtbl;
  1603. interface IXpsOMGeometryFigure {
  1604. CONST_VTBL IXpsOMGeometryFigureVtbl* lpVtbl;
  1605. };
  1606. #ifdef COBJMACROS
  1607. #ifndef WIDL_C_INLINE_WRAPPERS
  1608. /*** IUnknown methods ***/
  1609. #define IXpsOMGeometryFigure_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1610. #define IXpsOMGeometryFigure_AddRef(This) (This)->lpVtbl->AddRef(This)
  1611. #define IXpsOMGeometryFigure_Release(This) (This)->lpVtbl->Release(This)
  1612. /*** IXpsOMGeometryFigure methods ***/
  1613. #define IXpsOMGeometryFigure_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  1614. #define IXpsOMGeometryFigure_GetSegmentData(This,dataCount,segmentData) (This)->lpVtbl->GetSegmentData(This,dataCount,segmentData)
  1615. #define IXpsOMGeometryFigure_GetSegmentTypes(This,segmentCount,segmentTypes) (This)->lpVtbl->GetSegmentTypes(This,segmentCount,segmentTypes)
  1616. #define IXpsOMGeometryFigure_GetSegmentStrokes(This,segmentCount,segmentStrokes) (This)->lpVtbl->GetSegmentStrokes(This,segmentCount,segmentStrokes)
  1617. #define IXpsOMGeometryFigure_SetSegments(This,segmentCount,segmentDataCount,segmentTypes,segmentData,segmentStrokes) (This)->lpVtbl->SetSegments(This,segmentCount,segmentDataCount,segmentTypes,segmentData,segmentStrokes)
  1618. #define IXpsOMGeometryFigure_GetStartPoint(This,startPoint) (This)->lpVtbl->GetStartPoint(This,startPoint)
  1619. #define IXpsOMGeometryFigure_SetStartPoint(This,startPoint) (This)->lpVtbl->SetStartPoint(This,startPoint)
  1620. #define IXpsOMGeometryFigure_GetIsClosed(This,isClosed) (This)->lpVtbl->GetIsClosed(This,isClosed)
  1621. #define IXpsOMGeometryFigure_SetIsClosed(This,isClosed) (This)->lpVtbl->SetIsClosed(This,isClosed)
  1622. #define IXpsOMGeometryFigure_GetIsFilled(This,isFilled) (This)->lpVtbl->GetIsFilled(This,isFilled)
  1623. #define IXpsOMGeometryFigure_SetIsFilled(This,isFilled) (This)->lpVtbl->SetIsFilled(This,isFilled)
  1624. #define IXpsOMGeometryFigure_GetSegmentCount(This,segmentCount) (This)->lpVtbl->GetSegmentCount(This,segmentCount)
  1625. #define IXpsOMGeometryFigure_GetSegmentDataCount(This,segmentDataCount) (This)->lpVtbl->GetSegmentDataCount(This,segmentDataCount)
  1626. #define IXpsOMGeometryFigure_GetSegmentStrokePattern(This,segmentStrokePattern) (This)->lpVtbl->GetSegmentStrokePattern(This,segmentStrokePattern)
  1627. #define IXpsOMGeometryFigure_Clone(This,geometryFigure) (This)->lpVtbl->Clone(This,geometryFigure)
  1628. #else
  1629. /*** IUnknown methods ***/
  1630. static FORCEINLINE HRESULT IXpsOMGeometryFigure_QueryInterface(IXpsOMGeometryFigure* This,REFIID riid,void **ppvObject) {
  1631. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1632. }
  1633. static FORCEINLINE ULONG IXpsOMGeometryFigure_AddRef(IXpsOMGeometryFigure* This) {
  1634. return This->lpVtbl->AddRef(This);
  1635. }
  1636. static FORCEINLINE ULONG IXpsOMGeometryFigure_Release(IXpsOMGeometryFigure* This) {
  1637. return This->lpVtbl->Release(This);
  1638. }
  1639. /*** IXpsOMGeometryFigure methods ***/
  1640. static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetOwner(IXpsOMGeometryFigure* This,IXpsOMGeometry **owner) {
  1641. return This->lpVtbl->GetOwner(This,owner);
  1642. }
  1643. static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetSegmentData(IXpsOMGeometryFigure* This,UINT32 *dataCount,FLOAT *segmentData) {
  1644. return This->lpVtbl->GetSegmentData(This,dataCount,segmentData);
  1645. }
  1646. static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetSegmentTypes(IXpsOMGeometryFigure* This,UINT32 *segmentCount,XPS_SEGMENT_TYPE *segmentTypes) {
  1647. return This->lpVtbl->GetSegmentTypes(This,segmentCount,segmentTypes);
  1648. }
  1649. static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetSegmentStrokes(IXpsOMGeometryFigure* This,UINT32 *segmentCount,WINBOOL *segmentStrokes) {
  1650. return This->lpVtbl->GetSegmentStrokes(This,segmentCount,segmentStrokes);
  1651. }
  1652. static FORCEINLINE HRESULT IXpsOMGeometryFigure_SetSegments(IXpsOMGeometryFigure* This,UINT32 segmentCount,UINT32 segmentDataCount,const XPS_SEGMENT_TYPE *segmentTypes,const FLOAT *segmentData,const WINBOOL *segmentStrokes) {
  1653. return This->lpVtbl->SetSegments(This,segmentCount,segmentDataCount,segmentTypes,segmentData,segmentStrokes);
  1654. }
  1655. static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetStartPoint(IXpsOMGeometryFigure* This,XPS_POINT *startPoint) {
  1656. return This->lpVtbl->GetStartPoint(This,startPoint);
  1657. }
  1658. static FORCEINLINE HRESULT IXpsOMGeometryFigure_SetStartPoint(IXpsOMGeometryFigure* This,const XPS_POINT *startPoint) {
  1659. return This->lpVtbl->SetStartPoint(This,startPoint);
  1660. }
  1661. static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetIsClosed(IXpsOMGeometryFigure* This,WINBOOL *isClosed) {
  1662. return This->lpVtbl->GetIsClosed(This,isClosed);
  1663. }
  1664. static FORCEINLINE HRESULT IXpsOMGeometryFigure_SetIsClosed(IXpsOMGeometryFigure* This,WINBOOL isClosed) {
  1665. return This->lpVtbl->SetIsClosed(This,isClosed);
  1666. }
  1667. static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetIsFilled(IXpsOMGeometryFigure* This,WINBOOL *isFilled) {
  1668. return This->lpVtbl->GetIsFilled(This,isFilled);
  1669. }
  1670. static FORCEINLINE HRESULT IXpsOMGeometryFigure_SetIsFilled(IXpsOMGeometryFigure* This,WINBOOL isFilled) {
  1671. return This->lpVtbl->SetIsFilled(This,isFilled);
  1672. }
  1673. static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetSegmentCount(IXpsOMGeometryFigure* This,UINT32 *segmentCount) {
  1674. return This->lpVtbl->GetSegmentCount(This,segmentCount);
  1675. }
  1676. static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetSegmentDataCount(IXpsOMGeometryFigure* This,UINT32 *segmentDataCount) {
  1677. return This->lpVtbl->GetSegmentDataCount(This,segmentDataCount);
  1678. }
  1679. static FORCEINLINE HRESULT IXpsOMGeometryFigure_GetSegmentStrokePattern(IXpsOMGeometryFigure* This,XPS_SEGMENT_STROKE_PATTERN *segmentStrokePattern) {
  1680. return This->lpVtbl->GetSegmentStrokePattern(This,segmentStrokePattern);
  1681. }
  1682. static FORCEINLINE HRESULT IXpsOMGeometryFigure_Clone(IXpsOMGeometryFigure* This,IXpsOMGeometryFigure **geometryFigure) {
  1683. return This->lpVtbl->Clone(This,geometryFigure);
  1684. }
  1685. #endif
  1686. #endif
  1687. #endif
  1688. #endif /* __IXpsOMGeometryFigure_INTERFACE_DEFINED__ */
  1689. /*****************************************************************************
  1690. * IXpsOMGeometryFigureCollection interface
  1691. */
  1692. #ifndef __IXpsOMGeometryFigureCollection_INTERFACE_DEFINED__
  1693. #define __IXpsOMGeometryFigureCollection_INTERFACE_DEFINED__
  1694. DEFINE_GUID(IID_IXpsOMGeometryFigureCollection, 0xfd48c3f3, 0xa58e, 0x4b5a, 0x88,0x26, 0x1d,0xe5,0x4a,0xbe,0x72,0xb2);
  1695. #if defined(__cplusplus) && !defined(CINTERFACE)
  1696. MIDL_INTERFACE("fd48c3f3-a58e-4b5a-8826-1de54abe72b2")
  1697. IXpsOMGeometryFigureCollection : public IUnknown
  1698. {
  1699. virtual HRESULT STDMETHODCALLTYPE GetCount(
  1700. UINT32 *count) = 0;
  1701. virtual HRESULT STDMETHODCALLTYPE GetAt(
  1702. UINT32 index,
  1703. IXpsOMGeometryFigure **geometryFigure) = 0;
  1704. virtual HRESULT STDMETHODCALLTYPE InsertAt(
  1705. UINT32 index,
  1706. IXpsOMGeometryFigure *geometryFigure) = 0;
  1707. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  1708. UINT32 index) = 0;
  1709. virtual HRESULT STDMETHODCALLTYPE SetAt(
  1710. UINT32 index,
  1711. IXpsOMGeometryFigure *geometryFigure) = 0;
  1712. virtual HRESULT STDMETHODCALLTYPE Append(
  1713. IXpsOMGeometryFigure *geometryFigure) = 0;
  1714. };
  1715. #ifdef __CRT_UUID_DECL
  1716. __CRT_UUID_DECL(IXpsOMGeometryFigureCollection, 0xfd48c3f3, 0xa58e, 0x4b5a, 0x88,0x26, 0x1d,0xe5,0x4a,0xbe,0x72,0xb2)
  1717. #endif
  1718. #else
  1719. typedef struct IXpsOMGeometryFigureCollectionVtbl {
  1720. BEGIN_INTERFACE
  1721. /*** IUnknown methods ***/
  1722. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1723. IXpsOMGeometryFigureCollection *This,
  1724. REFIID riid,
  1725. void **ppvObject);
  1726. ULONG (STDMETHODCALLTYPE *AddRef)(
  1727. IXpsOMGeometryFigureCollection *This);
  1728. ULONG (STDMETHODCALLTYPE *Release)(
  1729. IXpsOMGeometryFigureCollection *This);
  1730. /*** IXpsOMGeometryFigureCollection methods ***/
  1731. HRESULT (STDMETHODCALLTYPE *GetCount)(
  1732. IXpsOMGeometryFigureCollection *This,
  1733. UINT32 *count);
  1734. HRESULT (STDMETHODCALLTYPE *GetAt)(
  1735. IXpsOMGeometryFigureCollection *This,
  1736. UINT32 index,
  1737. IXpsOMGeometryFigure **geometryFigure);
  1738. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  1739. IXpsOMGeometryFigureCollection *This,
  1740. UINT32 index,
  1741. IXpsOMGeometryFigure *geometryFigure);
  1742. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  1743. IXpsOMGeometryFigureCollection *This,
  1744. UINT32 index);
  1745. HRESULT (STDMETHODCALLTYPE *SetAt)(
  1746. IXpsOMGeometryFigureCollection *This,
  1747. UINT32 index,
  1748. IXpsOMGeometryFigure *geometryFigure);
  1749. HRESULT (STDMETHODCALLTYPE *Append)(
  1750. IXpsOMGeometryFigureCollection *This,
  1751. IXpsOMGeometryFigure *geometryFigure);
  1752. END_INTERFACE
  1753. } IXpsOMGeometryFigureCollectionVtbl;
  1754. interface IXpsOMGeometryFigureCollection {
  1755. CONST_VTBL IXpsOMGeometryFigureCollectionVtbl* lpVtbl;
  1756. };
  1757. #ifdef COBJMACROS
  1758. #ifndef WIDL_C_INLINE_WRAPPERS
  1759. /*** IUnknown methods ***/
  1760. #define IXpsOMGeometryFigureCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1761. #define IXpsOMGeometryFigureCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  1762. #define IXpsOMGeometryFigureCollection_Release(This) (This)->lpVtbl->Release(This)
  1763. /*** IXpsOMGeometryFigureCollection methods ***/
  1764. #define IXpsOMGeometryFigureCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  1765. #define IXpsOMGeometryFigureCollection_GetAt(This,index,geometryFigure) (This)->lpVtbl->GetAt(This,index,geometryFigure)
  1766. #define IXpsOMGeometryFigureCollection_InsertAt(This,index,geometryFigure) (This)->lpVtbl->InsertAt(This,index,geometryFigure)
  1767. #define IXpsOMGeometryFigureCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  1768. #define IXpsOMGeometryFigureCollection_SetAt(This,index,geometryFigure) (This)->lpVtbl->SetAt(This,index,geometryFigure)
  1769. #define IXpsOMGeometryFigureCollection_Append(This,geometryFigure) (This)->lpVtbl->Append(This,geometryFigure)
  1770. #else
  1771. /*** IUnknown methods ***/
  1772. static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_QueryInterface(IXpsOMGeometryFigureCollection* This,REFIID riid,void **ppvObject) {
  1773. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1774. }
  1775. static FORCEINLINE ULONG IXpsOMGeometryFigureCollection_AddRef(IXpsOMGeometryFigureCollection* This) {
  1776. return This->lpVtbl->AddRef(This);
  1777. }
  1778. static FORCEINLINE ULONG IXpsOMGeometryFigureCollection_Release(IXpsOMGeometryFigureCollection* This) {
  1779. return This->lpVtbl->Release(This);
  1780. }
  1781. /*** IXpsOMGeometryFigureCollection methods ***/
  1782. static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_GetCount(IXpsOMGeometryFigureCollection* This,UINT32 *count) {
  1783. return This->lpVtbl->GetCount(This,count);
  1784. }
  1785. static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_GetAt(IXpsOMGeometryFigureCollection* This,UINT32 index,IXpsOMGeometryFigure **geometryFigure) {
  1786. return This->lpVtbl->GetAt(This,index,geometryFigure);
  1787. }
  1788. static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_InsertAt(IXpsOMGeometryFigureCollection* This,UINT32 index,IXpsOMGeometryFigure *geometryFigure) {
  1789. return This->lpVtbl->InsertAt(This,index,geometryFigure);
  1790. }
  1791. static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_RemoveAt(IXpsOMGeometryFigureCollection* This,UINT32 index) {
  1792. return This->lpVtbl->RemoveAt(This,index);
  1793. }
  1794. static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_SetAt(IXpsOMGeometryFigureCollection* This,UINT32 index,IXpsOMGeometryFigure *geometryFigure) {
  1795. return This->lpVtbl->SetAt(This,index,geometryFigure);
  1796. }
  1797. static FORCEINLINE HRESULT IXpsOMGeometryFigureCollection_Append(IXpsOMGeometryFigureCollection* This,IXpsOMGeometryFigure *geometryFigure) {
  1798. return This->lpVtbl->Append(This,geometryFigure);
  1799. }
  1800. #endif
  1801. #endif
  1802. #endif
  1803. #endif /* __IXpsOMGeometryFigureCollection_INTERFACE_DEFINED__ */
  1804. /*****************************************************************************
  1805. * IXpsOMGradientStopCollection interface
  1806. */
  1807. #ifndef __IXpsOMGradientStopCollection_INTERFACE_DEFINED__
  1808. #define __IXpsOMGradientStopCollection_INTERFACE_DEFINED__
  1809. DEFINE_GUID(IID_IXpsOMGradientStopCollection, 0xc9174c3a, 0x3cd3, 0x4319, 0xbd,0xa4, 0x11,0xa3,0x93,0x92,0xce,0xef);
  1810. #if defined(__cplusplus) && !defined(CINTERFACE)
  1811. MIDL_INTERFACE("c9174c3a-3cd3-4319-bda4-11a39392ceef")
  1812. IXpsOMGradientStopCollection : public IUnknown
  1813. {
  1814. virtual HRESULT STDMETHODCALLTYPE GetCount(
  1815. UINT32 *count) = 0;
  1816. virtual HRESULT STDMETHODCALLTYPE GetAt(
  1817. UINT32 index,
  1818. IXpsOMGradientStop **stop) = 0;
  1819. virtual HRESULT STDMETHODCALLTYPE InsertAt(
  1820. UINT32 index,
  1821. IXpsOMGradientStop *stop) = 0;
  1822. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  1823. UINT32 index) = 0;
  1824. virtual HRESULT STDMETHODCALLTYPE SetAt(
  1825. UINT32 index,
  1826. IXpsOMGradientStop *stop) = 0;
  1827. virtual HRESULT STDMETHODCALLTYPE Append(
  1828. IXpsOMGradientStop *stop) = 0;
  1829. };
  1830. #ifdef __CRT_UUID_DECL
  1831. __CRT_UUID_DECL(IXpsOMGradientStopCollection, 0xc9174c3a, 0x3cd3, 0x4319, 0xbd,0xa4, 0x11,0xa3,0x93,0x92,0xce,0xef)
  1832. #endif
  1833. #else
  1834. typedef struct IXpsOMGradientStopCollectionVtbl {
  1835. BEGIN_INTERFACE
  1836. /*** IUnknown methods ***/
  1837. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1838. IXpsOMGradientStopCollection *This,
  1839. REFIID riid,
  1840. void **ppvObject);
  1841. ULONG (STDMETHODCALLTYPE *AddRef)(
  1842. IXpsOMGradientStopCollection *This);
  1843. ULONG (STDMETHODCALLTYPE *Release)(
  1844. IXpsOMGradientStopCollection *This);
  1845. /*** IXpsOMGradientStopCollection methods ***/
  1846. HRESULT (STDMETHODCALLTYPE *GetCount)(
  1847. IXpsOMGradientStopCollection *This,
  1848. UINT32 *count);
  1849. HRESULT (STDMETHODCALLTYPE *GetAt)(
  1850. IXpsOMGradientStopCollection *This,
  1851. UINT32 index,
  1852. IXpsOMGradientStop **stop);
  1853. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  1854. IXpsOMGradientStopCollection *This,
  1855. UINT32 index,
  1856. IXpsOMGradientStop *stop);
  1857. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  1858. IXpsOMGradientStopCollection *This,
  1859. UINT32 index);
  1860. HRESULT (STDMETHODCALLTYPE *SetAt)(
  1861. IXpsOMGradientStopCollection *This,
  1862. UINT32 index,
  1863. IXpsOMGradientStop *stop);
  1864. HRESULT (STDMETHODCALLTYPE *Append)(
  1865. IXpsOMGradientStopCollection *This,
  1866. IXpsOMGradientStop *stop);
  1867. END_INTERFACE
  1868. } IXpsOMGradientStopCollectionVtbl;
  1869. interface IXpsOMGradientStopCollection {
  1870. CONST_VTBL IXpsOMGradientStopCollectionVtbl* lpVtbl;
  1871. };
  1872. #ifdef COBJMACROS
  1873. #ifndef WIDL_C_INLINE_WRAPPERS
  1874. /*** IUnknown methods ***/
  1875. #define IXpsOMGradientStopCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1876. #define IXpsOMGradientStopCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  1877. #define IXpsOMGradientStopCollection_Release(This) (This)->lpVtbl->Release(This)
  1878. /*** IXpsOMGradientStopCollection methods ***/
  1879. #define IXpsOMGradientStopCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  1880. #define IXpsOMGradientStopCollection_GetAt(This,index,stop) (This)->lpVtbl->GetAt(This,index,stop)
  1881. #define IXpsOMGradientStopCollection_InsertAt(This,index,stop) (This)->lpVtbl->InsertAt(This,index,stop)
  1882. #define IXpsOMGradientStopCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  1883. #define IXpsOMGradientStopCollection_SetAt(This,index,stop) (This)->lpVtbl->SetAt(This,index,stop)
  1884. #define IXpsOMGradientStopCollection_Append(This,stop) (This)->lpVtbl->Append(This,stop)
  1885. #else
  1886. /*** IUnknown methods ***/
  1887. static FORCEINLINE HRESULT IXpsOMGradientStopCollection_QueryInterface(IXpsOMGradientStopCollection* This,REFIID riid,void **ppvObject) {
  1888. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  1889. }
  1890. static FORCEINLINE ULONG IXpsOMGradientStopCollection_AddRef(IXpsOMGradientStopCollection* This) {
  1891. return This->lpVtbl->AddRef(This);
  1892. }
  1893. static FORCEINLINE ULONG IXpsOMGradientStopCollection_Release(IXpsOMGradientStopCollection* This) {
  1894. return This->lpVtbl->Release(This);
  1895. }
  1896. /*** IXpsOMGradientStopCollection methods ***/
  1897. static FORCEINLINE HRESULT IXpsOMGradientStopCollection_GetCount(IXpsOMGradientStopCollection* This,UINT32 *count) {
  1898. return This->lpVtbl->GetCount(This,count);
  1899. }
  1900. static FORCEINLINE HRESULT IXpsOMGradientStopCollection_GetAt(IXpsOMGradientStopCollection* This,UINT32 index,IXpsOMGradientStop **stop) {
  1901. return This->lpVtbl->GetAt(This,index,stop);
  1902. }
  1903. static FORCEINLINE HRESULT IXpsOMGradientStopCollection_InsertAt(IXpsOMGradientStopCollection* This,UINT32 index,IXpsOMGradientStop *stop) {
  1904. return This->lpVtbl->InsertAt(This,index,stop);
  1905. }
  1906. static FORCEINLINE HRESULT IXpsOMGradientStopCollection_RemoveAt(IXpsOMGradientStopCollection* This,UINT32 index) {
  1907. return This->lpVtbl->RemoveAt(This,index);
  1908. }
  1909. static FORCEINLINE HRESULT IXpsOMGradientStopCollection_SetAt(IXpsOMGradientStopCollection* This,UINT32 index,IXpsOMGradientStop *stop) {
  1910. return This->lpVtbl->SetAt(This,index,stop);
  1911. }
  1912. static FORCEINLINE HRESULT IXpsOMGradientStopCollection_Append(IXpsOMGradientStopCollection* This,IXpsOMGradientStop *stop) {
  1913. return This->lpVtbl->Append(This,stop);
  1914. }
  1915. #endif
  1916. #endif
  1917. #endif
  1918. #endif /* __IXpsOMGradientStopCollection_INTERFACE_DEFINED__ */
  1919. /*****************************************************************************
  1920. * IXpsOMGradientStop interface
  1921. */
  1922. #ifndef __IXpsOMGradientStop_INTERFACE_DEFINED__
  1923. #define __IXpsOMGradientStop_INTERFACE_DEFINED__
  1924. DEFINE_GUID(IID_IXpsOMGradientStop, 0x5cf4f5cc, 0x3969, 0x49b5, 0xa7,0x0a, 0x55,0x50,0xb6,0x18,0xfe,0x49);
  1925. #if defined(__cplusplus) && !defined(CINTERFACE)
  1926. MIDL_INTERFACE("5cf4f5cc-3969-49b5-a70a-5550b618fe49")
  1927. IXpsOMGradientStop : public IUnknown
  1928. {
  1929. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  1930. IXpsOMGradientBrush **owner) = 0;
  1931. virtual HRESULT STDMETHODCALLTYPE GetOffset(
  1932. FLOAT *offset) = 0;
  1933. virtual HRESULT STDMETHODCALLTYPE SetOffset(
  1934. FLOAT offset) = 0;
  1935. virtual HRESULT STDMETHODCALLTYPE GetColor(
  1936. XPS_COLOR *color,
  1937. IXpsOMColorProfileResource **colorProfile) = 0;
  1938. virtual HRESULT STDMETHODCALLTYPE SetColor(
  1939. const XPS_COLOR *color,
  1940. IXpsOMColorProfileResource *colorProfile) = 0;
  1941. virtual HRESULT STDMETHODCALLTYPE Clone(
  1942. IXpsOMGradientStop **gradientStop) = 0;
  1943. };
  1944. #ifdef __CRT_UUID_DECL
  1945. __CRT_UUID_DECL(IXpsOMGradientStop, 0x5cf4f5cc, 0x3969, 0x49b5, 0xa7,0x0a, 0x55,0x50,0xb6,0x18,0xfe,0x49)
  1946. #endif
  1947. #else
  1948. typedef struct IXpsOMGradientStopVtbl {
  1949. BEGIN_INTERFACE
  1950. /*** IUnknown methods ***/
  1951. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  1952. IXpsOMGradientStop *This,
  1953. REFIID riid,
  1954. void **ppvObject);
  1955. ULONG (STDMETHODCALLTYPE *AddRef)(
  1956. IXpsOMGradientStop *This);
  1957. ULONG (STDMETHODCALLTYPE *Release)(
  1958. IXpsOMGradientStop *This);
  1959. /*** IXpsOMGradientStop methods ***/
  1960. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  1961. IXpsOMGradientStop *This,
  1962. IXpsOMGradientBrush **owner);
  1963. HRESULT (STDMETHODCALLTYPE *GetOffset)(
  1964. IXpsOMGradientStop *This,
  1965. FLOAT *offset);
  1966. HRESULT (STDMETHODCALLTYPE *SetOffset)(
  1967. IXpsOMGradientStop *This,
  1968. FLOAT offset);
  1969. HRESULT (STDMETHODCALLTYPE *GetColor)(
  1970. IXpsOMGradientStop *This,
  1971. XPS_COLOR *color,
  1972. IXpsOMColorProfileResource **colorProfile);
  1973. HRESULT (STDMETHODCALLTYPE *SetColor)(
  1974. IXpsOMGradientStop *This,
  1975. const XPS_COLOR *color,
  1976. IXpsOMColorProfileResource *colorProfile);
  1977. HRESULT (STDMETHODCALLTYPE *Clone)(
  1978. IXpsOMGradientStop *This,
  1979. IXpsOMGradientStop **gradientStop);
  1980. END_INTERFACE
  1981. } IXpsOMGradientStopVtbl;
  1982. interface IXpsOMGradientStop {
  1983. CONST_VTBL IXpsOMGradientStopVtbl* lpVtbl;
  1984. };
  1985. #ifdef COBJMACROS
  1986. #ifndef WIDL_C_INLINE_WRAPPERS
  1987. /*** IUnknown methods ***/
  1988. #define IXpsOMGradientStop_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  1989. #define IXpsOMGradientStop_AddRef(This) (This)->lpVtbl->AddRef(This)
  1990. #define IXpsOMGradientStop_Release(This) (This)->lpVtbl->Release(This)
  1991. /*** IXpsOMGradientStop methods ***/
  1992. #define IXpsOMGradientStop_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  1993. #define IXpsOMGradientStop_GetOffset(This,offset) (This)->lpVtbl->GetOffset(This,offset)
  1994. #define IXpsOMGradientStop_SetOffset(This,offset) (This)->lpVtbl->SetOffset(This,offset)
  1995. #define IXpsOMGradientStop_GetColor(This,color,colorProfile) (This)->lpVtbl->GetColor(This,color,colorProfile)
  1996. #define IXpsOMGradientStop_SetColor(This,color,colorProfile) (This)->lpVtbl->SetColor(This,color,colorProfile)
  1997. #define IXpsOMGradientStop_Clone(This,gradientStop) (This)->lpVtbl->Clone(This,gradientStop)
  1998. #else
  1999. /*** IUnknown methods ***/
  2000. static FORCEINLINE HRESULT IXpsOMGradientStop_QueryInterface(IXpsOMGradientStop* This,REFIID riid,void **ppvObject) {
  2001. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2002. }
  2003. static FORCEINLINE ULONG IXpsOMGradientStop_AddRef(IXpsOMGradientStop* This) {
  2004. return This->lpVtbl->AddRef(This);
  2005. }
  2006. static FORCEINLINE ULONG IXpsOMGradientStop_Release(IXpsOMGradientStop* This) {
  2007. return This->lpVtbl->Release(This);
  2008. }
  2009. /*** IXpsOMGradientStop methods ***/
  2010. static FORCEINLINE HRESULT IXpsOMGradientStop_GetOwner(IXpsOMGradientStop* This,IXpsOMGradientBrush **owner) {
  2011. return This->lpVtbl->GetOwner(This,owner);
  2012. }
  2013. static FORCEINLINE HRESULT IXpsOMGradientStop_GetOffset(IXpsOMGradientStop* This,FLOAT *offset) {
  2014. return This->lpVtbl->GetOffset(This,offset);
  2015. }
  2016. static FORCEINLINE HRESULT IXpsOMGradientStop_SetOffset(IXpsOMGradientStop* This,FLOAT offset) {
  2017. return This->lpVtbl->SetOffset(This,offset);
  2018. }
  2019. static FORCEINLINE HRESULT IXpsOMGradientStop_GetColor(IXpsOMGradientStop* This,XPS_COLOR *color,IXpsOMColorProfileResource **colorProfile) {
  2020. return This->lpVtbl->GetColor(This,color,colorProfile);
  2021. }
  2022. static FORCEINLINE HRESULT IXpsOMGradientStop_SetColor(IXpsOMGradientStop* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile) {
  2023. return This->lpVtbl->SetColor(This,color,colorProfile);
  2024. }
  2025. static FORCEINLINE HRESULT IXpsOMGradientStop_Clone(IXpsOMGradientStop* This,IXpsOMGradientStop **gradientStop) {
  2026. return This->lpVtbl->Clone(This,gradientStop);
  2027. }
  2028. #endif
  2029. #endif
  2030. #endif
  2031. #endif /* __IXpsOMGradientStop_INTERFACE_DEFINED__ */
  2032. /*****************************************************************************
  2033. * IXpsOMPartResources interface
  2034. */
  2035. #ifndef __IXpsOMPartResources_INTERFACE_DEFINED__
  2036. #define __IXpsOMPartResources_INTERFACE_DEFINED__
  2037. DEFINE_GUID(IID_IXpsOMPartResources, 0xf4cf7729, 0x4864, 0x4275, 0x99,0xb3, 0xa8,0x71,0x71,0x63,0xec,0xaf);
  2038. #if defined(__cplusplus) && !defined(CINTERFACE)
  2039. MIDL_INTERFACE("f4cf7729-4864-4275-99b3-a8717163ecaf")
  2040. IXpsOMPartResources : public IUnknown
  2041. {
  2042. virtual HRESULT STDMETHODCALLTYPE GetFontResources(
  2043. IXpsOMFontResourceCollection **fontResources) = 0;
  2044. virtual HRESULT STDMETHODCALLTYPE GetImageResources(
  2045. IXpsOMImageResourceCollection **imageResources) = 0;
  2046. virtual HRESULT STDMETHODCALLTYPE GetColorProfileResources(
  2047. IXpsOMColorProfileResourceCollection **colorProfileResources) = 0;
  2048. virtual HRESULT STDMETHODCALLTYPE GetRemoteDictionaryResources(
  2049. IXpsOMRemoteDictionaryResourceCollection **dictionaryResources) = 0;
  2050. };
  2051. #ifdef __CRT_UUID_DECL
  2052. __CRT_UUID_DECL(IXpsOMPartResources, 0xf4cf7729, 0x4864, 0x4275, 0x99,0xb3, 0xa8,0x71,0x71,0x63,0xec,0xaf)
  2053. #endif
  2054. #else
  2055. typedef struct IXpsOMPartResourcesVtbl {
  2056. BEGIN_INTERFACE
  2057. /*** IUnknown methods ***/
  2058. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2059. IXpsOMPartResources *This,
  2060. REFIID riid,
  2061. void **ppvObject);
  2062. ULONG (STDMETHODCALLTYPE *AddRef)(
  2063. IXpsOMPartResources *This);
  2064. ULONG (STDMETHODCALLTYPE *Release)(
  2065. IXpsOMPartResources *This);
  2066. /*** IXpsOMPartResources methods ***/
  2067. HRESULT (STDMETHODCALLTYPE *GetFontResources)(
  2068. IXpsOMPartResources *This,
  2069. IXpsOMFontResourceCollection **fontResources);
  2070. HRESULT (STDMETHODCALLTYPE *GetImageResources)(
  2071. IXpsOMPartResources *This,
  2072. IXpsOMImageResourceCollection **imageResources);
  2073. HRESULT (STDMETHODCALLTYPE *GetColorProfileResources)(
  2074. IXpsOMPartResources *This,
  2075. IXpsOMColorProfileResourceCollection **colorProfileResources);
  2076. HRESULT (STDMETHODCALLTYPE *GetRemoteDictionaryResources)(
  2077. IXpsOMPartResources *This,
  2078. IXpsOMRemoteDictionaryResourceCollection **dictionaryResources);
  2079. END_INTERFACE
  2080. } IXpsOMPartResourcesVtbl;
  2081. interface IXpsOMPartResources {
  2082. CONST_VTBL IXpsOMPartResourcesVtbl* lpVtbl;
  2083. };
  2084. #ifdef COBJMACROS
  2085. #ifndef WIDL_C_INLINE_WRAPPERS
  2086. /*** IUnknown methods ***/
  2087. #define IXpsOMPartResources_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2088. #define IXpsOMPartResources_AddRef(This) (This)->lpVtbl->AddRef(This)
  2089. #define IXpsOMPartResources_Release(This) (This)->lpVtbl->Release(This)
  2090. /*** IXpsOMPartResources methods ***/
  2091. #define IXpsOMPartResources_GetFontResources(This,fontResources) (This)->lpVtbl->GetFontResources(This,fontResources)
  2092. #define IXpsOMPartResources_GetImageResources(This,imageResources) (This)->lpVtbl->GetImageResources(This,imageResources)
  2093. #define IXpsOMPartResources_GetColorProfileResources(This,colorProfileResources) (This)->lpVtbl->GetColorProfileResources(This,colorProfileResources)
  2094. #define IXpsOMPartResources_GetRemoteDictionaryResources(This,dictionaryResources) (This)->lpVtbl->GetRemoteDictionaryResources(This,dictionaryResources)
  2095. #else
  2096. /*** IUnknown methods ***/
  2097. static FORCEINLINE HRESULT IXpsOMPartResources_QueryInterface(IXpsOMPartResources* This,REFIID riid,void **ppvObject) {
  2098. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2099. }
  2100. static FORCEINLINE ULONG IXpsOMPartResources_AddRef(IXpsOMPartResources* This) {
  2101. return This->lpVtbl->AddRef(This);
  2102. }
  2103. static FORCEINLINE ULONG IXpsOMPartResources_Release(IXpsOMPartResources* This) {
  2104. return This->lpVtbl->Release(This);
  2105. }
  2106. /*** IXpsOMPartResources methods ***/
  2107. static FORCEINLINE HRESULT IXpsOMPartResources_GetFontResources(IXpsOMPartResources* This,IXpsOMFontResourceCollection **fontResources) {
  2108. return This->lpVtbl->GetFontResources(This,fontResources);
  2109. }
  2110. static FORCEINLINE HRESULT IXpsOMPartResources_GetImageResources(IXpsOMPartResources* This,IXpsOMImageResourceCollection **imageResources) {
  2111. return This->lpVtbl->GetImageResources(This,imageResources);
  2112. }
  2113. static FORCEINLINE HRESULT IXpsOMPartResources_GetColorProfileResources(IXpsOMPartResources* This,IXpsOMColorProfileResourceCollection **colorProfileResources) {
  2114. return This->lpVtbl->GetColorProfileResources(This,colorProfileResources);
  2115. }
  2116. static FORCEINLINE HRESULT IXpsOMPartResources_GetRemoteDictionaryResources(IXpsOMPartResources* This,IXpsOMRemoteDictionaryResourceCollection **dictionaryResources) {
  2117. return This->lpVtbl->GetRemoteDictionaryResources(This,dictionaryResources);
  2118. }
  2119. #endif
  2120. #endif
  2121. #endif
  2122. #endif /* __IXpsOMPartResources_INTERFACE_DEFINED__ */
  2123. /*****************************************************************************
  2124. * IXpsOMFontResourceCollection interface
  2125. */
  2126. #ifndef __IXpsOMFontResourceCollection_INTERFACE_DEFINED__
  2127. #define __IXpsOMFontResourceCollection_INTERFACE_DEFINED__
  2128. DEFINE_GUID(IID_IXpsOMFontResourceCollection, 0x70b4a6bb, 0x88d4, 0x4fa8, 0xaa,0xf9, 0x6d,0x9c,0x59,0x6f,0xdb,0xad);
  2129. #if defined(__cplusplus) && !defined(CINTERFACE)
  2130. MIDL_INTERFACE("70b4a6bb-88d4-4fa8-aaf9-6d9c596fdbad")
  2131. IXpsOMFontResourceCollection : public IUnknown
  2132. {
  2133. virtual HRESULT STDMETHODCALLTYPE GetCount(
  2134. UINT32 *count) = 0;
  2135. virtual HRESULT STDMETHODCALLTYPE GetAt(
  2136. UINT32 index,
  2137. IXpsOMFontResource **value) = 0;
  2138. virtual HRESULT STDMETHODCALLTYPE SetAt(
  2139. UINT32 index,
  2140. IXpsOMFontResource *value) = 0;
  2141. virtual HRESULT STDMETHODCALLTYPE InsertAt(
  2142. UINT32 index,
  2143. IXpsOMFontResource *value) = 0;
  2144. virtual HRESULT STDMETHODCALLTYPE Append(
  2145. IXpsOMFontResource *value) = 0;
  2146. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  2147. UINT32 index) = 0;
  2148. virtual HRESULT STDMETHODCALLTYPE GetByPartName(
  2149. IOpcPartUri *partName,
  2150. IXpsOMFontResource **part) = 0;
  2151. };
  2152. #ifdef __CRT_UUID_DECL
  2153. __CRT_UUID_DECL(IXpsOMFontResourceCollection, 0x70b4a6bb, 0x88d4, 0x4fa8, 0xaa,0xf9, 0x6d,0x9c,0x59,0x6f,0xdb,0xad)
  2154. #endif
  2155. #else
  2156. typedef struct IXpsOMFontResourceCollectionVtbl {
  2157. BEGIN_INTERFACE
  2158. /*** IUnknown methods ***/
  2159. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2160. IXpsOMFontResourceCollection *This,
  2161. REFIID riid,
  2162. void **ppvObject);
  2163. ULONG (STDMETHODCALLTYPE *AddRef)(
  2164. IXpsOMFontResourceCollection *This);
  2165. ULONG (STDMETHODCALLTYPE *Release)(
  2166. IXpsOMFontResourceCollection *This);
  2167. /*** IXpsOMFontResourceCollection methods ***/
  2168. HRESULT (STDMETHODCALLTYPE *GetCount)(
  2169. IXpsOMFontResourceCollection *This,
  2170. UINT32 *count);
  2171. HRESULT (STDMETHODCALLTYPE *GetAt)(
  2172. IXpsOMFontResourceCollection *This,
  2173. UINT32 index,
  2174. IXpsOMFontResource **value);
  2175. HRESULT (STDMETHODCALLTYPE *SetAt)(
  2176. IXpsOMFontResourceCollection *This,
  2177. UINT32 index,
  2178. IXpsOMFontResource *value);
  2179. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  2180. IXpsOMFontResourceCollection *This,
  2181. UINT32 index,
  2182. IXpsOMFontResource *value);
  2183. HRESULT (STDMETHODCALLTYPE *Append)(
  2184. IXpsOMFontResourceCollection *This,
  2185. IXpsOMFontResource *value);
  2186. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  2187. IXpsOMFontResourceCollection *This,
  2188. UINT32 index);
  2189. HRESULT (STDMETHODCALLTYPE *GetByPartName)(
  2190. IXpsOMFontResourceCollection *This,
  2191. IOpcPartUri *partName,
  2192. IXpsOMFontResource **part);
  2193. END_INTERFACE
  2194. } IXpsOMFontResourceCollectionVtbl;
  2195. interface IXpsOMFontResourceCollection {
  2196. CONST_VTBL IXpsOMFontResourceCollectionVtbl* lpVtbl;
  2197. };
  2198. #ifdef COBJMACROS
  2199. #ifndef WIDL_C_INLINE_WRAPPERS
  2200. /*** IUnknown methods ***/
  2201. #define IXpsOMFontResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2202. #define IXpsOMFontResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  2203. #define IXpsOMFontResourceCollection_Release(This) (This)->lpVtbl->Release(This)
  2204. /*** IXpsOMFontResourceCollection methods ***/
  2205. #define IXpsOMFontResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  2206. #define IXpsOMFontResourceCollection_GetAt(This,index,value) (This)->lpVtbl->GetAt(This,index,value)
  2207. #define IXpsOMFontResourceCollection_SetAt(This,index,value) (This)->lpVtbl->SetAt(This,index,value)
  2208. #define IXpsOMFontResourceCollection_InsertAt(This,index,value) (This)->lpVtbl->InsertAt(This,index,value)
  2209. #define IXpsOMFontResourceCollection_Append(This,value) (This)->lpVtbl->Append(This,value)
  2210. #define IXpsOMFontResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  2211. #define IXpsOMFontResourceCollection_GetByPartName(This,partName,part) (This)->lpVtbl->GetByPartName(This,partName,part)
  2212. #else
  2213. /*** IUnknown methods ***/
  2214. static FORCEINLINE HRESULT IXpsOMFontResourceCollection_QueryInterface(IXpsOMFontResourceCollection* This,REFIID riid,void **ppvObject) {
  2215. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2216. }
  2217. static FORCEINLINE ULONG IXpsOMFontResourceCollection_AddRef(IXpsOMFontResourceCollection* This) {
  2218. return This->lpVtbl->AddRef(This);
  2219. }
  2220. static FORCEINLINE ULONG IXpsOMFontResourceCollection_Release(IXpsOMFontResourceCollection* This) {
  2221. return This->lpVtbl->Release(This);
  2222. }
  2223. /*** IXpsOMFontResourceCollection methods ***/
  2224. static FORCEINLINE HRESULT IXpsOMFontResourceCollection_GetCount(IXpsOMFontResourceCollection* This,UINT32 *count) {
  2225. return This->lpVtbl->GetCount(This,count);
  2226. }
  2227. static FORCEINLINE HRESULT IXpsOMFontResourceCollection_GetAt(IXpsOMFontResourceCollection* This,UINT32 index,IXpsOMFontResource **value) {
  2228. return This->lpVtbl->GetAt(This,index,value);
  2229. }
  2230. static FORCEINLINE HRESULT IXpsOMFontResourceCollection_SetAt(IXpsOMFontResourceCollection* This,UINT32 index,IXpsOMFontResource *value) {
  2231. return This->lpVtbl->SetAt(This,index,value);
  2232. }
  2233. static FORCEINLINE HRESULT IXpsOMFontResourceCollection_InsertAt(IXpsOMFontResourceCollection* This,UINT32 index,IXpsOMFontResource *value) {
  2234. return This->lpVtbl->InsertAt(This,index,value);
  2235. }
  2236. static FORCEINLINE HRESULT IXpsOMFontResourceCollection_Append(IXpsOMFontResourceCollection* This,IXpsOMFontResource *value) {
  2237. return This->lpVtbl->Append(This,value);
  2238. }
  2239. static FORCEINLINE HRESULT IXpsOMFontResourceCollection_RemoveAt(IXpsOMFontResourceCollection* This,UINT32 index) {
  2240. return This->lpVtbl->RemoveAt(This,index);
  2241. }
  2242. static FORCEINLINE HRESULT IXpsOMFontResourceCollection_GetByPartName(IXpsOMFontResourceCollection* This,IOpcPartUri *partName,IXpsOMFontResource **part) {
  2243. return This->lpVtbl->GetByPartName(This,partName,part);
  2244. }
  2245. #endif
  2246. #endif
  2247. #endif
  2248. #endif /* __IXpsOMFontResourceCollection_INTERFACE_DEFINED__ */
  2249. /*****************************************************************************
  2250. * IXpsOMImageResourceCollection interface
  2251. */
  2252. #ifndef __IXpsOMImageResourceCollection_INTERFACE_DEFINED__
  2253. #define __IXpsOMImageResourceCollection_INTERFACE_DEFINED__
  2254. DEFINE_GUID(IID_IXpsOMImageResourceCollection, 0x7a4a1a71, 0x9cde, 0x4b71, 0xb3,0x3f, 0x62,0xde,0x84,0x3e,0xab,0xfe);
  2255. #if defined(__cplusplus) && !defined(CINTERFACE)
  2256. MIDL_INTERFACE("7a4a1a71-9cde-4b71-b33f-62de843eabfe")
  2257. IXpsOMImageResourceCollection : public IUnknown
  2258. {
  2259. virtual HRESULT STDMETHODCALLTYPE GetCount(
  2260. UINT32 *count) = 0;
  2261. virtual HRESULT STDMETHODCALLTYPE GetAt(
  2262. UINT32 index,
  2263. IXpsOMImageResource **object) = 0;
  2264. virtual HRESULT STDMETHODCALLTYPE InsertAt(
  2265. UINT32 index,
  2266. IXpsOMImageResource *object) = 0;
  2267. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  2268. UINT32 index) = 0;
  2269. virtual HRESULT STDMETHODCALLTYPE SetAt(
  2270. UINT32 index,
  2271. IXpsOMImageResource *object) = 0;
  2272. virtual HRESULT STDMETHODCALLTYPE Append(
  2273. IXpsOMImageResource *object) = 0;
  2274. virtual HRESULT STDMETHODCALLTYPE GetByPartName(
  2275. IOpcPartUri *partName,
  2276. IXpsOMImageResource **part) = 0;
  2277. };
  2278. #ifdef __CRT_UUID_DECL
  2279. __CRT_UUID_DECL(IXpsOMImageResourceCollection, 0x7a4a1a71, 0x9cde, 0x4b71, 0xb3,0x3f, 0x62,0xde,0x84,0x3e,0xab,0xfe)
  2280. #endif
  2281. #else
  2282. typedef struct IXpsOMImageResourceCollectionVtbl {
  2283. BEGIN_INTERFACE
  2284. /*** IUnknown methods ***/
  2285. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2286. IXpsOMImageResourceCollection *This,
  2287. REFIID riid,
  2288. void **ppvObject);
  2289. ULONG (STDMETHODCALLTYPE *AddRef)(
  2290. IXpsOMImageResourceCollection *This);
  2291. ULONG (STDMETHODCALLTYPE *Release)(
  2292. IXpsOMImageResourceCollection *This);
  2293. /*** IXpsOMImageResourceCollection methods ***/
  2294. HRESULT (STDMETHODCALLTYPE *GetCount)(
  2295. IXpsOMImageResourceCollection *This,
  2296. UINT32 *count);
  2297. HRESULT (STDMETHODCALLTYPE *GetAt)(
  2298. IXpsOMImageResourceCollection *This,
  2299. UINT32 index,
  2300. IXpsOMImageResource **object);
  2301. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  2302. IXpsOMImageResourceCollection *This,
  2303. UINT32 index,
  2304. IXpsOMImageResource *object);
  2305. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  2306. IXpsOMImageResourceCollection *This,
  2307. UINT32 index);
  2308. HRESULT (STDMETHODCALLTYPE *SetAt)(
  2309. IXpsOMImageResourceCollection *This,
  2310. UINT32 index,
  2311. IXpsOMImageResource *object);
  2312. HRESULT (STDMETHODCALLTYPE *Append)(
  2313. IXpsOMImageResourceCollection *This,
  2314. IXpsOMImageResource *object);
  2315. HRESULT (STDMETHODCALLTYPE *GetByPartName)(
  2316. IXpsOMImageResourceCollection *This,
  2317. IOpcPartUri *partName,
  2318. IXpsOMImageResource **part);
  2319. END_INTERFACE
  2320. } IXpsOMImageResourceCollectionVtbl;
  2321. interface IXpsOMImageResourceCollection {
  2322. CONST_VTBL IXpsOMImageResourceCollectionVtbl* lpVtbl;
  2323. };
  2324. #ifdef COBJMACROS
  2325. #ifndef WIDL_C_INLINE_WRAPPERS
  2326. /*** IUnknown methods ***/
  2327. #define IXpsOMImageResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2328. #define IXpsOMImageResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  2329. #define IXpsOMImageResourceCollection_Release(This) (This)->lpVtbl->Release(This)
  2330. /*** IXpsOMImageResourceCollection methods ***/
  2331. #define IXpsOMImageResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  2332. #define IXpsOMImageResourceCollection_GetAt(This,index,object) (This)->lpVtbl->GetAt(This,index,object)
  2333. #define IXpsOMImageResourceCollection_InsertAt(This,index,object) (This)->lpVtbl->InsertAt(This,index,object)
  2334. #define IXpsOMImageResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  2335. #define IXpsOMImageResourceCollection_SetAt(This,index,object) (This)->lpVtbl->SetAt(This,index,object)
  2336. #define IXpsOMImageResourceCollection_Append(This,object) (This)->lpVtbl->Append(This,object)
  2337. #define IXpsOMImageResourceCollection_GetByPartName(This,partName,part) (This)->lpVtbl->GetByPartName(This,partName,part)
  2338. #else
  2339. /*** IUnknown methods ***/
  2340. static FORCEINLINE HRESULT IXpsOMImageResourceCollection_QueryInterface(IXpsOMImageResourceCollection* This,REFIID riid,void **ppvObject) {
  2341. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2342. }
  2343. static FORCEINLINE ULONG IXpsOMImageResourceCollection_AddRef(IXpsOMImageResourceCollection* This) {
  2344. return This->lpVtbl->AddRef(This);
  2345. }
  2346. static FORCEINLINE ULONG IXpsOMImageResourceCollection_Release(IXpsOMImageResourceCollection* This) {
  2347. return This->lpVtbl->Release(This);
  2348. }
  2349. /*** IXpsOMImageResourceCollection methods ***/
  2350. static FORCEINLINE HRESULT IXpsOMImageResourceCollection_GetCount(IXpsOMImageResourceCollection* This,UINT32 *count) {
  2351. return This->lpVtbl->GetCount(This,count);
  2352. }
  2353. static FORCEINLINE HRESULT IXpsOMImageResourceCollection_GetAt(IXpsOMImageResourceCollection* This,UINT32 index,IXpsOMImageResource **object) {
  2354. return This->lpVtbl->GetAt(This,index,object);
  2355. }
  2356. static FORCEINLINE HRESULT IXpsOMImageResourceCollection_InsertAt(IXpsOMImageResourceCollection* This,UINT32 index,IXpsOMImageResource *object) {
  2357. return This->lpVtbl->InsertAt(This,index,object);
  2358. }
  2359. static FORCEINLINE HRESULT IXpsOMImageResourceCollection_RemoveAt(IXpsOMImageResourceCollection* This,UINT32 index) {
  2360. return This->lpVtbl->RemoveAt(This,index);
  2361. }
  2362. static FORCEINLINE HRESULT IXpsOMImageResourceCollection_SetAt(IXpsOMImageResourceCollection* This,UINT32 index,IXpsOMImageResource *object) {
  2363. return This->lpVtbl->SetAt(This,index,object);
  2364. }
  2365. static FORCEINLINE HRESULT IXpsOMImageResourceCollection_Append(IXpsOMImageResourceCollection* This,IXpsOMImageResource *object) {
  2366. return This->lpVtbl->Append(This,object);
  2367. }
  2368. static FORCEINLINE HRESULT IXpsOMImageResourceCollection_GetByPartName(IXpsOMImageResourceCollection* This,IOpcPartUri *partName,IXpsOMImageResource **part) {
  2369. return This->lpVtbl->GetByPartName(This,partName,part);
  2370. }
  2371. #endif
  2372. #endif
  2373. #endif
  2374. #endif /* __IXpsOMImageResourceCollection_INTERFACE_DEFINED__ */
  2375. /*****************************************************************************
  2376. * IXpsOMColorProfileResourceCollection interface
  2377. */
  2378. #ifndef __IXpsOMColorProfileResourceCollection_INTERFACE_DEFINED__
  2379. #define __IXpsOMColorProfileResourceCollection_INTERFACE_DEFINED__
  2380. DEFINE_GUID(IID_IXpsOMColorProfileResourceCollection, 0x12759630, 0x5fba, 0x4283, 0x8f,0x7d, 0xcc,0xa8,0x49,0x80,0x9e,0xdb);
  2381. #if defined(__cplusplus) && !defined(CINTERFACE)
  2382. MIDL_INTERFACE("12759630-5fba-4283-8f7d-cca849809edb")
  2383. IXpsOMColorProfileResourceCollection : public IUnknown
  2384. {
  2385. virtual HRESULT STDMETHODCALLTYPE GetCount(
  2386. UINT32 *count) = 0;
  2387. virtual HRESULT STDMETHODCALLTYPE GetAt(
  2388. UINT32 index,
  2389. IXpsOMColorProfileResource **object) = 0;
  2390. virtual HRESULT STDMETHODCALLTYPE InsertAt(
  2391. UINT32 index,
  2392. IXpsOMColorProfileResource *object) = 0;
  2393. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  2394. UINT32 index) = 0;
  2395. virtual HRESULT STDMETHODCALLTYPE SetAt(
  2396. UINT32 index,
  2397. IXpsOMColorProfileResource *object) = 0;
  2398. virtual HRESULT STDMETHODCALLTYPE Append(
  2399. IXpsOMColorProfileResource *object) = 0;
  2400. virtual HRESULT STDMETHODCALLTYPE GetByPartName(
  2401. IOpcPartUri *partName,
  2402. IXpsOMColorProfileResource **part) = 0;
  2403. };
  2404. #ifdef __CRT_UUID_DECL
  2405. __CRT_UUID_DECL(IXpsOMColorProfileResourceCollection, 0x12759630, 0x5fba, 0x4283, 0x8f,0x7d, 0xcc,0xa8,0x49,0x80,0x9e,0xdb)
  2406. #endif
  2407. #else
  2408. typedef struct IXpsOMColorProfileResourceCollectionVtbl {
  2409. BEGIN_INTERFACE
  2410. /*** IUnknown methods ***/
  2411. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2412. IXpsOMColorProfileResourceCollection *This,
  2413. REFIID riid,
  2414. void **ppvObject);
  2415. ULONG (STDMETHODCALLTYPE *AddRef)(
  2416. IXpsOMColorProfileResourceCollection *This);
  2417. ULONG (STDMETHODCALLTYPE *Release)(
  2418. IXpsOMColorProfileResourceCollection *This);
  2419. /*** IXpsOMColorProfileResourceCollection methods ***/
  2420. HRESULT (STDMETHODCALLTYPE *GetCount)(
  2421. IXpsOMColorProfileResourceCollection *This,
  2422. UINT32 *count);
  2423. HRESULT (STDMETHODCALLTYPE *GetAt)(
  2424. IXpsOMColorProfileResourceCollection *This,
  2425. UINT32 index,
  2426. IXpsOMColorProfileResource **object);
  2427. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  2428. IXpsOMColorProfileResourceCollection *This,
  2429. UINT32 index,
  2430. IXpsOMColorProfileResource *object);
  2431. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  2432. IXpsOMColorProfileResourceCollection *This,
  2433. UINT32 index);
  2434. HRESULT (STDMETHODCALLTYPE *SetAt)(
  2435. IXpsOMColorProfileResourceCollection *This,
  2436. UINT32 index,
  2437. IXpsOMColorProfileResource *object);
  2438. HRESULT (STDMETHODCALLTYPE *Append)(
  2439. IXpsOMColorProfileResourceCollection *This,
  2440. IXpsOMColorProfileResource *object);
  2441. HRESULT (STDMETHODCALLTYPE *GetByPartName)(
  2442. IXpsOMColorProfileResourceCollection *This,
  2443. IOpcPartUri *partName,
  2444. IXpsOMColorProfileResource **part);
  2445. END_INTERFACE
  2446. } IXpsOMColorProfileResourceCollectionVtbl;
  2447. interface IXpsOMColorProfileResourceCollection {
  2448. CONST_VTBL IXpsOMColorProfileResourceCollectionVtbl* lpVtbl;
  2449. };
  2450. #ifdef COBJMACROS
  2451. #ifndef WIDL_C_INLINE_WRAPPERS
  2452. /*** IUnknown methods ***/
  2453. #define IXpsOMColorProfileResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2454. #define IXpsOMColorProfileResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  2455. #define IXpsOMColorProfileResourceCollection_Release(This) (This)->lpVtbl->Release(This)
  2456. /*** IXpsOMColorProfileResourceCollection methods ***/
  2457. #define IXpsOMColorProfileResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  2458. #define IXpsOMColorProfileResourceCollection_GetAt(This,index,object) (This)->lpVtbl->GetAt(This,index,object)
  2459. #define IXpsOMColorProfileResourceCollection_InsertAt(This,index,object) (This)->lpVtbl->InsertAt(This,index,object)
  2460. #define IXpsOMColorProfileResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  2461. #define IXpsOMColorProfileResourceCollection_SetAt(This,index,object) (This)->lpVtbl->SetAt(This,index,object)
  2462. #define IXpsOMColorProfileResourceCollection_Append(This,object) (This)->lpVtbl->Append(This,object)
  2463. #define IXpsOMColorProfileResourceCollection_GetByPartName(This,partName,part) (This)->lpVtbl->GetByPartName(This,partName,part)
  2464. #else
  2465. /*** IUnknown methods ***/
  2466. static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_QueryInterface(IXpsOMColorProfileResourceCollection* This,REFIID riid,void **ppvObject) {
  2467. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2468. }
  2469. static FORCEINLINE ULONG IXpsOMColorProfileResourceCollection_AddRef(IXpsOMColorProfileResourceCollection* This) {
  2470. return This->lpVtbl->AddRef(This);
  2471. }
  2472. static FORCEINLINE ULONG IXpsOMColorProfileResourceCollection_Release(IXpsOMColorProfileResourceCollection* This) {
  2473. return This->lpVtbl->Release(This);
  2474. }
  2475. /*** IXpsOMColorProfileResourceCollection methods ***/
  2476. static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_GetCount(IXpsOMColorProfileResourceCollection* This,UINT32 *count) {
  2477. return This->lpVtbl->GetCount(This,count);
  2478. }
  2479. static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_GetAt(IXpsOMColorProfileResourceCollection* This,UINT32 index,IXpsOMColorProfileResource **object) {
  2480. return This->lpVtbl->GetAt(This,index,object);
  2481. }
  2482. static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_InsertAt(IXpsOMColorProfileResourceCollection* This,UINT32 index,IXpsOMColorProfileResource *object) {
  2483. return This->lpVtbl->InsertAt(This,index,object);
  2484. }
  2485. static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_RemoveAt(IXpsOMColorProfileResourceCollection* This,UINT32 index) {
  2486. return This->lpVtbl->RemoveAt(This,index);
  2487. }
  2488. static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_SetAt(IXpsOMColorProfileResourceCollection* This,UINT32 index,IXpsOMColorProfileResource *object) {
  2489. return This->lpVtbl->SetAt(This,index,object);
  2490. }
  2491. static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_Append(IXpsOMColorProfileResourceCollection* This,IXpsOMColorProfileResource *object) {
  2492. return This->lpVtbl->Append(This,object);
  2493. }
  2494. static FORCEINLINE HRESULT IXpsOMColorProfileResourceCollection_GetByPartName(IXpsOMColorProfileResourceCollection* This,IOpcPartUri *partName,IXpsOMColorProfileResource **part) {
  2495. return This->lpVtbl->GetByPartName(This,partName,part);
  2496. }
  2497. #endif
  2498. #endif
  2499. #endif
  2500. #endif /* __IXpsOMColorProfileResourceCollection_INTERFACE_DEFINED__ */
  2501. /*****************************************************************************
  2502. * IXpsOMRemoteDictionaryResourceCollection interface
  2503. */
  2504. #ifndef __IXpsOMRemoteDictionaryResourceCollection_INTERFACE_DEFINED__
  2505. #define __IXpsOMRemoteDictionaryResourceCollection_INTERFACE_DEFINED__
  2506. DEFINE_GUID(IID_IXpsOMRemoteDictionaryResourceCollection, 0x5c38db61, 0x7fec, 0x464a, 0x87,0xbd, 0x41,0xe3,0xbe,0xf0,0x18,0xbe);
  2507. #if defined(__cplusplus) && !defined(CINTERFACE)
  2508. MIDL_INTERFACE("5c38db61-7fec-464a-87bd-41e3bef018be")
  2509. IXpsOMRemoteDictionaryResourceCollection : public IUnknown
  2510. {
  2511. virtual HRESULT STDMETHODCALLTYPE GetCount(
  2512. UINT32 *count) = 0;
  2513. virtual HRESULT STDMETHODCALLTYPE GetAt(
  2514. UINT32 index,
  2515. IXpsOMRemoteDictionaryResource **object) = 0;
  2516. virtual HRESULT STDMETHODCALLTYPE InsertAt(
  2517. UINT32 index,
  2518. IXpsOMRemoteDictionaryResource *object) = 0;
  2519. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  2520. UINT32 index) = 0;
  2521. virtual HRESULT STDMETHODCALLTYPE SetAt(
  2522. UINT32 index,
  2523. IXpsOMRemoteDictionaryResource *object) = 0;
  2524. virtual HRESULT STDMETHODCALLTYPE Append(
  2525. IXpsOMRemoteDictionaryResource *object) = 0;
  2526. virtual HRESULT STDMETHODCALLTYPE GetByPartName(
  2527. IOpcPartUri *partName,
  2528. IXpsOMRemoteDictionaryResource **remoteDictionaryResource) = 0;
  2529. };
  2530. #ifdef __CRT_UUID_DECL
  2531. __CRT_UUID_DECL(IXpsOMRemoteDictionaryResourceCollection, 0x5c38db61, 0x7fec, 0x464a, 0x87,0xbd, 0x41,0xe3,0xbe,0xf0,0x18,0xbe)
  2532. #endif
  2533. #else
  2534. typedef struct IXpsOMRemoteDictionaryResourceCollectionVtbl {
  2535. BEGIN_INTERFACE
  2536. /*** IUnknown methods ***/
  2537. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2538. IXpsOMRemoteDictionaryResourceCollection *This,
  2539. REFIID riid,
  2540. void **ppvObject);
  2541. ULONG (STDMETHODCALLTYPE *AddRef)(
  2542. IXpsOMRemoteDictionaryResourceCollection *This);
  2543. ULONG (STDMETHODCALLTYPE *Release)(
  2544. IXpsOMRemoteDictionaryResourceCollection *This);
  2545. /*** IXpsOMRemoteDictionaryResourceCollection methods ***/
  2546. HRESULT (STDMETHODCALLTYPE *GetCount)(
  2547. IXpsOMRemoteDictionaryResourceCollection *This,
  2548. UINT32 *count);
  2549. HRESULT (STDMETHODCALLTYPE *GetAt)(
  2550. IXpsOMRemoteDictionaryResourceCollection *This,
  2551. UINT32 index,
  2552. IXpsOMRemoteDictionaryResource **object);
  2553. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  2554. IXpsOMRemoteDictionaryResourceCollection *This,
  2555. UINT32 index,
  2556. IXpsOMRemoteDictionaryResource *object);
  2557. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  2558. IXpsOMRemoteDictionaryResourceCollection *This,
  2559. UINT32 index);
  2560. HRESULT (STDMETHODCALLTYPE *SetAt)(
  2561. IXpsOMRemoteDictionaryResourceCollection *This,
  2562. UINT32 index,
  2563. IXpsOMRemoteDictionaryResource *object);
  2564. HRESULT (STDMETHODCALLTYPE *Append)(
  2565. IXpsOMRemoteDictionaryResourceCollection *This,
  2566. IXpsOMRemoteDictionaryResource *object);
  2567. HRESULT (STDMETHODCALLTYPE *GetByPartName)(
  2568. IXpsOMRemoteDictionaryResourceCollection *This,
  2569. IOpcPartUri *partName,
  2570. IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
  2571. END_INTERFACE
  2572. } IXpsOMRemoteDictionaryResourceCollectionVtbl;
  2573. interface IXpsOMRemoteDictionaryResourceCollection {
  2574. CONST_VTBL IXpsOMRemoteDictionaryResourceCollectionVtbl* lpVtbl;
  2575. };
  2576. #ifdef COBJMACROS
  2577. #ifndef WIDL_C_INLINE_WRAPPERS
  2578. /*** IUnknown methods ***/
  2579. #define IXpsOMRemoteDictionaryResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2580. #define IXpsOMRemoteDictionaryResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  2581. #define IXpsOMRemoteDictionaryResourceCollection_Release(This) (This)->lpVtbl->Release(This)
  2582. /*** IXpsOMRemoteDictionaryResourceCollection methods ***/
  2583. #define IXpsOMRemoteDictionaryResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  2584. #define IXpsOMRemoteDictionaryResourceCollection_GetAt(This,index,object) (This)->lpVtbl->GetAt(This,index,object)
  2585. #define IXpsOMRemoteDictionaryResourceCollection_InsertAt(This,index,object) (This)->lpVtbl->InsertAt(This,index,object)
  2586. #define IXpsOMRemoteDictionaryResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  2587. #define IXpsOMRemoteDictionaryResourceCollection_SetAt(This,index,object) (This)->lpVtbl->SetAt(This,index,object)
  2588. #define IXpsOMRemoteDictionaryResourceCollection_Append(This,object) (This)->lpVtbl->Append(This,object)
  2589. #define IXpsOMRemoteDictionaryResourceCollection_GetByPartName(This,partName,remoteDictionaryResource) (This)->lpVtbl->GetByPartName(This,partName,remoteDictionaryResource)
  2590. #else
  2591. /*** IUnknown methods ***/
  2592. static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_QueryInterface(IXpsOMRemoteDictionaryResourceCollection* This,REFIID riid,void **ppvObject) {
  2593. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2594. }
  2595. static FORCEINLINE ULONG IXpsOMRemoteDictionaryResourceCollection_AddRef(IXpsOMRemoteDictionaryResourceCollection* This) {
  2596. return This->lpVtbl->AddRef(This);
  2597. }
  2598. static FORCEINLINE ULONG IXpsOMRemoteDictionaryResourceCollection_Release(IXpsOMRemoteDictionaryResourceCollection* This) {
  2599. return This->lpVtbl->Release(This);
  2600. }
  2601. /*** IXpsOMRemoteDictionaryResourceCollection methods ***/
  2602. static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_GetCount(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 *count) {
  2603. return This->lpVtbl->GetCount(This,count);
  2604. }
  2605. static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_GetAt(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 index,IXpsOMRemoteDictionaryResource **object) {
  2606. return This->lpVtbl->GetAt(This,index,object);
  2607. }
  2608. static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_InsertAt(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 index,IXpsOMRemoteDictionaryResource *object) {
  2609. return This->lpVtbl->InsertAt(This,index,object);
  2610. }
  2611. static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_RemoveAt(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 index) {
  2612. return This->lpVtbl->RemoveAt(This,index);
  2613. }
  2614. static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_SetAt(IXpsOMRemoteDictionaryResourceCollection* This,UINT32 index,IXpsOMRemoteDictionaryResource *object) {
  2615. return This->lpVtbl->SetAt(This,index,object);
  2616. }
  2617. static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_Append(IXpsOMRemoteDictionaryResourceCollection* This,IXpsOMRemoteDictionaryResource *object) {
  2618. return This->lpVtbl->Append(This,object);
  2619. }
  2620. static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResourceCollection_GetByPartName(IXpsOMRemoteDictionaryResourceCollection* This,IOpcPartUri *partName,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
  2621. return This->lpVtbl->GetByPartName(This,partName,remoteDictionaryResource);
  2622. }
  2623. #endif
  2624. #endif
  2625. #endif
  2626. #endif /* __IXpsOMRemoteDictionaryResourceCollection_INTERFACE_DEFINED__ */
  2627. /*****************************************************************************
  2628. * IXpsOMSignatureBlockResourceCollection interface
  2629. */
  2630. #ifndef __IXpsOMSignatureBlockResourceCollection_INTERFACE_DEFINED__
  2631. #define __IXpsOMSignatureBlockResourceCollection_INTERFACE_DEFINED__
  2632. DEFINE_GUID(IID_IXpsOMSignatureBlockResourceCollection, 0xab8f5d8e, 0x351b, 0x4d33, 0xaa,0xed, 0xfa,0x56,0xf0,0x02,0x29,0x31);
  2633. #if defined(__cplusplus) && !defined(CINTERFACE)
  2634. MIDL_INTERFACE("ab8f5d8e-351b-4d33-aaed-fa56f0022931")
  2635. IXpsOMSignatureBlockResourceCollection : public IUnknown
  2636. {
  2637. virtual HRESULT STDMETHODCALLTYPE GetCount(
  2638. UINT32 *count) = 0;
  2639. virtual HRESULT STDMETHODCALLTYPE GetAt(
  2640. UINT32 index,
  2641. IXpsOMSignatureBlockResource **signatureBlockResource) = 0;
  2642. virtual HRESULT STDMETHODCALLTYPE InsertAt(
  2643. UINT32 index,
  2644. IXpsOMSignatureBlockResource *signatureBlockResource) = 0;
  2645. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  2646. UINT32 index) = 0;
  2647. virtual HRESULT STDMETHODCALLTYPE SetAt(
  2648. UINT32 index,
  2649. IXpsOMSignatureBlockResource *signatureBlockResource) = 0;
  2650. virtual HRESULT STDMETHODCALLTYPE Append(
  2651. IXpsOMSignatureBlockResource *signatureBlockResource) = 0;
  2652. virtual HRESULT STDMETHODCALLTYPE GetByPartName(
  2653. IOpcPartUri *partName,
  2654. IXpsOMSignatureBlockResource **signatureBlockResource) = 0;
  2655. };
  2656. #ifdef __CRT_UUID_DECL
  2657. __CRT_UUID_DECL(IXpsOMSignatureBlockResourceCollection, 0xab8f5d8e, 0x351b, 0x4d33, 0xaa,0xed, 0xfa,0x56,0xf0,0x02,0x29,0x31)
  2658. #endif
  2659. #else
  2660. typedef struct IXpsOMSignatureBlockResourceCollectionVtbl {
  2661. BEGIN_INTERFACE
  2662. /*** IUnknown methods ***/
  2663. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2664. IXpsOMSignatureBlockResourceCollection *This,
  2665. REFIID riid,
  2666. void **ppvObject);
  2667. ULONG (STDMETHODCALLTYPE *AddRef)(
  2668. IXpsOMSignatureBlockResourceCollection *This);
  2669. ULONG (STDMETHODCALLTYPE *Release)(
  2670. IXpsOMSignatureBlockResourceCollection *This);
  2671. /*** IXpsOMSignatureBlockResourceCollection methods ***/
  2672. HRESULT (STDMETHODCALLTYPE *GetCount)(
  2673. IXpsOMSignatureBlockResourceCollection *This,
  2674. UINT32 *count);
  2675. HRESULT (STDMETHODCALLTYPE *GetAt)(
  2676. IXpsOMSignatureBlockResourceCollection *This,
  2677. UINT32 index,
  2678. IXpsOMSignatureBlockResource **signatureBlockResource);
  2679. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  2680. IXpsOMSignatureBlockResourceCollection *This,
  2681. UINT32 index,
  2682. IXpsOMSignatureBlockResource *signatureBlockResource);
  2683. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  2684. IXpsOMSignatureBlockResourceCollection *This,
  2685. UINT32 index);
  2686. HRESULT (STDMETHODCALLTYPE *SetAt)(
  2687. IXpsOMSignatureBlockResourceCollection *This,
  2688. UINT32 index,
  2689. IXpsOMSignatureBlockResource *signatureBlockResource);
  2690. HRESULT (STDMETHODCALLTYPE *Append)(
  2691. IXpsOMSignatureBlockResourceCollection *This,
  2692. IXpsOMSignatureBlockResource *signatureBlockResource);
  2693. HRESULT (STDMETHODCALLTYPE *GetByPartName)(
  2694. IXpsOMSignatureBlockResourceCollection *This,
  2695. IOpcPartUri *partName,
  2696. IXpsOMSignatureBlockResource **signatureBlockResource);
  2697. END_INTERFACE
  2698. } IXpsOMSignatureBlockResourceCollectionVtbl;
  2699. interface IXpsOMSignatureBlockResourceCollection {
  2700. CONST_VTBL IXpsOMSignatureBlockResourceCollectionVtbl* lpVtbl;
  2701. };
  2702. #ifdef COBJMACROS
  2703. #ifndef WIDL_C_INLINE_WRAPPERS
  2704. /*** IUnknown methods ***/
  2705. #define IXpsOMSignatureBlockResourceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2706. #define IXpsOMSignatureBlockResourceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  2707. #define IXpsOMSignatureBlockResourceCollection_Release(This) (This)->lpVtbl->Release(This)
  2708. /*** IXpsOMSignatureBlockResourceCollection methods ***/
  2709. #define IXpsOMSignatureBlockResourceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  2710. #define IXpsOMSignatureBlockResourceCollection_GetAt(This,index,signatureBlockResource) (This)->lpVtbl->GetAt(This,index,signatureBlockResource)
  2711. #define IXpsOMSignatureBlockResourceCollection_InsertAt(This,index,signatureBlockResource) (This)->lpVtbl->InsertAt(This,index,signatureBlockResource)
  2712. #define IXpsOMSignatureBlockResourceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  2713. #define IXpsOMSignatureBlockResourceCollection_SetAt(This,index,signatureBlockResource) (This)->lpVtbl->SetAt(This,index,signatureBlockResource)
  2714. #define IXpsOMSignatureBlockResourceCollection_Append(This,signatureBlockResource) (This)->lpVtbl->Append(This,signatureBlockResource)
  2715. #define IXpsOMSignatureBlockResourceCollection_GetByPartName(This,partName,signatureBlockResource) (This)->lpVtbl->GetByPartName(This,partName,signatureBlockResource)
  2716. #else
  2717. /*** IUnknown methods ***/
  2718. static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_QueryInterface(IXpsOMSignatureBlockResourceCollection* This,REFIID riid,void **ppvObject) {
  2719. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2720. }
  2721. static FORCEINLINE ULONG IXpsOMSignatureBlockResourceCollection_AddRef(IXpsOMSignatureBlockResourceCollection* This) {
  2722. return This->lpVtbl->AddRef(This);
  2723. }
  2724. static FORCEINLINE ULONG IXpsOMSignatureBlockResourceCollection_Release(IXpsOMSignatureBlockResourceCollection* This) {
  2725. return This->lpVtbl->Release(This);
  2726. }
  2727. /*** IXpsOMSignatureBlockResourceCollection methods ***/
  2728. static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_GetCount(IXpsOMSignatureBlockResourceCollection* This,UINT32 *count) {
  2729. return This->lpVtbl->GetCount(This,count);
  2730. }
  2731. static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_GetAt(IXpsOMSignatureBlockResourceCollection* This,UINT32 index,IXpsOMSignatureBlockResource **signatureBlockResource) {
  2732. return This->lpVtbl->GetAt(This,index,signatureBlockResource);
  2733. }
  2734. static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_InsertAt(IXpsOMSignatureBlockResourceCollection* This,UINT32 index,IXpsOMSignatureBlockResource *signatureBlockResource) {
  2735. return This->lpVtbl->InsertAt(This,index,signatureBlockResource);
  2736. }
  2737. static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_RemoveAt(IXpsOMSignatureBlockResourceCollection* This,UINT32 index) {
  2738. return This->lpVtbl->RemoveAt(This,index);
  2739. }
  2740. static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_SetAt(IXpsOMSignatureBlockResourceCollection* This,UINT32 index,IXpsOMSignatureBlockResource *signatureBlockResource) {
  2741. return This->lpVtbl->SetAt(This,index,signatureBlockResource);
  2742. }
  2743. static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_Append(IXpsOMSignatureBlockResourceCollection* This,IXpsOMSignatureBlockResource *signatureBlockResource) {
  2744. return This->lpVtbl->Append(This,signatureBlockResource);
  2745. }
  2746. static FORCEINLINE HRESULT IXpsOMSignatureBlockResourceCollection_GetByPartName(IXpsOMSignatureBlockResourceCollection* This,IOpcPartUri *partName,IXpsOMSignatureBlockResource **signatureBlockResource) {
  2747. return This->lpVtbl->GetByPartName(This,partName,signatureBlockResource);
  2748. }
  2749. #endif
  2750. #endif
  2751. #endif
  2752. #endif /* __IXpsOMSignatureBlockResourceCollection_INTERFACE_DEFINED__ */
  2753. /*****************************************************************************
  2754. * IXpsOMVisualCollection interface
  2755. */
  2756. #ifndef __IXpsOMVisualCollection_INTERFACE_DEFINED__
  2757. #define __IXpsOMVisualCollection_INTERFACE_DEFINED__
  2758. DEFINE_GUID(IID_IXpsOMVisualCollection, 0x94d8abde, 0xab91, 0x46a8, 0x82,0xb7, 0xf5,0xb0,0x5e,0xf0,0x1a,0x96);
  2759. #if defined(__cplusplus) && !defined(CINTERFACE)
  2760. MIDL_INTERFACE("94d8abde-ab91-46a8-82b7-f5b05ef01a96")
  2761. IXpsOMVisualCollection : public IUnknown
  2762. {
  2763. virtual HRESULT STDMETHODCALLTYPE GetCount(
  2764. UINT32 *count) = 0;
  2765. virtual HRESULT STDMETHODCALLTYPE GetAt(
  2766. UINT32 index,
  2767. IXpsOMVisual **object) = 0;
  2768. virtual HRESULT STDMETHODCALLTYPE InsertAt(
  2769. UINT32 index,
  2770. IXpsOMVisual *object) = 0;
  2771. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  2772. UINT32 index) = 0;
  2773. virtual HRESULT STDMETHODCALLTYPE SetAt(
  2774. UINT32 index,
  2775. IXpsOMVisual *object) = 0;
  2776. virtual HRESULT STDMETHODCALLTYPE Append(
  2777. IXpsOMVisual *object) = 0;
  2778. };
  2779. #ifdef __CRT_UUID_DECL
  2780. __CRT_UUID_DECL(IXpsOMVisualCollection, 0x94d8abde, 0xab91, 0x46a8, 0x82,0xb7, 0xf5,0xb0,0x5e,0xf0,0x1a,0x96)
  2781. #endif
  2782. #else
  2783. typedef struct IXpsOMVisualCollectionVtbl {
  2784. BEGIN_INTERFACE
  2785. /*** IUnknown methods ***/
  2786. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2787. IXpsOMVisualCollection *This,
  2788. REFIID riid,
  2789. void **ppvObject);
  2790. ULONG (STDMETHODCALLTYPE *AddRef)(
  2791. IXpsOMVisualCollection *This);
  2792. ULONG (STDMETHODCALLTYPE *Release)(
  2793. IXpsOMVisualCollection *This);
  2794. /*** IXpsOMVisualCollection methods ***/
  2795. HRESULT (STDMETHODCALLTYPE *GetCount)(
  2796. IXpsOMVisualCollection *This,
  2797. UINT32 *count);
  2798. HRESULT (STDMETHODCALLTYPE *GetAt)(
  2799. IXpsOMVisualCollection *This,
  2800. UINT32 index,
  2801. IXpsOMVisual **object);
  2802. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  2803. IXpsOMVisualCollection *This,
  2804. UINT32 index,
  2805. IXpsOMVisual *object);
  2806. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  2807. IXpsOMVisualCollection *This,
  2808. UINT32 index);
  2809. HRESULT (STDMETHODCALLTYPE *SetAt)(
  2810. IXpsOMVisualCollection *This,
  2811. UINT32 index,
  2812. IXpsOMVisual *object);
  2813. HRESULT (STDMETHODCALLTYPE *Append)(
  2814. IXpsOMVisualCollection *This,
  2815. IXpsOMVisual *object);
  2816. END_INTERFACE
  2817. } IXpsOMVisualCollectionVtbl;
  2818. interface IXpsOMVisualCollection {
  2819. CONST_VTBL IXpsOMVisualCollectionVtbl* lpVtbl;
  2820. };
  2821. #ifdef COBJMACROS
  2822. #ifndef WIDL_C_INLINE_WRAPPERS
  2823. /*** IUnknown methods ***/
  2824. #define IXpsOMVisualCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2825. #define IXpsOMVisualCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  2826. #define IXpsOMVisualCollection_Release(This) (This)->lpVtbl->Release(This)
  2827. /*** IXpsOMVisualCollection methods ***/
  2828. #define IXpsOMVisualCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  2829. #define IXpsOMVisualCollection_GetAt(This,index,object) (This)->lpVtbl->GetAt(This,index,object)
  2830. #define IXpsOMVisualCollection_InsertAt(This,index,object) (This)->lpVtbl->InsertAt(This,index,object)
  2831. #define IXpsOMVisualCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  2832. #define IXpsOMVisualCollection_SetAt(This,index,object) (This)->lpVtbl->SetAt(This,index,object)
  2833. #define IXpsOMVisualCollection_Append(This,object) (This)->lpVtbl->Append(This,object)
  2834. #else
  2835. /*** IUnknown methods ***/
  2836. static FORCEINLINE HRESULT IXpsOMVisualCollection_QueryInterface(IXpsOMVisualCollection* This,REFIID riid,void **ppvObject) {
  2837. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2838. }
  2839. static FORCEINLINE ULONG IXpsOMVisualCollection_AddRef(IXpsOMVisualCollection* This) {
  2840. return This->lpVtbl->AddRef(This);
  2841. }
  2842. static FORCEINLINE ULONG IXpsOMVisualCollection_Release(IXpsOMVisualCollection* This) {
  2843. return This->lpVtbl->Release(This);
  2844. }
  2845. /*** IXpsOMVisualCollection methods ***/
  2846. static FORCEINLINE HRESULT IXpsOMVisualCollection_GetCount(IXpsOMVisualCollection* This,UINT32 *count) {
  2847. return This->lpVtbl->GetCount(This,count);
  2848. }
  2849. static FORCEINLINE HRESULT IXpsOMVisualCollection_GetAt(IXpsOMVisualCollection* This,UINT32 index,IXpsOMVisual **object) {
  2850. return This->lpVtbl->GetAt(This,index,object);
  2851. }
  2852. static FORCEINLINE HRESULT IXpsOMVisualCollection_InsertAt(IXpsOMVisualCollection* This,UINT32 index,IXpsOMVisual *object) {
  2853. return This->lpVtbl->InsertAt(This,index,object);
  2854. }
  2855. static FORCEINLINE HRESULT IXpsOMVisualCollection_RemoveAt(IXpsOMVisualCollection* This,UINT32 index) {
  2856. return This->lpVtbl->RemoveAt(This,index);
  2857. }
  2858. static FORCEINLINE HRESULT IXpsOMVisualCollection_SetAt(IXpsOMVisualCollection* This,UINT32 index,IXpsOMVisual *object) {
  2859. return This->lpVtbl->SetAt(This,index,object);
  2860. }
  2861. static FORCEINLINE HRESULT IXpsOMVisualCollection_Append(IXpsOMVisualCollection* This,IXpsOMVisual *object) {
  2862. return This->lpVtbl->Append(This,object);
  2863. }
  2864. #endif
  2865. #endif
  2866. #endif
  2867. #endif /* __IXpsOMVisualCollection_INTERFACE_DEFINED__ */
  2868. /*****************************************************************************
  2869. * IXpsOMDictionary interface
  2870. */
  2871. #ifndef __IXpsOMDictionary_INTERFACE_DEFINED__
  2872. #define __IXpsOMDictionary_INTERFACE_DEFINED__
  2873. DEFINE_GUID(IID_IXpsOMDictionary, 0x897c86b8, 0x8eaf, 0x4ae3, 0xbd,0xde, 0x56,0x41,0x9f,0xcf,0x42,0x36);
  2874. #if defined(__cplusplus) && !defined(CINTERFACE)
  2875. MIDL_INTERFACE("897c86b8-8eaf-4ae3-bdde-56419fcf4236")
  2876. IXpsOMDictionary : public IUnknown
  2877. {
  2878. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  2879. IUnknown **owner) = 0;
  2880. virtual HRESULT STDMETHODCALLTYPE GetCount(
  2881. UINT32 *count) = 0;
  2882. virtual HRESULT STDMETHODCALLTYPE GetAt(
  2883. UINT32 index,
  2884. LPWSTR *key,
  2885. IXpsOMShareable **entry) = 0;
  2886. virtual HRESULT STDMETHODCALLTYPE GetByKey(
  2887. LPCWSTR key,
  2888. IXpsOMShareable *beforeEntry,
  2889. IXpsOMShareable **entry) = 0;
  2890. virtual HRESULT STDMETHODCALLTYPE GetIndex(
  2891. IXpsOMShareable *entry,
  2892. UINT32 *index) = 0;
  2893. virtual HRESULT STDMETHODCALLTYPE Append(
  2894. LPCWSTR key,
  2895. IXpsOMShareable *entry) = 0;
  2896. virtual HRESULT STDMETHODCALLTYPE InsertAt(
  2897. UINT32 index,
  2898. LPCWSTR key,
  2899. IXpsOMShareable *entry) = 0;
  2900. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  2901. UINT32 index) = 0;
  2902. virtual HRESULT STDMETHODCALLTYPE SetAt(
  2903. UINT32 index,
  2904. LPCWSTR key,
  2905. IXpsOMShareable *entry) = 0;
  2906. virtual HRESULT STDMETHODCALLTYPE Clone(
  2907. IXpsOMDictionary **dictionary) = 0;
  2908. };
  2909. #ifdef __CRT_UUID_DECL
  2910. __CRT_UUID_DECL(IXpsOMDictionary, 0x897c86b8, 0x8eaf, 0x4ae3, 0xbd,0xde, 0x56,0x41,0x9f,0xcf,0x42,0x36)
  2911. #endif
  2912. #else
  2913. typedef struct IXpsOMDictionaryVtbl {
  2914. BEGIN_INTERFACE
  2915. /*** IUnknown methods ***/
  2916. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  2917. IXpsOMDictionary *This,
  2918. REFIID riid,
  2919. void **ppvObject);
  2920. ULONG (STDMETHODCALLTYPE *AddRef)(
  2921. IXpsOMDictionary *This);
  2922. ULONG (STDMETHODCALLTYPE *Release)(
  2923. IXpsOMDictionary *This);
  2924. /*** IXpsOMDictionary methods ***/
  2925. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  2926. IXpsOMDictionary *This,
  2927. IUnknown **owner);
  2928. HRESULT (STDMETHODCALLTYPE *GetCount)(
  2929. IXpsOMDictionary *This,
  2930. UINT32 *count);
  2931. HRESULT (STDMETHODCALLTYPE *GetAt)(
  2932. IXpsOMDictionary *This,
  2933. UINT32 index,
  2934. LPWSTR *key,
  2935. IXpsOMShareable **entry);
  2936. HRESULT (STDMETHODCALLTYPE *GetByKey)(
  2937. IXpsOMDictionary *This,
  2938. LPCWSTR key,
  2939. IXpsOMShareable *beforeEntry,
  2940. IXpsOMShareable **entry);
  2941. HRESULT (STDMETHODCALLTYPE *GetIndex)(
  2942. IXpsOMDictionary *This,
  2943. IXpsOMShareable *entry,
  2944. UINT32 *index);
  2945. HRESULT (STDMETHODCALLTYPE *Append)(
  2946. IXpsOMDictionary *This,
  2947. LPCWSTR key,
  2948. IXpsOMShareable *entry);
  2949. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  2950. IXpsOMDictionary *This,
  2951. UINT32 index,
  2952. LPCWSTR key,
  2953. IXpsOMShareable *entry);
  2954. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  2955. IXpsOMDictionary *This,
  2956. UINT32 index);
  2957. HRESULT (STDMETHODCALLTYPE *SetAt)(
  2958. IXpsOMDictionary *This,
  2959. UINT32 index,
  2960. LPCWSTR key,
  2961. IXpsOMShareable *entry);
  2962. HRESULT (STDMETHODCALLTYPE *Clone)(
  2963. IXpsOMDictionary *This,
  2964. IXpsOMDictionary **dictionary);
  2965. END_INTERFACE
  2966. } IXpsOMDictionaryVtbl;
  2967. interface IXpsOMDictionary {
  2968. CONST_VTBL IXpsOMDictionaryVtbl* lpVtbl;
  2969. };
  2970. #ifdef COBJMACROS
  2971. #ifndef WIDL_C_INLINE_WRAPPERS
  2972. /*** IUnknown methods ***/
  2973. #define IXpsOMDictionary_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  2974. #define IXpsOMDictionary_AddRef(This) (This)->lpVtbl->AddRef(This)
  2975. #define IXpsOMDictionary_Release(This) (This)->lpVtbl->Release(This)
  2976. /*** IXpsOMDictionary methods ***/
  2977. #define IXpsOMDictionary_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  2978. #define IXpsOMDictionary_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  2979. #define IXpsOMDictionary_GetAt(This,index,key,entry) (This)->lpVtbl->GetAt(This,index,key,entry)
  2980. #define IXpsOMDictionary_GetByKey(This,key,beforeEntry,entry) (This)->lpVtbl->GetByKey(This,key,beforeEntry,entry)
  2981. #define IXpsOMDictionary_GetIndex(This,entry,index) (This)->lpVtbl->GetIndex(This,entry,index)
  2982. #define IXpsOMDictionary_Append(This,key,entry) (This)->lpVtbl->Append(This,key,entry)
  2983. #define IXpsOMDictionary_InsertAt(This,index,key,entry) (This)->lpVtbl->InsertAt(This,index,key,entry)
  2984. #define IXpsOMDictionary_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  2985. #define IXpsOMDictionary_SetAt(This,index,key,entry) (This)->lpVtbl->SetAt(This,index,key,entry)
  2986. #define IXpsOMDictionary_Clone(This,dictionary) (This)->lpVtbl->Clone(This,dictionary)
  2987. #else
  2988. /*** IUnknown methods ***/
  2989. static FORCEINLINE HRESULT IXpsOMDictionary_QueryInterface(IXpsOMDictionary* This,REFIID riid,void **ppvObject) {
  2990. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  2991. }
  2992. static FORCEINLINE ULONG IXpsOMDictionary_AddRef(IXpsOMDictionary* This) {
  2993. return This->lpVtbl->AddRef(This);
  2994. }
  2995. static FORCEINLINE ULONG IXpsOMDictionary_Release(IXpsOMDictionary* This) {
  2996. return This->lpVtbl->Release(This);
  2997. }
  2998. /*** IXpsOMDictionary methods ***/
  2999. static FORCEINLINE HRESULT IXpsOMDictionary_GetOwner(IXpsOMDictionary* This,IUnknown **owner) {
  3000. return This->lpVtbl->GetOwner(This,owner);
  3001. }
  3002. static FORCEINLINE HRESULT IXpsOMDictionary_GetCount(IXpsOMDictionary* This,UINT32 *count) {
  3003. return This->lpVtbl->GetCount(This,count);
  3004. }
  3005. static FORCEINLINE HRESULT IXpsOMDictionary_GetAt(IXpsOMDictionary* This,UINT32 index,LPWSTR *key,IXpsOMShareable **entry) {
  3006. return This->lpVtbl->GetAt(This,index,key,entry);
  3007. }
  3008. static FORCEINLINE HRESULT IXpsOMDictionary_GetByKey(IXpsOMDictionary* This,LPCWSTR key,IXpsOMShareable *beforeEntry,IXpsOMShareable **entry) {
  3009. return This->lpVtbl->GetByKey(This,key,beforeEntry,entry);
  3010. }
  3011. static FORCEINLINE HRESULT IXpsOMDictionary_GetIndex(IXpsOMDictionary* This,IXpsOMShareable *entry,UINT32 *index) {
  3012. return This->lpVtbl->GetIndex(This,entry,index);
  3013. }
  3014. static FORCEINLINE HRESULT IXpsOMDictionary_Append(IXpsOMDictionary* This,LPCWSTR key,IXpsOMShareable *entry) {
  3015. return This->lpVtbl->Append(This,key,entry);
  3016. }
  3017. static FORCEINLINE HRESULT IXpsOMDictionary_InsertAt(IXpsOMDictionary* This,UINT32 index,LPCWSTR key,IXpsOMShareable *entry) {
  3018. return This->lpVtbl->InsertAt(This,index,key,entry);
  3019. }
  3020. static FORCEINLINE HRESULT IXpsOMDictionary_RemoveAt(IXpsOMDictionary* This,UINT32 index) {
  3021. return This->lpVtbl->RemoveAt(This,index);
  3022. }
  3023. static FORCEINLINE HRESULT IXpsOMDictionary_SetAt(IXpsOMDictionary* This,UINT32 index,LPCWSTR key,IXpsOMShareable *entry) {
  3024. return This->lpVtbl->SetAt(This,index,key,entry);
  3025. }
  3026. static FORCEINLINE HRESULT IXpsOMDictionary_Clone(IXpsOMDictionary* This,IXpsOMDictionary **dictionary) {
  3027. return This->lpVtbl->Clone(This,dictionary);
  3028. }
  3029. #endif
  3030. #endif
  3031. #endif
  3032. #endif /* __IXpsOMDictionary_INTERFACE_DEFINED__ */
  3033. /*****************************************************************************
  3034. * IXpsOMPageReference interface
  3035. */
  3036. #ifndef __IXpsOMPageReference_INTERFACE_DEFINED__
  3037. #define __IXpsOMPageReference_INTERFACE_DEFINED__
  3038. DEFINE_GUID(IID_IXpsOMPageReference, 0xed360180, 0x6f92, 0x4998, 0x89,0x0d, 0x2f,0x20,0x85,0x31,0xa0,0xa0);
  3039. #if defined(__cplusplus) && !defined(CINTERFACE)
  3040. MIDL_INTERFACE("ed360180-6f92-4998-890d-2f208531a0a0")
  3041. IXpsOMPageReference : public IUnknown
  3042. {
  3043. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  3044. IXpsOMDocument **document) = 0;
  3045. virtual HRESULT STDMETHODCALLTYPE GetPage(
  3046. IXpsOMPage **page) = 0;
  3047. virtual HRESULT STDMETHODCALLTYPE SetPage(
  3048. IXpsOMPage *page) = 0;
  3049. virtual HRESULT STDMETHODCALLTYPE DiscardPage(
  3050. ) = 0;
  3051. virtual HRESULT STDMETHODCALLTYPE IsPageLoaded(
  3052. WINBOOL *isPageLoaded) = 0;
  3053. virtual HRESULT STDMETHODCALLTYPE GetAdvisoryPageDimensions(
  3054. XPS_SIZE *pageDimensions) = 0;
  3055. virtual HRESULT STDMETHODCALLTYPE SetAdvisoryPageDimensions(
  3056. const XPS_SIZE *pageDimensions) = 0;
  3057. virtual HRESULT STDMETHODCALLTYPE GetStoryFragmentsResource(
  3058. IXpsOMStoryFragmentsResource **storyFragmentsResource) = 0;
  3059. virtual HRESULT STDMETHODCALLTYPE SetStoryFragmentsResource(
  3060. IXpsOMStoryFragmentsResource *storyFragmentsResource) = 0;
  3061. virtual HRESULT STDMETHODCALLTYPE GetPrintTicketResource(
  3062. IXpsOMPrintTicketResource **printTicketResource) = 0;
  3063. virtual HRESULT STDMETHODCALLTYPE SetPrintTicketResource(
  3064. IXpsOMPrintTicketResource *printTicketResource) = 0;
  3065. virtual HRESULT STDMETHODCALLTYPE GetThumbnailResource(
  3066. IXpsOMImageResource **imageResource) = 0;
  3067. virtual HRESULT STDMETHODCALLTYPE SetThumbnailResource(
  3068. IXpsOMImageResource *imageResource) = 0;
  3069. virtual HRESULT STDMETHODCALLTYPE CollectLinkTargets(
  3070. IXpsOMNameCollection **linkTargets) = 0;
  3071. virtual HRESULT STDMETHODCALLTYPE CollectPartResources(
  3072. IXpsOMPartResources **partResources) = 0;
  3073. virtual HRESULT STDMETHODCALLTYPE HasRestrictedFonts(
  3074. WINBOOL *restrictedFonts) = 0;
  3075. virtual HRESULT STDMETHODCALLTYPE Clone(
  3076. IXpsOMPageReference **pageReference) = 0;
  3077. };
  3078. #ifdef __CRT_UUID_DECL
  3079. __CRT_UUID_DECL(IXpsOMPageReference, 0xed360180, 0x6f92, 0x4998, 0x89,0x0d, 0x2f,0x20,0x85,0x31,0xa0,0xa0)
  3080. #endif
  3081. #else
  3082. typedef struct IXpsOMPageReferenceVtbl {
  3083. BEGIN_INTERFACE
  3084. /*** IUnknown methods ***/
  3085. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3086. IXpsOMPageReference *This,
  3087. REFIID riid,
  3088. void **ppvObject);
  3089. ULONG (STDMETHODCALLTYPE *AddRef)(
  3090. IXpsOMPageReference *This);
  3091. ULONG (STDMETHODCALLTYPE *Release)(
  3092. IXpsOMPageReference *This);
  3093. /*** IXpsOMPageReference methods ***/
  3094. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  3095. IXpsOMPageReference *This,
  3096. IXpsOMDocument **document);
  3097. HRESULT (STDMETHODCALLTYPE *GetPage)(
  3098. IXpsOMPageReference *This,
  3099. IXpsOMPage **page);
  3100. HRESULT (STDMETHODCALLTYPE *SetPage)(
  3101. IXpsOMPageReference *This,
  3102. IXpsOMPage *page);
  3103. HRESULT (STDMETHODCALLTYPE *DiscardPage)(
  3104. IXpsOMPageReference *This);
  3105. HRESULT (STDMETHODCALLTYPE *IsPageLoaded)(
  3106. IXpsOMPageReference *This,
  3107. WINBOOL *isPageLoaded);
  3108. HRESULT (STDMETHODCALLTYPE *GetAdvisoryPageDimensions)(
  3109. IXpsOMPageReference *This,
  3110. XPS_SIZE *pageDimensions);
  3111. HRESULT (STDMETHODCALLTYPE *SetAdvisoryPageDimensions)(
  3112. IXpsOMPageReference *This,
  3113. const XPS_SIZE *pageDimensions);
  3114. HRESULT (STDMETHODCALLTYPE *GetStoryFragmentsResource)(
  3115. IXpsOMPageReference *This,
  3116. IXpsOMStoryFragmentsResource **storyFragmentsResource);
  3117. HRESULT (STDMETHODCALLTYPE *SetStoryFragmentsResource)(
  3118. IXpsOMPageReference *This,
  3119. IXpsOMStoryFragmentsResource *storyFragmentsResource);
  3120. HRESULT (STDMETHODCALLTYPE *GetPrintTicketResource)(
  3121. IXpsOMPageReference *This,
  3122. IXpsOMPrintTicketResource **printTicketResource);
  3123. HRESULT (STDMETHODCALLTYPE *SetPrintTicketResource)(
  3124. IXpsOMPageReference *This,
  3125. IXpsOMPrintTicketResource *printTicketResource);
  3126. HRESULT (STDMETHODCALLTYPE *GetThumbnailResource)(
  3127. IXpsOMPageReference *This,
  3128. IXpsOMImageResource **imageResource);
  3129. HRESULT (STDMETHODCALLTYPE *SetThumbnailResource)(
  3130. IXpsOMPageReference *This,
  3131. IXpsOMImageResource *imageResource);
  3132. HRESULT (STDMETHODCALLTYPE *CollectLinkTargets)(
  3133. IXpsOMPageReference *This,
  3134. IXpsOMNameCollection **linkTargets);
  3135. HRESULT (STDMETHODCALLTYPE *CollectPartResources)(
  3136. IXpsOMPageReference *This,
  3137. IXpsOMPartResources **partResources);
  3138. HRESULT (STDMETHODCALLTYPE *HasRestrictedFonts)(
  3139. IXpsOMPageReference *This,
  3140. WINBOOL *restrictedFonts);
  3141. HRESULT (STDMETHODCALLTYPE *Clone)(
  3142. IXpsOMPageReference *This,
  3143. IXpsOMPageReference **pageReference);
  3144. END_INTERFACE
  3145. } IXpsOMPageReferenceVtbl;
  3146. interface IXpsOMPageReference {
  3147. CONST_VTBL IXpsOMPageReferenceVtbl* lpVtbl;
  3148. };
  3149. #ifdef COBJMACROS
  3150. #ifndef WIDL_C_INLINE_WRAPPERS
  3151. /*** IUnknown methods ***/
  3152. #define IXpsOMPageReference_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3153. #define IXpsOMPageReference_AddRef(This) (This)->lpVtbl->AddRef(This)
  3154. #define IXpsOMPageReference_Release(This) (This)->lpVtbl->Release(This)
  3155. /*** IXpsOMPageReference methods ***/
  3156. #define IXpsOMPageReference_GetOwner(This,document) (This)->lpVtbl->GetOwner(This,document)
  3157. #define IXpsOMPageReference_GetPage(This,page) (This)->lpVtbl->GetPage(This,page)
  3158. #define IXpsOMPageReference_SetPage(This,page) (This)->lpVtbl->SetPage(This,page)
  3159. #define IXpsOMPageReference_DiscardPage(This) (This)->lpVtbl->DiscardPage(This)
  3160. #define IXpsOMPageReference_IsPageLoaded(This,isPageLoaded) (This)->lpVtbl->IsPageLoaded(This,isPageLoaded)
  3161. #define IXpsOMPageReference_GetAdvisoryPageDimensions(This,pageDimensions) (This)->lpVtbl->GetAdvisoryPageDimensions(This,pageDimensions)
  3162. #define IXpsOMPageReference_SetAdvisoryPageDimensions(This,pageDimensions) (This)->lpVtbl->SetAdvisoryPageDimensions(This,pageDimensions)
  3163. #define IXpsOMPageReference_GetStoryFragmentsResource(This,storyFragmentsResource) (This)->lpVtbl->GetStoryFragmentsResource(This,storyFragmentsResource)
  3164. #define IXpsOMPageReference_SetStoryFragmentsResource(This,storyFragmentsResource) (This)->lpVtbl->SetStoryFragmentsResource(This,storyFragmentsResource)
  3165. #define IXpsOMPageReference_GetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->GetPrintTicketResource(This,printTicketResource)
  3166. #define IXpsOMPageReference_SetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->SetPrintTicketResource(This,printTicketResource)
  3167. #define IXpsOMPageReference_GetThumbnailResource(This,imageResource) (This)->lpVtbl->GetThumbnailResource(This,imageResource)
  3168. #define IXpsOMPageReference_SetThumbnailResource(This,imageResource) (This)->lpVtbl->SetThumbnailResource(This,imageResource)
  3169. #define IXpsOMPageReference_CollectLinkTargets(This,linkTargets) (This)->lpVtbl->CollectLinkTargets(This,linkTargets)
  3170. #define IXpsOMPageReference_CollectPartResources(This,partResources) (This)->lpVtbl->CollectPartResources(This,partResources)
  3171. #define IXpsOMPageReference_HasRestrictedFonts(This,restrictedFonts) (This)->lpVtbl->HasRestrictedFonts(This,restrictedFonts)
  3172. #define IXpsOMPageReference_Clone(This,pageReference) (This)->lpVtbl->Clone(This,pageReference)
  3173. #else
  3174. /*** IUnknown methods ***/
  3175. static FORCEINLINE HRESULT IXpsOMPageReference_QueryInterface(IXpsOMPageReference* This,REFIID riid,void **ppvObject) {
  3176. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3177. }
  3178. static FORCEINLINE ULONG IXpsOMPageReference_AddRef(IXpsOMPageReference* This) {
  3179. return This->lpVtbl->AddRef(This);
  3180. }
  3181. static FORCEINLINE ULONG IXpsOMPageReference_Release(IXpsOMPageReference* This) {
  3182. return This->lpVtbl->Release(This);
  3183. }
  3184. /*** IXpsOMPageReference methods ***/
  3185. static FORCEINLINE HRESULT IXpsOMPageReference_GetOwner(IXpsOMPageReference* This,IXpsOMDocument **document) {
  3186. return This->lpVtbl->GetOwner(This,document);
  3187. }
  3188. static FORCEINLINE HRESULT IXpsOMPageReference_GetPage(IXpsOMPageReference* This,IXpsOMPage **page) {
  3189. return This->lpVtbl->GetPage(This,page);
  3190. }
  3191. static FORCEINLINE HRESULT IXpsOMPageReference_SetPage(IXpsOMPageReference* This,IXpsOMPage *page) {
  3192. return This->lpVtbl->SetPage(This,page);
  3193. }
  3194. static FORCEINLINE HRESULT IXpsOMPageReference_DiscardPage(IXpsOMPageReference* This) {
  3195. return This->lpVtbl->DiscardPage(This);
  3196. }
  3197. static FORCEINLINE HRESULT IXpsOMPageReference_IsPageLoaded(IXpsOMPageReference* This,WINBOOL *isPageLoaded) {
  3198. return This->lpVtbl->IsPageLoaded(This,isPageLoaded);
  3199. }
  3200. static FORCEINLINE HRESULT IXpsOMPageReference_GetAdvisoryPageDimensions(IXpsOMPageReference* This,XPS_SIZE *pageDimensions) {
  3201. return This->lpVtbl->GetAdvisoryPageDimensions(This,pageDimensions);
  3202. }
  3203. static FORCEINLINE HRESULT IXpsOMPageReference_SetAdvisoryPageDimensions(IXpsOMPageReference* This,const XPS_SIZE *pageDimensions) {
  3204. return This->lpVtbl->SetAdvisoryPageDimensions(This,pageDimensions);
  3205. }
  3206. static FORCEINLINE HRESULT IXpsOMPageReference_GetStoryFragmentsResource(IXpsOMPageReference* This,IXpsOMStoryFragmentsResource **storyFragmentsResource) {
  3207. return This->lpVtbl->GetStoryFragmentsResource(This,storyFragmentsResource);
  3208. }
  3209. static FORCEINLINE HRESULT IXpsOMPageReference_SetStoryFragmentsResource(IXpsOMPageReference* This,IXpsOMStoryFragmentsResource *storyFragmentsResource) {
  3210. return This->lpVtbl->SetStoryFragmentsResource(This,storyFragmentsResource);
  3211. }
  3212. static FORCEINLINE HRESULT IXpsOMPageReference_GetPrintTicketResource(IXpsOMPageReference* This,IXpsOMPrintTicketResource **printTicketResource) {
  3213. return This->lpVtbl->GetPrintTicketResource(This,printTicketResource);
  3214. }
  3215. static FORCEINLINE HRESULT IXpsOMPageReference_SetPrintTicketResource(IXpsOMPageReference* This,IXpsOMPrintTicketResource *printTicketResource) {
  3216. return This->lpVtbl->SetPrintTicketResource(This,printTicketResource);
  3217. }
  3218. static FORCEINLINE HRESULT IXpsOMPageReference_GetThumbnailResource(IXpsOMPageReference* This,IXpsOMImageResource **imageResource) {
  3219. return This->lpVtbl->GetThumbnailResource(This,imageResource);
  3220. }
  3221. static FORCEINLINE HRESULT IXpsOMPageReference_SetThumbnailResource(IXpsOMPageReference* This,IXpsOMImageResource *imageResource) {
  3222. return This->lpVtbl->SetThumbnailResource(This,imageResource);
  3223. }
  3224. static FORCEINLINE HRESULT IXpsOMPageReference_CollectLinkTargets(IXpsOMPageReference* This,IXpsOMNameCollection **linkTargets) {
  3225. return This->lpVtbl->CollectLinkTargets(This,linkTargets);
  3226. }
  3227. static FORCEINLINE HRESULT IXpsOMPageReference_CollectPartResources(IXpsOMPageReference* This,IXpsOMPartResources **partResources) {
  3228. return This->lpVtbl->CollectPartResources(This,partResources);
  3229. }
  3230. static FORCEINLINE HRESULT IXpsOMPageReference_HasRestrictedFonts(IXpsOMPageReference* This,WINBOOL *restrictedFonts) {
  3231. return This->lpVtbl->HasRestrictedFonts(This,restrictedFonts);
  3232. }
  3233. static FORCEINLINE HRESULT IXpsOMPageReference_Clone(IXpsOMPageReference* This,IXpsOMPageReference **pageReference) {
  3234. return This->lpVtbl->Clone(This,pageReference);
  3235. }
  3236. #endif
  3237. #endif
  3238. #endif
  3239. #endif /* __IXpsOMPageReference_INTERFACE_DEFINED__ */
  3240. /*****************************************************************************
  3241. * IXpsOMPageReferenceCollection interface
  3242. */
  3243. #ifndef __IXpsOMPageReferenceCollection_INTERFACE_DEFINED__
  3244. #define __IXpsOMPageReferenceCollection_INTERFACE_DEFINED__
  3245. DEFINE_GUID(IID_IXpsOMPageReferenceCollection, 0xca16ba4d, 0xe7b9, 0x45c5, 0x95,0x8b, 0xf9,0x80,0x22,0x47,0x37,0x45);
  3246. #if defined(__cplusplus) && !defined(CINTERFACE)
  3247. MIDL_INTERFACE("ca16ba4d-e7b9-45c5-958b-f98022473745")
  3248. IXpsOMPageReferenceCollection : public IUnknown
  3249. {
  3250. virtual HRESULT STDMETHODCALLTYPE GetCount(
  3251. UINT32 *count) = 0;
  3252. virtual HRESULT STDMETHODCALLTYPE GetAt(
  3253. UINT32 index,
  3254. IXpsOMPageReference **pageReference) = 0;
  3255. virtual HRESULT STDMETHODCALLTYPE InsertAt(
  3256. UINT32 index,
  3257. IXpsOMPageReference *pageReference) = 0;
  3258. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  3259. UINT32 index) = 0;
  3260. virtual HRESULT STDMETHODCALLTYPE SetAt(
  3261. UINT32 index,
  3262. IXpsOMPageReference *pageReference) = 0;
  3263. virtual HRESULT STDMETHODCALLTYPE Append(
  3264. IXpsOMPageReference *pageReference) = 0;
  3265. };
  3266. #ifdef __CRT_UUID_DECL
  3267. __CRT_UUID_DECL(IXpsOMPageReferenceCollection, 0xca16ba4d, 0xe7b9, 0x45c5, 0x95,0x8b, 0xf9,0x80,0x22,0x47,0x37,0x45)
  3268. #endif
  3269. #else
  3270. typedef struct IXpsOMPageReferenceCollectionVtbl {
  3271. BEGIN_INTERFACE
  3272. /*** IUnknown methods ***/
  3273. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3274. IXpsOMPageReferenceCollection *This,
  3275. REFIID riid,
  3276. void **ppvObject);
  3277. ULONG (STDMETHODCALLTYPE *AddRef)(
  3278. IXpsOMPageReferenceCollection *This);
  3279. ULONG (STDMETHODCALLTYPE *Release)(
  3280. IXpsOMPageReferenceCollection *This);
  3281. /*** IXpsOMPageReferenceCollection methods ***/
  3282. HRESULT (STDMETHODCALLTYPE *GetCount)(
  3283. IXpsOMPageReferenceCollection *This,
  3284. UINT32 *count);
  3285. HRESULT (STDMETHODCALLTYPE *GetAt)(
  3286. IXpsOMPageReferenceCollection *This,
  3287. UINT32 index,
  3288. IXpsOMPageReference **pageReference);
  3289. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  3290. IXpsOMPageReferenceCollection *This,
  3291. UINT32 index,
  3292. IXpsOMPageReference *pageReference);
  3293. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  3294. IXpsOMPageReferenceCollection *This,
  3295. UINT32 index);
  3296. HRESULT (STDMETHODCALLTYPE *SetAt)(
  3297. IXpsOMPageReferenceCollection *This,
  3298. UINT32 index,
  3299. IXpsOMPageReference *pageReference);
  3300. HRESULT (STDMETHODCALLTYPE *Append)(
  3301. IXpsOMPageReferenceCollection *This,
  3302. IXpsOMPageReference *pageReference);
  3303. END_INTERFACE
  3304. } IXpsOMPageReferenceCollectionVtbl;
  3305. interface IXpsOMPageReferenceCollection {
  3306. CONST_VTBL IXpsOMPageReferenceCollectionVtbl* lpVtbl;
  3307. };
  3308. #ifdef COBJMACROS
  3309. #ifndef WIDL_C_INLINE_WRAPPERS
  3310. /*** IUnknown methods ***/
  3311. #define IXpsOMPageReferenceCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3312. #define IXpsOMPageReferenceCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  3313. #define IXpsOMPageReferenceCollection_Release(This) (This)->lpVtbl->Release(This)
  3314. /*** IXpsOMPageReferenceCollection methods ***/
  3315. #define IXpsOMPageReferenceCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  3316. #define IXpsOMPageReferenceCollection_GetAt(This,index,pageReference) (This)->lpVtbl->GetAt(This,index,pageReference)
  3317. #define IXpsOMPageReferenceCollection_InsertAt(This,index,pageReference) (This)->lpVtbl->InsertAt(This,index,pageReference)
  3318. #define IXpsOMPageReferenceCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  3319. #define IXpsOMPageReferenceCollection_SetAt(This,index,pageReference) (This)->lpVtbl->SetAt(This,index,pageReference)
  3320. #define IXpsOMPageReferenceCollection_Append(This,pageReference) (This)->lpVtbl->Append(This,pageReference)
  3321. #else
  3322. /*** IUnknown methods ***/
  3323. static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_QueryInterface(IXpsOMPageReferenceCollection* This,REFIID riid,void **ppvObject) {
  3324. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3325. }
  3326. static FORCEINLINE ULONG IXpsOMPageReferenceCollection_AddRef(IXpsOMPageReferenceCollection* This) {
  3327. return This->lpVtbl->AddRef(This);
  3328. }
  3329. static FORCEINLINE ULONG IXpsOMPageReferenceCollection_Release(IXpsOMPageReferenceCollection* This) {
  3330. return This->lpVtbl->Release(This);
  3331. }
  3332. /*** IXpsOMPageReferenceCollection methods ***/
  3333. static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_GetCount(IXpsOMPageReferenceCollection* This,UINT32 *count) {
  3334. return This->lpVtbl->GetCount(This,count);
  3335. }
  3336. static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_GetAt(IXpsOMPageReferenceCollection* This,UINT32 index,IXpsOMPageReference **pageReference) {
  3337. return This->lpVtbl->GetAt(This,index,pageReference);
  3338. }
  3339. static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_InsertAt(IXpsOMPageReferenceCollection* This,UINT32 index,IXpsOMPageReference *pageReference) {
  3340. return This->lpVtbl->InsertAt(This,index,pageReference);
  3341. }
  3342. static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_RemoveAt(IXpsOMPageReferenceCollection* This,UINT32 index) {
  3343. return This->lpVtbl->RemoveAt(This,index);
  3344. }
  3345. static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_SetAt(IXpsOMPageReferenceCollection* This,UINT32 index,IXpsOMPageReference *pageReference) {
  3346. return This->lpVtbl->SetAt(This,index,pageReference);
  3347. }
  3348. static FORCEINLINE HRESULT IXpsOMPageReferenceCollection_Append(IXpsOMPageReferenceCollection* This,IXpsOMPageReference *pageReference) {
  3349. return This->lpVtbl->Append(This,pageReference);
  3350. }
  3351. #endif
  3352. #endif
  3353. #endif
  3354. #endif /* __IXpsOMPageReferenceCollection_INTERFACE_DEFINED__ */
  3355. /*****************************************************************************
  3356. * IXpsOMDocumentCollection interface
  3357. */
  3358. #ifndef __IXpsOMDocumentCollection_INTERFACE_DEFINED__
  3359. #define __IXpsOMDocumentCollection_INTERFACE_DEFINED__
  3360. DEFINE_GUID(IID_IXpsOMDocumentCollection, 0xd1c87f0d, 0xe947, 0x4754, 0x8a,0x25, 0x97,0x14,0x78,0xf7,0xe8,0x3e);
  3361. #if defined(__cplusplus) && !defined(CINTERFACE)
  3362. MIDL_INTERFACE("d1c87f0d-e947-4754-8a25-971478f7e83e")
  3363. IXpsOMDocumentCollection : public IUnknown
  3364. {
  3365. virtual HRESULT STDMETHODCALLTYPE GetCount(
  3366. UINT32 *count) = 0;
  3367. virtual HRESULT STDMETHODCALLTYPE GetAt(
  3368. UINT32 index,
  3369. IXpsOMDocument **document) = 0;
  3370. virtual HRESULT STDMETHODCALLTYPE InsertAt(
  3371. UINT32 index,
  3372. IXpsOMDocument *document) = 0;
  3373. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  3374. UINT32 index) = 0;
  3375. virtual HRESULT STDMETHODCALLTYPE SetAt(
  3376. UINT32 index,
  3377. IXpsOMDocument *document) = 0;
  3378. virtual HRESULT STDMETHODCALLTYPE Append(
  3379. IXpsOMDocument *document) = 0;
  3380. };
  3381. #ifdef __CRT_UUID_DECL
  3382. __CRT_UUID_DECL(IXpsOMDocumentCollection, 0xd1c87f0d, 0xe947, 0x4754, 0x8a,0x25, 0x97,0x14,0x78,0xf7,0xe8,0x3e)
  3383. #endif
  3384. #else
  3385. typedef struct IXpsOMDocumentCollectionVtbl {
  3386. BEGIN_INTERFACE
  3387. /*** IUnknown methods ***/
  3388. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3389. IXpsOMDocumentCollection *This,
  3390. REFIID riid,
  3391. void **ppvObject);
  3392. ULONG (STDMETHODCALLTYPE *AddRef)(
  3393. IXpsOMDocumentCollection *This);
  3394. ULONG (STDMETHODCALLTYPE *Release)(
  3395. IXpsOMDocumentCollection *This);
  3396. /*** IXpsOMDocumentCollection methods ***/
  3397. HRESULT (STDMETHODCALLTYPE *GetCount)(
  3398. IXpsOMDocumentCollection *This,
  3399. UINT32 *count);
  3400. HRESULT (STDMETHODCALLTYPE *GetAt)(
  3401. IXpsOMDocumentCollection *This,
  3402. UINT32 index,
  3403. IXpsOMDocument **document);
  3404. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  3405. IXpsOMDocumentCollection *This,
  3406. UINT32 index,
  3407. IXpsOMDocument *document);
  3408. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  3409. IXpsOMDocumentCollection *This,
  3410. UINT32 index);
  3411. HRESULT (STDMETHODCALLTYPE *SetAt)(
  3412. IXpsOMDocumentCollection *This,
  3413. UINT32 index,
  3414. IXpsOMDocument *document);
  3415. HRESULT (STDMETHODCALLTYPE *Append)(
  3416. IXpsOMDocumentCollection *This,
  3417. IXpsOMDocument *document);
  3418. END_INTERFACE
  3419. } IXpsOMDocumentCollectionVtbl;
  3420. interface IXpsOMDocumentCollection {
  3421. CONST_VTBL IXpsOMDocumentCollectionVtbl* lpVtbl;
  3422. };
  3423. #ifdef COBJMACROS
  3424. #ifndef WIDL_C_INLINE_WRAPPERS
  3425. /*** IUnknown methods ***/
  3426. #define IXpsOMDocumentCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3427. #define IXpsOMDocumentCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  3428. #define IXpsOMDocumentCollection_Release(This) (This)->lpVtbl->Release(This)
  3429. /*** IXpsOMDocumentCollection methods ***/
  3430. #define IXpsOMDocumentCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  3431. #define IXpsOMDocumentCollection_GetAt(This,index,document) (This)->lpVtbl->GetAt(This,index,document)
  3432. #define IXpsOMDocumentCollection_InsertAt(This,index,document) (This)->lpVtbl->InsertAt(This,index,document)
  3433. #define IXpsOMDocumentCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  3434. #define IXpsOMDocumentCollection_SetAt(This,index,document) (This)->lpVtbl->SetAt(This,index,document)
  3435. #define IXpsOMDocumentCollection_Append(This,document) (This)->lpVtbl->Append(This,document)
  3436. #else
  3437. /*** IUnknown methods ***/
  3438. static FORCEINLINE HRESULT IXpsOMDocumentCollection_QueryInterface(IXpsOMDocumentCollection* This,REFIID riid,void **ppvObject) {
  3439. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3440. }
  3441. static FORCEINLINE ULONG IXpsOMDocumentCollection_AddRef(IXpsOMDocumentCollection* This) {
  3442. return This->lpVtbl->AddRef(This);
  3443. }
  3444. static FORCEINLINE ULONG IXpsOMDocumentCollection_Release(IXpsOMDocumentCollection* This) {
  3445. return This->lpVtbl->Release(This);
  3446. }
  3447. /*** IXpsOMDocumentCollection methods ***/
  3448. static FORCEINLINE HRESULT IXpsOMDocumentCollection_GetCount(IXpsOMDocumentCollection* This,UINT32 *count) {
  3449. return This->lpVtbl->GetCount(This,count);
  3450. }
  3451. static FORCEINLINE HRESULT IXpsOMDocumentCollection_GetAt(IXpsOMDocumentCollection* This,UINT32 index,IXpsOMDocument **document) {
  3452. return This->lpVtbl->GetAt(This,index,document);
  3453. }
  3454. static FORCEINLINE HRESULT IXpsOMDocumentCollection_InsertAt(IXpsOMDocumentCollection* This,UINT32 index,IXpsOMDocument *document) {
  3455. return This->lpVtbl->InsertAt(This,index,document);
  3456. }
  3457. static FORCEINLINE HRESULT IXpsOMDocumentCollection_RemoveAt(IXpsOMDocumentCollection* This,UINT32 index) {
  3458. return This->lpVtbl->RemoveAt(This,index);
  3459. }
  3460. static FORCEINLINE HRESULT IXpsOMDocumentCollection_SetAt(IXpsOMDocumentCollection* This,UINT32 index,IXpsOMDocument *document) {
  3461. return This->lpVtbl->SetAt(This,index,document);
  3462. }
  3463. static FORCEINLINE HRESULT IXpsOMDocumentCollection_Append(IXpsOMDocumentCollection* This,IXpsOMDocument *document) {
  3464. return This->lpVtbl->Append(This,document);
  3465. }
  3466. #endif
  3467. #endif
  3468. #endif
  3469. #endif /* __IXpsOMDocumentCollection_INTERFACE_DEFINED__ */
  3470. /*****************************************************************************
  3471. * IXpsOMPackage interface
  3472. */
  3473. #ifndef __IXpsOMPackage_INTERFACE_DEFINED__
  3474. #define __IXpsOMPackage_INTERFACE_DEFINED__
  3475. DEFINE_GUID(IID_IXpsOMPackage, 0x18c3df65, 0x81e1, 0x4674, 0x91,0xdc, 0xfc,0x45,0x2f,0x5a,0x41,0x6f);
  3476. #if defined(__cplusplus) && !defined(CINTERFACE)
  3477. MIDL_INTERFACE("18c3df65-81e1-4674-91dc-fc452f5a416f")
  3478. IXpsOMPackage : public IUnknown
  3479. {
  3480. virtual HRESULT STDMETHODCALLTYPE GetDocumentSequence(
  3481. IXpsOMDocumentSequence **documentSequence) = 0;
  3482. virtual HRESULT STDMETHODCALLTYPE SetDocumentSequence(
  3483. IXpsOMDocumentSequence *documentSequence) = 0;
  3484. virtual HRESULT STDMETHODCALLTYPE GetCoreProperties(
  3485. IXpsOMCoreProperties **coreProperties) = 0;
  3486. virtual HRESULT STDMETHODCALLTYPE SetCoreProperties(
  3487. IXpsOMCoreProperties *coreProperties) = 0;
  3488. virtual HRESULT STDMETHODCALLTYPE GetDiscardControlPartName(
  3489. IOpcPartUri **discardControlPartUri) = 0;
  3490. virtual HRESULT STDMETHODCALLTYPE SetDiscardControlPartName(
  3491. IOpcPartUri *discardControlPartUri) = 0;
  3492. virtual HRESULT STDMETHODCALLTYPE GetThumbnailResource(
  3493. IXpsOMImageResource **imageResource) = 0;
  3494. virtual HRESULT STDMETHODCALLTYPE SetThumbnailResource(
  3495. IXpsOMImageResource *imageResource) = 0;
  3496. virtual HRESULT STDMETHODCALLTYPE WriteToFile(
  3497. LPCWSTR fileName,
  3498. LPSECURITY_ATTRIBUTES securityAttributes,
  3499. DWORD flagsAndAttributes,
  3500. WINBOOL optimizeMarkupSize) = 0;
  3501. virtual HRESULT STDMETHODCALLTYPE WriteToStream(
  3502. ISequentialStream *stream,
  3503. WINBOOL optimizeMarkupSize) = 0;
  3504. };
  3505. #ifdef __CRT_UUID_DECL
  3506. __CRT_UUID_DECL(IXpsOMPackage, 0x18c3df65, 0x81e1, 0x4674, 0x91,0xdc, 0xfc,0x45,0x2f,0x5a,0x41,0x6f)
  3507. #endif
  3508. #else
  3509. typedef struct IXpsOMPackageVtbl {
  3510. BEGIN_INTERFACE
  3511. /*** IUnknown methods ***/
  3512. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3513. IXpsOMPackage *This,
  3514. REFIID riid,
  3515. void **ppvObject);
  3516. ULONG (STDMETHODCALLTYPE *AddRef)(
  3517. IXpsOMPackage *This);
  3518. ULONG (STDMETHODCALLTYPE *Release)(
  3519. IXpsOMPackage *This);
  3520. /*** IXpsOMPackage methods ***/
  3521. HRESULT (STDMETHODCALLTYPE *GetDocumentSequence)(
  3522. IXpsOMPackage *This,
  3523. IXpsOMDocumentSequence **documentSequence);
  3524. HRESULT (STDMETHODCALLTYPE *SetDocumentSequence)(
  3525. IXpsOMPackage *This,
  3526. IXpsOMDocumentSequence *documentSequence);
  3527. HRESULT (STDMETHODCALLTYPE *GetCoreProperties)(
  3528. IXpsOMPackage *This,
  3529. IXpsOMCoreProperties **coreProperties);
  3530. HRESULT (STDMETHODCALLTYPE *SetCoreProperties)(
  3531. IXpsOMPackage *This,
  3532. IXpsOMCoreProperties *coreProperties);
  3533. HRESULT (STDMETHODCALLTYPE *GetDiscardControlPartName)(
  3534. IXpsOMPackage *This,
  3535. IOpcPartUri **discardControlPartUri);
  3536. HRESULT (STDMETHODCALLTYPE *SetDiscardControlPartName)(
  3537. IXpsOMPackage *This,
  3538. IOpcPartUri *discardControlPartUri);
  3539. HRESULT (STDMETHODCALLTYPE *GetThumbnailResource)(
  3540. IXpsOMPackage *This,
  3541. IXpsOMImageResource **imageResource);
  3542. HRESULT (STDMETHODCALLTYPE *SetThumbnailResource)(
  3543. IXpsOMPackage *This,
  3544. IXpsOMImageResource *imageResource);
  3545. HRESULT (STDMETHODCALLTYPE *WriteToFile)(
  3546. IXpsOMPackage *This,
  3547. LPCWSTR fileName,
  3548. LPSECURITY_ATTRIBUTES securityAttributes,
  3549. DWORD flagsAndAttributes,
  3550. WINBOOL optimizeMarkupSize);
  3551. HRESULT (STDMETHODCALLTYPE *WriteToStream)(
  3552. IXpsOMPackage *This,
  3553. ISequentialStream *stream,
  3554. WINBOOL optimizeMarkupSize);
  3555. END_INTERFACE
  3556. } IXpsOMPackageVtbl;
  3557. interface IXpsOMPackage {
  3558. CONST_VTBL IXpsOMPackageVtbl* lpVtbl;
  3559. };
  3560. #ifdef COBJMACROS
  3561. #ifndef WIDL_C_INLINE_WRAPPERS
  3562. /*** IUnknown methods ***/
  3563. #define IXpsOMPackage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  3564. #define IXpsOMPackage_AddRef(This) (This)->lpVtbl->AddRef(This)
  3565. #define IXpsOMPackage_Release(This) (This)->lpVtbl->Release(This)
  3566. /*** IXpsOMPackage methods ***/
  3567. #define IXpsOMPackage_GetDocumentSequence(This,documentSequence) (This)->lpVtbl->GetDocumentSequence(This,documentSequence)
  3568. #define IXpsOMPackage_SetDocumentSequence(This,documentSequence) (This)->lpVtbl->SetDocumentSequence(This,documentSequence)
  3569. #define IXpsOMPackage_GetCoreProperties(This,coreProperties) (This)->lpVtbl->GetCoreProperties(This,coreProperties)
  3570. #define IXpsOMPackage_SetCoreProperties(This,coreProperties) (This)->lpVtbl->SetCoreProperties(This,coreProperties)
  3571. #define IXpsOMPackage_GetDiscardControlPartName(This,discardControlPartUri) (This)->lpVtbl->GetDiscardControlPartName(This,discardControlPartUri)
  3572. #define IXpsOMPackage_SetDiscardControlPartName(This,discardControlPartUri) (This)->lpVtbl->SetDiscardControlPartName(This,discardControlPartUri)
  3573. #define IXpsOMPackage_GetThumbnailResource(This,imageResource) (This)->lpVtbl->GetThumbnailResource(This,imageResource)
  3574. #define IXpsOMPackage_SetThumbnailResource(This,imageResource) (This)->lpVtbl->SetThumbnailResource(This,imageResource)
  3575. #define IXpsOMPackage_WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize) (This)->lpVtbl->WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize)
  3576. #define IXpsOMPackage_WriteToStream(This,stream,optimizeMarkupSize) (This)->lpVtbl->WriteToStream(This,stream,optimizeMarkupSize)
  3577. #else
  3578. /*** IUnknown methods ***/
  3579. static FORCEINLINE HRESULT IXpsOMPackage_QueryInterface(IXpsOMPackage* This,REFIID riid,void **ppvObject) {
  3580. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  3581. }
  3582. static FORCEINLINE ULONG IXpsOMPackage_AddRef(IXpsOMPackage* This) {
  3583. return This->lpVtbl->AddRef(This);
  3584. }
  3585. static FORCEINLINE ULONG IXpsOMPackage_Release(IXpsOMPackage* This) {
  3586. return This->lpVtbl->Release(This);
  3587. }
  3588. /*** IXpsOMPackage methods ***/
  3589. static FORCEINLINE HRESULT IXpsOMPackage_GetDocumentSequence(IXpsOMPackage* This,IXpsOMDocumentSequence **documentSequence) {
  3590. return This->lpVtbl->GetDocumentSequence(This,documentSequence);
  3591. }
  3592. static FORCEINLINE HRESULT IXpsOMPackage_SetDocumentSequence(IXpsOMPackage* This,IXpsOMDocumentSequence *documentSequence) {
  3593. return This->lpVtbl->SetDocumentSequence(This,documentSequence);
  3594. }
  3595. static FORCEINLINE HRESULT IXpsOMPackage_GetCoreProperties(IXpsOMPackage* This,IXpsOMCoreProperties **coreProperties) {
  3596. return This->lpVtbl->GetCoreProperties(This,coreProperties);
  3597. }
  3598. static FORCEINLINE HRESULT IXpsOMPackage_SetCoreProperties(IXpsOMPackage* This,IXpsOMCoreProperties *coreProperties) {
  3599. return This->lpVtbl->SetCoreProperties(This,coreProperties);
  3600. }
  3601. static FORCEINLINE HRESULT IXpsOMPackage_GetDiscardControlPartName(IXpsOMPackage* This,IOpcPartUri **discardControlPartUri) {
  3602. return This->lpVtbl->GetDiscardControlPartName(This,discardControlPartUri);
  3603. }
  3604. static FORCEINLINE HRESULT IXpsOMPackage_SetDiscardControlPartName(IXpsOMPackage* This,IOpcPartUri *discardControlPartUri) {
  3605. return This->lpVtbl->SetDiscardControlPartName(This,discardControlPartUri);
  3606. }
  3607. static FORCEINLINE HRESULT IXpsOMPackage_GetThumbnailResource(IXpsOMPackage* This,IXpsOMImageResource **imageResource) {
  3608. return This->lpVtbl->GetThumbnailResource(This,imageResource);
  3609. }
  3610. static FORCEINLINE HRESULT IXpsOMPackage_SetThumbnailResource(IXpsOMPackage* This,IXpsOMImageResource *imageResource) {
  3611. return This->lpVtbl->SetThumbnailResource(This,imageResource);
  3612. }
  3613. static FORCEINLINE HRESULT IXpsOMPackage_WriteToFile(IXpsOMPackage* This,LPCWSTR fileName,LPSECURITY_ATTRIBUTES securityAttributes,DWORD flagsAndAttributes,WINBOOL optimizeMarkupSize) {
  3614. return This->lpVtbl->WriteToFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize);
  3615. }
  3616. static FORCEINLINE HRESULT IXpsOMPackage_WriteToStream(IXpsOMPackage* This,ISequentialStream *stream,WINBOOL optimizeMarkupSize) {
  3617. return This->lpVtbl->WriteToStream(This,stream,optimizeMarkupSize);
  3618. }
  3619. #endif
  3620. #endif
  3621. #endif
  3622. #endif /* __IXpsOMPackage_INTERFACE_DEFINED__ */
  3623. /*****************************************************************************
  3624. * IXpsOMObjectFactory interface
  3625. */
  3626. #ifndef __IXpsOMObjectFactory_INTERFACE_DEFINED__
  3627. #define __IXpsOMObjectFactory_INTERFACE_DEFINED__
  3628. DEFINE_GUID(IID_IXpsOMObjectFactory, 0xf9b2a685, 0xa50d, 0x4fc2, 0xb7,0x64, 0xb5,0x6e,0x09,0x3e,0xa0,0xca);
  3629. #if defined(__cplusplus) && !defined(CINTERFACE)
  3630. MIDL_INTERFACE("f9b2a685-a50d-4fc2-b764-b56e093ea0ca")
  3631. IXpsOMObjectFactory : public IUnknown
  3632. {
  3633. virtual HRESULT STDMETHODCALLTYPE CreatePackage(
  3634. IXpsOMPackage **package) = 0;
  3635. virtual HRESULT STDMETHODCALLTYPE CreatePackageFromFile(
  3636. LPCWSTR filename,
  3637. WINBOOL reuseObjects,
  3638. IXpsOMPackage **package) = 0;
  3639. virtual HRESULT STDMETHODCALLTYPE CreatePackageFromStream(
  3640. IStream *stream,
  3641. WINBOOL reuseObjects,
  3642. IXpsOMPackage **package) = 0;
  3643. virtual HRESULT STDMETHODCALLTYPE CreateStoryFragmentsResource(
  3644. IStream *acquiredStream,
  3645. IOpcPartUri *partUri,
  3646. IXpsOMStoryFragmentsResource **storyFragmentsResource) = 0;
  3647. virtual HRESULT STDMETHODCALLTYPE CreateDocumentStructureResource(
  3648. IStream *acquiredStream,
  3649. IOpcPartUri *partUri,
  3650. IXpsOMDocumentStructureResource **documentStructureResource) = 0;
  3651. virtual HRESULT STDMETHODCALLTYPE CreateSignatureBlockResource(
  3652. IStream *acquiredStream,
  3653. IOpcPartUri *partUri,
  3654. IXpsOMSignatureBlockResource **signatureBlockResource) = 0;
  3655. virtual HRESULT STDMETHODCALLTYPE CreateRemoteDictionaryResource(
  3656. IXpsOMDictionary *dictionary,
  3657. IOpcPartUri *partUri,
  3658. IXpsOMRemoteDictionaryResource **remoteDictionaryResource) = 0;
  3659. virtual HRESULT STDMETHODCALLTYPE CreateRemoteDictionaryResourceFromStream(
  3660. IStream *dictionaryMarkupStream,
  3661. IOpcPartUri *dictionaryPartUri,
  3662. IXpsOMPartResources *resources,
  3663. IXpsOMRemoteDictionaryResource **dictionaryResource) = 0;
  3664. virtual HRESULT STDMETHODCALLTYPE CreatePartResources(
  3665. IXpsOMPartResources **partResources) = 0;
  3666. virtual HRESULT STDMETHODCALLTYPE CreateDocumentSequence(
  3667. IOpcPartUri *partUri,
  3668. IXpsOMDocumentSequence **documentSequence) = 0;
  3669. virtual HRESULT STDMETHODCALLTYPE CreateDocument(
  3670. IOpcPartUri *partUri,
  3671. IXpsOMDocument **document) = 0;
  3672. virtual HRESULT STDMETHODCALLTYPE CreatePageReference(
  3673. const XPS_SIZE *advisoryPageDimensions,
  3674. IXpsOMPageReference **pageReference) = 0;
  3675. virtual HRESULT STDMETHODCALLTYPE CreatePage(
  3676. const XPS_SIZE *pageDimensions,
  3677. LPCWSTR language,
  3678. IOpcPartUri *partUri,
  3679. IXpsOMPage **page) = 0;
  3680. virtual HRESULT STDMETHODCALLTYPE CreatePageFromStream(
  3681. IStream *pageMarkupStream,
  3682. IOpcPartUri *partUri,
  3683. IXpsOMPartResources *resources,
  3684. WINBOOL reuseObjects,
  3685. IXpsOMPage **page) = 0;
  3686. virtual HRESULT STDMETHODCALLTYPE CreateCanvas(
  3687. IXpsOMCanvas **canvas) = 0;
  3688. virtual HRESULT STDMETHODCALLTYPE CreateGlyphs(
  3689. IXpsOMFontResource *fontResource,
  3690. IXpsOMGlyphs **glyphs) = 0;
  3691. virtual HRESULT STDMETHODCALLTYPE CreatePath(
  3692. IXpsOMPath **path) = 0;
  3693. virtual HRESULT STDMETHODCALLTYPE CreateGeometry(
  3694. IXpsOMGeometry **geometry) = 0;
  3695. virtual HRESULT STDMETHODCALLTYPE CreateGeometryFigure(
  3696. const XPS_POINT *startPoint,
  3697. IXpsOMGeometryFigure **figure) = 0;
  3698. virtual HRESULT STDMETHODCALLTYPE CreateMatrixTransform(
  3699. const XPS_MATRIX *matrix,
  3700. IXpsOMMatrixTransform **transform) = 0;
  3701. virtual HRESULT STDMETHODCALLTYPE CreateSolidColorBrush(
  3702. const XPS_COLOR *color,
  3703. IXpsOMColorProfileResource *colorProfile,
  3704. IXpsOMSolidColorBrush **solidColorBrush) = 0;
  3705. virtual HRESULT STDMETHODCALLTYPE CreateColorProfileResource(
  3706. IStream *acquiredStream,
  3707. IOpcPartUri *partUri,
  3708. IXpsOMColorProfileResource **colorProfileResource) = 0;
  3709. virtual HRESULT STDMETHODCALLTYPE CreateImageBrush(
  3710. IXpsOMImageResource *image,
  3711. const XPS_RECT *viewBox,
  3712. const XPS_RECT *viewPort,
  3713. IXpsOMImageBrush **imageBrush) = 0;
  3714. virtual HRESULT STDMETHODCALLTYPE CreateVisualBrush(
  3715. const XPS_RECT *viewBox,
  3716. const XPS_RECT *viewPort,
  3717. IXpsOMVisualBrush **visualBrush) = 0;
  3718. virtual HRESULT STDMETHODCALLTYPE CreateImageResource(
  3719. IStream *acquiredStream,
  3720. XPS_IMAGE_TYPE contentType,
  3721. IOpcPartUri *partUri,
  3722. IXpsOMImageResource **imageResource) = 0;
  3723. virtual HRESULT STDMETHODCALLTYPE CreatePrintTicketResource(
  3724. IStream *acquiredStream,
  3725. IOpcPartUri *partUri,
  3726. IXpsOMPrintTicketResource **printTicketResource) = 0;
  3727. virtual HRESULT STDMETHODCALLTYPE CreateFontResource(
  3728. IStream *acquiredStream,
  3729. XPS_FONT_EMBEDDING fontEmbedding,
  3730. IOpcPartUri *partUri,
  3731. WINBOOL isObfSourceStream,
  3732. IXpsOMFontResource **fontResource) = 0;
  3733. virtual HRESULT STDMETHODCALLTYPE CreateGradientStop(
  3734. const XPS_COLOR *color,
  3735. IXpsOMColorProfileResource *colorProfile,
  3736. FLOAT offset,
  3737. IXpsOMGradientStop **gradientStop) = 0;
  3738. virtual HRESULT STDMETHODCALLTYPE CreateLinearGradientBrush(
  3739. IXpsOMGradientStop *gradStop1,
  3740. IXpsOMGradientStop *gradStop2,
  3741. const XPS_POINT *startPoint,
  3742. const XPS_POINT *endPoint,
  3743. IXpsOMLinearGradientBrush **linearGradientBrush) = 0;
  3744. virtual HRESULT STDMETHODCALLTYPE CreateRadialGradientBrush(
  3745. IXpsOMGradientStop *gradStop1,
  3746. IXpsOMGradientStop *gradStop2,
  3747. const XPS_POINT *centerPoint,
  3748. const XPS_POINT *gradientOrigin,
  3749. const XPS_SIZE *radiiSizes,
  3750. IXpsOMRadialGradientBrush **radialGradientBrush) = 0;
  3751. virtual HRESULT STDMETHODCALLTYPE CreateCoreProperties(
  3752. IOpcPartUri *partUri,
  3753. IXpsOMCoreProperties **coreProperties) = 0;
  3754. virtual HRESULT STDMETHODCALLTYPE CreateDictionary(
  3755. IXpsOMDictionary **dictionary) = 0;
  3756. virtual HRESULT STDMETHODCALLTYPE CreatePartUriCollection(
  3757. IXpsOMPartUriCollection **partUriCollection) = 0;
  3758. virtual HRESULT STDMETHODCALLTYPE CreatePackageWriterOnFile(
  3759. LPCWSTR fileName,
  3760. LPSECURITY_ATTRIBUTES securityAttributes,
  3761. DWORD flagsAndAttributes,
  3762. WINBOOL optimizeMarkupSize,
  3763. XPS_INTERLEAVING interleaving,
  3764. IOpcPartUri *documentSequencePartName,
  3765. IXpsOMCoreProperties *coreProperties,
  3766. IXpsOMImageResource *packageThumbnail,
  3767. IXpsOMPrintTicketResource *documentSequencePrintTicket,
  3768. IOpcPartUri *discardControlPartName,
  3769. IXpsOMPackageWriter **packageWriter) = 0;
  3770. virtual HRESULT STDMETHODCALLTYPE CreatePackageWriterOnStream(
  3771. ISequentialStream *outputStream,
  3772. WINBOOL optimizeMarkupSize,
  3773. XPS_INTERLEAVING interleaving,
  3774. IOpcPartUri *documentSequencePartName,
  3775. IXpsOMCoreProperties *coreProperties,
  3776. IXpsOMImageResource *packageThumbnail,
  3777. IXpsOMPrintTicketResource *documentSequencePrintTicket,
  3778. IOpcPartUri *discardControlPartName,
  3779. IXpsOMPackageWriter **packageWriter) = 0;
  3780. virtual HRESULT STDMETHODCALLTYPE CreatePartUri(
  3781. LPCWSTR uri,
  3782. IOpcPartUri **partUri) = 0;
  3783. virtual HRESULT STDMETHODCALLTYPE CreateReadOnlyStreamOnFile(
  3784. LPCWSTR filename,
  3785. IStream **stream) = 0;
  3786. };
  3787. #ifdef __CRT_UUID_DECL
  3788. __CRT_UUID_DECL(IXpsOMObjectFactory, 0xf9b2a685, 0xa50d, 0x4fc2, 0xb7,0x64, 0xb5,0x6e,0x09,0x3e,0xa0,0xca)
  3789. #endif
  3790. #else
  3791. typedef struct IXpsOMObjectFactoryVtbl {
  3792. BEGIN_INTERFACE
  3793. /*** IUnknown methods ***/
  3794. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  3795. IXpsOMObjectFactory *This,
  3796. REFIID riid,
  3797. void **ppvObject);
  3798. ULONG (STDMETHODCALLTYPE *AddRef)(
  3799. IXpsOMObjectFactory *This);
  3800. ULONG (STDMETHODCALLTYPE *Release)(
  3801. IXpsOMObjectFactory *This);
  3802. /*** IXpsOMObjectFactory methods ***/
  3803. HRESULT (STDMETHODCALLTYPE *CreatePackage)(
  3804. IXpsOMObjectFactory *This,
  3805. IXpsOMPackage **package);
  3806. HRESULT (STDMETHODCALLTYPE *CreatePackageFromFile)(
  3807. IXpsOMObjectFactory *This,
  3808. LPCWSTR filename,
  3809. WINBOOL reuseObjects,
  3810. IXpsOMPackage **package);
  3811. HRESULT (STDMETHODCALLTYPE *CreatePackageFromStream)(
  3812. IXpsOMObjectFactory *This,
  3813. IStream *stream,
  3814. WINBOOL reuseObjects,
  3815. IXpsOMPackage **package);
  3816. HRESULT (STDMETHODCALLTYPE *CreateStoryFragmentsResource)(
  3817. IXpsOMObjectFactory *This,
  3818. IStream *acquiredStream,
  3819. IOpcPartUri *partUri,
  3820. IXpsOMStoryFragmentsResource **storyFragmentsResource);
  3821. HRESULT (STDMETHODCALLTYPE *CreateDocumentStructureResource)(
  3822. IXpsOMObjectFactory *This,
  3823. IStream *acquiredStream,
  3824. IOpcPartUri *partUri,
  3825. IXpsOMDocumentStructureResource **documentStructureResource);
  3826. HRESULT (STDMETHODCALLTYPE *CreateSignatureBlockResource)(
  3827. IXpsOMObjectFactory *This,
  3828. IStream *acquiredStream,
  3829. IOpcPartUri *partUri,
  3830. IXpsOMSignatureBlockResource **signatureBlockResource);
  3831. HRESULT (STDMETHODCALLTYPE *CreateRemoteDictionaryResource)(
  3832. IXpsOMObjectFactory *This,
  3833. IXpsOMDictionary *dictionary,
  3834. IOpcPartUri *partUri,
  3835. IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
  3836. HRESULT (STDMETHODCALLTYPE *CreateRemoteDictionaryResourceFromStream)(
  3837. IXpsOMObjectFactory *This,
  3838. IStream *dictionaryMarkupStream,
  3839. IOpcPartUri *dictionaryPartUri,
  3840. IXpsOMPartResources *resources,
  3841. IXpsOMRemoteDictionaryResource **dictionaryResource);
  3842. HRESULT (STDMETHODCALLTYPE *CreatePartResources)(
  3843. IXpsOMObjectFactory *This,
  3844. IXpsOMPartResources **partResources);
  3845. HRESULT (STDMETHODCALLTYPE *CreateDocumentSequence)(
  3846. IXpsOMObjectFactory *This,
  3847. IOpcPartUri *partUri,
  3848. IXpsOMDocumentSequence **documentSequence);
  3849. HRESULT (STDMETHODCALLTYPE *CreateDocument)(
  3850. IXpsOMObjectFactory *This,
  3851. IOpcPartUri *partUri,
  3852. IXpsOMDocument **document);
  3853. HRESULT (STDMETHODCALLTYPE *CreatePageReference)(
  3854. IXpsOMObjectFactory *This,
  3855. const XPS_SIZE *advisoryPageDimensions,
  3856. IXpsOMPageReference **pageReference);
  3857. HRESULT (STDMETHODCALLTYPE *CreatePage)(
  3858. IXpsOMObjectFactory *This,
  3859. const XPS_SIZE *pageDimensions,
  3860. LPCWSTR language,
  3861. IOpcPartUri *partUri,
  3862. IXpsOMPage **page);
  3863. HRESULT (STDMETHODCALLTYPE *CreatePageFromStream)(
  3864. IXpsOMObjectFactory *This,
  3865. IStream *pageMarkupStream,
  3866. IOpcPartUri *partUri,
  3867. IXpsOMPartResources *resources,
  3868. WINBOOL reuseObjects,
  3869. IXpsOMPage **page);
  3870. HRESULT (STDMETHODCALLTYPE *CreateCanvas)(
  3871. IXpsOMObjectFactory *This,
  3872. IXpsOMCanvas **canvas);
  3873. HRESULT (STDMETHODCALLTYPE *CreateGlyphs)(
  3874. IXpsOMObjectFactory *This,
  3875. IXpsOMFontResource *fontResource,
  3876. IXpsOMGlyphs **glyphs);
  3877. HRESULT (STDMETHODCALLTYPE *CreatePath)(
  3878. IXpsOMObjectFactory *This,
  3879. IXpsOMPath **path);
  3880. HRESULT (STDMETHODCALLTYPE *CreateGeometry)(
  3881. IXpsOMObjectFactory *This,
  3882. IXpsOMGeometry **geometry);
  3883. HRESULT (STDMETHODCALLTYPE *CreateGeometryFigure)(
  3884. IXpsOMObjectFactory *This,
  3885. const XPS_POINT *startPoint,
  3886. IXpsOMGeometryFigure **figure);
  3887. HRESULT (STDMETHODCALLTYPE *CreateMatrixTransform)(
  3888. IXpsOMObjectFactory *This,
  3889. const XPS_MATRIX *matrix,
  3890. IXpsOMMatrixTransform **transform);
  3891. HRESULT (STDMETHODCALLTYPE *CreateSolidColorBrush)(
  3892. IXpsOMObjectFactory *This,
  3893. const XPS_COLOR *color,
  3894. IXpsOMColorProfileResource *colorProfile,
  3895. IXpsOMSolidColorBrush **solidColorBrush);
  3896. HRESULT (STDMETHODCALLTYPE *CreateColorProfileResource)(
  3897. IXpsOMObjectFactory *This,
  3898. IStream *acquiredStream,
  3899. IOpcPartUri *partUri,
  3900. IXpsOMColorProfileResource **colorProfileResource);
  3901. HRESULT (STDMETHODCALLTYPE *CreateImageBrush)(
  3902. IXpsOMObjectFactory *This,
  3903. IXpsOMImageResource *image,
  3904. const XPS_RECT *viewBox,
  3905. const XPS_RECT *viewPort,
  3906. IXpsOMImageBrush **imageBrush);
  3907. HRESULT (STDMETHODCALLTYPE *CreateVisualBrush)(
  3908. IXpsOMObjectFactory *This,
  3909. const XPS_RECT *viewBox,
  3910. const XPS_RECT *viewPort,
  3911. IXpsOMVisualBrush **visualBrush);
  3912. HRESULT (STDMETHODCALLTYPE *CreateImageResource)(
  3913. IXpsOMObjectFactory *This,
  3914. IStream *acquiredStream,
  3915. XPS_IMAGE_TYPE contentType,
  3916. IOpcPartUri *partUri,
  3917. IXpsOMImageResource **imageResource);
  3918. HRESULT (STDMETHODCALLTYPE *CreatePrintTicketResource)(
  3919. IXpsOMObjectFactory *This,
  3920. IStream *acquiredStream,
  3921. IOpcPartUri *partUri,
  3922. IXpsOMPrintTicketResource **printTicketResource);
  3923. HRESULT (STDMETHODCALLTYPE *CreateFontResource)(
  3924. IXpsOMObjectFactory *This,
  3925. IStream *acquiredStream,
  3926. XPS_FONT_EMBEDDING fontEmbedding,
  3927. IOpcPartUri *partUri,
  3928. WINBOOL isObfSourceStream,
  3929. IXpsOMFontResource **fontResource);
  3930. HRESULT (STDMETHODCALLTYPE *CreateGradientStop)(
  3931. IXpsOMObjectFactory *This,
  3932. const XPS_COLOR *color,
  3933. IXpsOMColorProfileResource *colorProfile,
  3934. FLOAT offset,
  3935. IXpsOMGradientStop **gradientStop);
  3936. HRESULT (STDMETHODCALLTYPE *CreateLinearGradientBrush)(
  3937. IXpsOMObjectFactory *This,
  3938. IXpsOMGradientStop *gradStop1,
  3939. IXpsOMGradientStop *gradStop2,
  3940. const XPS_POINT *startPoint,
  3941. const XPS_POINT *endPoint,
  3942. IXpsOMLinearGradientBrush **linearGradientBrush);
  3943. HRESULT (STDMETHODCALLTYPE *CreateRadialGradientBrush)(
  3944. IXpsOMObjectFactory *This,
  3945. IXpsOMGradientStop *gradStop1,
  3946. IXpsOMGradientStop *gradStop2,
  3947. const XPS_POINT *centerPoint,
  3948. const XPS_POINT *gradientOrigin,
  3949. const XPS_SIZE *radiiSizes,
  3950. IXpsOMRadialGradientBrush **radialGradientBrush);
  3951. HRESULT (STDMETHODCALLTYPE *CreateCoreProperties)(
  3952. IXpsOMObjectFactory *This,
  3953. IOpcPartUri *partUri,
  3954. IXpsOMCoreProperties **coreProperties);
  3955. HRESULT (STDMETHODCALLTYPE *CreateDictionary)(
  3956. IXpsOMObjectFactory *This,
  3957. IXpsOMDictionary **dictionary);
  3958. HRESULT (STDMETHODCALLTYPE *CreatePartUriCollection)(
  3959. IXpsOMObjectFactory *This,
  3960. IXpsOMPartUriCollection **partUriCollection);
  3961. HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnFile)(
  3962. IXpsOMObjectFactory *This,
  3963. LPCWSTR fileName,
  3964. LPSECURITY_ATTRIBUTES securityAttributes,
  3965. DWORD flagsAndAttributes,
  3966. WINBOOL optimizeMarkupSize,
  3967. XPS_INTERLEAVING interleaving,
  3968. IOpcPartUri *documentSequencePartName,
  3969. IXpsOMCoreProperties *coreProperties,
  3970. IXpsOMImageResource *packageThumbnail,
  3971. IXpsOMPrintTicketResource *documentSequencePrintTicket,
  3972. IOpcPartUri *discardControlPartName,
  3973. IXpsOMPackageWriter **packageWriter);
  3974. HRESULT (STDMETHODCALLTYPE *CreatePackageWriterOnStream)(
  3975. IXpsOMObjectFactory *This,
  3976. ISequentialStream *outputStream,
  3977. WINBOOL optimizeMarkupSize,
  3978. XPS_INTERLEAVING interleaving,
  3979. IOpcPartUri *documentSequencePartName,
  3980. IXpsOMCoreProperties *coreProperties,
  3981. IXpsOMImageResource *packageThumbnail,
  3982. IXpsOMPrintTicketResource *documentSequencePrintTicket,
  3983. IOpcPartUri *discardControlPartName,
  3984. IXpsOMPackageWriter **packageWriter);
  3985. HRESULT (STDMETHODCALLTYPE *CreatePartUri)(
  3986. IXpsOMObjectFactory *This,
  3987. LPCWSTR uri,
  3988. IOpcPartUri **partUri);
  3989. HRESULT (STDMETHODCALLTYPE *CreateReadOnlyStreamOnFile)(
  3990. IXpsOMObjectFactory *This,
  3991. LPCWSTR filename,
  3992. IStream **stream);
  3993. END_INTERFACE
  3994. } IXpsOMObjectFactoryVtbl;
  3995. interface IXpsOMObjectFactory {
  3996. CONST_VTBL IXpsOMObjectFactoryVtbl* lpVtbl;
  3997. };
  3998. #ifdef COBJMACROS
  3999. #ifndef WIDL_C_INLINE_WRAPPERS
  4000. /*** IUnknown methods ***/
  4001. #define IXpsOMObjectFactory_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4002. #define IXpsOMObjectFactory_AddRef(This) (This)->lpVtbl->AddRef(This)
  4003. #define IXpsOMObjectFactory_Release(This) (This)->lpVtbl->Release(This)
  4004. /*** IXpsOMObjectFactory methods ***/
  4005. #define IXpsOMObjectFactory_CreatePackage(This,package) (This)->lpVtbl->CreatePackage(This,package)
  4006. #define IXpsOMObjectFactory_CreatePackageFromFile(This,filename,reuseObjects,package) (This)->lpVtbl->CreatePackageFromFile(This,filename,reuseObjects,package)
  4007. #define IXpsOMObjectFactory_CreatePackageFromStream(This,stream,reuseObjects,package) (This)->lpVtbl->CreatePackageFromStream(This,stream,reuseObjects,package)
  4008. #define IXpsOMObjectFactory_CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource) (This)->lpVtbl->CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource)
  4009. #define IXpsOMObjectFactory_CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource) (This)->lpVtbl->CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource)
  4010. #define IXpsOMObjectFactory_CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource) (This)->lpVtbl->CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource)
  4011. #define IXpsOMObjectFactory_CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource) (This)->lpVtbl->CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource)
  4012. #define IXpsOMObjectFactory_CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource) (This)->lpVtbl->CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource)
  4013. #define IXpsOMObjectFactory_CreatePartResources(This,partResources) (This)->lpVtbl->CreatePartResources(This,partResources)
  4014. #define IXpsOMObjectFactory_CreateDocumentSequence(This,partUri,documentSequence) (This)->lpVtbl->CreateDocumentSequence(This,partUri,documentSequence)
  4015. #define IXpsOMObjectFactory_CreateDocument(This,partUri,document) (This)->lpVtbl->CreateDocument(This,partUri,document)
  4016. #define IXpsOMObjectFactory_CreatePageReference(This,advisoryPageDimensions,pageReference) (This)->lpVtbl->CreatePageReference(This,advisoryPageDimensions,pageReference)
  4017. #define IXpsOMObjectFactory_CreatePage(This,pageDimensions,language,partUri,page) (This)->lpVtbl->CreatePage(This,pageDimensions,language,partUri,page)
  4018. #define IXpsOMObjectFactory_CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page) (This)->lpVtbl->CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page)
  4019. #define IXpsOMObjectFactory_CreateCanvas(This,canvas) (This)->lpVtbl->CreateCanvas(This,canvas)
  4020. #define IXpsOMObjectFactory_CreateGlyphs(This,fontResource,glyphs) (This)->lpVtbl->CreateGlyphs(This,fontResource,glyphs)
  4021. #define IXpsOMObjectFactory_CreatePath(This,path) (This)->lpVtbl->CreatePath(This,path)
  4022. #define IXpsOMObjectFactory_CreateGeometry(This,geometry) (This)->lpVtbl->CreateGeometry(This,geometry)
  4023. #define IXpsOMObjectFactory_CreateGeometryFigure(This,startPoint,figure) (This)->lpVtbl->CreateGeometryFigure(This,startPoint,figure)
  4024. #define IXpsOMObjectFactory_CreateMatrixTransform(This,matrix,transform) (This)->lpVtbl->CreateMatrixTransform(This,matrix,transform)
  4025. #define IXpsOMObjectFactory_CreateSolidColorBrush(This,color,colorProfile,solidColorBrush) (This)->lpVtbl->CreateSolidColorBrush(This,color,colorProfile,solidColorBrush)
  4026. #define IXpsOMObjectFactory_CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource) (This)->lpVtbl->CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource)
  4027. #define IXpsOMObjectFactory_CreateImageBrush(This,image,viewBox,viewPort,imageBrush) (This)->lpVtbl->CreateImageBrush(This,image,viewBox,viewPort,imageBrush)
  4028. #define IXpsOMObjectFactory_CreateVisualBrush(This,viewBox,viewPort,visualBrush) (This)->lpVtbl->CreateVisualBrush(This,viewBox,viewPort,visualBrush)
  4029. #define IXpsOMObjectFactory_CreateImageResource(This,acquiredStream,contentType,partUri,imageResource) (This)->lpVtbl->CreateImageResource(This,acquiredStream,contentType,partUri,imageResource)
  4030. #define IXpsOMObjectFactory_CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource) (This)->lpVtbl->CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource)
  4031. #define IXpsOMObjectFactory_CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource) (This)->lpVtbl->CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource)
  4032. #define IXpsOMObjectFactory_CreateGradientStop(This,color,colorProfile,offset,gradientStop) (This)->lpVtbl->CreateGradientStop(This,color,colorProfile,offset,gradientStop)
  4033. #define IXpsOMObjectFactory_CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush) (This)->lpVtbl->CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush)
  4034. #define IXpsOMObjectFactory_CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush) (This)->lpVtbl->CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush)
  4035. #define IXpsOMObjectFactory_CreateCoreProperties(This,partUri,coreProperties) (This)->lpVtbl->CreateCoreProperties(This,partUri,coreProperties)
  4036. #define IXpsOMObjectFactory_CreateDictionary(This,dictionary) (This)->lpVtbl->CreateDictionary(This,dictionary)
  4037. #define IXpsOMObjectFactory_CreatePartUriCollection(This,partUriCollection) (This)->lpVtbl->CreatePartUriCollection(This,partUriCollection)
  4038. #define IXpsOMObjectFactory_CreatePackageWriterOnFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter) (This)->lpVtbl->CreatePackageWriterOnFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter)
  4039. #define IXpsOMObjectFactory_CreatePackageWriterOnStream(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter) (This)->lpVtbl->CreatePackageWriterOnStream(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter)
  4040. #define IXpsOMObjectFactory_CreatePartUri(This,uri,partUri) (This)->lpVtbl->CreatePartUri(This,uri,partUri)
  4041. #define IXpsOMObjectFactory_CreateReadOnlyStreamOnFile(This,filename,stream) (This)->lpVtbl->CreateReadOnlyStreamOnFile(This,filename,stream)
  4042. #else
  4043. /*** IUnknown methods ***/
  4044. static FORCEINLINE HRESULT IXpsOMObjectFactory_QueryInterface(IXpsOMObjectFactory* This,REFIID riid,void **ppvObject) {
  4045. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4046. }
  4047. static FORCEINLINE ULONG IXpsOMObjectFactory_AddRef(IXpsOMObjectFactory* This) {
  4048. return This->lpVtbl->AddRef(This);
  4049. }
  4050. static FORCEINLINE ULONG IXpsOMObjectFactory_Release(IXpsOMObjectFactory* This) {
  4051. return This->lpVtbl->Release(This);
  4052. }
  4053. /*** IXpsOMObjectFactory methods ***/
  4054. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePackage(IXpsOMObjectFactory* This,IXpsOMPackage **package) {
  4055. return This->lpVtbl->CreatePackage(This,package);
  4056. }
  4057. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePackageFromFile(IXpsOMObjectFactory* This,LPCWSTR filename,WINBOOL reuseObjects,IXpsOMPackage **package) {
  4058. return This->lpVtbl->CreatePackageFromFile(This,filename,reuseObjects,package);
  4059. }
  4060. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePackageFromStream(IXpsOMObjectFactory* This,IStream *stream,WINBOOL reuseObjects,IXpsOMPackage **package) {
  4061. return This->lpVtbl->CreatePackageFromStream(This,stream,reuseObjects,package);
  4062. }
  4063. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateStoryFragmentsResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMStoryFragmentsResource **storyFragmentsResource) {
  4064. return This->lpVtbl->CreateStoryFragmentsResource(This,acquiredStream,partUri,storyFragmentsResource);
  4065. }
  4066. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateDocumentStructureResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMDocumentStructureResource **documentStructureResource) {
  4067. return This->lpVtbl->CreateDocumentStructureResource(This,acquiredStream,partUri,documentStructureResource);
  4068. }
  4069. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateSignatureBlockResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMSignatureBlockResource **signatureBlockResource) {
  4070. return This->lpVtbl->CreateSignatureBlockResource(This,acquiredStream,partUri,signatureBlockResource);
  4071. }
  4072. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateRemoteDictionaryResource(IXpsOMObjectFactory* This,IXpsOMDictionary *dictionary,IOpcPartUri *partUri,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
  4073. return This->lpVtbl->CreateRemoteDictionaryResource(This,dictionary,partUri,remoteDictionaryResource);
  4074. }
  4075. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateRemoteDictionaryResourceFromStream(IXpsOMObjectFactory* This,IStream *dictionaryMarkupStream,IOpcPartUri *dictionaryPartUri,IXpsOMPartResources *resources,IXpsOMRemoteDictionaryResource **dictionaryResource) {
  4076. return This->lpVtbl->CreateRemoteDictionaryResourceFromStream(This,dictionaryMarkupStream,dictionaryPartUri,resources,dictionaryResource);
  4077. }
  4078. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePartResources(IXpsOMObjectFactory* This,IXpsOMPartResources **partResources) {
  4079. return This->lpVtbl->CreatePartResources(This,partResources);
  4080. }
  4081. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateDocumentSequence(IXpsOMObjectFactory* This,IOpcPartUri *partUri,IXpsOMDocumentSequence **documentSequence) {
  4082. return This->lpVtbl->CreateDocumentSequence(This,partUri,documentSequence);
  4083. }
  4084. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateDocument(IXpsOMObjectFactory* This,IOpcPartUri *partUri,IXpsOMDocument **document) {
  4085. return This->lpVtbl->CreateDocument(This,partUri,document);
  4086. }
  4087. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePageReference(IXpsOMObjectFactory* This,const XPS_SIZE *advisoryPageDimensions,IXpsOMPageReference **pageReference) {
  4088. return This->lpVtbl->CreatePageReference(This,advisoryPageDimensions,pageReference);
  4089. }
  4090. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePage(IXpsOMObjectFactory* This,const XPS_SIZE *pageDimensions,LPCWSTR language,IOpcPartUri *partUri,IXpsOMPage **page) {
  4091. return This->lpVtbl->CreatePage(This,pageDimensions,language,partUri,page);
  4092. }
  4093. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePageFromStream(IXpsOMObjectFactory* This,IStream *pageMarkupStream,IOpcPartUri *partUri,IXpsOMPartResources *resources,WINBOOL reuseObjects,IXpsOMPage **page) {
  4094. return This->lpVtbl->CreatePageFromStream(This,pageMarkupStream,partUri,resources,reuseObjects,page);
  4095. }
  4096. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateCanvas(IXpsOMObjectFactory* This,IXpsOMCanvas **canvas) {
  4097. return This->lpVtbl->CreateCanvas(This,canvas);
  4098. }
  4099. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateGlyphs(IXpsOMObjectFactory* This,IXpsOMFontResource *fontResource,IXpsOMGlyphs **glyphs) {
  4100. return This->lpVtbl->CreateGlyphs(This,fontResource,glyphs);
  4101. }
  4102. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePath(IXpsOMObjectFactory* This,IXpsOMPath **path) {
  4103. return This->lpVtbl->CreatePath(This,path);
  4104. }
  4105. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateGeometry(IXpsOMObjectFactory* This,IXpsOMGeometry **geometry) {
  4106. return This->lpVtbl->CreateGeometry(This,geometry);
  4107. }
  4108. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateGeometryFigure(IXpsOMObjectFactory* This,const XPS_POINT *startPoint,IXpsOMGeometryFigure **figure) {
  4109. return This->lpVtbl->CreateGeometryFigure(This,startPoint,figure);
  4110. }
  4111. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateMatrixTransform(IXpsOMObjectFactory* This,const XPS_MATRIX *matrix,IXpsOMMatrixTransform **transform) {
  4112. return This->lpVtbl->CreateMatrixTransform(This,matrix,transform);
  4113. }
  4114. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateSolidColorBrush(IXpsOMObjectFactory* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile,IXpsOMSolidColorBrush **solidColorBrush) {
  4115. return This->lpVtbl->CreateSolidColorBrush(This,color,colorProfile,solidColorBrush);
  4116. }
  4117. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateColorProfileResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMColorProfileResource **colorProfileResource) {
  4118. return This->lpVtbl->CreateColorProfileResource(This,acquiredStream,partUri,colorProfileResource);
  4119. }
  4120. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateImageBrush(IXpsOMObjectFactory* This,IXpsOMImageResource *image,const XPS_RECT *viewBox,const XPS_RECT *viewPort,IXpsOMImageBrush **imageBrush) {
  4121. return This->lpVtbl->CreateImageBrush(This,image,viewBox,viewPort,imageBrush);
  4122. }
  4123. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateVisualBrush(IXpsOMObjectFactory* This,const XPS_RECT *viewBox,const XPS_RECT *viewPort,IXpsOMVisualBrush **visualBrush) {
  4124. return This->lpVtbl->CreateVisualBrush(This,viewBox,viewPort,visualBrush);
  4125. }
  4126. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateImageResource(IXpsOMObjectFactory* This,IStream *acquiredStream,XPS_IMAGE_TYPE contentType,IOpcPartUri *partUri,IXpsOMImageResource **imageResource) {
  4127. return This->lpVtbl->CreateImageResource(This,acquiredStream,contentType,partUri,imageResource);
  4128. }
  4129. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePrintTicketResource(IXpsOMObjectFactory* This,IStream *acquiredStream,IOpcPartUri *partUri,IXpsOMPrintTicketResource **printTicketResource) {
  4130. return This->lpVtbl->CreatePrintTicketResource(This,acquiredStream,partUri,printTicketResource);
  4131. }
  4132. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateFontResource(IXpsOMObjectFactory* This,IStream *acquiredStream,XPS_FONT_EMBEDDING fontEmbedding,IOpcPartUri *partUri,WINBOOL isObfSourceStream,IXpsOMFontResource **fontResource) {
  4133. return This->lpVtbl->CreateFontResource(This,acquiredStream,fontEmbedding,partUri,isObfSourceStream,fontResource);
  4134. }
  4135. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateGradientStop(IXpsOMObjectFactory* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile,FLOAT offset,IXpsOMGradientStop **gradientStop) {
  4136. return This->lpVtbl->CreateGradientStop(This,color,colorProfile,offset,gradientStop);
  4137. }
  4138. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateLinearGradientBrush(IXpsOMObjectFactory* This,IXpsOMGradientStop *gradStop1,IXpsOMGradientStop *gradStop2,const XPS_POINT *startPoint,const XPS_POINT *endPoint,IXpsOMLinearGradientBrush **linearGradientBrush) {
  4139. return This->lpVtbl->CreateLinearGradientBrush(This,gradStop1,gradStop2,startPoint,endPoint,linearGradientBrush);
  4140. }
  4141. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateRadialGradientBrush(IXpsOMObjectFactory* This,IXpsOMGradientStop *gradStop1,IXpsOMGradientStop *gradStop2,const XPS_POINT *centerPoint,const XPS_POINT *gradientOrigin,const XPS_SIZE *radiiSizes,IXpsOMRadialGradientBrush **radialGradientBrush) {
  4142. return This->lpVtbl->CreateRadialGradientBrush(This,gradStop1,gradStop2,centerPoint,gradientOrigin,radiiSizes,radialGradientBrush);
  4143. }
  4144. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateCoreProperties(IXpsOMObjectFactory* This,IOpcPartUri *partUri,IXpsOMCoreProperties **coreProperties) {
  4145. return This->lpVtbl->CreateCoreProperties(This,partUri,coreProperties);
  4146. }
  4147. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateDictionary(IXpsOMObjectFactory* This,IXpsOMDictionary **dictionary) {
  4148. return This->lpVtbl->CreateDictionary(This,dictionary);
  4149. }
  4150. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePartUriCollection(IXpsOMObjectFactory* This,IXpsOMPartUriCollection **partUriCollection) {
  4151. return This->lpVtbl->CreatePartUriCollection(This,partUriCollection);
  4152. }
  4153. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePackageWriterOnFile(IXpsOMObjectFactory* This,LPCWSTR fileName,LPSECURITY_ATTRIBUTES securityAttributes,DWORD flagsAndAttributes,WINBOOL optimizeMarkupSize,XPS_INTERLEAVING interleaving,IOpcPartUri *documentSequencePartName,IXpsOMCoreProperties *coreProperties,IXpsOMImageResource *packageThumbnail,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,IXpsOMPackageWriter **packageWriter) {
  4154. return This->lpVtbl->CreatePackageWriterOnFile(This,fileName,securityAttributes,flagsAndAttributes,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter);
  4155. }
  4156. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePackageWriterOnStream(IXpsOMObjectFactory* This,ISequentialStream *outputStream,WINBOOL optimizeMarkupSize,XPS_INTERLEAVING interleaving,IOpcPartUri *documentSequencePartName,IXpsOMCoreProperties *coreProperties,IXpsOMImageResource *packageThumbnail,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,IXpsOMPackageWriter **packageWriter) {
  4157. return This->lpVtbl->CreatePackageWriterOnStream(This,outputStream,optimizeMarkupSize,interleaving,documentSequencePartName,coreProperties,packageThumbnail,documentSequencePrintTicket,discardControlPartName,packageWriter);
  4158. }
  4159. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreatePartUri(IXpsOMObjectFactory* This,LPCWSTR uri,IOpcPartUri **partUri) {
  4160. return This->lpVtbl->CreatePartUri(This,uri,partUri);
  4161. }
  4162. static FORCEINLINE HRESULT IXpsOMObjectFactory_CreateReadOnlyStreamOnFile(IXpsOMObjectFactory* This,LPCWSTR filename,IStream **stream) {
  4163. return This->lpVtbl->CreateReadOnlyStreamOnFile(This,filename,stream);
  4164. }
  4165. #endif
  4166. #endif
  4167. #endif
  4168. #endif /* __IXpsOMObjectFactory_INTERFACE_DEFINED__ */
  4169. /*****************************************************************************
  4170. * IXpsOMNameCollection interface
  4171. */
  4172. #ifndef __IXpsOMNameCollection_INTERFACE_DEFINED__
  4173. #define __IXpsOMNameCollection_INTERFACE_DEFINED__
  4174. DEFINE_GUID(IID_IXpsOMNameCollection, 0x4bddf8ec, 0xc915, 0x421b, 0xa1,0x66, 0xd1,0x73,0xd2,0x56,0x53,0xd2);
  4175. #if defined(__cplusplus) && !defined(CINTERFACE)
  4176. MIDL_INTERFACE("4bddf8ec-c915-421b-a166-d173d25653d2")
  4177. IXpsOMNameCollection : public IUnknown
  4178. {
  4179. virtual HRESULT STDMETHODCALLTYPE GetCount(
  4180. UINT32 *count) = 0;
  4181. virtual HRESULT STDMETHODCALLTYPE GetAt(
  4182. UINT32 index,
  4183. LPWSTR *name) = 0;
  4184. };
  4185. #ifdef __CRT_UUID_DECL
  4186. __CRT_UUID_DECL(IXpsOMNameCollection, 0x4bddf8ec, 0xc915, 0x421b, 0xa1,0x66, 0xd1,0x73,0xd2,0x56,0x53,0xd2)
  4187. #endif
  4188. #else
  4189. typedef struct IXpsOMNameCollectionVtbl {
  4190. BEGIN_INTERFACE
  4191. /*** IUnknown methods ***/
  4192. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4193. IXpsOMNameCollection *This,
  4194. REFIID riid,
  4195. void **ppvObject);
  4196. ULONG (STDMETHODCALLTYPE *AddRef)(
  4197. IXpsOMNameCollection *This);
  4198. ULONG (STDMETHODCALLTYPE *Release)(
  4199. IXpsOMNameCollection *This);
  4200. /*** IXpsOMNameCollection methods ***/
  4201. HRESULT (STDMETHODCALLTYPE *GetCount)(
  4202. IXpsOMNameCollection *This,
  4203. UINT32 *count);
  4204. HRESULT (STDMETHODCALLTYPE *GetAt)(
  4205. IXpsOMNameCollection *This,
  4206. UINT32 index,
  4207. LPWSTR *name);
  4208. END_INTERFACE
  4209. } IXpsOMNameCollectionVtbl;
  4210. interface IXpsOMNameCollection {
  4211. CONST_VTBL IXpsOMNameCollectionVtbl* lpVtbl;
  4212. };
  4213. #ifdef COBJMACROS
  4214. #ifndef WIDL_C_INLINE_WRAPPERS
  4215. /*** IUnknown methods ***/
  4216. #define IXpsOMNameCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4217. #define IXpsOMNameCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  4218. #define IXpsOMNameCollection_Release(This) (This)->lpVtbl->Release(This)
  4219. /*** IXpsOMNameCollection methods ***/
  4220. #define IXpsOMNameCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  4221. #define IXpsOMNameCollection_GetAt(This,index,name) (This)->lpVtbl->GetAt(This,index,name)
  4222. #else
  4223. /*** IUnknown methods ***/
  4224. static FORCEINLINE HRESULT IXpsOMNameCollection_QueryInterface(IXpsOMNameCollection* This,REFIID riid,void **ppvObject) {
  4225. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4226. }
  4227. static FORCEINLINE ULONG IXpsOMNameCollection_AddRef(IXpsOMNameCollection* This) {
  4228. return This->lpVtbl->AddRef(This);
  4229. }
  4230. static FORCEINLINE ULONG IXpsOMNameCollection_Release(IXpsOMNameCollection* This) {
  4231. return This->lpVtbl->Release(This);
  4232. }
  4233. /*** IXpsOMNameCollection methods ***/
  4234. static FORCEINLINE HRESULT IXpsOMNameCollection_GetCount(IXpsOMNameCollection* This,UINT32 *count) {
  4235. return This->lpVtbl->GetCount(This,count);
  4236. }
  4237. static FORCEINLINE HRESULT IXpsOMNameCollection_GetAt(IXpsOMNameCollection* This,UINT32 index,LPWSTR *name) {
  4238. return This->lpVtbl->GetAt(This,index,name);
  4239. }
  4240. #endif
  4241. #endif
  4242. #endif
  4243. #endif /* __IXpsOMNameCollection_INTERFACE_DEFINED__ */
  4244. /*****************************************************************************
  4245. * IXpsOMPartUriCollection interface
  4246. */
  4247. #ifndef __IXpsOMPartUriCollection_INTERFACE_DEFINED__
  4248. #define __IXpsOMPartUriCollection_INTERFACE_DEFINED__
  4249. DEFINE_GUID(IID_IXpsOMPartUriCollection, 0x57c650d4, 0x067c, 0x4893, 0x8c,0x33, 0xf6,0x2a,0x06,0x33,0x73,0x0f);
  4250. #if defined(__cplusplus) && !defined(CINTERFACE)
  4251. MIDL_INTERFACE("57c650d4-067c-4893-8c33-f62a0633730f")
  4252. IXpsOMPartUriCollection : public IUnknown
  4253. {
  4254. virtual HRESULT STDMETHODCALLTYPE GetCount(
  4255. UINT32 *count) = 0;
  4256. virtual HRESULT STDMETHODCALLTYPE GetAt(
  4257. UINT32 index,
  4258. IOpcPartUri **partUri) = 0;
  4259. virtual HRESULT STDMETHODCALLTYPE InsertAt(
  4260. UINT32 index,
  4261. IOpcPartUri *partUri) = 0;
  4262. virtual HRESULT STDMETHODCALLTYPE RemoveAt(
  4263. UINT32 index) = 0;
  4264. virtual HRESULT STDMETHODCALLTYPE SetAt(
  4265. UINT32 index,
  4266. IOpcPartUri *partUri) = 0;
  4267. virtual HRESULT STDMETHODCALLTYPE Append(
  4268. IOpcPartUri *partUri) = 0;
  4269. };
  4270. #ifdef __CRT_UUID_DECL
  4271. __CRT_UUID_DECL(IXpsOMPartUriCollection, 0x57c650d4, 0x067c, 0x4893, 0x8c,0x33, 0xf6,0x2a,0x06,0x33,0x73,0x0f)
  4272. #endif
  4273. #else
  4274. typedef struct IXpsOMPartUriCollectionVtbl {
  4275. BEGIN_INTERFACE
  4276. /*** IUnknown methods ***/
  4277. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4278. IXpsOMPartUriCollection *This,
  4279. REFIID riid,
  4280. void **ppvObject);
  4281. ULONG (STDMETHODCALLTYPE *AddRef)(
  4282. IXpsOMPartUriCollection *This);
  4283. ULONG (STDMETHODCALLTYPE *Release)(
  4284. IXpsOMPartUriCollection *This);
  4285. /*** IXpsOMPartUriCollection methods ***/
  4286. HRESULT (STDMETHODCALLTYPE *GetCount)(
  4287. IXpsOMPartUriCollection *This,
  4288. UINT32 *count);
  4289. HRESULT (STDMETHODCALLTYPE *GetAt)(
  4290. IXpsOMPartUriCollection *This,
  4291. UINT32 index,
  4292. IOpcPartUri **partUri);
  4293. HRESULT (STDMETHODCALLTYPE *InsertAt)(
  4294. IXpsOMPartUriCollection *This,
  4295. UINT32 index,
  4296. IOpcPartUri *partUri);
  4297. HRESULT (STDMETHODCALLTYPE *RemoveAt)(
  4298. IXpsOMPartUriCollection *This,
  4299. UINT32 index);
  4300. HRESULT (STDMETHODCALLTYPE *SetAt)(
  4301. IXpsOMPartUriCollection *This,
  4302. UINT32 index,
  4303. IOpcPartUri *partUri);
  4304. HRESULT (STDMETHODCALLTYPE *Append)(
  4305. IXpsOMPartUriCollection *This,
  4306. IOpcPartUri *partUri);
  4307. END_INTERFACE
  4308. } IXpsOMPartUriCollectionVtbl;
  4309. interface IXpsOMPartUriCollection {
  4310. CONST_VTBL IXpsOMPartUriCollectionVtbl* lpVtbl;
  4311. };
  4312. #ifdef COBJMACROS
  4313. #ifndef WIDL_C_INLINE_WRAPPERS
  4314. /*** IUnknown methods ***/
  4315. #define IXpsOMPartUriCollection_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4316. #define IXpsOMPartUriCollection_AddRef(This) (This)->lpVtbl->AddRef(This)
  4317. #define IXpsOMPartUriCollection_Release(This) (This)->lpVtbl->Release(This)
  4318. /*** IXpsOMPartUriCollection methods ***/
  4319. #define IXpsOMPartUriCollection_GetCount(This,count) (This)->lpVtbl->GetCount(This,count)
  4320. #define IXpsOMPartUriCollection_GetAt(This,index,partUri) (This)->lpVtbl->GetAt(This,index,partUri)
  4321. #define IXpsOMPartUriCollection_InsertAt(This,index,partUri) (This)->lpVtbl->InsertAt(This,index,partUri)
  4322. #define IXpsOMPartUriCollection_RemoveAt(This,index) (This)->lpVtbl->RemoveAt(This,index)
  4323. #define IXpsOMPartUriCollection_SetAt(This,index,partUri) (This)->lpVtbl->SetAt(This,index,partUri)
  4324. #define IXpsOMPartUriCollection_Append(This,partUri) (This)->lpVtbl->Append(This,partUri)
  4325. #else
  4326. /*** IUnknown methods ***/
  4327. static FORCEINLINE HRESULT IXpsOMPartUriCollection_QueryInterface(IXpsOMPartUriCollection* This,REFIID riid,void **ppvObject) {
  4328. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4329. }
  4330. static FORCEINLINE ULONG IXpsOMPartUriCollection_AddRef(IXpsOMPartUriCollection* This) {
  4331. return This->lpVtbl->AddRef(This);
  4332. }
  4333. static FORCEINLINE ULONG IXpsOMPartUriCollection_Release(IXpsOMPartUriCollection* This) {
  4334. return This->lpVtbl->Release(This);
  4335. }
  4336. /*** IXpsOMPartUriCollection methods ***/
  4337. static FORCEINLINE HRESULT IXpsOMPartUriCollection_GetCount(IXpsOMPartUriCollection* This,UINT32 *count) {
  4338. return This->lpVtbl->GetCount(This,count);
  4339. }
  4340. static FORCEINLINE HRESULT IXpsOMPartUriCollection_GetAt(IXpsOMPartUriCollection* This,UINT32 index,IOpcPartUri **partUri) {
  4341. return This->lpVtbl->GetAt(This,index,partUri);
  4342. }
  4343. static FORCEINLINE HRESULT IXpsOMPartUriCollection_InsertAt(IXpsOMPartUriCollection* This,UINT32 index,IOpcPartUri *partUri) {
  4344. return This->lpVtbl->InsertAt(This,index,partUri);
  4345. }
  4346. static FORCEINLINE HRESULT IXpsOMPartUriCollection_RemoveAt(IXpsOMPartUriCollection* This,UINT32 index) {
  4347. return This->lpVtbl->RemoveAt(This,index);
  4348. }
  4349. static FORCEINLINE HRESULT IXpsOMPartUriCollection_SetAt(IXpsOMPartUriCollection* This,UINT32 index,IOpcPartUri *partUri) {
  4350. return This->lpVtbl->SetAt(This,index,partUri);
  4351. }
  4352. static FORCEINLINE HRESULT IXpsOMPartUriCollection_Append(IXpsOMPartUriCollection* This,IOpcPartUri *partUri) {
  4353. return This->lpVtbl->Append(This,partUri);
  4354. }
  4355. #endif
  4356. #endif
  4357. #endif
  4358. #endif /* __IXpsOMPartUriCollection_INTERFACE_DEFINED__ */
  4359. /*****************************************************************************
  4360. * IXpsOMPackageWriter interface
  4361. */
  4362. #ifndef __IXpsOMPackageWriter_INTERFACE_DEFINED__
  4363. #define __IXpsOMPackageWriter_INTERFACE_DEFINED__
  4364. DEFINE_GUID(IID_IXpsOMPackageWriter, 0x4e2aa182, 0xa443, 0x42c6, 0xb4,0x1b, 0x4f,0x8e,0x9d,0xe7,0x3f,0xf9);
  4365. #if defined(__cplusplus) && !defined(CINTERFACE)
  4366. MIDL_INTERFACE("4e2aa182-a443-42c6-b41b-4f8e9de73ff9")
  4367. IXpsOMPackageWriter : public IUnknown
  4368. {
  4369. virtual HRESULT STDMETHODCALLTYPE StartNewDocument(
  4370. IOpcPartUri *documentPartName,
  4371. IXpsOMPrintTicketResource *documentPrintTicket,
  4372. IXpsOMDocumentStructureResource *documentStructure,
  4373. IXpsOMSignatureBlockResourceCollection *signatureBlockResources,
  4374. IXpsOMPartUriCollection *restrictedFonts) = 0;
  4375. virtual HRESULT STDMETHODCALLTYPE AddPage(
  4376. IXpsOMPage *page,
  4377. const XPS_SIZE *advisoryPageDimensions,
  4378. IXpsOMPartUriCollection *discardableResourceParts,
  4379. IXpsOMStoryFragmentsResource *storyFragments,
  4380. IXpsOMPrintTicketResource *pagePrintTicket,
  4381. IXpsOMImageResource *pageThumbnail) = 0;
  4382. virtual HRESULT STDMETHODCALLTYPE AddResource(
  4383. IXpsOMResource *resource) = 0;
  4384. virtual HRESULT STDMETHODCALLTYPE Close(
  4385. ) = 0;
  4386. virtual HRESULT STDMETHODCALLTYPE IsClosed(
  4387. WINBOOL *isClosed) = 0;
  4388. };
  4389. #ifdef __CRT_UUID_DECL
  4390. __CRT_UUID_DECL(IXpsOMPackageWriter, 0x4e2aa182, 0xa443, 0x42c6, 0xb4,0x1b, 0x4f,0x8e,0x9d,0xe7,0x3f,0xf9)
  4391. #endif
  4392. #else
  4393. typedef struct IXpsOMPackageWriterVtbl {
  4394. BEGIN_INTERFACE
  4395. /*** IUnknown methods ***/
  4396. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4397. IXpsOMPackageWriter *This,
  4398. REFIID riid,
  4399. void **ppvObject);
  4400. ULONG (STDMETHODCALLTYPE *AddRef)(
  4401. IXpsOMPackageWriter *This);
  4402. ULONG (STDMETHODCALLTYPE *Release)(
  4403. IXpsOMPackageWriter *This);
  4404. /*** IXpsOMPackageWriter methods ***/
  4405. HRESULT (STDMETHODCALLTYPE *StartNewDocument)(
  4406. IXpsOMPackageWriter *This,
  4407. IOpcPartUri *documentPartName,
  4408. IXpsOMPrintTicketResource *documentPrintTicket,
  4409. IXpsOMDocumentStructureResource *documentStructure,
  4410. IXpsOMSignatureBlockResourceCollection *signatureBlockResources,
  4411. IXpsOMPartUriCollection *restrictedFonts);
  4412. HRESULT (STDMETHODCALLTYPE *AddPage)(
  4413. IXpsOMPackageWriter *This,
  4414. IXpsOMPage *page,
  4415. const XPS_SIZE *advisoryPageDimensions,
  4416. IXpsOMPartUriCollection *discardableResourceParts,
  4417. IXpsOMStoryFragmentsResource *storyFragments,
  4418. IXpsOMPrintTicketResource *pagePrintTicket,
  4419. IXpsOMImageResource *pageThumbnail);
  4420. HRESULT (STDMETHODCALLTYPE *AddResource)(
  4421. IXpsOMPackageWriter *This,
  4422. IXpsOMResource *resource);
  4423. HRESULT (STDMETHODCALLTYPE *Close)(
  4424. IXpsOMPackageWriter *This);
  4425. HRESULT (STDMETHODCALLTYPE *IsClosed)(
  4426. IXpsOMPackageWriter *This,
  4427. WINBOOL *isClosed);
  4428. END_INTERFACE
  4429. } IXpsOMPackageWriterVtbl;
  4430. interface IXpsOMPackageWriter {
  4431. CONST_VTBL IXpsOMPackageWriterVtbl* lpVtbl;
  4432. };
  4433. #ifdef COBJMACROS
  4434. #ifndef WIDL_C_INLINE_WRAPPERS
  4435. /*** IUnknown methods ***/
  4436. #define IXpsOMPackageWriter_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4437. #define IXpsOMPackageWriter_AddRef(This) (This)->lpVtbl->AddRef(This)
  4438. #define IXpsOMPackageWriter_Release(This) (This)->lpVtbl->Release(This)
  4439. /*** IXpsOMPackageWriter methods ***/
  4440. #define IXpsOMPackageWriter_StartNewDocument(This,documentPartName,documentPrintTicket,documentStructure,signatureBlockResources,restrictedFonts) (This)->lpVtbl->StartNewDocument(This,documentPartName,documentPrintTicket,documentStructure,signatureBlockResources,restrictedFonts)
  4441. #define IXpsOMPackageWriter_AddPage(This,page,advisoryPageDimensions,discardableResourceParts,storyFragments,pagePrintTicket,pageThumbnail) (This)->lpVtbl->AddPage(This,page,advisoryPageDimensions,discardableResourceParts,storyFragments,pagePrintTicket,pageThumbnail)
  4442. #define IXpsOMPackageWriter_AddResource(This,resource) (This)->lpVtbl->AddResource(This,resource)
  4443. #define IXpsOMPackageWriter_Close(This) (This)->lpVtbl->Close(This)
  4444. #define IXpsOMPackageWriter_IsClosed(This,isClosed) (This)->lpVtbl->IsClosed(This,isClosed)
  4445. #else
  4446. /*** IUnknown methods ***/
  4447. static FORCEINLINE HRESULT IXpsOMPackageWriter_QueryInterface(IXpsOMPackageWriter* This,REFIID riid,void **ppvObject) {
  4448. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4449. }
  4450. static FORCEINLINE ULONG IXpsOMPackageWriter_AddRef(IXpsOMPackageWriter* This) {
  4451. return This->lpVtbl->AddRef(This);
  4452. }
  4453. static FORCEINLINE ULONG IXpsOMPackageWriter_Release(IXpsOMPackageWriter* This) {
  4454. return This->lpVtbl->Release(This);
  4455. }
  4456. /*** IXpsOMPackageWriter methods ***/
  4457. static FORCEINLINE HRESULT IXpsOMPackageWriter_StartNewDocument(IXpsOMPackageWriter* This,IOpcPartUri *documentPartName,IXpsOMPrintTicketResource *documentPrintTicket,IXpsOMDocumentStructureResource *documentStructure,IXpsOMSignatureBlockResourceCollection *signatureBlockResources,IXpsOMPartUriCollection *restrictedFonts) {
  4458. return This->lpVtbl->StartNewDocument(This,documentPartName,documentPrintTicket,documentStructure,signatureBlockResources,restrictedFonts);
  4459. }
  4460. static FORCEINLINE HRESULT IXpsOMPackageWriter_AddPage(IXpsOMPackageWriter* This,IXpsOMPage *page,const XPS_SIZE *advisoryPageDimensions,IXpsOMPartUriCollection *discardableResourceParts,IXpsOMStoryFragmentsResource *storyFragments,IXpsOMPrintTicketResource *pagePrintTicket,IXpsOMImageResource *pageThumbnail) {
  4461. return This->lpVtbl->AddPage(This,page,advisoryPageDimensions,discardableResourceParts,storyFragments,pagePrintTicket,pageThumbnail);
  4462. }
  4463. static FORCEINLINE HRESULT IXpsOMPackageWriter_AddResource(IXpsOMPackageWriter* This,IXpsOMResource *resource) {
  4464. return This->lpVtbl->AddResource(This,resource);
  4465. }
  4466. static FORCEINLINE HRESULT IXpsOMPackageWriter_Close(IXpsOMPackageWriter* This) {
  4467. return This->lpVtbl->Close(This);
  4468. }
  4469. static FORCEINLINE HRESULT IXpsOMPackageWriter_IsClosed(IXpsOMPackageWriter* This,WINBOOL *isClosed) {
  4470. return This->lpVtbl->IsClosed(This,isClosed);
  4471. }
  4472. #endif
  4473. #endif
  4474. #endif
  4475. #endif /* __IXpsOMPackageWriter_INTERFACE_DEFINED__ */
  4476. /*****************************************************************************
  4477. * IXpsOMPackageTarget interface
  4478. */
  4479. #ifndef __IXpsOMPackageTarget_INTERFACE_DEFINED__
  4480. #define __IXpsOMPackageTarget_INTERFACE_DEFINED__
  4481. DEFINE_GUID(IID_IXpsOMPackageTarget, 0x219a9db0, 0x4959, 0x47d0, 0x80,0x34, 0xb1,0xce,0x84,0xf4,0x1a,0x4d);
  4482. #if defined(__cplusplus) && !defined(CINTERFACE)
  4483. MIDL_INTERFACE("219a9db0-4959-47d0-8034-b1ce84f41a4d")
  4484. IXpsOMPackageTarget : public IUnknown
  4485. {
  4486. virtual HRESULT STDMETHODCALLTYPE CreateXpsOMPackageWriter(
  4487. IOpcPartUri *documentSequencePartName,
  4488. IXpsOMPrintTicketResource *documentSequencePrintTicket,
  4489. IOpcPartUri *discardControlPartName,
  4490. IXpsOMPackageWriter **packageWriter) = 0;
  4491. };
  4492. #ifdef __CRT_UUID_DECL
  4493. __CRT_UUID_DECL(IXpsOMPackageTarget, 0x219a9db0, 0x4959, 0x47d0, 0x80,0x34, 0xb1,0xce,0x84,0xf4,0x1a,0x4d)
  4494. #endif
  4495. #else
  4496. typedef struct IXpsOMPackageTargetVtbl {
  4497. BEGIN_INTERFACE
  4498. /*** IUnknown methods ***/
  4499. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4500. IXpsOMPackageTarget *This,
  4501. REFIID riid,
  4502. void **ppvObject);
  4503. ULONG (STDMETHODCALLTYPE *AddRef)(
  4504. IXpsOMPackageTarget *This);
  4505. ULONG (STDMETHODCALLTYPE *Release)(
  4506. IXpsOMPackageTarget *This);
  4507. /*** IXpsOMPackageTarget methods ***/
  4508. HRESULT (STDMETHODCALLTYPE *CreateXpsOMPackageWriter)(
  4509. IXpsOMPackageTarget *This,
  4510. IOpcPartUri *documentSequencePartName,
  4511. IXpsOMPrintTicketResource *documentSequencePrintTicket,
  4512. IOpcPartUri *discardControlPartName,
  4513. IXpsOMPackageWriter **packageWriter);
  4514. END_INTERFACE
  4515. } IXpsOMPackageTargetVtbl;
  4516. interface IXpsOMPackageTarget {
  4517. CONST_VTBL IXpsOMPackageTargetVtbl* lpVtbl;
  4518. };
  4519. #ifdef COBJMACROS
  4520. #ifndef WIDL_C_INLINE_WRAPPERS
  4521. /*** IUnknown methods ***/
  4522. #define IXpsOMPackageTarget_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4523. #define IXpsOMPackageTarget_AddRef(This) (This)->lpVtbl->AddRef(This)
  4524. #define IXpsOMPackageTarget_Release(This) (This)->lpVtbl->Release(This)
  4525. /*** IXpsOMPackageTarget methods ***/
  4526. #define IXpsOMPackageTarget_CreateXpsOMPackageWriter(This,documentSequencePartName,documentSequencePrintTicket,discardControlPartName,packageWriter) (This)->lpVtbl->CreateXpsOMPackageWriter(This,documentSequencePartName,documentSequencePrintTicket,discardControlPartName,packageWriter)
  4527. #else
  4528. /*** IUnknown methods ***/
  4529. static FORCEINLINE HRESULT IXpsOMPackageTarget_QueryInterface(IXpsOMPackageTarget* This,REFIID riid,void **ppvObject) {
  4530. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4531. }
  4532. static FORCEINLINE ULONG IXpsOMPackageTarget_AddRef(IXpsOMPackageTarget* This) {
  4533. return This->lpVtbl->AddRef(This);
  4534. }
  4535. static FORCEINLINE ULONG IXpsOMPackageTarget_Release(IXpsOMPackageTarget* This) {
  4536. return This->lpVtbl->Release(This);
  4537. }
  4538. /*** IXpsOMPackageTarget methods ***/
  4539. static FORCEINLINE HRESULT IXpsOMPackageTarget_CreateXpsOMPackageWriter(IXpsOMPackageTarget* This,IOpcPartUri *documentSequencePartName,IXpsOMPrintTicketResource *documentSequencePrintTicket,IOpcPartUri *discardControlPartName,IXpsOMPackageWriter **packageWriter) {
  4540. return This->lpVtbl->CreateXpsOMPackageWriter(This,documentSequencePartName,documentSequencePrintTicket,discardControlPartName,packageWriter);
  4541. }
  4542. #endif
  4543. #endif
  4544. #endif
  4545. #endif /* __IXpsOMPackageTarget_INTERFACE_DEFINED__ */
  4546. /*****************************************************************************
  4547. * IXpsOMVisual interface
  4548. */
  4549. #ifndef __IXpsOMVisual_INTERFACE_DEFINED__
  4550. #define __IXpsOMVisual_INTERFACE_DEFINED__
  4551. DEFINE_GUID(IID_IXpsOMVisual, 0xbc3e7333, 0xfb0b, 0x4af3, 0xa8,0x19, 0x0b,0x4e,0xaa,0xd0,0xd2,0xfd);
  4552. #if defined(__cplusplus) && !defined(CINTERFACE)
  4553. MIDL_INTERFACE("bc3e7333-fb0b-4af3-a819-0b4eaad0d2fd")
  4554. IXpsOMVisual : public IXpsOMShareable
  4555. {
  4556. virtual HRESULT STDMETHODCALLTYPE GetTransform(
  4557. IXpsOMMatrixTransform **matrixTransform) = 0;
  4558. virtual HRESULT STDMETHODCALLTYPE GetTransformLocal(
  4559. IXpsOMMatrixTransform **matrixTransform) = 0;
  4560. virtual HRESULT STDMETHODCALLTYPE SetTransformLocal(
  4561. IXpsOMMatrixTransform *matrixTransform) = 0;
  4562. virtual HRESULT STDMETHODCALLTYPE GetTransformLookup(
  4563. LPWSTR *key) = 0;
  4564. virtual HRESULT STDMETHODCALLTYPE SetTransformLookup(
  4565. LPCWSTR key) = 0;
  4566. virtual HRESULT STDMETHODCALLTYPE GetClipGeometry(
  4567. IXpsOMGeometry **clipGeometry) = 0;
  4568. virtual HRESULT STDMETHODCALLTYPE GetClipGeometryLocal(
  4569. IXpsOMGeometry **clipGeometry) = 0;
  4570. virtual HRESULT STDMETHODCALLTYPE SetClipGeometryLocal(
  4571. IXpsOMGeometry *clipGeometry) = 0;
  4572. virtual HRESULT STDMETHODCALLTYPE GetClipGeometryLookup(
  4573. LPWSTR *key) = 0;
  4574. virtual HRESULT STDMETHODCALLTYPE SetClipGeometryLookup(
  4575. LPCWSTR key) = 0;
  4576. virtual HRESULT STDMETHODCALLTYPE GetOpacity(
  4577. FLOAT *opacity) = 0;
  4578. virtual HRESULT STDMETHODCALLTYPE SetOpacity(
  4579. FLOAT opacity) = 0;
  4580. virtual HRESULT STDMETHODCALLTYPE GetOpacityMaskBrush(
  4581. IXpsOMBrush **opacityMaskBrush) = 0;
  4582. virtual HRESULT STDMETHODCALLTYPE GetOpacityMaskBrushLocal(
  4583. IXpsOMBrush **opacityMaskBrush) = 0;
  4584. virtual HRESULT STDMETHODCALLTYPE SetOpacityMaskBrushLocal(
  4585. IXpsOMBrush *opacityMaskBrush) = 0;
  4586. virtual HRESULT STDMETHODCALLTYPE GetOpacityMaskBrushLookup(
  4587. LPWSTR *key) = 0;
  4588. virtual HRESULT STDMETHODCALLTYPE SetOpacityMaskBrushLookup(
  4589. LPCWSTR key) = 0;
  4590. virtual HRESULT STDMETHODCALLTYPE GetName(
  4591. LPWSTR *name) = 0;
  4592. virtual HRESULT STDMETHODCALLTYPE SetName(
  4593. LPCWSTR name) = 0;
  4594. virtual HRESULT STDMETHODCALLTYPE GetIsHyperlinkTarget(
  4595. WINBOOL *isHyperlink) = 0;
  4596. virtual HRESULT STDMETHODCALLTYPE SetIsHyperlinkTarget(
  4597. WINBOOL isHyperlink) = 0;
  4598. virtual HRESULT STDMETHODCALLTYPE GetHyperlinkNavigateUri(
  4599. IUri **hyperlinkUri) = 0;
  4600. virtual HRESULT STDMETHODCALLTYPE SetHyperlinkNavigateUri(
  4601. IUri *hyperlinkUri) = 0;
  4602. virtual HRESULT STDMETHODCALLTYPE GetLanguage(
  4603. LPWSTR *language) = 0;
  4604. virtual HRESULT STDMETHODCALLTYPE SetLanguage(
  4605. LPCWSTR language) = 0;
  4606. };
  4607. #ifdef __CRT_UUID_DECL
  4608. __CRT_UUID_DECL(IXpsOMVisual, 0xbc3e7333, 0xfb0b, 0x4af3, 0xa8,0x19, 0x0b,0x4e,0xaa,0xd0,0xd2,0xfd)
  4609. #endif
  4610. #else
  4611. typedef struct IXpsOMVisualVtbl {
  4612. BEGIN_INTERFACE
  4613. /*** IUnknown methods ***/
  4614. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4615. IXpsOMVisual *This,
  4616. REFIID riid,
  4617. void **ppvObject);
  4618. ULONG (STDMETHODCALLTYPE *AddRef)(
  4619. IXpsOMVisual *This);
  4620. ULONG (STDMETHODCALLTYPE *Release)(
  4621. IXpsOMVisual *This);
  4622. /*** IXpsOMShareable methods ***/
  4623. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  4624. IXpsOMVisual *This,
  4625. IUnknown **owner);
  4626. HRESULT (STDMETHODCALLTYPE *GetType)(
  4627. IXpsOMVisual *This,
  4628. XPS_OBJECT_TYPE *type);
  4629. /*** IXpsOMVisual methods ***/
  4630. HRESULT (STDMETHODCALLTYPE *GetTransform)(
  4631. IXpsOMVisual *This,
  4632. IXpsOMMatrixTransform **matrixTransform);
  4633. HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
  4634. IXpsOMVisual *This,
  4635. IXpsOMMatrixTransform **matrixTransform);
  4636. HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
  4637. IXpsOMVisual *This,
  4638. IXpsOMMatrixTransform *matrixTransform);
  4639. HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
  4640. IXpsOMVisual *This,
  4641. LPWSTR *key);
  4642. HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
  4643. IXpsOMVisual *This,
  4644. LPCWSTR key);
  4645. HRESULT (STDMETHODCALLTYPE *GetClipGeometry)(
  4646. IXpsOMVisual *This,
  4647. IXpsOMGeometry **clipGeometry);
  4648. HRESULT (STDMETHODCALLTYPE *GetClipGeometryLocal)(
  4649. IXpsOMVisual *This,
  4650. IXpsOMGeometry **clipGeometry);
  4651. HRESULT (STDMETHODCALLTYPE *SetClipGeometryLocal)(
  4652. IXpsOMVisual *This,
  4653. IXpsOMGeometry *clipGeometry);
  4654. HRESULT (STDMETHODCALLTYPE *GetClipGeometryLookup)(
  4655. IXpsOMVisual *This,
  4656. LPWSTR *key);
  4657. HRESULT (STDMETHODCALLTYPE *SetClipGeometryLookup)(
  4658. IXpsOMVisual *This,
  4659. LPCWSTR key);
  4660. HRESULT (STDMETHODCALLTYPE *GetOpacity)(
  4661. IXpsOMVisual *This,
  4662. FLOAT *opacity);
  4663. HRESULT (STDMETHODCALLTYPE *SetOpacity)(
  4664. IXpsOMVisual *This,
  4665. FLOAT opacity);
  4666. HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrush)(
  4667. IXpsOMVisual *This,
  4668. IXpsOMBrush **opacityMaskBrush);
  4669. HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLocal)(
  4670. IXpsOMVisual *This,
  4671. IXpsOMBrush **opacityMaskBrush);
  4672. HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLocal)(
  4673. IXpsOMVisual *This,
  4674. IXpsOMBrush *opacityMaskBrush);
  4675. HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLookup)(
  4676. IXpsOMVisual *This,
  4677. LPWSTR *key);
  4678. HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLookup)(
  4679. IXpsOMVisual *This,
  4680. LPCWSTR key);
  4681. HRESULT (STDMETHODCALLTYPE *GetName)(
  4682. IXpsOMVisual *This,
  4683. LPWSTR *name);
  4684. HRESULT (STDMETHODCALLTYPE *SetName)(
  4685. IXpsOMVisual *This,
  4686. LPCWSTR name);
  4687. HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
  4688. IXpsOMVisual *This,
  4689. WINBOOL *isHyperlink);
  4690. HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
  4691. IXpsOMVisual *This,
  4692. WINBOOL isHyperlink);
  4693. HRESULT (STDMETHODCALLTYPE *GetHyperlinkNavigateUri)(
  4694. IXpsOMVisual *This,
  4695. IUri **hyperlinkUri);
  4696. HRESULT (STDMETHODCALLTYPE *SetHyperlinkNavigateUri)(
  4697. IXpsOMVisual *This,
  4698. IUri *hyperlinkUri);
  4699. HRESULT (STDMETHODCALLTYPE *GetLanguage)(
  4700. IXpsOMVisual *This,
  4701. LPWSTR *language);
  4702. HRESULT (STDMETHODCALLTYPE *SetLanguage)(
  4703. IXpsOMVisual *This,
  4704. LPCWSTR language);
  4705. END_INTERFACE
  4706. } IXpsOMVisualVtbl;
  4707. interface IXpsOMVisual {
  4708. CONST_VTBL IXpsOMVisualVtbl* lpVtbl;
  4709. };
  4710. #ifdef COBJMACROS
  4711. #ifndef WIDL_C_INLINE_WRAPPERS
  4712. /*** IUnknown methods ***/
  4713. #define IXpsOMVisual_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4714. #define IXpsOMVisual_AddRef(This) (This)->lpVtbl->AddRef(This)
  4715. #define IXpsOMVisual_Release(This) (This)->lpVtbl->Release(This)
  4716. /*** IXpsOMShareable methods ***/
  4717. #define IXpsOMVisual_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  4718. #define IXpsOMVisual_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  4719. /*** IXpsOMVisual methods ***/
  4720. #define IXpsOMVisual_GetTransform(This,matrixTransform) (This)->lpVtbl->GetTransform(This,matrixTransform)
  4721. #define IXpsOMVisual_GetTransformLocal(This,matrixTransform) (This)->lpVtbl->GetTransformLocal(This,matrixTransform)
  4722. #define IXpsOMVisual_SetTransformLocal(This,matrixTransform) (This)->lpVtbl->SetTransformLocal(This,matrixTransform)
  4723. #define IXpsOMVisual_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
  4724. #define IXpsOMVisual_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
  4725. #define IXpsOMVisual_GetClipGeometry(This,clipGeometry) (This)->lpVtbl->GetClipGeometry(This,clipGeometry)
  4726. #define IXpsOMVisual_GetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->GetClipGeometryLocal(This,clipGeometry)
  4727. #define IXpsOMVisual_SetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->SetClipGeometryLocal(This,clipGeometry)
  4728. #define IXpsOMVisual_GetClipGeometryLookup(This,key) (This)->lpVtbl->GetClipGeometryLookup(This,key)
  4729. #define IXpsOMVisual_SetClipGeometryLookup(This,key) (This)->lpVtbl->SetClipGeometryLookup(This,key)
  4730. #define IXpsOMVisual_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
  4731. #define IXpsOMVisual_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
  4732. #define IXpsOMVisual_GetOpacityMaskBrush(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush)
  4733. #define IXpsOMVisual_GetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush)
  4734. #define IXpsOMVisual_SetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush)
  4735. #define IXpsOMVisual_GetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->GetOpacityMaskBrushLookup(This,key)
  4736. #define IXpsOMVisual_SetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->SetOpacityMaskBrushLookup(This,key)
  4737. #define IXpsOMVisual_GetName(This,name) (This)->lpVtbl->GetName(This,name)
  4738. #define IXpsOMVisual_SetName(This,name) (This)->lpVtbl->SetName(This,name)
  4739. #define IXpsOMVisual_GetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink)
  4740. #define IXpsOMVisual_SetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink)
  4741. #define IXpsOMVisual_GetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri)
  4742. #define IXpsOMVisual_SetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri)
  4743. #define IXpsOMVisual_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
  4744. #define IXpsOMVisual_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
  4745. #else
  4746. /*** IUnknown methods ***/
  4747. static FORCEINLINE HRESULT IXpsOMVisual_QueryInterface(IXpsOMVisual* This,REFIID riid,void **ppvObject) {
  4748. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4749. }
  4750. static FORCEINLINE ULONG IXpsOMVisual_AddRef(IXpsOMVisual* This) {
  4751. return This->lpVtbl->AddRef(This);
  4752. }
  4753. static FORCEINLINE ULONG IXpsOMVisual_Release(IXpsOMVisual* This) {
  4754. return This->lpVtbl->Release(This);
  4755. }
  4756. /*** IXpsOMShareable methods ***/
  4757. static FORCEINLINE HRESULT IXpsOMVisual_GetOwner(IXpsOMVisual* This,IUnknown **owner) {
  4758. return This->lpVtbl->GetOwner(This,owner);
  4759. }
  4760. static FORCEINLINE HRESULT IXpsOMVisual_GetType(IXpsOMVisual* This,XPS_OBJECT_TYPE *type) {
  4761. return This->lpVtbl->GetType(This,type);
  4762. }
  4763. /*** IXpsOMVisual methods ***/
  4764. static FORCEINLINE HRESULT IXpsOMVisual_GetTransform(IXpsOMVisual* This,IXpsOMMatrixTransform **matrixTransform) {
  4765. return This->lpVtbl->GetTransform(This,matrixTransform);
  4766. }
  4767. static FORCEINLINE HRESULT IXpsOMVisual_GetTransformLocal(IXpsOMVisual* This,IXpsOMMatrixTransform **matrixTransform) {
  4768. return This->lpVtbl->GetTransformLocal(This,matrixTransform);
  4769. }
  4770. static FORCEINLINE HRESULT IXpsOMVisual_SetTransformLocal(IXpsOMVisual* This,IXpsOMMatrixTransform *matrixTransform) {
  4771. return This->lpVtbl->SetTransformLocal(This,matrixTransform);
  4772. }
  4773. static FORCEINLINE HRESULT IXpsOMVisual_GetTransformLookup(IXpsOMVisual* This,LPWSTR *key) {
  4774. return This->lpVtbl->GetTransformLookup(This,key);
  4775. }
  4776. static FORCEINLINE HRESULT IXpsOMVisual_SetTransformLookup(IXpsOMVisual* This,LPCWSTR key) {
  4777. return This->lpVtbl->SetTransformLookup(This,key);
  4778. }
  4779. static FORCEINLINE HRESULT IXpsOMVisual_GetClipGeometry(IXpsOMVisual* This,IXpsOMGeometry **clipGeometry) {
  4780. return This->lpVtbl->GetClipGeometry(This,clipGeometry);
  4781. }
  4782. static FORCEINLINE HRESULT IXpsOMVisual_GetClipGeometryLocal(IXpsOMVisual* This,IXpsOMGeometry **clipGeometry) {
  4783. return This->lpVtbl->GetClipGeometryLocal(This,clipGeometry);
  4784. }
  4785. static FORCEINLINE HRESULT IXpsOMVisual_SetClipGeometryLocal(IXpsOMVisual* This,IXpsOMGeometry *clipGeometry) {
  4786. return This->lpVtbl->SetClipGeometryLocal(This,clipGeometry);
  4787. }
  4788. static FORCEINLINE HRESULT IXpsOMVisual_GetClipGeometryLookup(IXpsOMVisual* This,LPWSTR *key) {
  4789. return This->lpVtbl->GetClipGeometryLookup(This,key);
  4790. }
  4791. static FORCEINLINE HRESULT IXpsOMVisual_SetClipGeometryLookup(IXpsOMVisual* This,LPCWSTR key) {
  4792. return This->lpVtbl->SetClipGeometryLookup(This,key);
  4793. }
  4794. static FORCEINLINE HRESULT IXpsOMVisual_GetOpacity(IXpsOMVisual* This,FLOAT *opacity) {
  4795. return This->lpVtbl->GetOpacity(This,opacity);
  4796. }
  4797. static FORCEINLINE HRESULT IXpsOMVisual_SetOpacity(IXpsOMVisual* This,FLOAT opacity) {
  4798. return This->lpVtbl->SetOpacity(This,opacity);
  4799. }
  4800. static FORCEINLINE HRESULT IXpsOMVisual_GetOpacityMaskBrush(IXpsOMVisual* This,IXpsOMBrush **opacityMaskBrush) {
  4801. return This->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush);
  4802. }
  4803. static FORCEINLINE HRESULT IXpsOMVisual_GetOpacityMaskBrushLocal(IXpsOMVisual* This,IXpsOMBrush **opacityMaskBrush) {
  4804. return This->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush);
  4805. }
  4806. static FORCEINLINE HRESULT IXpsOMVisual_SetOpacityMaskBrushLocal(IXpsOMVisual* This,IXpsOMBrush *opacityMaskBrush) {
  4807. return This->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush);
  4808. }
  4809. static FORCEINLINE HRESULT IXpsOMVisual_GetOpacityMaskBrushLookup(IXpsOMVisual* This,LPWSTR *key) {
  4810. return This->lpVtbl->GetOpacityMaskBrushLookup(This,key);
  4811. }
  4812. static FORCEINLINE HRESULT IXpsOMVisual_SetOpacityMaskBrushLookup(IXpsOMVisual* This,LPCWSTR key) {
  4813. return This->lpVtbl->SetOpacityMaskBrushLookup(This,key);
  4814. }
  4815. static FORCEINLINE HRESULT IXpsOMVisual_GetName(IXpsOMVisual* This,LPWSTR *name) {
  4816. return This->lpVtbl->GetName(This,name);
  4817. }
  4818. static FORCEINLINE HRESULT IXpsOMVisual_SetName(IXpsOMVisual* This,LPCWSTR name) {
  4819. return This->lpVtbl->SetName(This,name);
  4820. }
  4821. static FORCEINLINE HRESULT IXpsOMVisual_GetIsHyperlinkTarget(IXpsOMVisual* This,WINBOOL *isHyperlink) {
  4822. return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink);
  4823. }
  4824. static FORCEINLINE HRESULT IXpsOMVisual_SetIsHyperlinkTarget(IXpsOMVisual* This,WINBOOL isHyperlink) {
  4825. return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink);
  4826. }
  4827. static FORCEINLINE HRESULT IXpsOMVisual_GetHyperlinkNavigateUri(IXpsOMVisual* This,IUri **hyperlinkUri) {
  4828. return This->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri);
  4829. }
  4830. static FORCEINLINE HRESULT IXpsOMVisual_SetHyperlinkNavigateUri(IXpsOMVisual* This,IUri *hyperlinkUri) {
  4831. return This->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri);
  4832. }
  4833. static FORCEINLINE HRESULT IXpsOMVisual_GetLanguage(IXpsOMVisual* This,LPWSTR *language) {
  4834. return This->lpVtbl->GetLanguage(This,language);
  4835. }
  4836. static FORCEINLINE HRESULT IXpsOMVisual_SetLanguage(IXpsOMVisual* This,LPCWSTR language) {
  4837. return This->lpVtbl->SetLanguage(This,language);
  4838. }
  4839. #endif
  4840. #endif
  4841. #endif
  4842. #endif /* __IXpsOMVisual_INTERFACE_DEFINED__ */
  4843. /*****************************************************************************
  4844. * IXpsOMBrush interface
  4845. */
  4846. #ifndef __IXpsOMBrush_INTERFACE_DEFINED__
  4847. #define __IXpsOMBrush_INTERFACE_DEFINED__
  4848. DEFINE_GUID(IID_IXpsOMBrush, 0x56a3f80c, 0xea4c, 0x4187, 0xa5,0x7b, 0xa2,0xa4,0x73,0xb2,0xb4,0x2b);
  4849. #if defined(__cplusplus) && !defined(CINTERFACE)
  4850. MIDL_INTERFACE("56a3f80c-ea4c-4187-a57b-a2a473b2b42b")
  4851. IXpsOMBrush : public IXpsOMShareable
  4852. {
  4853. virtual HRESULT STDMETHODCALLTYPE GetOpacity(
  4854. FLOAT *opacity) = 0;
  4855. virtual HRESULT STDMETHODCALLTYPE SetOpacity(
  4856. FLOAT opacity) = 0;
  4857. };
  4858. #ifdef __CRT_UUID_DECL
  4859. __CRT_UUID_DECL(IXpsOMBrush, 0x56a3f80c, 0xea4c, 0x4187, 0xa5,0x7b, 0xa2,0xa4,0x73,0xb2,0xb4,0x2b)
  4860. #endif
  4861. #else
  4862. typedef struct IXpsOMBrushVtbl {
  4863. BEGIN_INTERFACE
  4864. /*** IUnknown methods ***/
  4865. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4866. IXpsOMBrush *This,
  4867. REFIID riid,
  4868. void **ppvObject);
  4869. ULONG (STDMETHODCALLTYPE *AddRef)(
  4870. IXpsOMBrush *This);
  4871. ULONG (STDMETHODCALLTYPE *Release)(
  4872. IXpsOMBrush *This);
  4873. /*** IXpsOMShareable methods ***/
  4874. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  4875. IXpsOMBrush *This,
  4876. IUnknown **owner);
  4877. HRESULT (STDMETHODCALLTYPE *GetType)(
  4878. IXpsOMBrush *This,
  4879. XPS_OBJECT_TYPE *type);
  4880. /*** IXpsOMBrush methods ***/
  4881. HRESULT (STDMETHODCALLTYPE *GetOpacity)(
  4882. IXpsOMBrush *This,
  4883. FLOAT *opacity);
  4884. HRESULT (STDMETHODCALLTYPE *SetOpacity)(
  4885. IXpsOMBrush *This,
  4886. FLOAT opacity);
  4887. END_INTERFACE
  4888. } IXpsOMBrushVtbl;
  4889. interface IXpsOMBrush {
  4890. CONST_VTBL IXpsOMBrushVtbl* lpVtbl;
  4891. };
  4892. #ifdef COBJMACROS
  4893. #ifndef WIDL_C_INLINE_WRAPPERS
  4894. /*** IUnknown methods ***/
  4895. #define IXpsOMBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4896. #define IXpsOMBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
  4897. #define IXpsOMBrush_Release(This) (This)->lpVtbl->Release(This)
  4898. /*** IXpsOMShareable methods ***/
  4899. #define IXpsOMBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  4900. #define IXpsOMBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  4901. /*** IXpsOMBrush methods ***/
  4902. #define IXpsOMBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
  4903. #define IXpsOMBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
  4904. #else
  4905. /*** IUnknown methods ***/
  4906. static FORCEINLINE HRESULT IXpsOMBrush_QueryInterface(IXpsOMBrush* This,REFIID riid,void **ppvObject) {
  4907. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  4908. }
  4909. static FORCEINLINE ULONG IXpsOMBrush_AddRef(IXpsOMBrush* This) {
  4910. return This->lpVtbl->AddRef(This);
  4911. }
  4912. static FORCEINLINE ULONG IXpsOMBrush_Release(IXpsOMBrush* This) {
  4913. return This->lpVtbl->Release(This);
  4914. }
  4915. /*** IXpsOMShareable methods ***/
  4916. static FORCEINLINE HRESULT IXpsOMBrush_GetOwner(IXpsOMBrush* This,IUnknown **owner) {
  4917. return This->lpVtbl->GetOwner(This,owner);
  4918. }
  4919. static FORCEINLINE HRESULT IXpsOMBrush_GetType(IXpsOMBrush* This,XPS_OBJECT_TYPE *type) {
  4920. return This->lpVtbl->GetType(This,type);
  4921. }
  4922. /*** IXpsOMBrush methods ***/
  4923. static FORCEINLINE HRESULT IXpsOMBrush_GetOpacity(IXpsOMBrush* This,FLOAT *opacity) {
  4924. return This->lpVtbl->GetOpacity(This,opacity);
  4925. }
  4926. static FORCEINLINE HRESULT IXpsOMBrush_SetOpacity(IXpsOMBrush* This,FLOAT opacity) {
  4927. return This->lpVtbl->SetOpacity(This,opacity);
  4928. }
  4929. #endif
  4930. #endif
  4931. #endif
  4932. #endif /* __IXpsOMBrush_INTERFACE_DEFINED__ */
  4933. /*****************************************************************************
  4934. * IXpsOMMatrixTransform interface
  4935. */
  4936. #ifndef __IXpsOMMatrixTransform_INTERFACE_DEFINED__
  4937. #define __IXpsOMMatrixTransform_INTERFACE_DEFINED__
  4938. DEFINE_GUID(IID_IXpsOMMatrixTransform, 0xb77330ff, 0xbb37, 0x4501, 0xa9,0x3e, 0xf1,0xb1,0xe5,0x0b,0xfc,0x46);
  4939. #if defined(__cplusplus) && !defined(CINTERFACE)
  4940. MIDL_INTERFACE("b77330ff-bb37-4501-a93e-f1b1e50bfc46")
  4941. IXpsOMMatrixTransform : public IXpsOMShareable
  4942. {
  4943. virtual HRESULT STDMETHODCALLTYPE GetMatrix(
  4944. XPS_MATRIX *matrix) = 0;
  4945. virtual HRESULT STDMETHODCALLTYPE SetMatrix(
  4946. const XPS_MATRIX *matrix) = 0;
  4947. virtual HRESULT STDMETHODCALLTYPE Clone(
  4948. IXpsOMMatrixTransform **matrixTransform) = 0;
  4949. };
  4950. #ifdef __CRT_UUID_DECL
  4951. __CRT_UUID_DECL(IXpsOMMatrixTransform, 0xb77330ff, 0xbb37, 0x4501, 0xa9,0x3e, 0xf1,0xb1,0xe5,0x0b,0xfc,0x46)
  4952. #endif
  4953. #else
  4954. typedef struct IXpsOMMatrixTransformVtbl {
  4955. BEGIN_INTERFACE
  4956. /*** IUnknown methods ***/
  4957. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  4958. IXpsOMMatrixTransform *This,
  4959. REFIID riid,
  4960. void **ppvObject);
  4961. ULONG (STDMETHODCALLTYPE *AddRef)(
  4962. IXpsOMMatrixTransform *This);
  4963. ULONG (STDMETHODCALLTYPE *Release)(
  4964. IXpsOMMatrixTransform *This);
  4965. /*** IXpsOMShareable methods ***/
  4966. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  4967. IXpsOMMatrixTransform *This,
  4968. IUnknown **owner);
  4969. HRESULT (STDMETHODCALLTYPE *GetType)(
  4970. IXpsOMMatrixTransform *This,
  4971. XPS_OBJECT_TYPE *type);
  4972. /*** IXpsOMMatrixTransform methods ***/
  4973. HRESULT (STDMETHODCALLTYPE *GetMatrix)(
  4974. IXpsOMMatrixTransform *This,
  4975. XPS_MATRIX *matrix);
  4976. HRESULT (STDMETHODCALLTYPE *SetMatrix)(
  4977. IXpsOMMatrixTransform *This,
  4978. const XPS_MATRIX *matrix);
  4979. HRESULT (STDMETHODCALLTYPE *Clone)(
  4980. IXpsOMMatrixTransform *This,
  4981. IXpsOMMatrixTransform **matrixTransform);
  4982. END_INTERFACE
  4983. } IXpsOMMatrixTransformVtbl;
  4984. interface IXpsOMMatrixTransform {
  4985. CONST_VTBL IXpsOMMatrixTransformVtbl* lpVtbl;
  4986. };
  4987. #ifdef COBJMACROS
  4988. #ifndef WIDL_C_INLINE_WRAPPERS
  4989. /*** IUnknown methods ***/
  4990. #define IXpsOMMatrixTransform_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  4991. #define IXpsOMMatrixTransform_AddRef(This) (This)->lpVtbl->AddRef(This)
  4992. #define IXpsOMMatrixTransform_Release(This) (This)->lpVtbl->Release(This)
  4993. /*** IXpsOMShareable methods ***/
  4994. #define IXpsOMMatrixTransform_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  4995. #define IXpsOMMatrixTransform_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  4996. /*** IXpsOMMatrixTransform methods ***/
  4997. #define IXpsOMMatrixTransform_GetMatrix(This,matrix) (This)->lpVtbl->GetMatrix(This,matrix)
  4998. #define IXpsOMMatrixTransform_SetMatrix(This,matrix) (This)->lpVtbl->SetMatrix(This,matrix)
  4999. #define IXpsOMMatrixTransform_Clone(This,matrixTransform) (This)->lpVtbl->Clone(This,matrixTransform)
  5000. #else
  5001. /*** IUnknown methods ***/
  5002. static FORCEINLINE HRESULT IXpsOMMatrixTransform_QueryInterface(IXpsOMMatrixTransform* This,REFIID riid,void **ppvObject) {
  5003. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5004. }
  5005. static FORCEINLINE ULONG IXpsOMMatrixTransform_AddRef(IXpsOMMatrixTransform* This) {
  5006. return This->lpVtbl->AddRef(This);
  5007. }
  5008. static FORCEINLINE ULONG IXpsOMMatrixTransform_Release(IXpsOMMatrixTransform* This) {
  5009. return This->lpVtbl->Release(This);
  5010. }
  5011. /*** IXpsOMShareable methods ***/
  5012. static FORCEINLINE HRESULT IXpsOMMatrixTransform_GetOwner(IXpsOMMatrixTransform* This,IUnknown **owner) {
  5013. return This->lpVtbl->GetOwner(This,owner);
  5014. }
  5015. static FORCEINLINE HRESULT IXpsOMMatrixTransform_GetType(IXpsOMMatrixTransform* This,XPS_OBJECT_TYPE *type) {
  5016. return This->lpVtbl->GetType(This,type);
  5017. }
  5018. /*** IXpsOMMatrixTransform methods ***/
  5019. static FORCEINLINE HRESULT IXpsOMMatrixTransform_GetMatrix(IXpsOMMatrixTransform* This,XPS_MATRIX *matrix) {
  5020. return This->lpVtbl->GetMatrix(This,matrix);
  5021. }
  5022. static FORCEINLINE HRESULT IXpsOMMatrixTransform_SetMatrix(IXpsOMMatrixTransform* This,const XPS_MATRIX *matrix) {
  5023. return This->lpVtbl->SetMatrix(This,matrix);
  5024. }
  5025. static FORCEINLINE HRESULT IXpsOMMatrixTransform_Clone(IXpsOMMatrixTransform* This,IXpsOMMatrixTransform **matrixTransform) {
  5026. return This->lpVtbl->Clone(This,matrixTransform);
  5027. }
  5028. #endif
  5029. #endif
  5030. #endif
  5031. #endif /* __IXpsOMMatrixTransform_INTERFACE_DEFINED__ */
  5032. /*****************************************************************************
  5033. * IXpsOMGeometry interface
  5034. */
  5035. #ifndef __IXpsOMGeometry_INTERFACE_DEFINED__
  5036. #define __IXpsOMGeometry_INTERFACE_DEFINED__
  5037. DEFINE_GUID(IID_IXpsOMGeometry, 0x64fcf3d7, 0x4d58, 0x44ba, 0xad,0x73, 0xa1,0x3a,0xf6,0x49,0x20,0x72);
  5038. #if defined(__cplusplus) && !defined(CINTERFACE)
  5039. MIDL_INTERFACE("64fcf3d7-4d58-44ba-ad73-a13af6492072")
  5040. IXpsOMGeometry : public IXpsOMShareable
  5041. {
  5042. virtual HRESULT STDMETHODCALLTYPE GetFigures(
  5043. IXpsOMGeometryFigureCollection **figures) = 0;
  5044. virtual HRESULT STDMETHODCALLTYPE GetFillRule(
  5045. XPS_FILL_RULE *fillRule) = 0;
  5046. virtual HRESULT STDMETHODCALLTYPE SetFillRule(
  5047. XPS_FILL_RULE fillRule) = 0;
  5048. virtual HRESULT STDMETHODCALLTYPE GetTransform(
  5049. IXpsOMMatrixTransform **transform) = 0;
  5050. virtual HRESULT STDMETHODCALLTYPE GetTransformLocal(
  5051. IXpsOMMatrixTransform **transform) = 0;
  5052. virtual HRESULT STDMETHODCALLTYPE SetTransformLocal(
  5053. IXpsOMMatrixTransform *transform) = 0;
  5054. virtual HRESULT STDMETHODCALLTYPE GetTransformLookup(
  5055. LPWSTR *lookup) = 0;
  5056. virtual HRESULT STDMETHODCALLTYPE SetTransformLookup(
  5057. LPCWSTR lookup) = 0;
  5058. virtual HRESULT STDMETHODCALLTYPE Clone(
  5059. IXpsOMGeometry **geometry) = 0;
  5060. };
  5061. #ifdef __CRT_UUID_DECL
  5062. __CRT_UUID_DECL(IXpsOMGeometry, 0x64fcf3d7, 0x4d58, 0x44ba, 0xad,0x73, 0xa1,0x3a,0xf6,0x49,0x20,0x72)
  5063. #endif
  5064. #else
  5065. typedef struct IXpsOMGeometryVtbl {
  5066. BEGIN_INTERFACE
  5067. /*** IUnknown methods ***/
  5068. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5069. IXpsOMGeometry *This,
  5070. REFIID riid,
  5071. void **ppvObject);
  5072. ULONG (STDMETHODCALLTYPE *AddRef)(
  5073. IXpsOMGeometry *This);
  5074. ULONG (STDMETHODCALLTYPE *Release)(
  5075. IXpsOMGeometry *This);
  5076. /*** IXpsOMShareable methods ***/
  5077. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  5078. IXpsOMGeometry *This,
  5079. IUnknown **owner);
  5080. HRESULT (STDMETHODCALLTYPE *GetType)(
  5081. IXpsOMGeometry *This,
  5082. XPS_OBJECT_TYPE *type);
  5083. /*** IXpsOMGeometry methods ***/
  5084. HRESULT (STDMETHODCALLTYPE *GetFigures)(
  5085. IXpsOMGeometry *This,
  5086. IXpsOMGeometryFigureCollection **figures);
  5087. HRESULT (STDMETHODCALLTYPE *GetFillRule)(
  5088. IXpsOMGeometry *This,
  5089. XPS_FILL_RULE *fillRule);
  5090. HRESULT (STDMETHODCALLTYPE *SetFillRule)(
  5091. IXpsOMGeometry *This,
  5092. XPS_FILL_RULE fillRule);
  5093. HRESULT (STDMETHODCALLTYPE *GetTransform)(
  5094. IXpsOMGeometry *This,
  5095. IXpsOMMatrixTransform **transform);
  5096. HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
  5097. IXpsOMGeometry *This,
  5098. IXpsOMMatrixTransform **transform);
  5099. HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
  5100. IXpsOMGeometry *This,
  5101. IXpsOMMatrixTransform *transform);
  5102. HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
  5103. IXpsOMGeometry *This,
  5104. LPWSTR *lookup);
  5105. HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
  5106. IXpsOMGeometry *This,
  5107. LPCWSTR lookup);
  5108. HRESULT (STDMETHODCALLTYPE *Clone)(
  5109. IXpsOMGeometry *This,
  5110. IXpsOMGeometry **geometry);
  5111. END_INTERFACE
  5112. } IXpsOMGeometryVtbl;
  5113. interface IXpsOMGeometry {
  5114. CONST_VTBL IXpsOMGeometryVtbl* lpVtbl;
  5115. };
  5116. #ifdef COBJMACROS
  5117. #ifndef WIDL_C_INLINE_WRAPPERS
  5118. /*** IUnknown methods ***/
  5119. #define IXpsOMGeometry_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5120. #define IXpsOMGeometry_AddRef(This) (This)->lpVtbl->AddRef(This)
  5121. #define IXpsOMGeometry_Release(This) (This)->lpVtbl->Release(This)
  5122. /*** IXpsOMShareable methods ***/
  5123. #define IXpsOMGeometry_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  5124. #define IXpsOMGeometry_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  5125. /*** IXpsOMGeometry methods ***/
  5126. #define IXpsOMGeometry_GetFigures(This,figures) (This)->lpVtbl->GetFigures(This,figures)
  5127. #define IXpsOMGeometry_GetFillRule(This,fillRule) (This)->lpVtbl->GetFillRule(This,fillRule)
  5128. #define IXpsOMGeometry_SetFillRule(This,fillRule) (This)->lpVtbl->SetFillRule(This,fillRule)
  5129. #define IXpsOMGeometry_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
  5130. #define IXpsOMGeometry_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
  5131. #define IXpsOMGeometry_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
  5132. #define IXpsOMGeometry_GetTransformLookup(This,lookup) (This)->lpVtbl->GetTransformLookup(This,lookup)
  5133. #define IXpsOMGeometry_SetTransformLookup(This,lookup) (This)->lpVtbl->SetTransformLookup(This,lookup)
  5134. #define IXpsOMGeometry_Clone(This,geometry) (This)->lpVtbl->Clone(This,geometry)
  5135. #else
  5136. /*** IUnknown methods ***/
  5137. static FORCEINLINE HRESULT IXpsOMGeometry_QueryInterface(IXpsOMGeometry* This,REFIID riid,void **ppvObject) {
  5138. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5139. }
  5140. static FORCEINLINE ULONG IXpsOMGeometry_AddRef(IXpsOMGeometry* This) {
  5141. return This->lpVtbl->AddRef(This);
  5142. }
  5143. static FORCEINLINE ULONG IXpsOMGeometry_Release(IXpsOMGeometry* This) {
  5144. return This->lpVtbl->Release(This);
  5145. }
  5146. /*** IXpsOMShareable methods ***/
  5147. static FORCEINLINE HRESULT IXpsOMGeometry_GetOwner(IXpsOMGeometry* This,IUnknown **owner) {
  5148. return This->lpVtbl->GetOwner(This,owner);
  5149. }
  5150. static FORCEINLINE HRESULT IXpsOMGeometry_GetType(IXpsOMGeometry* This,XPS_OBJECT_TYPE *type) {
  5151. return This->lpVtbl->GetType(This,type);
  5152. }
  5153. /*** IXpsOMGeometry methods ***/
  5154. static FORCEINLINE HRESULT IXpsOMGeometry_GetFigures(IXpsOMGeometry* This,IXpsOMGeometryFigureCollection **figures) {
  5155. return This->lpVtbl->GetFigures(This,figures);
  5156. }
  5157. static FORCEINLINE HRESULT IXpsOMGeometry_GetFillRule(IXpsOMGeometry* This,XPS_FILL_RULE *fillRule) {
  5158. return This->lpVtbl->GetFillRule(This,fillRule);
  5159. }
  5160. static FORCEINLINE HRESULT IXpsOMGeometry_SetFillRule(IXpsOMGeometry* This,XPS_FILL_RULE fillRule) {
  5161. return This->lpVtbl->SetFillRule(This,fillRule);
  5162. }
  5163. static FORCEINLINE HRESULT IXpsOMGeometry_GetTransform(IXpsOMGeometry* This,IXpsOMMatrixTransform **transform) {
  5164. return This->lpVtbl->GetTransform(This,transform);
  5165. }
  5166. static FORCEINLINE HRESULT IXpsOMGeometry_GetTransformLocal(IXpsOMGeometry* This,IXpsOMMatrixTransform **transform) {
  5167. return This->lpVtbl->GetTransformLocal(This,transform);
  5168. }
  5169. static FORCEINLINE HRESULT IXpsOMGeometry_SetTransformLocal(IXpsOMGeometry* This,IXpsOMMatrixTransform *transform) {
  5170. return This->lpVtbl->SetTransformLocal(This,transform);
  5171. }
  5172. static FORCEINLINE HRESULT IXpsOMGeometry_GetTransformLookup(IXpsOMGeometry* This,LPWSTR *lookup) {
  5173. return This->lpVtbl->GetTransformLookup(This,lookup);
  5174. }
  5175. static FORCEINLINE HRESULT IXpsOMGeometry_SetTransformLookup(IXpsOMGeometry* This,LPCWSTR lookup) {
  5176. return This->lpVtbl->SetTransformLookup(This,lookup);
  5177. }
  5178. static FORCEINLINE HRESULT IXpsOMGeometry_Clone(IXpsOMGeometry* This,IXpsOMGeometry **geometry) {
  5179. return This->lpVtbl->Clone(This,geometry);
  5180. }
  5181. #endif
  5182. #endif
  5183. #endif
  5184. #endif /* __IXpsOMGeometry_INTERFACE_DEFINED__ */
  5185. /*****************************************************************************
  5186. * IXpsOMGlyphs interface
  5187. */
  5188. #ifndef __IXpsOMGlyphs_INTERFACE_DEFINED__
  5189. #define __IXpsOMGlyphs_INTERFACE_DEFINED__
  5190. DEFINE_GUID(IID_IXpsOMGlyphs, 0x819b3199, 0x0a5a, 0x4b64, 0xbe,0xc7, 0xa9,0xe1,0x7e,0x78,0x0d,0xe2);
  5191. #if defined(__cplusplus) && !defined(CINTERFACE)
  5192. MIDL_INTERFACE("819b3199-0a5a-4b64-bec7-a9e17e780de2")
  5193. IXpsOMGlyphs : public IXpsOMVisual
  5194. {
  5195. virtual HRESULT STDMETHODCALLTYPE GetUnicodeString(
  5196. LPWSTR *unicodeString) = 0;
  5197. virtual HRESULT STDMETHODCALLTYPE GetGlyphIndexCount(
  5198. UINT32 *indexCount) = 0;
  5199. virtual HRESULT STDMETHODCALLTYPE GetGlyphIndices(
  5200. UINT32 *indexCount,
  5201. XPS_GLYPH_INDEX *glyphIndices) = 0;
  5202. virtual HRESULT STDMETHODCALLTYPE GetGlyphMappingCount(
  5203. UINT32 *glyphMappingCount) = 0;
  5204. virtual HRESULT STDMETHODCALLTYPE GetGlyphMappings(
  5205. UINT32 *glyphMappingCount,
  5206. XPS_GLYPH_MAPPING *glyphMappings) = 0;
  5207. virtual HRESULT STDMETHODCALLTYPE GetProhibitedCaretStopCount(
  5208. UINT32 *prohibitedCaretStopCount) = 0;
  5209. virtual HRESULT STDMETHODCALLTYPE GetProhibitedCaretStops(
  5210. UINT32 *prohibitedCaretStopCount,
  5211. UINT32 *prohibitedCaretStops) = 0;
  5212. virtual HRESULT STDMETHODCALLTYPE GetBidiLevel(
  5213. UINT32 *bidiLevel) = 0;
  5214. virtual HRESULT STDMETHODCALLTYPE GetIsSideways(
  5215. WINBOOL *isSideways) = 0;
  5216. virtual HRESULT STDMETHODCALLTYPE GetDeviceFontName(
  5217. LPWSTR *deviceFontName) = 0;
  5218. virtual HRESULT STDMETHODCALLTYPE GetStyleSimulations(
  5219. XPS_STYLE_SIMULATION *styleSimulations) = 0;
  5220. virtual HRESULT STDMETHODCALLTYPE SetStyleSimulations(
  5221. XPS_STYLE_SIMULATION styleSimulations) = 0;
  5222. virtual HRESULT STDMETHODCALLTYPE GetOrigin(
  5223. XPS_POINT *origin) = 0;
  5224. virtual HRESULT STDMETHODCALLTYPE SetOrigin(
  5225. const XPS_POINT *origin) = 0;
  5226. virtual HRESULT STDMETHODCALLTYPE GetFontRenderingEmSize(
  5227. FLOAT *fontRenderingEmSize) = 0;
  5228. virtual HRESULT STDMETHODCALLTYPE SetFontRenderingEmSize(
  5229. FLOAT fontRenderingEmSize) = 0;
  5230. virtual HRESULT STDMETHODCALLTYPE GetFontResource(
  5231. IXpsOMFontResource **fontResource) = 0;
  5232. virtual HRESULT STDMETHODCALLTYPE SetFontResource(
  5233. IXpsOMFontResource *fontResource) = 0;
  5234. virtual HRESULT STDMETHODCALLTYPE GetFontFaceIndex(
  5235. SHORT *fontFaceIndex) = 0;
  5236. virtual HRESULT STDMETHODCALLTYPE SetFontFaceIndex(
  5237. SHORT fontFaceIndex) = 0;
  5238. virtual HRESULT STDMETHODCALLTYPE GetFillBrush(
  5239. IXpsOMBrush **fillBrush) = 0;
  5240. virtual HRESULT STDMETHODCALLTYPE GetFillBrushLocal(
  5241. IXpsOMBrush **fillBrush) = 0;
  5242. virtual HRESULT STDMETHODCALLTYPE SetFillBrushLocal(
  5243. IXpsOMBrush *fillBrush) = 0;
  5244. virtual HRESULT STDMETHODCALLTYPE GetFillBrushLookup(
  5245. LPWSTR *key) = 0;
  5246. virtual HRESULT STDMETHODCALLTYPE SetFillBrushLookup(
  5247. LPCWSTR key) = 0;
  5248. virtual HRESULT STDMETHODCALLTYPE GetGlyphsEditor(
  5249. IXpsOMGlyphsEditor **editor) = 0;
  5250. virtual HRESULT STDMETHODCALLTYPE Clone(
  5251. IXpsOMGlyphs **glyphs) = 0;
  5252. };
  5253. #ifdef __CRT_UUID_DECL
  5254. __CRT_UUID_DECL(IXpsOMGlyphs, 0x819b3199, 0x0a5a, 0x4b64, 0xbe,0xc7, 0xa9,0xe1,0x7e,0x78,0x0d,0xe2)
  5255. #endif
  5256. #else
  5257. typedef struct IXpsOMGlyphsVtbl {
  5258. BEGIN_INTERFACE
  5259. /*** IUnknown methods ***/
  5260. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5261. IXpsOMGlyphs *This,
  5262. REFIID riid,
  5263. void **ppvObject);
  5264. ULONG (STDMETHODCALLTYPE *AddRef)(
  5265. IXpsOMGlyphs *This);
  5266. ULONG (STDMETHODCALLTYPE *Release)(
  5267. IXpsOMGlyphs *This);
  5268. /*** IXpsOMShareable methods ***/
  5269. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  5270. IXpsOMGlyphs *This,
  5271. IUnknown **owner);
  5272. HRESULT (STDMETHODCALLTYPE *GetType)(
  5273. IXpsOMGlyphs *This,
  5274. XPS_OBJECT_TYPE *type);
  5275. /*** IXpsOMVisual methods ***/
  5276. HRESULT (STDMETHODCALLTYPE *GetTransform)(
  5277. IXpsOMGlyphs *This,
  5278. IXpsOMMatrixTransform **matrixTransform);
  5279. HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
  5280. IXpsOMGlyphs *This,
  5281. IXpsOMMatrixTransform **matrixTransform);
  5282. HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
  5283. IXpsOMGlyphs *This,
  5284. IXpsOMMatrixTransform *matrixTransform);
  5285. HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
  5286. IXpsOMGlyphs *This,
  5287. LPWSTR *key);
  5288. HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
  5289. IXpsOMGlyphs *This,
  5290. LPCWSTR key);
  5291. HRESULT (STDMETHODCALLTYPE *GetClipGeometry)(
  5292. IXpsOMGlyphs *This,
  5293. IXpsOMGeometry **clipGeometry);
  5294. HRESULT (STDMETHODCALLTYPE *GetClipGeometryLocal)(
  5295. IXpsOMGlyphs *This,
  5296. IXpsOMGeometry **clipGeometry);
  5297. HRESULT (STDMETHODCALLTYPE *SetClipGeometryLocal)(
  5298. IXpsOMGlyphs *This,
  5299. IXpsOMGeometry *clipGeometry);
  5300. HRESULT (STDMETHODCALLTYPE *GetClipGeometryLookup)(
  5301. IXpsOMGlyphs *This,
  5302. LPWSTR *key);
  5303. HRESULT (STDMETHODCALLTYPE *SetClipGeometryLookup)(
  5304. IXpsOMGlyphs *This,
  5305. LPCWSTR key);
  5306. HRESULT (STDMETHODCALLTYPE *GetOpacity)(
  5307. IXpsOMGlyphs *This,
  5308. FLOAT *opacity);
  5309. HRESULT (STDMETHODCALLTYPE *SetOpacity)(
  5310. IXpsOMGlyphs *This,
  5311. FLOAT opacity);
  5312. HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrush)(
  5313. IXpsOMGlyphs *This,
  5314. IXpsOMBrush **opacityMaskBrush);
  5315. HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLocal)(
  5316. IXpsOMGlyphs *This,
  5317. IXpsOMBrush **opacityMaskBrush);
  5318. HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLocal)(
  5319. IXpsOMGlyphs *This,
  5320. IXpsOMBrush *opacityMaskBrush);
  5321. HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLookup)(
  5322. IXpsOMGlyphs *This,
  5323. LPWSTR *key);
  5324. HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLookup)(
  5325. IXpsOMGlyphs *This,
  5326. LPCWSTR key);
  5327. HRESULT (STDMETHODCALLTYPE *GetName)(
  5328. IXpsOMGlyphs *This,
  5329. LPWSTR *name);
  5330. HRESULT (STDMETHODCALLTYPE *SetName)(
  5331. IXpsOMGlyphs *This,
  5332. LPCWSTR name);
  5333. HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
  5334. IXpsOMGlyphs *This,
  5335. WINBOOL *isHyperlink);
  5336. HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
  5337. IXpsOMGlyphs *This,
  5338. WINBOOL isHyperlink);
  5339. HRESULT (STDMETHODCALLTYPE *GetHyperlinkNavigateUri)(
  5340. IXpsOMGlyphs *This,
  5341. IUri **hyperlinkUri);
  5342. HRESULT (STDMETHODCALLTYPE *SetHyperlinkNavigateUri)(
  5343. IXpsOMGlyphs *This,
  5344. IUri *hyperlinkUri);
  5345. HRESULT (STDMETHODCALLTYPE *GetLanguage)(
  5346. IXpsOMGlyphs *This,
  5347. LPWSTR *language);
  5348. HRESULT (STDMETHODCALLTYPE *SetLanguage)(
  5349. IXpsOMGlyphs *This,
  5350. LPCWSTR language);
  5351. /*** IXpsOMGlyphs methods ***/
  5352. HRESULT (STDMETHODCALLTYPE *GetUnicodeString)(
  5353. IXpsOMGlyphs *This,
  5354. LPWSTR *unicodeString);
  5355. HRESULT (STDMETHODCALLTYPE *GetGlyphIndexCount)(
  5356. IXpsOMGlyphs *This,
  5357. UINT32 *indexCount);
  5358. HRESULT (STDMETHODCALLTYPE *GetGlyphIndices)(
  5359. IXpsOMGlyphs *This,
  5360. UINT32 *indexCount,
  5361. XPS_GLYPH_INDEX *glyphIndices);
  5362. HRESULT (STDMETHODCALLTYPE *GetGlyphMappingCount)(
  5363. IXpsOMGlyphs *This,
  5364. UINT32 *glyphMappingCount);
  5365. HRESULT (STDMETHODCALLTYPE *GetGlyphMappings)(
  5366. IXpsOMGlyphs *This,
  5367. UINT32 *glyphMappingCount,
  5368. XPS_GLYPH_MAPPING *glyphMappings);
  5369. HRESULT (STDMETHODCALLTYPE *GetProhibitedCaretStopCount)(
  5370. IXpsOMGlyphs *This,
  5371. UINT32 *prohibitedCaretStopCount);
  5372. HRESULT (STDMETHODCALLTYPE *GetProhibitedCaretStops)(
  5373. IXpsOMGlyphs *This,
  5374. UINT32 *prohibitedCaretStopCount,
  5375. UINT32 *prohibitedCaretStops);
  5376. HRESULT (STDMETHODCALLTYPE *GetBidiLevel)(
  5377. IXpsOMGlyphs *This,
  5378. UINT32 *bidiLevel);
  5379. HRESULT (STDMETHODCALLTYPE *GetIsSideways)(
  5380. IXpsOMGlyphs *This,
  5381. WINBOOL *isSideways);
  5382. HRESULT (STDMETHODCALLTYPE *GetDeviceFontName)(
  5383. IXpsOMGlyphs *This,
  5384. LPWSTR *deviceFontName);
  5385. HRESULT (STDMETHODCALLTYPE *GetStyleSimulations)(
  5386. IXpsOMGlyphs *This,
  5387. XPS_STYLE_SIMULATION *styleSimulations);
  5388. HRESULT (STDMETHODCALLTYPE *SetStyleSimulations)(
  5389. IXpsOMGlyphs *This,
  5390. XPS_STYLE_SIMULATION styleSimulations);
  5391. HRESULT (STDMETHODCALLTYPE *GetOrigin)(
  5392. IXpsOMGlyphs *This,
  5393. XPS_POINT *origin);
  5394. HRESULT (STDMETHODCALLTYPE *SetOrigin)(
  5395. IXpsOMGlyphs *This,
  5396. const XPS_POINT *origin);
  5397. HRESULT (STDMETHODCALLTYPE *GetFontRenderingEmSize)(
  5398. IXpsOMGlyphs *This,
  5399. FLOAT *fontRenderingEmSize);
  5400. HRESULT (STDMETHODCALLTYPE *SetFontRenderingEmSize)(
  5401. IXpsOMGlyphs *This,
  5402. FLOAT fontRenderingEmSize);
  5403. HRESULT (STDMETHODCALLTYPE *GetFontResource)(
  5404. IXpsOMGlyphs *This,
  5405. IXpsOMFontResource **fontResource);
  5406. HRESULT (STDMETHODCALLTYPE *SetFontResource)(
  5407. IXpsOMGlyphs *This,
  5408. IXpsOMFontResource *fontResource);
  5409. HRESULT (STDMETHODCALLTYPE *GetFontFaceIndex)(
  5410. IXpsOMGlyphs *This,
  5411. SHORT *fontFaceIndex);
  5412. HRESULT (STDMETHODCALLTYPE *SetFontFaceIndex)(
  5413. IXpsOMGlyphs *This,
  5414. SHORT fontFaceIndex);
  5415. HRESULT (STDMETHODCALLTYPE *GetFillBrush)(
  5416. IXpsOMGlyphs *This,
  5417. IXpsOMBrush **fillBrush);
  5418. HRESULT (STDMETHODCALLTYPE *GetFillBrushLocal)(
  5419. IXpsOMGlyphs *This,
  5420. IXpsOMBrush **fillBrush);
  5421. HRESULT (STDMETHODCALLTYPE *SetFillBrushLocal)(
  5422. IXpsOMGlyphs *This,
  5423. IXpsOMBrush *fillBrush);
  5424. HRESULT (STDMETHODCALLTYPE *GetFillBrushLookup)(
  5425. IXpsOMGlyphs *This,
  5426. LPWSTR *key);
  5427. HRESULT (STDMETHODCALLTYPE *SetFillBrushLookup)(
  5428. IXpsOMGlyphs *This,
  5429. LPCWSTR key);
  5430. HRESULT (STDMETHODCALLTYPE *GetGlyphsEditor)(
  5431. IXpsOMGlyphs *This,
  5432. IXpsOMGlyphsEditor **editor);
  5433. HRESULT (STDMETHODCALLTYPE *Clone)(
  5434. IXpsOMGlyphs *This,
  5435. IXpsOMGlyphs **glyphs);
  5436. END_INTERFACE
  5437. } IXpsOMGlyphsVtbl;
  5438. interface IXpsOMGlyphs {
  5439. CONST_VTBL IXpsOMGlyphsVtbl* lpVtbl;
  5440. };
  5441. #ifdef COBJMACROS
  5442. #ifndef WIDL_C_INLINE_WRAPPERS
  5443. /*** IUnknown methods ***/
  5444. #define IXpsOMGlyphs_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5445. #define IXpsOMGlyphs_AddRef(This) (This)->lpVtbl->AddRef(This)
  5446. #define IXpsOMGlyphs_Release(This) (This)->lpVtbl->Release(This)
  5447. /*** IXpsOMShareable methods ***/
  5448. #define IXpsOMGlyphs_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  5449. #define IXpsOMGlyphs_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  5450. /*** IXpsOMVisual methods ***/
  5451. #define IXpsOMGlyphs_GetTransform(This,matrixTransform) (This)->lpVtbl->GetTransform(This,matrixTransform)
  5452. #define IXpsOMGlyphs_GetTransformLocal(This,matrixTransform) (This)->lpVtbl->GetTransformLocal(This,matrixTransform)
  5453. #define IXpsOMGlyphs_SetTransformLocal(This,matrixTransform) (This)->lpVtbl->SetTransformLocal(This,matrixTransform)
  5454. #define IXpsOMGlyphs_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
  5455. #define IXpsOMGlyphs_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
  5456. #define IXpsOMGlyphs_GetClipGeometry(This,clipGeometry) (This)->lpVtbl->GetClipGeometry(This,clipGeometry)
  5457. #define IXpsOMGlyphs_GetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->GetClipGeometryLocal(This,clipGeometry)
  5458. #define IXpsOMGlyphs_SetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->SetClipGeometryLocal(This,clipGeometry)
  5459. #define IXpsOMGlyphs_GetClipGeometryLookup(This,key) (This)->lpVtbl->GetClipGeometryLookup(This,key)
  5460. #define IXpsOMGlyphs_SetClipGeometryLookup(This,key) (This)->lpVtbl->SetClipGeometryLookup(This,key)
  5461. #define IXpsOMGlyphs_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
  5462. #define IXpsOMGlyphs_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
  5463. #define IXpsOMGlyphs_GetOpacityMaskBrush(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush)
  5464. #define IXpsOMGlyphs_GetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush)
  5465. #define IXpsOMGlyphs_SetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush)
  5466. #define IXpsOMGlyphs_GetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->GetOpacityMaskBrushLookup(This,key)
  5467. #define IXpsOMGlyphs_SetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->SetOpacityMaskBrushLookup(This,key)
  5468. #define IXpsOMGlyphs_GetName(This,name) (This)->lpVtbl->GetName(This,name)
  5469. #define IXpsOMGlyphs_SetName(This,name) (This)->lpVtbl->SetName(This,name)
  5470. #define IXpsOMGlyphs_GetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink)
  5471. #define IXpsOMGlyphs_SetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink)
  5472. #define IXpsOMGlyphs_GetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri)
  5473. #define IXpsOMGlyphs_SetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri)
  5474. #define IXpsOMGlyphs_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
  5475. #define IXpsOMGlyphs_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
  5476. /*** IXpsOMGlyphs methods ***/
  5477. #define IXpsOMGlyphs_GetUnicodeString(This,unicodeString) (This)->lpVtbl->GetUnicodeString(This,unicodeString)
  5478. #define IXpsOMGlyphs_GetGlyphIndexCount(This,indexCount) (This)->lpVtbl->GetGlyphIndexCount(This,indexCount)
  5479. #define IXpsOMGlyphs_GetGlyphIndices(This,indexCount,glyphIndices) (This)->lpVtbl->GetGlyphIndices(This,indexCount,glyphIndices)
  5480. #define IXpsOMGlyphs_GetGlyphMappingCount(This,glyphMappingCount) (This)->lpVtbl->GetGlyphMappingCount(This,glyphMappingCount)
  5481. #define IXpsOMGlyphs_GetGlyphMappings(This,glyphMappingCount,glyphMappings) (This)->lpVtbl->GetGlyphMappings(This,glyphMappingCount,glyphMappings)
  5482. #define IXpsOMGlyphs_GetProhibitedCaretStopCount(This,prohibitedCaretStopCount) (This)->lpVtbl->GetProhibitedCaretStopCount(This,prohibitedCaretStopCount)
  5483. #define IXpsOMGlyphs_GetProhibitedCaretStops(This,prohibitedCaretStopCount,prohibitedCaretStops) (This)->lpVtbl->GetProhibitedCaretStops(This,prohibitedCaretStopCount,prohibitedCaretStops)
  5484. #define IXpsOMGlyphs_GetBidiLevel(This,bidiLevel) (This)->lpVtbl->GetBidiLevel(This,bidiLevel)
  5485. #define IXpsOMGlyphs_GetIsSideways(This,isSideways) (This)->lpVtbl->GetIsSideways(This,isSideways)
  5486. #define IXpsOMGlyphs_GetDeviceFontName(This,deviceFontName) (This)->lpVtbl->GetDeviceFontName(This,deviceFontName)
  5487. #define IXpsOMGlyphs_GetStyleSimulations(This,styleSimulations) (This)->lpVtbl->GetStyleSimulations(This,styleSimulations)
  5488. #define IXpsOMGlyphs_SetStyleSimulations(This,styleSimulations) (This)->lpVtbl->SetStyleSimulations(This,styleSimulations)
  5489. #define IXpsOMGlyphs_GetOrigin(This,origin) (This)->lpVtbl->GetOrigin(This,origin)
  5490. #define IXpsOMGlyphs_SetOrigin(This,origin) (This)->lpVtbl->SetOrigin(This,origin)
  5491. #define IXpsOMGlyphs_GetFontRenderingEmSize(This,fontRenderingEmSize) (This)->lpVtbl->GetFontRenderingEmSize(This,fontRenderingEmSize)
  5492. #define IXpsOMGlyphs_SetFontRenderingEmSize(This,fontRenderingEmSize) (This)->lpVtbl->SetFontRenderingEmSize(This,fontRenderingEmSize)
  5493. #define IXpsOMGlyphs_GetFontResource(This,fontResource) (This)->lpVtbl->GetFontResource(This,fontResource)
  5494. #define IXpsOMGlyphs_SetFontResource(This,fontResource) (This)->lpVtbl->SetFontResource(This,fontResource)
  5495. #define IXpsOMGlyphs_GetFontFaceIndex(This,fontFaceIndex) (This)->lpVtbl->GetFontFaceIndex(This,fontFaceIndex)
  5496. #define IXpsOMGlyphs_SetFontFaceIndex(This,fontFaceIndex) (This)->lpVtbl->SetFontFaceIndex(This,fontFaceIndex)
  5497. #define IXpsOMGlyphs_GetFillBrush(This,fillBrush) (This)->lpVtbl->GetFillBrush(This,fillBrush)
  5498. #define IXpsOMGlyphs_GetFillBrushLocal(This,fillBrush) (This)->lpVtbl->GetFillBrushLocal(This,fillBrush)
  5499. #define IXpsOMGlyphs_SetFillBrushLocal(This,fillBrush) (This)->lpVtbl->SetFillBrushLocal(This,fillBrush)
  5500. #define IXpsOMGlyphs_GetFillBrushLookup(This,key) (This)->lpVtbl->GetFillBrushLookup(This,key)
  5501. #define IXpsOMGlyphs_SetFillBrushLookup(This,key) (This)->lpVtbl->SetFillBrushLookup(This,key)
  5502. #define IXpsOMGlyphs_GetGlyphsEditor(This,editor) (This)->lpVtbl->GetGlyphsEditor(This,editor)
  5503. #define IXpsOMGlyphs_Clone(This,glyphs) (This)->lpVtbl->Clone(This,glyphs)
  5504. #else
  5505. /*** IUnknown methods ***/
  5506. static FORCEINLINE HRESULT IXpsOMGlyphs_QueryInterface(IXpsOMGlyphs* This,REFIID riid,void **ppvObject) {
  5507. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  5508. }
  5509. static FORCEINLINE ULONG IXpsOMGlyphs_AddRef(IXpsOMGlyphs* This) {
  5510. return This->lpVtbl->AddRef(This);
  5511. }
  5512. static FORCEINLINE ULONG IXpsOMGlyphs_Release(IXpsOMGlyphs* This) {
  5513. return This->lpVtbl->Release(This);
  5514. }
  5515. /*** IXpsOMShareable methods ***/
  5516. static FORCEINLINE HRESULT IXpsOMGlyphs_GetOwner(IXpsOMGlyphs* This,IUnknown **owner) {
  5517. return This->lpVtbl->GetOwner(This,owner);
  5518. }
  5519. static FORCEINLINE HRESULT IXpsOMGlyphs_GetType(IXpsOMGlyphs* This,XPS_OBJECT_TYPE *type) {
  5520. return This->lpVtbl->GetType(This,type);
  5521. }
  5522. /*** IXpsOMVisual methods ***/
  5523. static FORCEINLINE HRESULT IXpsOMGlyphs_GetTransform(IXpsOMGlyphs* This,IXpsOMMatrixTransform **matrixTransform) {
  5524. return This->lpVtbl->GetTransform(This,matrixTransform);
  5525. }
  5526. static FORCEINLINE HRESULT IXpsOMGlyphs_GetTransformLocal(IXpsOMGlyphs* This,IXpsOMMatrixTransform **matrixTransform) {
  5527. return This->lpVtbl->GetTransformLocal(This,matrixTransform);
  5528. }
  5529. static FORCEINLINE HRESULT IXpsOMGlyphs_SetTransformLocal(IXpsOMGlyphs* This,IXpsOMMatrixTransform *matrixTransform) {
  5530. return This->lpVtbl->SetTransformLocal(This,matrixTransform);
  5531. }
  5532. static FORCEINLINE HRESULT IXpsOMGlyphs_GetTransformLookup(IXpsOMGlyphs* This,LPWSTR *key) {
  5533. return This->lpVtbl->GetTransformLookup(This,key);
  5534. }
  5535. static FORCEINLINE HRESULT IXpsOMGlyphs_SetTransformLookup(IXpsOMGlyphs* This,LPCWSTR key) {
  5536. return This->lpVtbl->SetTransformLookup(This,key);
  5537. }
  5538. static FORCEINLINE HRESULT IXpsOMGlyphs_GetClipGeometry(IXpsOMGlyphs* This,IXpsOMGeometry **clipGeometry) {
  5539. return This->lpVtbl->GetClipGeometry(This,clipGeometry);
  5540. }
  5541. static FORCEINLINE HRESULT IXpsOMGlyphs_GetClipGeometryLocal(IXpsOMGlyphs* This,IXpsOMGeometry **clipGeometry) {
  5542. return This->lpVtbl->GetClipGeometryLocal(This,clipGeometry);
  5543. }
  5544. static FORCEINLINE HRESULT IXpsOMGlyphs_SetClipGeometryLocal(IXpsOMGlyphs* This,IXpsOMGeometry *clipGeometry) {
  5545. return This->lpVtbl->SetClipGeometryLocal(This,clipGeometry);
  5546. }
  5547. static FORCEINLINE HRESULT IXpsOMGlyphs_GetClipGeometryLookup(IXpsOMGlyphs* This,LPWSTR *key) {
  5548. return This->lpVtbl->GetClipGeometryLookup(This,key);
  5549. }
  5550. static FORCEINLINE HRESULT IXpsOMGlyphs_SetClipGeometryLookup(IXpsOMGlyphs* This,LPCWSTR key) {
  5551. return This->lpVtbl->SetClipGeometryLookup(This,key);
  5552. }
  5553. static FORCEINLINE HRESULT IXpsOMGlyphs_GetOpacity(IXpsOMGlyphs* This,FLOAT *opacity) {
  5554. return This->lpVtbl->GetOpacity(This,opacity);
  5555. }
  5556. static FORCEINLINE HRESULT IXpsOMGlyphs_SetOpacity(IXpsOMGlyphs* This,FLOAT opacity) {
  5557. return This->lpVtbl->SetOpacity(This,opacity);
  5558. }
  5559. static FORCEINLINE HRESULT IXpsOMGlyphs_GetOpacityMaskBrush(IXpsOMGlyphs* This,IXpsOMBrush **opacityMaskBrush) {
  5560. return This->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush);
  5561. }
  5562. static FORCEINLINE HRESULT IXpsOMGlyphs_GetOpacityMaskBrushLocal(IXpsOMGlyphs* This,IXpsOMBrush **opacityMaskBrush) {
  5563. return This->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush);
  5564. }
  5565. static FORCEINLINE HRESULT IXpsOMGlyphs_SetOpacityMaskBrushLocal(IXpsOMGlyphs* This,IXpsOMBrush *opacityMaskBrush) {
  5566. return This->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush);
  5567. }
  5568. static FORCEINLINE HRESULT IXpsOMGlyphs_GetOpacityMaskBrushLookup(IXpsOMGlyphs* This,LPWSTR *key) {
  5569. return This->lpVtbl->GetOpacityMaskBrushLookup(This,key);
  5570. }
  5571. static FORCEINLINE HRESULT IXpsOMGlyphs_SetOpacityMaskBrushLookup(IXpsOMGlyphs* This,LPCWSTR key) {
  5572. return This->lpVtbl->SetOpacityMaskBrushLookup(This,key);
  5573. }
  5574. static FORCEINLINE HRESULT IXpsOMGlyphs_GetName(IXpsOMGlyphs* This,LPWSTR *name) {
  5575. return This->lpVtbl->GetName(This,name);
  5576. }
  5577. static FORCEINLINE HRESULT IXpsOMGlyphs_SetName(IXpsOMGlyphs* This,LPCWSTR name) {
  5578. return This->lpVtbl->SetName(This,name);
  5579. }
  5580. static FORCEINLINE HRESULT IXpsOMGlyphs_GetIsHyperlinkTarget(IXpsOMGlyphs* This,WINBOOL *isHyperlink) {
  5581. return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink);
  5582. }
  5583. static FORCEINLINE HRESULT IXpsOMGlyphs_SetIsHyperlinkTarget(IXpsOMGlyphs* This,WINBOOL isHyperlink) {
  5584. return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink);
  5585. }
  5586. static FORCEINLINE HRESULT IXpsOMGlyphs_GetHyperlinkNavigateUri(IXpsOMGlyphs* This,IUri **hyperlinkUri) {
  5587. return This->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri);
  5588. }
  5589. static FORCEINLINE HRESULT IXpsOMGlyphs_SetHyperlinkNavigateUri(IXpsOMGlyphs* This,IUri *hyperlinkUri) {
  5590. return This->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri);
  5591. }
  5592. static FORCEINLINE HRESULT IXpsOMGlyphs_GetLanguage(IXpsOMGlyphs* This,LPWSTR *language) {
  5593. return This->lpVtbl->GetLanguage(This,language);
  5594. }
  5595. static FORCEINLINE HRESULT IXpsOMGlyphs_SetLanguage(IXpsOMGlyphs* This,LPCWSTR language) {
  5596. return This->lpVtbl->SetLanguage(This,language);
  5597. }
  5598. /*** IXpsOMGlyphs methods ***/
  5599. static FORCEINLINE HRESULT IXpsOMGlyphs_GetUnicodeString(IXpsOMGlyphs* This,LPWSTR *unicodeString) {
  5600. return This->lpVtbl->GetUnicodeString(This,unicodeString);
  5601. }
  5602. static FORCEINLINE HRESULT IXpsOMGlyphs_GetGlyphIndexCount(IXpsOMGlyphs* This,UINT32 *indexCount) {
  5603. return This->lpVtbl->GetGlyphIndexCount(This,indexCount);
  5604. }
  5605. static FORCEINLINE HRESULT IXpsOMGlyphs_GetGlyphIndices(IXpsOMGlyphs* This,UINT32 *indexCount,XPS_GLYPH_INDEX *glyphIndices) {
  5606. return This->lpVtbl->GetGlyphIndices(This,indexCount,glyphIndices);
  5607. }
  5608. static FORCEINLINE HRESULT IXpsOMGlyphs_GetGlyphMappingCount(IXpsOMGlyphs* This,UINT32 *glyphMappingCount) {
  5609. return This->lpVtbl->GetGlyphMappingCount(This,glyphMappingCount);
  5610. }
  5611. static FORCEINLINE HRESULT IXpsOMGlyphs_GetGlyphMappings(IXpsOMGlyphs* This,UINT32 *glyphMappingCount,XPS_GLYPH_MAPPING *glyphMappings) {
  5612. return This->lpVtbl->GetGlyphMappings(This,glyphMappingCount,glyphMappings);
  5613. }
  5614. static FORCEINLINE HRESULT IXpsOMGlyphs_GetProhibitedCaretStopCount(IXpsOMGlyphs* This,UINT32 *prohibitedCaretStopCount) {
  5615. return This->lpVtbl->GetProhibitedCaretStopCount(This,prohibitedCaretStopCount);
  5616. }
  5617. static FORCEINLINE HRESULT IXpsOMGlyphs_GetProhibitedCaretStops(IXpsOMGlyphs* This,UINT32 *prohibitedCaretStopCount,UINT32 *prohibitedCaretStops) {
  5618. return This->lpVtbl->GetProhibitedCaretStops(This,prohibitedCaretStopCount,prohibitedCaretStops);
  5619. }
  5620. static FORCEINLINE HRESULT IXpsOMGlyphs_GetBidiLevel(IXpsOMGlyphs* This,UINT32 *bidiLevel) {
  5621. return This->lpVtbl->GetBidiLevel(This,bidiLevel);
  5622. }
  5623. static FORCEINLINE HRESULT IXpsOMGlyphs_GetIsSideways(IXpsOMGlyphs* This,WINBOOL *isSideways) {
  5624. return This->lpVtbl->GetIsSideways(This,isSideways);
  5625. }
  5626. static FORCEINLINE HRESULT IXpsOMGlyphs_GetDeviceFontName(IXpsOMGlyphs* This,LPWSTR *deviceFontName) {
  5627. return This->lpVtbl->GetDeviceFontName(This,deviceFontName);
  5628. }
  5629. static FORCEINLINE HRESULT IXpsOMGlyphs_GetStyleSimulations(IXpsOMGlyphs* This,XPS_STYLE_SIMULATION *styleSimulations) {
  5630. return This->lpVtbl->GetStyleSimulations(This,styleSimulations);
  5631. }
  5632. static FORCEINLINE HRESULT IXpsOMGlyphs_SetStyleSimulations(IXpsOMGlyphs* This,XPS_STYLE_SIMULATION styleSimulations) {
  5633. return This->lpVtbl->SetStyleSimulations(This,styleSimulations);
  5634. }
  5635. static FORCEINLINE HRESULT IXpsOMGlyphs_GetOrigin(IXpsOMGlyphs* This,XPS_POINT *origin) {
  5636. return This->lpVtbl->GetOrigin(This,origin);
  5637. }
  5638. static FORCEINLINE HRESULT IXpsOMGlyphs_SetOrigin(IXpsOMGlyphs* This,const XPS_POINT *origin) {
  5639. return This->lpVtbl->SetOrigin(This,origin);
  5640. }
  5641. static FORCEINLINE HRESULT IXpsOMGlyphs_GetFontRenderingEmSize(IXpsOMGlyphs* This,FLOAT *fontRenderingEmSize) {
  5642. return This->lpVtbl->GetFontRenderingEmSize(This,fontRenderingEmSize);
  5643. }
  5644. static FORCEINLINE HRESULT IXpsOMGlyphs_SetFontRenderingEmSize(IXpsOMGlyphs* This,FLOAT fontRenderingEmSize) {
  5645. return This->lpVtbl->SetFontRenderingEmSize(This,fontRenderingEmSize);
  5646. }
  5647. static FORCEINLINE HRESULT IXpsOMGlyphs_GetFontResource(IXpsOMGlyphs* This,IXpsOMFontResource **fontResource) {
  5648. return This->lpVtbl->GetFontResource(This,fontResource);
  5649. }
  5650. static FORCEINLINE HRESULT IXpsOMGlyphs_SetFontResource(IXpsOMGlyphs* This,IXpsOMFontResource *fontResource) {
  5651. return This->lpVtbl->SetFontResource(This,fontResource);
  5652. }
  5653. static FORCEINLINE HRESULT IXpsOMGlyphs_GetFontFaceIndex(IXpsOMGlyphs* This,SHORT *fontFaceIndex) {
  5654. return This->lpVtbl->GetFontFaceIndex(This,fontFaceIndex);
  5655. }
  5656. static FORCEINLINE HRESULT IXpsOMGlyphs_SetFontFaceIndex(IXpsOMGlyphs* This,SHORT fontFaceIndex) {
  5657. return This->lpVtbl->SetFontFaceIndex(This,fontFaceIndex);
  5658. }
  5659. static FORCEINLINE HRESULT IXpsOMGlyphs_GetFillBrush(IXpsOMGlyphs* This,IXpsOMBrush **fillBrush) {
  5660. return This->lpVtbl->GetFillBrush(This,fillBrush);
  5661. }
  5662. static FORCEINLINE HRESULT IXpsOMGlyphs_GetFillBrushLocal(IXpsOMGlyphs* This,IXpsOMBrush **fillBrush) {
  5663. return This->lpVtbl->GetFillBrushLocal(This,fillBrush);
  5664. }
  5665. static FORCEINLINE HRESULT IXpsOMGlyphs_SetFillBrushLocal(IXpsOMGlyphs* This,IXpsOMBrush *fillBrush) {
  5666. return This->lpVtbl->SetFillBrushLocal(This,fillBrush);
  5667. }
  5668. static FORCEINLINE HRESULT IXpsOMGlyphs_GetFillBrushLookup(IXpsOMGlyphs* This,LPWSTR *key) {
  5669. return This->lpVtbl->GetFillBrushLookup(This,key);
  5670. }
  5671. static FORCEINLINE HRESULT IXpsOMGlyphs_SetFillBrushLookup(IXpsOMGlyphs* This,LPCWSTR key) {
  5672. return This->lpVtbl->SetFillBrushLookup(This,key);
  5673. }
  5674. static FORCEINLINE HRESULT IXpsOMGlyphs_GetGlyphsEditor(IXpsOMGlyphs* This,IXpsOMGlyphsEditor **editor) {
  5675. return This->lpVtbl->GetGlyphsEditor(This,editor);
  5676. }
  5677. static FORCEINLINE HRESULT IXpsOMGlyphs_Clone(IXpsOMGlyphs* This,IXpsOMGlyphs **glyphs) {
  5678. return This->lpVtbl->Clone(This,glyphs);
  5679. }
  5680. #endif
  5681. #endif
  5682. #endif
  5683. #endif /* __IXpsOMGlyphs_INTERFACE_DEFINED__ */
  5684. /*****************************************************************************
  5685. * IXpsOMPath interface
  5686. */
  5687. #ifndef __IXpsOMPath_INTERFACE_DEFINED__
  5688. #define __IXpsOMPath_INTERFACE_DEFINED__
  5689. DEFINE_GUID(IID_IXpsOMPath, 0x37d38bb6, 0x3ee9, 0x4110, 0x93,0x12, 0x14,0xb1,0x94,0x16,0x33,0x37);
  5690. #if defined(__cplusplus) && !defined(CINTERFACE)
  5691. MIDL_INTERFACE("37d38bb6-3ee9-4110-9312-14b194163337")
  5692. IXpsOMPath : public IXpsOMVisual
  5693. {
  5694. virtual HRESULT STDMETHODCALLTYPE GetGeometry(
  5695. IXpsOMGeometry **geometry) = 0;
  5696. virtual HRESULT STDMETHODCALLTYPE GetGeometryLocal(
  5697. IXpsOMGeometry **geometry) = 0;
  5698. virtual HRESULT STDMETHODCALLTYPE SetGeometryLocal(
  5699. IXpsOMGeometry *geometry) = 0;
  5700. virtual HRESULT STDMETHODCALLTYPE GetGeometryLookup(
  5701. LPWSTR *lookup) = 0;
  5702. virtual HRESULT STDMETHODCALLTYPE SetGeometryLookup(
  5703. LPCWSTR lookup) = 0;
  5704. virtual HRESULT STDMETHODCALLTYPE GetAccessibilityShortDescription(
  5705. LPWSTR *shortDescription) = 0;
  5706. virtual HRESULT STDMETHODCALLTYPE SetAccessibilityShortDescription(
  5707. LPCWSTR shortDescription) = 0;
  5708. virtual HRESULT STDMETHODCALLTYPE GetAccessibilityLongDescription(
  5709. LPWSTR *longDescription) = 0;
  5710. virtual HRESULT STDMETHODCALLTYPE SetAccessibilityLongDescription(
  5711. LPCWSTR longDescription) = 0;
  5712. virtual HRESULT STDMETHODCALLTYPE GetSnapsToPixels(
  5713. WINBOOL *snapsToPixels) = 0;
  5714. virtual HRESULT STDMETHODCALLTYPE SetSnapsToPixels(
  5715. WINBOOL snapsToPixels) = 0;
  5716. virtual HRESULT STDMETHODCALLTYPE GetStrokeBrush(
  5717. IXpsOMBrush **brush) = 0;
  5718. virtual HRESULT STDMETHODCALLTYPE GetStrokeBrushLocal(
  5719. IXpsOMBrush **brush) = 0;
  5720. virtual HRESULT STDMETHODCALLTYPE SetStrokeBrushLocal(
  5721. IXpsOMBrush *brush) = 0;
  5722. virtual HRESULT STDMETHODCALLTYPE GetStrokeBrushLookup(
  5723. LPWSTR *lookup) = 0;
  5724. virtual HRESULT STDMETHODCALLTYPE SetStrokeBrushLookup(
  5725. LPCWSTR lookup) = 0;
  5726. virtual HRESULT STDMETHODCALLTYPE GetStrokeDashes(
  5727. IXpsOMDashCollection **strokeDashes) = 0;
  5728. virtual HRESULT STDMETHODCALLTYPE GetStrokeDashCap(
  5729. XPS_DASH_CAP *strokeDashCap) = 0;
  5730. virtual HRESULT STDMETHODCALLTYPE SetStrokeDashCap(
  5731. XPS_DASH_CAP strokeDashCap) = 0;
  5732. virtual HRESULT STDMETHODCALLTYPE GetStrokeDashOffset(
  5733. FLOAT *strokeDashOffset) = 0;
  5734. virtual HRESULT STDMETHODCALLTYPE SetStrokeDashOffset(
  5735. FLOAT strokeDashOffset) = 0;
  5736. virtual HRESULT STDMETHODCALLTYPE GetStrokeStartLineCap(
  5737. XPS_LINE_CAP *strokeStartLineCap) = 0;
  5738. virtual HRESULT STDMETHODCALLTYPE SetStrokeStartLineCap(
  5739. XPS_LINE_CAP strokeStartLineCap) = 0;
  5740. virtual HRESULT STDMETHODCALLTYPE GetStrokeEndLineCap(
  5741. XPS_LINE_CAP *strokeEndLineCap) = 0;
  5742. virtual HRESULT STDMETHODCALLTYPE SetStrokeEndLineCap(
  5743. XPS_LINE_CAP strokeEndLineCap) = 0;
  5744. virtual HRESULT STDMETHODCALLTYPE GetStrokeLineJoin(
  5745. XPS_LINE_JOIN *strokeLineJoin) = 0;
  5746. virtual HRESULT STDMETHODCALLTYPE SetStrokeLineJoin(
  5747. XPS_LINE_JOIN strokeLineJoin) = 0;
  5748. virtual HRESULT STDMETHODCALLTYPE GetStrokeMiterLimit(
  5749. FLOAT *strokeMiterLimit) = 0;
  5750. virtual HRESULT STDMETHODCALLTYPE SetStrokeMiterLimit(
  5751. FLOAT strokeMiterLimit) = 0;
  5752. virtual HRESULT STDMETHODCALLTYPE GetStrokeThickness(
  5753. FLOAT *strokeThickness) = 0;
  5754. virtual HRESULT STDMETHODCALLTYPE SetStrokeThickness(
  5755. FLOAT strokeThickness) = 0;
  5756. virtual HRESULT STDMETHODCALLTYPE GetFillBrush(
  5757. IXpsOMBrush **brush) = 0;
  5758. virtual HRESULT STDMETHODCALLTYPE GetFillBrushLocal(
  5759. IXpsOMBrush **brush) = 0;
  5760. virtual HRESULT STDMETHODCALLTYPE SetFillBrushLocal(
  5761. IXpsOMBrush *brush) = 0;
  5762. virtual HRESULT STDMETHODCALLTYPE GetFillBrushLookup(
  5763. LPWSTR *lookup) = 0;
  5764. virtual HRESULT STDMETHODCALLTYPE SetFillBrushLookup(
  5765. LPCWSTR lookup) = 0;
  5766. virtual HRESULT STDMETHODCALLTYPE Clone(
  5767. IXpsOMPath **path) = 0;
  5768. };
  5769. #ifdef __CRT_UUID_DECL
  5770. __CRT_UUID_DECL(IXpsOMPath, 0x37d38bb6, 0x3ee9, 0x4110, 0x93,0x12, 0x14,0xb1,0x94,0x16,0x33,0x37)
  5771. #endif
  5772. #else
  5773. typedef struct IXpsOMPathVtbl {
  5774. BEGIN_INTERFACE
  5775. /*** IUnknown methods ***/
  5776. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  5777. IXpsOMPath *This,
  5778. REFIID riid,
  5779. void **ppvObject);
  5780. ULONG (STDMETHODCALLTYPE *AddRef)(
  5781. IXpsOMPath *This);
  5782. ULONG (STDMETHODCALLTYPE *Release)(
  5783. IXpsOMPath *This);
  5784. /*** IXpsOMShareable methods ***/
  5785. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  5786. IXpsOMPath *This,
  5787. IUnknown **owner);
  5788. HRESULT (STDMETHODCALLTYPE *GetType)(
  5789. IXpsOMPath *This,
  5790. XPS_OBJECT_TYPE *type);
  5791. /*** IXpsOMVisual methods ***/
  5792. HRESULT (STDMETHODCALLTYPE *GetTransform)(
  5793. IXpsOMPath *This,
  5794. IXpsOMMatrixTransform **matrixTransform);
  5795. HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
  5796. IXpsOMPath *This,
  5797. IXpsOMMatrixTransform **matrixTransform);
  5798. HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
  5799. IXpsOMPath *This,
  5800. IXpsOMMatrixTransform *matrixTransform);
  5801. HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
  5802. IXpsOMPath *This,
  5803. LPWSTR *key);
  5804. HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
  5805. IXpsOMPath *This,
  5806. LPCWSTR key);
  5807. HRESULT (STDMETHODCALLTYPE *GetClipGeometry)(
  5808. IXpsOMPath *This,
  5809. IXpsOMGeometry **clipGeometry);
  5810. HRESULT (STDMETHODCALLTYPE *GetClipGeometryLocal)(
  5811. IXpsOMPath *This,
  5812. IXpsOMGeometry **clipGeometry);
  5813. HRESULT (STDMETHODCALLTYPE *SetClipGeometryLocal)(
  5814. IXpsOMPath *This,
  5815. IXpsOMGeometry *clipGeometry);
  5816. HRESULT (STDMETHODCALLTYPE *GetClipGeometryLookup)(
  5817. IXpsOMPath *This,
  5818. LPWSTR *key);
  5819. HRESULT (STDMETHODCALLTYPE *SetClipGeometryLookup)(
  5820. IXpsOMPath *This,
  5821. LPCWSTR key);
  5822. HRESULT (STDMETHODCALLTYPE *GetOpacity)(
  5823. IXpsOMPath *This,
  5824. FLOAT *opacity);
  5825. HRESULT (STDMETHODCALLTYPE *SetOpacity)(
  5826. IXpsOMPath *This,
  5827. FLOAT opacity);
  5828. HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrush)(
  5829. IXpsOMPath *This,
  5830. IXpsOMBrush **opacityMaskBrush);
  5831. HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLocal)(
  5832. IXpsOMPath *This,
  5833. IXpsOMBrush **opacityMaskBrush);
  5834. HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLocal)(
  5835. IXpsOMPath *This,
  5836. IXpsOMBrush *opacityMaskBrush);
  5837. HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLookup)(
  5838. IXpsOMPath *This,
  5839. LPWSTR *key);
  5840. HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLookup)(
  5841. IXpsOMPath *This,
  5842. LPCWSTR key);
  5843. HRESULT (STDMETHODCALLTYPE *GetName)(
  5844. IXpsOMPath *This,
  5845. LPWSTR *name);
  5846. HRESULT (STDMETHODCALLTYPE *SetName)(
  5847. IXpsOMPath *This,
  5848. LPCWSTR name);
  5849. HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
  5850. IXpsOMPath *This,
  5851. WINBOOL *isHyperlink);
  5852. HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
  5853. IXpsOMPath *This,
  5854. WINBOOL isHyperlink);
  5855. HRESULT (STDMETHODCALLTYPE *GetHyperlinkNavigateUri)(
  5856. IXpsOMPath *This,
  5857. IUri **hyperlinkUri);
  5858. HRESULT (STDMETHODCALLTYPE *SetHyperlinkNavigateUri)(
  5859. IXpsOMPath *This,
  5860. IUri *hyperlinkUri);
  5861. HRESULT (STDMETHODCALLTYPE *GetLanguage)(
  5862. IXpsOMPath *This,
  5863. LPWSTR *language);
  5864. HRESULT (STDMETHODCALLTYPE *SetLanguage)(
  5865. IXpsOMPath *This,
  5866. LPCWSTR language);
  5867. /*** IXpsOMPath methods ***/
  5868. HRESULT (STDMETHODCALLTYPE *GetGeometry)(
  5869. IXpsOMPath *This,
  5870. IXpsOMGeometry **geometry);
  5871. HRESULT (STDMETHODCALLTYPE *GetGeometryLocal)(
  5872. IXpsOMPath *This,
  5873. IXpsOMGeometry **geometry);
  5874. HRESULT (STDMETHODCALLTYPE *SetGeometryLocal)(
  5875. IXpsOMPath *This,
  5876. IXpsOMGeometry *geometry);
  5877. HRESULT (STDMETHODCALLTYPE *GetGeometryLookup)(
  5878. IXpsOMPath *This,
  5879. LPWSTR *lookup);
  5880. HRESULT (STDMETHODCALLTYPE *SetGeometryLookup)(
  5881. IXpsOMPath *This,
  5882. LPCWSTR lookup);
  5883. HRESULT (STDMETHODCALLTYPE *GetAccessibilityShortDescription)(
  5884. IXpsOMPath *This,
  5885. LPWSTR *shortDescription);
  5886. HRESULT (STDMETHODCALLTYPE *SetAccessibilityShortDescription)(
  5887. IXpsOMPath *This,
  5888. LPCWSTR shortDescription);
  5889. HRESULT (STDMETHODCALLTYPE *GetAccessibilityLongDescription)(
  5890. IXpsOMPath *This,
  5891. LPWSTR *longDescription);
  5892. HRESULT (STDMETHODCALLTYPE *SetAccessibilityLongDescription)(
  5893. IXpsOMPath *This,
  5894. LPCWSTR longDescription);
  5895. HRESULT (STDMETHODCALLTYPE *GetSnapsToPixels)(
  5896. IXpsOMPath *This,
  5897. WINBOOL *snapsToPixels);
  5898. HRESULT (STDMETHODCALLTYPE *SetSnapsToPixels)(
  5899. IXpsOMPath *This,
  5900. WINBOOL snapsToPixels);
  5901. HRESULT (STDMETHODCALLTYPE *GetStrokeBrush)(
  5902. IXpsOMPath *This,
  5903. IXpsOMBrush **brush);
  5904. HRESULT (STDMETHODCALLTYPE *GetStrokeBrushLocal)(
  5905. IXpsOMPath *This,
  5906. IXpsOMBrush **brush);
  5907. HRESULT (STDMETHODCALLTYPE *SetStrokeBrushLocal)(
  5908. IXpsOMPath *This,
  5909. IXpsOMBrush *brush);
  5910. HRESULT (STDMETHODCALLTYPE *GetStrokeBrushLookup)(
  5911. IXpsOMPath *This,
  5912. LPWSTR *lookup);
  5913. HRESULT (STDMETHODCALLTYPE *SetStrokeBrushLookup)(
  5914. IXpsOMPath *This,
  5915. LPCWSTR lookup);
  5916. HRESULT (STDMETHODCALLTYPE *GetStrokeDashes)(
  5917. IXpsOMPath *This,
  5918. IXpsOMDashCollection **strokeDashes);
  5919. HRESULT (STDMETHODCALLTYPE *GetStrokeDashCap)(
  5920. IXpsOMPath *This,
  5921. XPS_DASH_CAP *strokeDashCap);
  5922. HRESULT (STDMETHODCALLTYPE *SetStrokeDashCap)(
  5923. IXpsOMPath *This,
  5924. XPS_DASH_CAP strokeDashCap);
  5925. HRESULT (STDMETHODCALLTYPE *GetStrokeDashOffset)(
  5926. IXpsOMPath *This,
  5927. FLOAT *strokeDashOffset);
  5928. HRESULT (STDMETHODCALLTYPE *SetStrokeDashOffset)(
  5929. IXpsOMPath *This,
  5930. FLOAT strokeDashOffset);
  5931. HRESULT (STDMETHODCALLTYPE *GetStrokeStartLineCap)(
  5932. IXpsOMPath *This,
  5933. XPS_LINE_CAP *strokeStartLineCap);
  5934. HRESULT (STDMETHODCALLTYPE *SetStrokeStartLineCap)(
  5935. IXpsOMPath *This,
  5936. XPS_LINE_CAP strokeStartLineCap);
  5937. HRESULT (STDMETHODCALLTYPE *GetStrokeEndLineCap)(
  5938. IXpsOMPath *This,
  5939. XPS_LINE_CAP *strokeEndLineCap);
  5940. HRESULT (STDMETHODCALLTYPE *SetStrokeEndLineCap)(
  5941. IXpsOMPath *This,
  5942. XPS_LINE_CAP strokeEndLineCap);
  5943. HRESULT (STDMETHODCALLTYPE *GetStrokeLineJoin)(
  5944. IXpsOMPath *This,
  5945. XPS_LINE_JOIN *strokeLineJoin);
  5946. HRESULT (STDMETHODCALLTYPE *SetStrokeLineJoin)(
  5947. IXpsOMPath *This,
  5948. XPS_LINE_JOIN strokeLineJoin);
  5949. HRESULT (STDMETHODCALLTYPE *GetStrokeMiterLimit)(
  5950. IXpsOMPath *This,
  5951. FLOAT *strokeMiterLimit);
  5952. HRESULT (STDMETHODCALLTYPE *SetStrokeMiterLimit)(
  5953. IXpsOMPath *This,
  5954. FLOAT strokeMiterLimit);
  5955. HRESULT (STDMETHODCALLTYPE *GetStrokeThickness)(
  5956. IXpsOMPath *This,
  5957. FLOAT *strokeThickness);
  5958. HRESULT (STDMETHODCALLTYPE *SetStrokeThickness)(
  5959. IXpsOMPath *This,
  5960. FLOAT strokeThickness);
  5961. HRESULT (STDMETHODCALLTYPE *GetFillBrush)(
  5962. IXpsOMPath *This,
  5963. IXpsOMBrush **brush);
  5964. HRESULT (STDMETHODCALLTYPE *GetFillBrushLocal)(
  5965. IXpsOMPath *This,
  5966. IXpsOMBrush **brush);
  5967. HRESULT (STDMETHODCALLTYPE *SetFillBrushLocal)(
  5968. IXpsOMPath *This,
  5969. IXpsOMBrush *brush);
  5970. HRESULT (STDMETHODCALLTYPE *GetFillBrushLookup)(
  5971. IXpsOMPath *This,
  5972. LPWSTR *lookup);
  5973. HRESULT (STDMETHODCALLTYPE *SetFillBrushLookup)(
  5974. IXpsOMPath *This,
  5975. LPCWSTR lookup);
  5976. HRESULT (STDMETHODCALLTYPE *Clone)(
  5977. IXpsOMPath *This,
  5978. IXpsOMPath **path);
  5979. END_INTERFACE
  5980. } IXpsOMPathVtbl;
  5981. interface IXpsOMPath {
  5982. CONST_VTBL IXpsOMPathVtbl* lpVtbl;
  5983. };
  5984. #ifdef COBJMACROS
  5985. #ifndef WIDL_C_INLINE_WRAPPERS
  5986. /*** IUnknown methods ***/
  5987. #define IXpsOMPath_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  5988. #define IXpsOMPath_AddRef(This) (This)->lpVtbl->AddRef(This)
  5989. #define IXpsOMPath_Release(This) (This)->lpVtbl->Release(This)
  5990. /*** IXpsOMShareable methods ***/
  5991. #define IXpsOMPath_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  5992. #define IXpsOMPath_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  5993. /*** IXpsOMVisual methods ***/
  5994. #define IXpsOMPath_GetTransform(This,matrixTransform) (This)->lpVtbl->GetTransform(This,matrixTransform)
  5995. #define IXpsOMPath_GetTransformLocal(This,matrixTransform) (This)->lpVtbl->GetTransformLocal(This,matrixTransform)
  5996. #define IXpsOMPath_SetTransformLocal(This,matrixTransform) (This)->lpVtbl->SetTransformLocal(This,matrixTransform)
  5997. #define IXpsOMPath_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
  5998. #define IXpsOMPath_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
  5999. #define IXpsOMPath_GetClipGeometry(This,clipGeometry) (This)->lpVtbl->GetClipGeometry(This,clipGeometry)
  6000. #define IXpsOMPath_GetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->GetClipGeometryLocal(This,clipGeometry)
  6001. #define IXpsOMPath_SetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->SetClipGeometryLocal(This,clipGeometry)
  6002. #define IXpsOMPath_GetClipGeometryLookup(This,key) (This)->lpVtbl->GetClipGeometryLookup(This,key)
  6003. #define IXpsOMPath_SetClipGeometryLookup(This,key) (This)->lpVtbl->SetClipGeometryLookup(This,key)
  6004. #define IXpsOMPath_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
  6005. #define IXpsOMPath_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
  6006. #define IXpsOMPath_GetOpacityMaskBrush(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush)
  6007. #define IXpsOMPath_GetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush)
  6008. #define IXpsOMPath_SetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush)
  6009. #define IXpsOMPath_GetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->GetOpacityMaskBrushLookup(This,key)
  6010. #define IXpsOMPath_SetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->SetOpacityMaskBrushLookup(This,key)
  6011. #define IXpsOMPath_GetName(This,name) (This)->lpVtbl->GetName(This,name)
  6012. #define IXpsOMPath_SetName(This,name) (This)->lpVtbl->SetName(This,name)
  6013. #define IXpsOMPath_GetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink)
  6014. #define IXpsOMPath_SetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink)
  6015. #define IXpsOMPath_GetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri)
  6016. #define IXpsOMPath_SetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri)
  6017. #define IXpsOMPath_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
  6018. #define IXpsOMPath_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
  6019. /*** IXpsOMPath methods ***/
  6020. #define IXpsOMPath_GetGeometry(This,geometry) (This)->lpVtbl->GetGeometry(This,geometry)
  6021. #define IXpsOMPath_GetGeometryLocal(This,geometry) (This)->lpVtbl->GetGeometryLocal(This,geometry)
  6022. #define IXpsOMPath_SetGeometryLocal(This,geometry) (This)->lpVtbl->SetGeometryLocal(This,geometry)
  6023. #define IXpsOMPath_GetGeometryLookup(This,lookup) (This)->lpVtbl->GetGeometryLookup(This,lookup)
  6024. #define IXpsOMPath_SetGeometryLookup(This,lookup) (This)->lpVtbl->SetGeometryLookup(This,lookup)
  6025. #define IXpsOMPath_GetAccessibilityShortDescription(This,shortDescription) (This)->lpVtbl->GetAccessibilityShortDescription(This,shortDescription)
  6026. #define IXpsOMPath_SetAccessibilityShortDescription(This,shortDescription) (This)->lpVtbl->SetAccessibilityShortDescription(This,shortDescription)
  6027. #define IXpsOMPath_GetAccessibilityLongDescription(This,longDescription) (This)->lpVtbl->GetAccessibilityLongDescription(This,longDescription)
  6028. #define IXpsOMPath_SetAccessibilityLongDescription(This,longDescription) (This)->lpVtbl->SetAccessibilityLongDescription(This,longDescription)
  6029. #define IXpsOMPath_GetSnapsToPixels(This,snapsToPixels) (This)->lpVtbl->GetSnapsToPixels(This,snapsToPixels)
  6030. #define IXpsOMPath_SetSnapsToPixels(This,snapsToPixels) (This)->lpVtbl->SetSnapsToPixels(This,snapsToPixels)
  6031. #define IXpsOMPath_GetStrokeBrush(This,brush) (This)->lpVtbl->GetStrokeBrush(This,brush)
  6032. #define IXpsOMPath_GetStrokeBrushLocal(This,brush) (This)->lpVtbl->GetStrokeBrushLocal(This,brush)
  6033. #define IXpsOMPath_SetStrokeBrushLocal(This,brush) (This)->lpVtbl->SetStrokeBrushLocal(This,brush)
  6034. #define IXpsOMPath_GetStrokeBrushLookup(This,lookup) (This)->lpVtbl->GetStrokeBrushLookup(This,lookup)
  6035. #define IXpsOMPath_SetStrokeBrushLookup(This,lookup) (This)->lpVtbl->SetStrokeBrushLookup(This,lookup)
  6036. #define IXpsOMPath_GetStrokeDashes(This,strokeDashes) (This)->lpVtbl->GetStrokeDashes(This,strokeDashes)
  6037. #define IXpsOMPath_GetStrokeDashCap(This,strokeDashCap) (This)->lpVtbl->GetStrokeDashCap(This,strokeDashCap)
  6038. #define IXpsOMPath_SetStrokeDashCap(This,strokeDashCap) (This)->lpVtbl->SetStrokeDashCap(This,strokeDashCap)
  6039. #define IXpsOMPath_GetStrokeDashOffset(This,strokeDashOffset) (This)->lpVtbl->GetStrokeDashOffset(This,strokeDashOffset)
  6040. #define IXpsOMPath_SetStrokeDashOffset(This,strokeDashOffset) (This)->lpVtbl->SetStrokeDashOffset(This,strokeDashOffset)
  6041. #define IXpsOMPath_GetStrokeStartLineCap(This,strokeStartLineCap) (This)->lpVtbl->GetStrokeStartLineCap(This,strokeStartLineCap)
  6042. #define IXpsOMPath_SetStrokeStartLineCap(This,strokeStartLineCap) (This)->lpVtbl->SetStrokeStartLineCap(This,strokeStartLineCap)
  6043. #define IXpsOMPath_GetStrokeEndLineCap(This,strokeEndLineCap) (This)->lpVtbl->GetStrokeEndLineCap(This,strokeEndLineCap)
  6044. #define IXpsOMPath_SetStrokeEndLineCap(This,strokeEndLineCap) (This)->lpVtbl->SetStrokeEndLineCap(This,strokeEndLineCap)
  6045. #define IXpsOMPath_GetStrokeLineJoin(This,strokeLineJoin) (This)->lpVtbl->GetStrokeLineJoin(This,strokeLineJoin)
  6046. #define IXpsOMPath_SetStrokeLineJoin(This,strokeLineJoin) (This)->lpVtbl->SetStrokeLineJoin(This,strokeLineJoin)
  6047. #define IXpsOMPath_GetStrokeMiterLimit(This,strokeMiterLimit) (This)->lpVtbl->GetStrokeMiterLimit(This,strokeMiterLimit)
  6048. #define IXpsOMPath_SetStrokeMiterLimit(This,strokeMiterLimit) (This)->lpVtbl->SetStrokeMiterLimit(This,strokeMiterLimit)
  6049. #define IXpsOMPath_GetStrokeThickness(This,strokeThickness) (This)->lpVtbl->GetStrokeThickness(This,strokeThickness)
  6050. #define IXpsOMPath_SetStrokeThickness(This,strokeThickness) (This)->lpVtbl->SetStrokeThickness(This,strokeThickness)
  6051. #define IXpsOMPath_GetFillBrush(This,brush) (This)->lpVtbl->GetFillBrush(This,brush)
  6052. #define IXpsOMPath_GetFillBrushLocal(This,brush) (This)->lpVtbl->GetFillBrushLocal(This,brush)
  6053. #define IXpsOMPath_SetFillBrushLocal(This,brush) (This)->lpVtbl->SetFillBrushLocal(This,brush)
  6054. #define IXpsOMPath_GetFillBrushLookup(This,lookup) (This)->lpVtbl->GetFillBrushLookup(This,lookup)
  6055. #define IXpsOMPath_SetFillBrushLookup(This,lookup) (This)->lpVtbl->SetFillBrushLookup(This,lookup)
  6056. #define IXpsOMPath_Clone(This,path) (This)->lpVtbl->Clone(This,path)
  6057. #else
  6058. /*** IUnknown methods ***/
  6059. static FORCEINLINE HRESULT IXpsOMPath_QueryInterface(IXpsOMPath* This,REFIID riid,void **ppvObject) {
  6060. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  6061. }
  6062. static FORCEINLINE ULONG IXpsOMPath_AddRef(IXpsOMPath* This) {
  6063. return This->lpVtbl->AddRef(This);
  6064. }
  6065. static FORCEINLINE ULONG IXpsOMPath_Release(IXpsOMPath* This) {
  6066. return This->lpVtbl->Release(This);
  6067. }
  6068. /*** IXpsOMShareable methods ***/
  6069. static FORCEINLINE HRESULT IXpsOMPath_GetOwner(IXpsOMPath* This,IUnknown **owner) {
  6070. return This->lpVtbl->GetOwner(This,owner);
  6071. }
  6072. static FORCEINLINE HRESULT IXpsOMPath_GetType(IXpsOMPath* This,XPS_OBJECT_TYPE *type) {
  6073. return This->lpVtbl->GetType(This,type);
  6074. }
  6075. /*** IXpsOMVisual methods ***/
  6076. static FORCEINLINE HRESULT IXpsOMPath_GetTransform(IXpsOMPath* This,IXpsOMMatrixTransform **matrixTransform) {
  6077. return This->lpVtbl->GetTransform(This,matrixTransform);
  6078. }
  6079. static FORCEINLINE HRESULT IXpsOMPath_GetTransformLocal(IXpsOMPath* This,IXpsOMMatrixTransform **matrixTransform) {
  6080. return This->lpVtbl->GetTransformLocal(This,matrixTransform);
  6081. }
  6082. static FORCEINLINE HRESULT IXpsOMPath_SetTransformLocal(IXpsOMPath* This,IXpsOMMatrixTransform *matrixTransform) {
  6083. return This->lpVtbl->SetTransformLocal(This,matrixTransform);
  6084. }
  6085. static FORCEINLINE HRESULT IXpsOMPath_GetTransformLookup(IXpsOMPath* This,LPWSTR *key) {
  6086. return This->lpVtbl->GetTransformLookup(This,key);
  6087. }
  6088. static FORCEINLINE HRESULT IXpsOMPath_SetTransformLookup(IXpsOMPath* This,LPCWSTR key) {
  6089. return This->lpVtbl->SetTransformLookup(This,key);
  6090. }
  6091. static FORCEINLINE HRESULT IXpsOMPath_GetClipGeometry(IXpsOMPath* This,IXpsOMGeometry **clipGeometry) {
  6092. return This->lpVtbl->GetClipGeometry(This,clipGeometry);
  6093. }
  6094. static FORCEINLINE HRESULT IXpsOMPath_GetClipGeometryLocal(IXpsOMPath* This,IXpsOMGeometry **clipGeometry) {
  6095. return This->lpVtbl->GetClipGeometryLocal(This,clipGeometry);
  6096. }
  6097. static FORCEINLINE HRESULT IXpsOMPath_SetClipGeometryLocal(IXpsOMPath* This,IXpsOMGeometry *clipGeometry) {
  6098. return This->lpVtbl->SetClipGeometryLocal(This,clipGeometry);
  6099. }
  6100. static FORCEINLINE HRESULT IXpsOMPath_GetClipGeometryLookup(IXpsOMPath* This,LPWSTR *key) {
  6101. return This->lpVtbl->GetClipGeometryLookup(This,key);
  6102. }
  6103. static FORCEINLINE HRESULT IXpsOMPath_SetClipGeometryLookup(IXpsOMPath* This,LPCWSTR key) {
  6104. return This->lpVtbl->SetClipGeometryLookup(This,key);
  6105. }
  6106. static FORCEINLINE HRESULT IXpsOMPath_GetOpacity(IXpsOMPath* This,FLOAT *opacity) {
  6107. return This->lpVtbl->GetOpacity(This,opacity);
  6108. }
  6109. static FORCEINLINE HRESULT IXpsOMPath_SetOpacity(IXpsOMPath* This,FLOAT opacity) {
  6110. return This->lpVtbl->SetOpacity(This,opacity);
  6111. }
  6112. static FORCEINLINE HRESULT IXpsOMPath_GetOpacityMaskBrush(IXpsOMPath* This,IXpsOMBrush **opacityMaskBrush) {
  6113. return This->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush);
  6114. }
  6115. static FORCEINLINE HRESULT IXpsOMPath_GetOpacityMaskBrushLocal(IXpsOMPath* This,IXpsOMBrush **opacityMaskBrush) {
  6116. return This->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush);
  6117. }
  6118. static FORCEINLINE HRESULT IXpsOMPath_SetOpacityMaskBrushLocal(IXpsOMPath* This,IXpsOMBrush *opacityMaskBrush) {
  6119. return This->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush);
  6120. }
  6121. static FORCEINLINE HRESULT IXpsOMPath_GetOpacityMaskBrushLookup(IXpsOMPath* This,LPWSTR *key) {
  6122. return This->lpVtbl->GetOpacityMaskBrushLookup(This,key);
  6123. }
  6124. static FORCEINLINE HRESULT IXpsOMPath_SetOpacityMaskBrushLookup(IXpsOMPath* This,LPCWSTR key) {
  6125. return This->lpVtbl->SetOpacityMaskBrushLookup(This,key);
  6126. }
  6127. static FORCEINLINE HRESULT IXpsOMPath_GetName(IXpsOMPath* This,LPWSTR *name) {
  6128. return This->lpVtbl->GetName(This,name);
  6129. }
  6130. static FORCEINLINE HRESULT IXpsOMPath_SetName(IXpsOMPath* This,LPCWSTR name) {
  6131. return This->lpVtbl->SetName(This,name);
  6132. }
  6133. static FORCEINLINE HRESULT IXpsOMPath_GetIsHyperlinkTarget(IXpsOMPath* This,WINBOOL *isHyperlink) {
  6134. return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink);
  6135. }
  6136. static FORCEINLINE HRESULT IXpsOMPath_SetIsHyperlinkTarget(IXpsOMPath* This,WINBOOL isHyperlink) {
  6137. return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink);
  6138. }
  6139. static FORCEINLINE HRESULT IXpsOMPath_GetHyperlinkNavigateUri(IXpsOMPath* This,IUri **hyperlinkUri) {
  6140. return This->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri);
  6141. }
  6142. static FORCEINLINE HRESULT IXpsOMPath_SetHyperlinkNavigateUri(IXpsOMPath* This,IUri *hyperlinkUri) {
  6143. return This->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri);
  6144. }
  6145. static FORCEINLINE HRESULT IXpsOMPath_GetLanguage(IXpsOMPath* This,LPWSTR *language) {
  6146. return This->lpVtbl->GetLanguage(This,language);
  6147. }
  6148. static FORCEINLINE HRESULT IXpsOMPath_SetLanguage(IXpsOMPath* This,LPCWSTR language) {
  6149. return This->lpVtbl->SetLanguage(This,language);
  6150. }
  6151. /*** IXpsOMPath methods ***/
  6152. static FORCEINLINE HRESULT IXpsOMPath_GetGeometry(IXpsOMPath* This,IXpsOMGeometry **geometry) {
  6153. return This->lpVtbl->GetGeometry(This,geometry);
  6154. }
  6155. static FORCEINLINE HRESULT IXpsOMPath_GetGeometryLocal(IXpsOMPath* This,IXpsOMGeometry **geometry) {
  6156. return This->lpVtbl->GetGeometryLocal(This,geometry);
  6157. }
  6158. static FORCEINLINE HRESULT IXpsOMPath_SetGeometryLocal(IXpsOMPath* This,IXpsOMGeometry *geometry) {
  6159. return This->lpVtbl->SetGeometryLocal(This,geometry);
  6160. }
  6161. static FORCEINLINE HRESULT IXpsOMPath_GetGeometryLookup(IXpsOMPath* This,LPWSTR *lookup) {
  6162. return This->lpVtbl->GetGeometryLookup(This,lookup);
  6163. }
  6164. static FORCEINLINE HRESULT IXpsOMPath_SetGeometryLookup(IXpsOMPath* This,LPCWSTR lookup) {
  6165. return This->lpVtbl->SetGeometryLookup(This,lookup);
  6166. }
  6167. static FORCEINLINE HRESULT IXpsOMPath_GetAccessibilityShortDescription(IXpsOMPath* This,LPWSTR *shortDescription) {
  6168. return This->lpVtbl->GetAccessibilityShortDescription(This,shortDescription);
  6169. }
  6170. static FORCEINLINE HRESULT IXpsOMPath_SetAccessibilityShortDescription(IXpsOMPath* This,LPCWSTR shortDescription) {
  6171. return This->lpVtbl->SetAccessibilityShortDescription(This,shortDescription);
  6172. }
  6173. static FORCEINLINE HRESULT IXpsOMPath_GetAccessibilityLongDescription(IXpsOMPath* This,LPWSTR *longDescription) {
  6174. return This->lpVtbl->GetAccessibilityLongDescription(This,longDescription);
  6175. }
  6176. static FORCEINLINE HRESULT IXpsOMPath_SetAccessibilityLongDescription(IXpsOMPath* This,LPCWSTR longDescription) {
  6177. return This->lpVtbl->SetAccessibilityLongDescription(This,longDescription);
  6178. }
  6179. static FORCEINLINE HRESULT IXpsOMPath_GetSnapsToPixels(IXpsOMPath* This,WINBOOL *snapsToPixels) {
  6180. return This->lpVtbl->GetSnapsToPixels(This,snapsToPixels);
  6181. }
  6182. static FORCEINLINE HRESULT IXpsOMPath_SetSnapsToPixels(IXpsOMPath* This,WINBOOL snapsToPixels) {
  6183. return This->lpVtbl->SetSnapsToPixels(This,snapsToPixels);
  6184. }
  6185. static FORCEINLINE HRESULT IXpsOMPath_GetStrokeBrush(IXpsOMPath* This,IXpsOMBrush **brush) {
  6186. return This->lpVtbl->GetStrokeBrush(This,brush);
  6187. }
  6188. static FORCEINLINE HRESULT IXpsOMPath_GetStrokeBrushLocal(IXpsOMPath* This,IXpsOMBrush **brush) {
  6189. return This->lpVtbl->GetStrokeBrushLocal(This,brush);
  6190. }
  6191. static FORCEINLINE HRESULT IXpsOMPath_SetStrokeBrushLocal(IXpsOMPath* This,IXpsOMBrush *brush) {
  6192. return This->lpVtbl->SetStrokeBrushLocal(This,brush);
  6193. }
  6194. static FORCEINLINE HRESULT IXpsOMPath_GetStrokeBrushLookup(IXpsOMPath* This,LPWSTR *lookup) {
  6195. return This->lpVtbl->GetStrokeBrushLookup(This,lookup);
  6196. }
  6197. static FORCEINLINE HRESULT IXpsOMPath_SetStrokeBrushLookup(IXpsOMPath* This,LPCWSTR lookup) {
  6198. return This->lpVtbl->SetStrokeBrushLookup(This,lookup);
  6199. }
  6200. static FORCEINLINE HRESULT IXpsOMPath_GetStrokeDashes(IXpsOMPath* This,IXpsOMDashCollection **strokeDashes) {
  6201. return This->lpVtbl->GetStrokeDashes(This,strokeDashes);
  6202. }
  6203. static FORCEINLINE HRESULT IXpsOMPath_GetStrokeDashCap(IXpsOMPath* This,XPS_DASH_CAP *strokeDashCap) {
  6204. return This->lpVtbl->GetStrokeDashCap(This,strokeDashCap);
  6205. }
  6206. static FORCEINLINE HRESULT IXpsOMPath_SetStrokeDashCap(IXpsOMPath* This,XPS_DASH_CAP strokeDashCap) {
  6207. return This->lpVtbl->SetStrokeDashCap(This,strokeDashCap);
  6208. }
  6209. static FORCEINLINE HRESULT IXpsOMPath_GetStrokeDashOffset(IXpsOMPath* This,FLOAT *strokeDashOffset) {
  6210. return This->lpVtbl->GetStrokeDashOffset(This,strokeDashOffset);
  6211. }
  6212. static FORCEINLINE HRESULT IXpsOMPath_SetStrokeDashOffset(IXpsOMPath* This,FLOAT strokeDashOffset) {
  6213. return This->lpVtbl->SetStrokeDashOffset(This,strokeDashOffset);
  6214. }
  6215. static FORCEINLINE HRESULT IXpsOMPath_GetStrokeStartLineCap(IXpsOMPath* This,XPS_LINE_CAP *strokeStartLineCap) {
  6216. return This->lpVtbl->GetStrokeStartLineCap(This,strokeStartLineCap);
  6217. }
  6218. static FORCEINLINE HRESULT IXpsOMPath_SetStrokeStartLineCap(IXpsOMPath* This,XPS_LINE_CAP strokeStartLineCap) {
  6219. return This->lpVtbl->SetStrokeStartLineCap(This,strokeStartLineCap);
  6220. }
  6221. static FORCEINLINE HRESULT IXpsOMPath_GetStrokeEndLineCap(IXpsOMPath* This,XPS_LINE_CAP *strokeEndLineCap) {
  6222. return This->lpVtbl->GetStrokeEndLineCap(This,strokeEndLineCap);
  6223. }
  6224. static FORCEINLINE HRESULT IXpsOMPath_SetStrokeEndLineCap(IXpsOMPath* This,XPS_LINE_CAP strokeEndLineCap) {
  6225. return This->lpVtbl->SetStrokeEndLineCap(This,strokeEndLineCap);
  6226. }
  6227. static FORCEINLINE HRESULT IXpsOMPath_GetStrokeLineJoin(IXpsOMPath* This,XPS_LINE_JOIN *strokeLineJoin) {
  6228. return This->lpVtbl->GetStrokeLineJoin(This,strokeLineJoin);
  6229. }
  6230. static FORCEINLINE HRESULT IXpsOMPath_SetStrokeLineJoin(IXpsOMPath* This,XPS_LINE_JOIN strokeLineJoin) {
  6231. return This->lpVtbl->SetStrokeLineJoin(This,strokeLineJoin);
  6232. }
  6233. static FORCEINLINE HRESULT IXpsOMPath_GetStrokeMiterLimit(IXpsOMPath* This,FLOAT *strokeMiterLimit) {
  6234. return This->lpVtbl->GetStrokeMiterLimit(This,strokeMiterLimit);
  6235. }
  6236. static FORCEINLINE HRESULT IXpsOMPath_SetStrokeMiterLimit(IXpsOMPath* This,FLOAT strokeMiterLimit) {
  6237. return This->lpVtbl->SetStrokeMiterLimit(This,strokeMiterLimit);
  6238. }
  6239. static FORCEINLINE HRESULT IXpsOMPath_GetStrokeThickness(IXpsOMPath* This,FLOAT *strokeThickness) {
  6240. return This->lpVtbl->GetStrokeThickness(This,strokeThickness);
  6241. }
  6242. static FORCEINLINE HRESULT IXpsOMPath_SetStrokeThickness(IXpsOMPath* This,FLOAT strokeThickness) {
  6243. return This->lpVtbl->SetStrokeThickness(This,strokeThickness);
  6244. }
  6245. static FORCEINLINE HRESULT IXpsOMPath_GetFillBrush(IXpsOMPath* This,IXpsOMBrush **brush) {
  6246. return This->lpVtbl->GetFillBrush(This,brush);
  6247. }
  6248. static FORCEINLINE HRESULT IXpsOMPath_GetFillBrushLocal(IXpsOMPath* This,IXpsOMBrush **brush) {
  6249. return This->lpVtbl->GetFillBrushLocal(This,brush);
  6250. }
  6251. static FORCEINLINE HRESULT IXpsOMPath_SetFillBrushLocal(IXpsOMPath* This,IXpsOMBrush *brush) {
  6252. return This->lpVtbl->SetFillBrushLocal(This,brush);
  6253. }
  6254. static FORCEINLINE HRESULT IXpsOMPath_GetFillBrushLookup(IXpsOMPath* This,LPWSTR *lookup) {
  6255. return This->lpVtbl->GetFillBrushLookup(This,lookup);
  6256. }
  6257. static FORCEINLINE HRESULT IXpsOMPath_SetFillBrushLookup(IXpsOMPath* This,LPCWSTR lookup) {
  6258. return This->lpVtbl->SetFillBrushLookup(This,lookup);
  6259. }
  6260. static FORCEINLINE HRESULT IXpsOMPath_Clone(IXpsOMPath* This,IXpsOMPath **path) {
  6261. return This->lpVtbl->Clone(This,path);
  6262. }
  6263. #endif
  6264. #endif
  6265. #endif
  6266. #endif /* __IXpsOMPath_INTERFACE_DEFINED__ */
  6267. /*****************************************************************************
  6268. * IXpsOMSolidColorBrush interface
  6269. */
  6270. #ifndef __IXpsOMSolidColorBrush_INTERFACE_DEFINED__
  6271. #define __IXpsOMSolidColorBrush_INTERFACE_DEFINED__
  6272. DEFINE_GUID(IID_IXpsOMSolidColorBrush, 0xa06f9f05, 0x3be9, 0x4763, 0x98,0xa8, 0x09,0x4f,0xc6,0x72,0xe4,0x88);
  6273. #if defined(__cplusplus) && !defined(CINTERFACE)
  6274. MIDL_INTERFACE("a06f9f05-3be9-4763-98a8-094fc672e488")
  6275. IXpsOMSolidColorBrush : public IXpsOMBrush
  6276. {
  6277. virtual HRESULT STDMETHODCALLTYPE GetColor(
  6278. XPS_COLOR *color,
  6279. IXpsOMColorProfileResource **colorProfile) = 0;
  6280. virtual HRESULT STDMETHODCALLTYPE SetColor(
  6281. const XPS_COLOR *color,
  6282. IXpsOMColorProfileResource *colorProfile) = 0;
  6283. virtual HRESULT STDMETHODCALLTYPE Clone(
  6284. IXpsOMSolidColorBrush **solidColorBrush) = 0;
  6285. };
  6286. #ifdef __CRT_UUID_DECL
  6287. __CRT_UUID_DECL(IXpsOMSolidColorBrush, 0xa06f9f05, 0x3be9, 0x4763, 0x98,0xa8, 0x09,0x4f,0xc6,0x72,0xe4,0x88)
  6288. #endif
  6289. #else
  6290. typedef struct IXpsOMSolidColorBrushVtbl {
  6291. BEGIN_INTERFACE
  6292. /*** IUnknown methods ***/
  6293. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  6294. IXpsOMSolidColorBrush *This,
  6295. REFIID riid,
  6296. void **ppvObject);
  6297. ULONG (STDMETHODCALLTYPE *AddRef)(
  6298. IXpsOMSolidColorBrush *This);
  6299. ULONG (STDMETHODCALLTYPE *Release)(
  6300. IXpsOMSolidColorBrush *This);
  6301. /*** IXpsOMShareable methods ***/
  6302. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  6303. IXpsOMSolidColorBrush *This,
  6304. IUnknown **owner);
  6305. HRESULT (STDMETHODCALLTYPE *GetType)(
  6306. IXpsOMSolidColorBrush *This,
  6307. XPS_OBJECT_TYPE *type);
  6308. /*** IXpsOMBrush methods ***/
  6309. HRESULT (STDMETHODCALLTYPE *GetOpacity)(
  6310. IXpsOMSolidColorBrush *This,
  6311. FLOAT *opacity);
  6312. HRESULT (STDMETHODCALLTYPE *SetOpacity)(
  6313. IXpsOMSolidColorBrush *This,
  6314. FLOAT opacity);
  6315. /*** IXpsOMSolidColorBrush methods ***/
  6316. HRESULT (STDMETHODCALLTYPE *GetColor)(
  6317. IXpsOMSolidColorBrush *This,
  6318. XPS_COLOR *color,
  6319. IXpsOMColorProfileResource **colorProfile);
  6320. HRESULT (STDMETHODCALLTYPE *SetColor)(
  6321. IXpsOMSolidColorBrush *This,
  6322. const XPS_COLOR *color,
  6323. IXpsOMColorProfileResource *colorProfile);
  6324. HRESULT (STDMETHODCALLTYPE *Clone)(
  6325. IXpsOMSolidColorBrush *This,
  6326. IXpsOMSolidColorBrush **solidColorBrush);
  6327. END_INTERFACE
  6328. } IXpsOMSolidColorBrushVtbl;
  6329. interface IXpsOMSolidColorBrush {
  6330. CONST_VTBL IXpsOMSolidColorBrushVtbl* lpVtbl;
  6331. };
  6332. #ifdef COBJMACROS
  6333. #ifndef WIDL_C_INLINE_WRAPPERS
  6334. /*** IUnknown methods ***/
  6335. #define IXpsOMSolidColorBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  6336. #define IXpsOMSolidColorBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
  6337. #define IXpsOMSolidColorBrush_Release(This) (This)->lpVtbl->Release(This)
  6338. /*** IXpsOMShareable methods ***/
  6339. #define IXpsOMSolidColorBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  6340. #define IXpsOMSolidColorBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  6341. /*** IXpsOMBrush methods ***/
  6342. #define IXpsOMSolidColorBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
  6343. #define IXpsOMSolidColorBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
  6344. /*** IXpsOMSolidColorBrush methods ***/
  6345. #define IXpsOMSolidColorBrush_GetColor(This,color,colorProfile) (This)->lpVtbl->GetColor(This,color,colorProfile)
  6346. #define IXpsOMSolidColorBrush_SetColor(This,color,colorProfile) (This)->lpVtbl->SetColor(This,color,colorProfile)
  6347. #define IXpsOMSolidColorBrush_Clone(This,solidColorBrush) (This)->lpVtbl->Clone(This,solidColorBrush)
  6348. #else
  6349. /*** IUnknown methods ***/
  6350. static FORCEINLINE HRESULT IXpsOMSolidColorBrush_QueryInterface(IXpsOMSolidColorBrush* This,REFIID riid,void **ppvObject) {
  6351. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  6352. }
  6353. static FORCEINLINE ULONG IXpsOMSolidColorBrush_AddRef(IXpsOMSolidColorBrush* This) {
  6354. return This->lpVtbl->AddRef(This);
  6355. }
  6356. static FORCEINLINE ULONG IXpsOMSolidColorBrush_Release(IXpsOMSolidColorBrush* This) {
  6357. return This->lpVtbl->Release(This);
  6358. }
  6359. /*** IXpsOMShareable methods ***/
  6360. static FORCEINLINE HRESULT IXpsOMSolidColorBrush_GetOwner(IXpsOMSolidColorBrush* This,IUnknown **owner) {
  6361. return This->lpVtbl->GetOwner(This,owner);
  6362. }
  6363. static FORCEINLINE HRESULT IXpsOMSolidColorBrush_GetType(IXpsOMSolidColorBrush* This,XPS_OBJECT_TYPE *type) {
  6364. return This->lpVtbl->GetType(This,type);
  6365. }
  6366. /*** IXpsOMBrush methods ***/
  6367. static FORCEINLINE HRESULT IXpsOMSolidColorBrush_GetOpacity(IXpsOMSolidColorBrush* This,FLOAT *opacity) {
  6368. return This->lpVtbl->GetOpacity(This,opacity);
  6369. }
  6370. static FORCEINLINE HRESULT IXpsOMSolidColorBrush_SetOpacity(IXpsOMSolidColorBrush* This,FLOAT opacity) {
  6371. return This->lpVtbl->SetOpacity(This,opacity);
  6372. }
  6373. /*** IXpsOMSolidColorBrush methods ***/
  6374. static FORCEINLINE HRESULT IXpsOMSolidColorBrush_GetColor(IXpsOMSolidColorBrush* This,XPS_COLOR *color,IXpsOMColorProfileResource **colorProfile) {
  6375. return This->lpVtbl->GetColor(This,color,colorProfile);
  6376. }
  6377. static FORCEINLINE HRESULT IXpsOMSolidColorBrush_SetColor(IXpsOMSolidColorBrush* This,const XPS_COLOR *color,IXpsOMColorProfileResource *colorProfile) {
  6378. return This->lpVtbl->SetColor(This,color,colorProfile);
  6379. }
  6380. static FORCEINLINE HRESULT IXpsOMSolidColorBrush_Clone(IXpsOMSolidColorBrush* This,IXpsOMSolidColorBrush **solidColorBrush) {
  6381. return This->lpVtbl->Clone(This,solidColorBrush);
  6382. }
  6383. #endif
  6384. #endif
  6385. #endif
  6386. #endif /* __IXpsOMSolidColorBrush_INTERFACE_DEFINED__ */
  6387. /*****************************************************************************
  6388. * IXpsOMTileBrush interface
  6389. */
  6390. #ifndef __IXpsOMTileBrush_INTERFACE_DEFINED__
  6391. #define __IXpsOMTileBrush_INTERFACE_DEFINED__
  6392. DEFINE_GUID(IID_IXpsOMTileBrush, 0x0fc2328d, 0xd722, 0x4a54, 0xb2,0xec, 0xbe,0x90,0x21,0x8a,0x78,0x9e);
  6393. #if defined(__cplusplus) && !defined(CINTERFACE)
  6394. MIDL_INTERFACE("0fc2328d-d722-4a54-b2ec-be90218a789e")
  6395. IXpsOMTileBrush : public IXpsOMBrush
  6396. {
  6397. virtual HRESULT STDMETHODCALLTYPE GetTransform(
  6398. IXpsOMMatrixTransform **transform) = 0;
  6399. virtual HRESULT STDMETHODCALLTYPE GetTransformLocal(
  6400. IXpsOMMatrixTransform **transform) = 0;
  6401. virtual HRESULT STDMETHODCALLTYPE SetTransformLocal(
  6402. IXpsOMMatrixTransform *transform) = 0;
  6403. virtual HRESULT STDMETHODCALLTYPE GetTransformLookup(
  6404. LPWSTR *key) = 0;
  6405. virtual HRESULT STDMETHODCALLTYPE SetTransformLookup(
  6406. LPCWSTR key) = 0;
  6407. virtual HRESULT STDMETHODCALLTYPE GetViewbox(
  6408. XPS_RECT *viewbox) = 0;
  6409. virtual HRESULT STDMETHODCALLTYPE SetViewbox(
  6410. const XPS_RECT *viewbox) = 0;
  6411. virtual HRESULT STDMETHODCALLTYPE GetViewport(
  6412. XPS_RECT *viewport) = 0;
  6413. virtual HRESULT STDMETHODCALLTYPE SetViewport(
  6414. const XPS_RECT *viewport) = 0;
  6415. virtual HRESULT STDMETHODCALLTYPE GetTileMode(
  6416. XPS_TILE_MODE *tileMode) = 0;
  6417. virtual HRESULT STDMETHODCALLTYPE SetTileMode(
  6418. XPS_TILE_MODE tileMode) = 0;
  6419. };
  6420. #ifdef __CRT_UUID_DECL
  6421. __CRT_UUID_DECL(IXpsOMTileBrush, 0x0fc2328d, 0xd722, 0x4a54, 0xb2,0xec, 0xbe,0x90,0x21,0x8a,0x78,0x9e)
  6422. #endif
  6423. #else
  6424. typedef struct IXpsOMTileBrushVtbl {
  6425. BEGIN_INTERFACE
  6426. /*** IUnknown methods ***/
  6427. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  6428. IXpsOMTileBrush *This,
  6429. REFIID riid,
  6430. void **ppvObject);
  6431. ULONG (STDMETHODCALLTYPE *AddRef)(
  6432. IXpsOMTileBrush *This);
  6433. ULONG (STDMETHODCALLTYPE *Release)(
  6434. IXpsOMTileBrush *This);
  6435. /*** IXpsOMShareable methods ***/
  6436. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  6437. IXpsOMTileBrush *This,
  6438. IUnknown **owner);
  6439. HRESULT (STDMETHODCALLTYPE *GetType)(
  6440. IXpsOMTileBrush *This,
  6441. XPS_OBJECT_TYPE *type);
  6442. /*** IXpsOMBrush methods ***/
  6443. HRESULT (STDMETHODCALLTYPE *GetOpacity)(
  6444. IXpsOMTileBrush *This,
  6445. FLOAT *opacity);
  6446. HRESULT (STDMETHODCALLTYPE *SetOpacity)(
  6447. IXpsOMTileBrush *This,
  6448. FLOAT opacity);
  6449. /*** IXpsOMTileBrush methods ***/
  6450. HRESULT (STDMETHODCALLTYPE *GetTransform)(
  6451. IXpsOMTileBrush *This,
  6452. IXpsOMMatrixTransform **transform);
  6453. HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
  6454. IXpsOMTileBrush *This,
  6455. IXpsOMMatrixTransform **transform);
  6456. HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
  6457. IXpsOMTileBrush *This,
  6458. IXpsOMMatrixTransform *transform);
  6459. HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
  6460. IXpsOMTileBrush *This,
  6461. LPWSTR *key);
  6462. HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
  6463. IXpsOMTileBrush *This,
  6464. LPCWSTR key);
  6465. HRESULT (STDMETHODCALLTYPE *GetViewbox)(
  6466. IXpsOMTileBrush *This,
  6467. XPS_RECT *viewbox);
  6468. HRESULT (STDMETHODCALLTYPE *SetViewbox)(
  6469. IXpsOMTileBrush *This,
  6470. const XPS_RECT *viewbox);
  6471. HRESULT (STDMETHODCALLTYPE *GetViewport)(
  6472. IXpsOMTileBrush *This,
  6473. XPS_RECT *viewport);
  6474. HRESULT (STDMETHODCALLTYPE *SetViewport)(
  6475. IXpsOMTileBrush *This,
  6476. const XPS_RECT *viewport);
  6477. HRESULT (STDMETHODCALLTYPE *GetTileMode)(
  6478. IXpsOMTileBrush *This,
  6479. XPS_TILE_MODE *tileMode);
  6480. HRESULT (STDMETHODCALLTYPE *SetTileMode)(
  6481. IXpsOMTileBrush *This,
  6482. XPS_TILE_MODE tileMode);
  6483. END_INTERFACE
  6484. } IXpsOMTileBrushVtbl;
  6485. interface IXpsOMTileBrush {
  6486. CONST_VTBL IXpsOMTileBrushVtbl* lpVtbl;
  6487. };
  6488. #ifdef COBJMACROS
  6489. #ifndef WIDL_C_INLINE_WRAPPERS
  6490. /*** IUnknown methods ***/
  6491. #define IXpsOMTileBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  6492. #define IXpsOMTileBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
  6493. #define IXpsOMTileBrush_Release(This) (This)->lpVtbl->Release(This)
  6494. /*** IXpsOMShareable methods ***/
  6495. #define IXpsOMTileBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  6496. #define IXpsOMTileBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  6497. /*** IXpsOMBrush methods ***/
  6498. #define IXpsOMTileBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
  6499. #define IXpsOMTileBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
  6500. /*** IXpsOMTileBrush methods ***/
  6501. #define IXpsOMTileBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
  6502. #define IXpsOMTileBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
  6503. #define IXpsOMTileBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
  6504. #define IXpsOMTileBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
  6505. #define IXpsOMTileBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
  6506. #define IXpsOMTileBrush_GetViewbox(This,viewbox) (This)->lpVtbl->GetViewbox(This,viewbox)
  6507. #define IXpsOMTileBrush_SetViewbox(This,viewbox) (This)->lpVtbl->SetViewbox(This,viewbox)
  6508. #define IXpsOMTileBrush_GetViewport(This,viewport) (This)->lpVtbl->GetViewport(This,viewport)
  6509. #define IXpsOMTileBrush_SetViewport(This,viewport) (This)->lpVtbl->SetViewport(This,viewport)
  6510. #define IXpsOMTileBrush_GetTileMode(This,tileMode) (This)->lpVtbl->GetTileMode(This,tileMode)
  6511. #define IXpsOMTileBrush_SetTileMode(This,tileMode) (This)->lpVtbl->SetTileMode(This,tileMode)
  6512. #else
  6513. /*** IUnknown methods ***/
  6514. static FORCEINLINE HRESULT IXpsOMTileBrush_QueryInterface(IXpsOMTileBrush* This,REFIID riid,void **ppvObject) {
  6515. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  6516. }
  6517. static FORCEINLINE ULONG IXpsOMTileBrush_AddRef(IXpsOMTileBrush* This) {
  6518. return This->lpVtbl->AddRef(This);
  6519. }
  6520. static FORCEINLINE ULONG IXpsOMTileBrush_Release(IXpsOMTileBrush* This) {
  6521. return This->lpVtbl->Release(This);
  6522. }
  6523. /*** IXpsOMShareable methods ***/
  6524. static FORCEINLINE HRESULT IXpsOMTileBrush_GetOwner(IXpsOMTileBrush* This,IUnknown **owner) {
  6525. return This->lpVtbl->GetOwner(This,owner);
  6526. }
  6527. static FORCEINLINE HRESULT IXpsOMTileBrush_GetType(IXpsOMTileBrush* This,XPS_OBJECT_TYPE *type) {
  6528. return This->lpVtbl->GetType(This,type);
  6529. }
  6530. /*** IXpsOMBrush methods ***/
  6531. static FORCEINLINE HRESULT IXpsOMTileBrush_GetOpacity(IXpsOMTileBrush* This,FLOAT *opacity) {
  6532. return This->lpVtbl->GetOpacity(This,opacity);
  6533. }
  6534. static FORCEINLINE HRESULT IXpsOMTileBrush_SetOpacity(IXpsOMTileBrush* This,FLOAT opacity) {
  6535. return This->lpVtbl->SetOpacity(This,opacity);
  6536. }
  6537. /*** IXpsOMTileBrush methods ***/
  6538. static FORCEINLINE HRESULT IXpsOMTileBrush_GetTransform(IXpsOMTileBrush* This,IXpsOMMatrixTransform **transform) {
  6539. return This->lpVtbl->GetTransform(This,transform);
  6540. }
  6541. static FORCEINLINE HRESULT IXpsOMTileBrush_GetTransformLocal(IXpsOMTileBrush* This,IXpsOMMatrixTransform **transform) {
  6542. return This->lpVtbl->GetTransformLocal(This,transform);
  6543. }
  6544. static FORCEINLINE HRESULT IXpsOMTileBrush_SetTransformLocal(IXpsOMTileBrush* This,IXpsOMMatrixTransform *transform) {
  6545. return This->lpVtbl->SetTransformLocal(This,transform);
  6546. }
  6547. static FORCEINLINE HRESULT IXpsOMTileBrush_GetTransformLookup(IXpsOMTileBrush* This,LPWSTR *key) {
  6548. return This->lpVtbl->GetTransformLookup(This,key);
  6549. }
  6550. static FORCEINLINE HRESULT IXpsOMTileBrush_SetTransformLookup(IXpsOMTileBrush* This,LPCWSTR key) {
  6551. return This->lpVtbl->SetTransformLookup(This,key);
  6552. }
  6553. static FORCEINLINE HRESULT IXpsOMTileBrush_GetViewbox(IXpsOMTileBrush* This,XPS_RECT *viewbox) {
  6554. return This->lpVtbl->GetViewbox(This,viewbox);
  6555. }
  6556. static FORCEINLINE HRESULT IXpsOMTileBrush_SetViewbox(IXpsOMTileBrush* This,const XPS_RECT *viewbox) {
  6557. return This->lpVtbl->SetViewbox(This,viewbox);
  6558. }
  6559. static FORCEINLINE HRESULT IXpsOMTileBrush_GetViewport(IXpsOMTileBrush* This,XPS_RECT *viewport) {
  6560. return This->lpVtbl->GetViewport(This,viewport);
  6561. }
  6562. static FORCEINLINE HRESULT IXpsOMTileBrush_SetViewport(IXpsOMTileBrush* This,const XPS_RECT *viewport) {
  6563. return This->lpVtbl->SetViewport(This,viewport);
  6564. }
  6565. static FORCEINLINE HRESULT IXpsOMTileBrush_GetTileMode(IXpsOMTileBrush* This,XPS_TILE_MODE *tileMode) {
  6566. return This->lpVtbl->GetTileMode(This,tileMode);
  6567. }
  6568. static FORCEINLINE HRESULT IXpsOMTileBrush_SetTileMode(IXpsOMTileBrush* This,XPS_TILE_MODE tileMode) {
  6569. return This->lpVtbl->SetTileMode(This,tileMode);
  6570. }
  6571. #endif
  6572. #endif
  6573. #endif
  6574. #endif /* __IXpsOMTileBrush_INTERFACE_DEFINED__ */
  6575. /*****************************************************************************
  6576. * IXpsOMGradientBrush interface
  6577. */
  6578. #ifndef __IXpsOMGradientBrush_INTERFACE_DEFINED__
  6579. #define __IXpsOMGradientBrush_INTERFACE_DEFINED__
  6580. DEFINE_GUID(IID_IXpsOMGradientBrush, 0xedb59622, 0x61a2, 0x42c3, 0xba,0xce, 0xac,0xf2,0x28,0x6c,0x06,0xbf);
  6581. #if defined(__cplusplus) && !defined(CINTERFACE)
  6582. MIDL_INTERFACE("edb59622-61a2-42c3-bace-acf2286c06bf")
  6583. IXpsOMGradientBrush : public IXpsOMBrush
  6584. {
  6585. virtual HRESULT STDMETHODCALLTYPE GetGradientStops(
  6586. IXpsOMGradientStopCollection **gradientStops) = 0;
  6587. virtual HRESULT STDMETHODCALLTYPE GetTransform(
  6588. IXpsOMMatrixTransform **transform) = 0;
  6589. virtual HRESULT STDMETHODCALLTYPE GetTransformLocal(
  6590. IXpsOMMatrixTransform **transform) = 0;
  6591. virtual HRESULT STDMETHODCALLTYPE SetTransformLocal(
  6592. IXpsOMMatrixTransform *transform) = 0;
  6593. virtual HRESULT STDMETHODCALLTYPE GetTransformLookup(
  6594. LPWSTR *key) = 0;
  6595. virtual HRESULT STDMETHODCALLTYPE SetTransformLookup(
  6596. LPCWSTR key) = 0;
  6597. virtual HRESULT STDMETHODCALLTYPE GetSpreadMethod(
  6598. XPS_SPREAD_METHOD *spreadMethod) = 0;
  6599. virtual HRESULT STDMETHODCALLTYPE SetSpreadMethod(
  6600. XPS_SPREAD_METHOD spreadMethod) = 0;
  6601. virtual HRESULT STDMETHODCALLTYPE GetColorInterpolationMode(
  6602. XPS_COLOR_INTERPOLATION *colorInterpolationMode) = 0;
  6603. virtual HRESULT STDMETHODCALLTYPE SetColorInterpolationMode(
  6604. XPS_COLOR_INTERPOLATION colorInterpolationMode) = 0;
  6605. };
  6606. #ifdef __CRT_UUID_DECL
  6607. __CRT_UUID_DECL(IXpsOMGradientBrush, 0xedb59622, 0x61a2, 0x42c3, 0xba,0xce, 0xac,0xf2,0x28,0x6c,0x06,0xbf)
  6608. #endif
  6609. #else
  6610. typedef struct IXpsOMGradientBrushVtbl {
  6611. BEGIN_INTERFACE
  6612. /*** IUnknown methods ***/
  6613. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  6614. IXpsOMGradientBrush *This,
  6615. REFIID riid,
  6616. void **ppvObject);
  6617. ULONG (STDMETHODCALLTYPE *AddRef)(
  6618. IXpsOMGradientBrush *This);
  6619. ULONG (STDMETHODCALLTYPE *Release)(
  6620. IXpsOMGradientBrush *This);
  6621. /*** IXpsOMShareable methods ***/
  6622. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  6623. IXpsOMGradientBrush *This,
  6624. IUnknown **owner);
  6625. HRESULT (STDMETHODCALLTYPE *GetType)(
  6626. IXpsOMGradientBrush *This,
  6627. XPS_OBJECT_TYPE *type);
  6628. /*** IXpsOMBrush methods ***/
  6629. HRESULT (STDMETHODCALLTYPE *GetOpacity)(
  6630. IXpsOMGradientBrush *This,
  6631. FLOAT *opacity);
  6632. HRESULT (STDMETHODCALLTYPE *SetOpacity)(
  6633. IXpsOMGradientBrush *This,
  6634. FLOAT opacity);
  6635. /*** IXpsOMGradientBrush methods ***/
  6636. HRESULT (STDMETHODCALLTYPE *GetGradientStops)(
  6637. IXpsOMGradientBrush *This,
  6638. IXpsOMGradientStopCollection **gradientStops);
  6639. HRESULT (STDMETHODCALLTYPE *GetTransform)(
  6640. IXpsOMGradientBrush *This,
  6641. IXpsOMMatrixTransform **transform);
  6642. HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
  6643. IXpsOMGradientBrush *This,
  6644. IXpsOMMatrixTransform **transform);
  6645. HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
  6646. IXpsOMGradientBrush *This,
  6647. IXpsOMMatrixTransform *transform);
  6648. HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
  6649. IXpsOMGradientBrush *This,
  6650. LPWSTR *key);
  6651. HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
  6652. IXpsOMGradientBrush *This,
  6653. LPCWSTR key);
  6654. HRESULT (STDMETHODCALLTYPE *GetSpreadMethod)(
  6655. IXpsOMGradientBrush *This,
  6656. XPS_SPREAD_METHOD *spreadMethod);
  6657. HRESULT (STDMETHODCALLTYPE *SetSpreadMethod)(
  6658. IXpsOMGradientBrush *This,
  6659. XPS_SPREAD_METHOD spreadMethod);
  6660. HRESULT (STDMETHODCALLTYPE *GetColorInterpolationMode)(
  6661. IXpsOMGradientBrush *This,
  6662. XPS_COLOR_INTERPOLATION *colorInterpolationMode);
  6663. HRESULT (STDMETHODCALLTYPE *SetColorInterpolationMode)(
  6664. IXpsOMGradientBrush *This,
  6665. XPS_COLOR_INTERPOLATION colorInterpolationMode);
  6666. END_INTERFACE
  6667. } IXpsOMGradientBrushVtbl;
  6668. interface IXpsOMGradientBrush {
  6669. CONST_VTBL IXpsOMGradientBrushVtbl* lpVtbl;
  6670. };
  6671. #ifdef COBJMACROS
  6672. #ifndef WIDL_C_INLINE_WRAPPERS
  6673. /*** IUnknown methods ***/
  6674. #define IXpsOMGradientBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  6675. #define IXpsOMGradientBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
  6676. #define IXpsOMGradientBrush_Release(This) (This)->lpVtbl->Release(This)
  6677. /*** IXpsOMShareable methods ***/
  6678. #define IXpsOMGradientBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  6679. #define IXpsOMGradientBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  6680. /*** IXpsOMBrush methods ***/
  6681. #define IXpsOMGradientBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
  6682. #define IXpsOMGradientBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
  6683. /*** IXpsOMGradientBrush methods ***/
  6684. #define IXpsOMGradientBrush_GetGradientStops(This,gradientStops) (This)->lpVtbl->GetGradientStops(This,gradientStops)
  6685. #define IXpsOMGradientBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
  6686. #define IXpsOMGradientBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
  6687. #define IXpsOMGradientBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
  6688. #define IXpsOMGradientBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
  6689. #define IXpsOMGradientBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
  6690. #define IXpsOMGradientBrush_GetSpreadMethod(This,spreadMethod) (This)->lpVtbl->GetSpreadMethod(This,spreadMethod)
  6691. #define IXpsOMGradientBrush_SetSpreadMethod(This,spreadMethod) (This)->lpVtbl->SetSpreadMethod(This,spreadMethod)
  6692. #define IXpsOMGradientBrush_GetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode)
  6693. #define IXpsOMGradientBrush_SetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode)
  6694. #else
  6695. /*** IUnknown methods ***/
  6696. static FORCEINLINE HRESULT IXpsOMGradientBrush_QueryInterface(IXpsOMGradientBrush* This,REFIID riid,void **ppvObject) {
  6697. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  6698. }
  6699. static FORCEINLINE ULONG IXpsOMGradientBrush_AddRef(IXpsOMGradientBrush* This) {
  6700. return This->lpVtbl->AddRef(This);
  6701. }
  6702. static FORCEINLINE ULONG IXpsOMGradientBrush_Release(IXpsOMGradientBrush* This) {
  6703. return This->lpVtbl->Release(This);
  6704. }
  6705. /*** IXpsOMShareable methods ***/
  6706. static FORCEINLINE HRESULT IXpsOMGradientBrush_GetOwner(IXpsOMGradientBrush* This,IUnknown **owner) {
  6707. return This->lpVtbl->GetOwner(This,owner);
  6708. }
  6709. static FORCEINLINE HRESULT IXpsOMGradientBrush_GetType(IXpsOMGradientBrush* This,XPS_OBJECT_TYPE *type) {
  6710. return This->lpVtbl->GetType(This,type);
  6711. }
  6712. /*** IXpsOMBrush methods ***/
  6713. static FORCEINLINE HRESULT IXpsOMGradientBrush_GetOpacity(IXpsOMGradientBrush* This,FLOAT *opacity) {
  6714. return This->lpVtbl->GetOpacity(This,opacity);
  6715. }
  6716. static FORCEINLINE HRESULT IXpsOMGradientBrush_SetOpacity(IXpsOMGradientBrush* This,FLOAT opacity) {
  6717. return This->lpVtbl->SetOpacity(This,opacity);
  6718. }
  6719. /*** IXpsOMGradientBrush methods ***/
  6720. static FORCEINLINE HRESULT IXpsOMGradientBrush_GetGradientStops(IXpsOMGradientBrush* This,IXpsOMGradientStopCollection **gradientStops) {
  6721. return This->lpVtbl->GetGradientStops(This,gradientStops);
  6722. }
  6723. static FORCEINLINE HRESULT IXpsOMGradientBrush_GetTransform(IXpsOMGradientBrush* This,IXpsOMMatrixTransform **transform) {
  6724. return This->lpVtbl->GetTransform(This,transform);
  6725. }
  6726. static FORCEINLINE HRESULT IXpsOMGradientBrush_GetTransformLocal(IXpsOMGradientBrush* This,IXpsOMMatrixTransform **transform) {
  6727. return This->lpVtbl->GetTransformLocal(This,transform);
  6728. }
  6729. static FORCEINLINE HRESULT IXpsOMGradientBrush_SetTransformLocal(IXpsOMGradientBrush* This,IXpsOMMatrixTransform *transform) {
  6730. return This->lpVtbl->SetTransformLocal(This,transform);
  6731. }
  6732. static FORCEINLINE HRESULT IXpsOMGradientBrush_GetTransformLookup(IXpsOMGradientBrush* This,LPWSTR *key) {
  6733. return This->lpVtbl->GetTransformLookup(This,key);
  6734. }
  6735. static FORCEINLINE HRESULT IXpsOMGradientBrush_SetTransformLookup(IXpsOMGradientBrush* This,LPCWSTR key) {
  6736. return This->lpVtbl->SetTransformLookup(This,key);
  6737. }
  6738. static FORCEINLINE HRESULT IXpsOMGradientBrush_GetSpreadMethod(IXpsOMGradientBrush* This,XPS_SPREAD_METHOD *spreadMethod) {
  6739. return This->lpVtbl->GetSpreadMethod(This,spreadMethod);
  6740. }
  6741. static FORCEINLINE HRESULT IXpsOMGradientBrush_SetSpreadMethod(IXpsOMGradientBrush* This,XPS_SPREAD_METHOD spreadMethod) {
  6742. return This->lpVtbl->SetSpreadMethod(This,spreadMethod);
  6743. }
  6744. static FORCEINLINE HRESULT IXpsOMGradientBrush_GetColorInterpolationMode(IXpsOMGradientBrush* This,XPS_COLOR_INTERPOLATION *colorInterpolationMode) {
  6745. return This->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode);
  6746. }
  6747. static FORCEINLINE HRESULT IXpsOMGradientBrush_SetColorInterpolationMode(IXpsOMGradientBrush* This,XPS_COLOR_INTERPOLATION colorInterpolationMode) {
  6748. return This->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode);
  6749. }
  6750. #endif
  6751. #endif
  6752. #endif
  6753. #endif /* __IXpsOMGradientBrush_INTERFACE_DEFINED__ */
  6754. /*****************************************************************************
  6755. * IXpsOMVisualBrush interface
  6756. */
  6757. #ifndef __IXpsOMVisualBrush_INTERFACE_DEFINED__
  6758. #define __IXpsOMVisualBrush_INTERFACE_DEFINED__
  6759. DEFINE_GUID(IID_IXpsOMVisualBrush, 0x97e294af, 0x5b37, 0x46b4, 0x80,0x57, 0x87,0x4d,0x2f,0x64,0x11,0x9b);
  6760. #if defined(__cplusplus) && !defined(CINTERFACE)
  6761. MIDL_INTERFACE("97e294af-5b37-46b4-8057-874d2f64119b")
  6762. IXpsOMVisualBrush : public IXpsOMTileBrush
  6763. {
  6764. virtual HRESULT STDMETHODCALLTYPE GetVisual(
  6765. IXpsOMVisual **visual) = 0;
  6766. virtual HRESULT STDMETHODCALLTYPE GetVisualLocal(
  6767. IXpsOMVisual **visual) = 0;
  6768. virtual HRESULT STDMETHODCALLTYPE SetVisualLocal(
  6769. IXpsOMVisual *visual) = 0;
  6770. virtual HRESULT STDMETHODCALLTYPE GetVisualLookup(
  6771. LPWSTR *lookup) = 0;
  6772. virtual HRESULT STDMETHODCALLTYPE SetVisualLookup(
  6773. LPCWSTR lookup) = 0;
  6774. virtual HRESULT STDMETHODCALLTYPE Clone(
  6775. IXpsOMVisualBrush **visualBrush) = 0;
  6776. };
  6777. #ifdef __CRT_UUID_DECL
  6778. __CRT_UUID_DECL(IXpsOMVisualBrush, 0x97e294af, 0x5b37, 0x46b4, 0x80,0x57, 0x87,0x4d,0x2f,0x64,0x11,0x9b)
  6779. #endif
  6780. #else
  6781. typedef struct IXpsOMVisualBrushVtbl {
  6782. BEGIN_INTERFACE
  6783. /*** IUnknown methods ***/
  6784. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  6785. IXpsOMVisualBrush *This,
  6786. REFIID riid,
  6787. void **ppvObject);
  6788. ULONG (STDMETHODCALLTYPE *AddRef)(
  6789. IXpsOMVisualBrush *This);
  6790. ULONG (STDMETHODCALLTYPE *Release)(
  6791. IXpsOMVisualBrush *This);
  6792. /*** IXpsOMShareable methods ***/
  6793. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  6794. IXpsOMVisualBrush *This,
  6795. IUnknown **owner);
  6796. HRESULT (STDMETHODCALLTYPE *GetType)(
  6797. IXpsOMVisualBrush *This,
  6798. XPS_OBJECT_TYPE *type);
  6799. /*** IXpsOMBrush methods ***/
  6800. HRESULT (STDMETHODCALLTYPE *GetOpacity)(
  6801. IXpsOMVisualBrush *This,
  6802. FLOAT *opacity);
  6803. HRESULT (STDMETHODCALLTYPE *SetOpacity)(
  6804. IXpsOMVisualBrush *This,
  6805. FLOAT opacity);
  6806. /*** IXpsOMTileBrush methods ***/
  6807. HRESULT (STDMETHODCALLTYPE *GetTransform)(
  6808. IXpsOMVisualBrush *This,
  6809. IXpsOMMatrixTransform **transform);
  6810. HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
  6811. IXpsOMVisualBrush *This,
  6812. IXpsOMMatrixTransform **transform);
  6813. HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
  6814. IXpsOMVisualBrush *This,
  6815. IXpsOMMatrixTransform *transform);
  6816. HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
  6817. IXpsOMVisualBrush *This,
  6818. LPWSTR *key);
  6819. HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
  6820. IXpsOMVisualBrush *This,
  6821. LPCWSTR key);
  6822. HRESULT (STDMETHODCALLTYPE *GetViewbox)(
  6823. IXpsOMVisualBrush *This,
  6824. XPS_RECT *viewbox);
  6825. HRESULT (STDMETHODCALLTYPE *SetViewbox)(
  6826. IXpsOMVisualBrush *This,
  6827. const XPS_RECT *viewbox);
  6828. HRESULT (STDMETHODCALLTYPE *GetViewport)(
  6829. IXpsOMVisualBrush *This,
  6830. XPS_RECT *viewport);
  6831. HRESULT (STDMETHODCALLTYPE *SetViewport)(
  6832. IXpsOMVisualBrush *This,
  6833. const XPS_RECT *viewport);
  6834. HRESULT (STDMETHODCALLTYPE *GetTileMode)(
  6835. IXpsOMVisualBrush *This,
  6836. XPS_TILE_MODE *tileMode);
  6837. HRESULT (STDMETHODCALLTYPE *SetTileMode)(
  6838. IXpsOMVisualBrush *This,
  6839. XPS_TILE_MODE tileMode);
  6840. /*** IXpsOMVisualBrush methods ***/
  6841. HRESULT (STDMETHODCALLTYPE *GetVisual)(
  6842. IXpsOMVisualBrush *This,
  6843. IXpsOMVisual **visual);
  6844. HRESULT (STDMETHODCALLTYPE *GetVisualLocal)(
  6845. IXpsOMVisualBrush *This,
  6846. IXpsOMVisual **visual);
  6847. HRESULT (STDMETHODCALLTYPE *SetVisualLocal)(
  6848. IXpsOMVisualBrush *This,
  6849. IXpsOMVisual *visual);
  6850. HRESULT (STDMETHODCALLTYPE *GetVisualLookup)(
  6851. IXpsOMVisualBrush *This,
  6852. LPWSTR *lookup);
  6853. HRESULT (STDMETHODCALLTYPE *SetVisualLookup)(
  6854. IXpsOMVisualBrush *This,
  6855. LPCWSTR lookup);
  6856. HRESULT (STDMETHODCALLTYPE *Clone)(
  6857. IXpsOMVisualBrush *This,
  6858. IXpsOMVisualBrush **visualBrush);
  6859. END_INTERFACE
  6860. } IXpsOMVisualBrushVtbl;
  6861. interface IXpsOMVisualBrush {
  6862. CONST_VTBL IXpsOMVisualBrushVtbl* lpVtbl;
  6863. };
  6864. #ifdef COBJMACROS
  6865. #ifndef WIDL_C_INLINE_WRAPPERS
  6866. /*** IUnknown methods ***/
  6867. #define IXpsOMVisualBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  6868. #define IXpsOMVisualBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
  6869. #define IXpsOMVisualBrush_Release(This) (This)->lpVtbl->Release(This)
  6870. /*** IXpsOMShareable methods ***/
  6871. #define IXpsOMVisualBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  6872. #define IXpsOMVisualBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  6873. /*** IXpsOMBrush methods ***/
  6874. #define IXpsOMVisualBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
  6875. #define IXpsOMVisualBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
  6876. /*** IXpsOMTileBrush methods ***/
  6877. #define IXpsOMVisualBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
  6878. #define IXpsOMVisualBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
  6879. #define IXpsOMVisualBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
  6880. #define IXpsOMVisualBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
  6881. #define IXpsOMVisualBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
  6882. #define IXpsOMVisualBrush_GetViewbox(This,viewbox) (This)->lpVtbl->GetViewbox(This,viewbox)
  6883. #define IXpsOMVisualBrush_SetViewbox(This,viewbox) (This)->lpVtbl->SetViewbox(This,viewbox)
  6884. #define IXpsOMVisualBrush_GetViewport(This,viewport) (This)->lpVtbl->GetViewport(This,viewport)
  6885. #define IXpsOMVisualBrush_SetViewport(This,viewport) (This)->lpVtbl->SetViewport(This,viewport)
  6886. #define IXpsOMVisualBrush_GetTileMode(This,tileMode) (This)->lpVtbl->GetTileMode(This,tileMode)
  6887. #define IXpsOMVisualBrush_SetTileMode(This,tileMode) (This)->lpVtbl->SetTileMode(This,tileMode)
  6888. /*** IXpsOMVisualBrush methods ***/
  6889. #define IXpsOMVisualBrush_GetVisual(This,visual) (This)->lpVtbl->GetVisual(This,visual)
  6890. #define IXpsOMVisualBrush_GetVisualLocal(This,visual) (This)->lpVtbl->GetVisualLocal(This,visual)
  6891. #define IXpsOMVisualBrush_SetVisualLocal(This,visual) (This)->lpVtbl->SetVisualLocal(This,visual)
  6892. #define IXpsOMVisualBrush_GetVisualLookup(This,lookup) (This)->lpVtbl->GetVisualLookup(This,lookup)
  6893. #define IXpsOMVisualBrush_SetVisualLookup(This,lookup) (This)->lpVtbl->SetVisualLookup(This,lookup)
  6894. #define IXpsOMVisualBrush_Clone(This,visualBrush) (This)->lpVtbl->Clone(This,visualBrush)
  6895. #else
  6896. /*** IUnknown methods ***/
  6897. static FORCEINLINE HRESULT IXpsOMVisualBrush_QueryInterface(IXpsOMVisualBrush* This,REFIID riid,void **ppvObject) {
  6898. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  6899. }
  6900. static FORCEINLINE ULONG IXpsOMVisualBrush_AddRef(IXpsOMVisualBrush* This) {
  6901. return This->lpVtbl->AddRef(This);
  6902. }
  6903. static FORCEINLINE ULONG IXpsOMVisualBrush_Release(IXpsOMVisualBrush* This) {
  6904. return This->lpVtbl->Release(This);
  6905. }
  6906. /*** IXpsOMShareable methods ***/
  6907. static FORCEINLINE HRESULT IXpsOMVisualBrush_GetOwner(IXpsOMVisualBrush* This,IUnknown **owner) {
  6908. return This->lpVtbl->GetOwner(This,owner);
  6909. }
  6910. static FORCEINLINE HRESULT IXpsOMVisualBrush_GetType(IXpsOMVisualBrush* This,XPS_OBJECT_TYPE *type) {
  6911. return This->lpVtbl->GetType(This,type);
  6912. }
  6913. /*** IXpsOMBrush methods ***/
  6914. static FORCEINLINE HRESULT IXpsOMVisualBrush_GetOpacity(IXpsOMVisualBrush* This,FLOAT *opacity) {
  6915. return This->lpVtbl->GetOpacity(This,opacity);
  6916. }
  6917. static FORCEINLINE HRESULT IXpsOMVisualBrush_SetOpacity(IXpsOMVisualBrush* This,FLOAT opacity) {
  6918. return This->lpVtbl->SetOpacity(This,opacity);
  6919. }
  6920. /*** IXpsOMTileBrush methods ***/
  6921. static FORCEINLINE HRESULT IXpsOMVisualBrush_GetTransform(IXpsOMVisualBrush* This,IXpsOMMatrixTransform **transform) {
  6922. return This->lpVtbl->GetTransform(This,transform);
  6923. }
  6924. static FORCEINLINE HRESULT IXpsOMVisualBrush_GetTransformLocal(IXpsOMVisualBrush* This,IXpsOMMatrixTransform **transform) {
  6925. return This->lpVtbl->GetTransformLocal(This,transform);
  6926. }
  6927. static FORCEINLINE HRESULT IXpsOMVisualBrush_SetTransformLocal(IXpsOMVisualBrush* This,IXpsOMMatrixTransform *transform) {
  6928. return This->lpVtbl->SetTransformLocal(This,transform);
  6929. }
  6930. static FORCEINLINE HRESULT IXpsOMVisualBrush_GetTransformLookup(IXpsOMVisualBrush* This,LPWSTR *key) {
  6931. return This->lpVtbl->GetTransformLookup(This,key);
  6932. }
  6933. static FORCEINLINE HRESULT IXpsOMVisualBrush_SetTransformLookup(IXpsOMVisualBrush* This,LPCWSTR key) {
  6934. return This->lpVtbl->SetTransformLookup(This,key);
  6935. }
  6936. static FORCEINLINE HRESULT IXpsOMVisualBrush_GetViewbox(IXpsOMVisualBrush* This,XPS_RECT *viewbox) {
  6937. return This->lpVtbl->GetViewbox(This,viewbox);
  6938. }
  6939. static FORCEINLINE HRESULT IXpsOMVisualBrush_SetViewbox(IXpsOMVisualBrush* This,const XPS_RECT *viewbox) {
  6940. return This->lpVtbl->SetViewbox(This,viewbox);
  6941. }
  6942. static FORCEINLINE HRESULT IXpsOMVisualBrush_GetViewport(IXpsOMVisualBrush* This,XPS_RECT *viewport) {
  6943. return This->lpVtbl->GetViewport(This,viewport);
  6944. }
  6945. static FORCEINLINE HRESULT IXpsOMVisualBrush_SetViewport(IXpsOMVisualBrush* This,const XPS_RECT *viewport) {
  6946. return This->lpVtbl->SetViewport(This,viewport);
  6947. }
  6948. static FORCEINLINE HRESULT IXpsOMVisualBrush_GetTileMode(IXpsOMVisualBrush* This,XPS_TILE_MODE *tileMode) {
  6949. return This->lpVtbl->GetTileMode(This,tileMode);
  6950. }
  6951. static FORCEINLINE HRESULT IXpsOMVisualBrush_SetTileMode(IXpsOMVisualBrush* This,XPS_TILE_MODE tileMode) {
  6952. return This->lpVtbl->SetTileMode(This,tileMode);
  6953. }
  6954. /*** IXpsOMVisualBrush methods ***/
  6955. static FORCEINLINE HRESULT IXpsOMVisualBrush_GetVisual(IXpsOMVisualBrush* This,IXpsOMVisual **visual) {
  6956. return This->lpVtbl->GetVisual(This,visual);
  6957. }
  6958. static FORCEINLINE HRESULT IXpsOMVisualBrush_GetVisualLocal(IXpsOMVisualBrush* This,IXpsOMVisual **visual) {
  6959. return This->lpVtbl->GetVisualLocal(This,visual);
  6960. }
  6961. static FORCEINLINE HRESULT IXpsOMVisualBrush_SetVisualLocal(IXpsOMVisualBrush* This,IXpsOMVisual *visual) {
  6962. return This->lpVtbl->SetVisualLocal(This,visual);
  6963. }
  6964. static FORCEINLINE HRESULT IXpsOMVisualBrush_GetVisualLookup(IXpsOMVisualBrush* This,LPWSTR *lookup) {
  6965. return This->lpVtbl->GetVisualLookup(This,lookup);
  6966. }
  6967. static FORCEINLINE HRESULT IXpsOMVisualBrush_SetVisualLookup(IXpsOMVisualBrush* This,LPCWSTR lookup) {
  6968. return This->lpVtbl->SetVisualLookup(This,lookup);
  6969. }
  6970. static FORCEINLINE HRESULT IXpsOMVisualBrush_Clone(IXpsOMVisualBrush* This,IXpsOMVisualBrush **visualBrush) {
  6971. return This->lpVtbl->Clone(This,visualBrush);
  6972. }
  6973. #endif
  6974. #endif
  6975. #endif
  6976. #endif /* __IXpsOMVisualBrush_INTERFACE_DEFINED__ */
  6977. /*****************************************************************************
  6978. * IXpsOMImageBrush interface
  6979. */
  6980. #ifndef __IXpsOMImageBrush_INTERFACE_DEFINED__
  6981. #define __IXpsOMImageBrush_INTERFACE_DEFINED__
  6982. DEFINE_GUID(IID_IXpsOMImageBrush, 0x3df0b466, 0xd382, 0x49ef, 0x85,0x50, 0xdd,0x94,0xc8,0x02,0x42,0xe4);
  6983. #if defined(__cplusplus) && !defined(CINTERFACE)
  6984. MIDL_INTERFACE("3df0b466-d382-49ef-8550-dd94c80242e4")
  6985. IXpsOMImageBrush : public IXpsOMTileBrush
  6986. {
  6987. virtual HRESULT STDMETHODCALLTYPE GetImageResource(
  6988. IXpsOMImageResource **imageResource) = 0;
  6989. virtual HRESULT STDMETHODCALLTYPE SetImageResource(
  6990. IXpsOMImageResource *imageResource) = 0;
  6991. virtual HRESULT STDMETHODCALLTYPE GetColorProfileResource(
  6992. IXpsOMColorProfileResource **colorProfileResource) = 0;
  6993. virtual HRESULT STDMETHODCALLTYPE SetColorProfileResource(
  6994. IXpsOMColorProfileResource *colorProfileResource) = 0;
  6995. virtual HRESULT STDMETHODCALLTYPE Clone(
  6996. IXpsOMImageBrush **imageBrush) = 0;
  6997. };
  6998. #ifdef __CRT_UUID_DECL
  6999. __CRT_UUID_DECL(IXpsOMImageBrush, 0x3df0b466, 0xd382, 0x49ef, 0x85,0x50, 0xdd,0x94,0xc8,0x02,0x42,0xe4)
  7000. #endif
  7001. #else
  7002. typedef struct IXpsOMImageBrushVtbl {
  7003. BEGIN_INTERFACE
  7004. /*** IUnknown methods ***/
  7005. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  7006. IXpsOMImageBrush *This,
  7007. REFIID riid,
  7008. void **ppvObject);
  7009. ULONG (STDMETHODCALLTYPE *AddRef)(
  7010. IXpsOMImageBrush *This);
  7011. ULONG (STDMETHODCALLTYPE *Release)(
  7012. IXpsOMImageBrush *This);
  7013. /*** IXpsOMShareable methods ***/
  7014. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  7015. IXpsOMImageBrush *This,
  7016. IUnknown **owner);
  7017. HRESULT (STDMETHODCALLTYPE *GetType)(
  7018. IXpsOMImageBrush *This,
  7019. XPS_OBJECT_TYPE *type);
  7020. /*** IXpsOMBrush methods ***/
  7021. HRESULT (STDMETHODCALLTYPE *GetOpacity)(
  7022. IXpsOMImageBrush *This,
  7023. FLOAT *opacity);
  7024. HRESULT (STDMETHODCALLTYPE *SetOpacity)(
  7025. IXpsOMImageBrush *This,
  7026. FLOAT opacity);
  7027. /*** IXpsOMTileBrush methods ***/
  7028. HRESULT (STDMETHODCALLTYPE *GetTransform)(
  7029. IXpsOMImageBrush *This,
  7030. IXpsOMMatrixTransform **transform);
  7031. HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
  7032. IXpsOMImageBrush *This,
  7033. IXpsOMMatrixTransform **transform);
  7034. HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
  7035. IXpsOMImageBrush *This,
  7036. IXpsOMMatrixTransform *transform);
  7037. HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
  7038. IXpsOMImageBrush *This,
  7039. LPWSTR *key);
  7040. HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
  7041. IXpsOMImageBrush *This,
  7042. LPCWSTR key);
  7043. HRESULT (STDMETHODCALLTYPE *GetViewbox)(
  7044. IXpsOMImageBrush *This,
  7045. XPS_RECT *viewbox);
  7046. HRESULT (STDMETHODCALLTYPE *SetViewbox)(
  7047. IXpsOMImageBrush *This,
  7048. const XPS_RECT *viewbox);
  7049. HRESULT (STDMETHODCALLTYPE *GetViewport)(
  7050. IXpsOMImageBrush *This,
  7051. XPS_RECT *viewport);
  7052. HRESULT (STDMETHODCALLTYPE *SetViewport)(
  7053. IXpsOMImageBrush *This,
  7054. const XPS_RECT *viewport);
  7055. HRESULT (STDMETHODCALLTYPE *GetTileMode)(
  7056. IXpsOMImageBrush *This,
  7057. XPS_TILE_MODE *tileMode);
  7058. HRESULT (STDMETHODCALLTYPE *SetTileMode)(
  7059. IXpsOMImageBrush *This,
  7060. XPS_TILE_MODE tileMode);
  7061. /*** IXpsOMImageBrush methods ***/
  7062. HRESULT (STDMETHODCALLTYPE *GetImageResource)(
  7063. IXpsOMImageBrush *This,
  7064. IXpsOMImageResource **imageResource);
  7065. HRESULT (STDMETHODCALLTYPE *SetImageResource)(
  7066. IXpsOMImageBrush *This,
  7067. IXpsOMImageResource *imageResource);
  7068. HRESULT (STDMETHODCALLTYPE *GetColorProfileResource)(
  7069. IXpsOMImageBrush *This,
  7070. IXpsOMColorProfileResource **colorProfileResource);
  7071. HRESULT (STDMETHODCALLTYPE *SetColorProfileResource)(
  7072. IXpsOMImageBrush *This,
  7073. IXpsOMColorProfileResource *colorProfileResource);
  7074. HRESULT (STDMETHODCALLTYPE *Clone)(
  7075. IXpsOMImageBrush *This,
  7076. IXpsOMImageBrush **imageBrush);
  7077. END_INTERFACE
  7078. } IXpsOMImageBrushVtbl;
  7079. interface IXpsOMImageBrush {
  7080. CONST_VTBL IXpsOMImageBrushVtbl* lpVtbl;
  7081. };
  7082. #ifdef COBJMACROS
  7083. #ifndef WIDL_C_INLINE_WRAPPERS
  7084. /*** IUnknown methods ***/
  7085. #define IXpsOMImageBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  7086. #define IXpsOMImageBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
  7087. #define IXpsOMImageBrush_Release(This) (This)->lpVtbl->Release(This)
  7088. /*** IXpsOMShareable methods ***/
  7089. #define IXpsOMImageBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  7090. #define IXpsOMImageBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  7091. /*** IXpsOMBrush methods ***/
  7092. #define IXpsOMImageBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
  7093. #define IXpsOMImageBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
  7094. /*** IXpsOMTileBrush methods ***/
  7095. #define IXpsOMImageBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
  7096. #define IXpsOMImageBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
  7097. #define IXpsOMImageBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
  7098. #define IXpsOMImageBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
  7099. #define IXpsOMImageBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
  7100. #define IXpsOMImageBrush_GetViewbox(This,viewbox) (This)->lpVtbl->GetViewbox(This,viewbox)
  7101. #define IXpsOMImageBrush_SetViewbox(This,viewbox) (This)->lpVtbl->SetViewbox(This,viewbox)
  7102. #define IXpsOMImageBrush_GetViewport(This,viewport) (This)->lpVtbl->GetViewport(This,viewport)
  7103. #define IXpsOMImageBrush_SetViewport(This,viewport) (This)->lpVtbl->SetViewport(This,viewport)
  7104. #define IXpsOMImageBrush_GetTileMode(This,tileMode) (This)->lpVtbl->GetTileMode(This,tileMode)
  7105. #define IXpsOMImageBrush_SetTileMode(This,tileMode) (This)->lpVtbl->SetTileMode(This,tileMode)
  7106. /*** IXpsOMImageBrush methods ***/
  7107. #define IXpsOMImageBrush_GetImageResource(This,imageResource) (This)->lpVtbl->GetImageResource(This,imageResource)
  7108. #define IXpsOMImageBrush_SetImageResource(This,imageResource) (This)->lpVtbl->SetImageResource(This,imageResource)
  7109. #define IXpsOMImageBrush_GetColorProfileResource(This,colorProfileResource) (This)->lpVtbl->GetColorProfileResource(This,colorProfileResource)
  7110. #define IXpsOMImageBrush_SetColorProfileResource(This,colorProfileResource) (This)->lpVtbl->SetColorProfileResource(This,colorProfileResource)
  7111. #define IXpsOMImageBrush_Clone(This,imageBrush) (This)->lpVtbl->Clone(This,imageBrush)
  7112. #else
  7113. /*** IUnknown methods ***/
  7114. static FORCEINLINE HRESULT IXpsOMImageBrush_QueryInterface(IXpsOMImageBrush* This,REFIID riid,void **ppvObject) {
  7115. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  7116. }
  7117. static FORCEINLINE ULONG IXpsOMImageBrush_AddRef(IXpsOMImageBrush* This) {
  7118. return This->lpVtbl->AddRef(This);
  7119. }
  7120. static FORCEINLINE ULONG IXpsOMImageBrush_Release(IXpsOMImageBrush* This) {
  7121. return This->lpVtbl->Release(This);
  7122. }
  7123. /*** IXpsOMShareable methods ***/
  7124. static FORCEINLINE HRESULT IXpsOMImageBrush_GetOwner(IXpsOMImageBrush* This,IUnknown **owner) {
  7125. return This->lpVtbl->GetOwner(This,owner);
  7126. }
  7127. static FORCEINLINE HRESULT IXpsOMImageBrush_GetType(IXpsOMImageBrush* This,XPS_OBJECT_TYPE *type) {
  7128. return This->lpVtbl->GetType(This,type);
  7129. }
  7130. /*** IXpsOMBrush methods ***/
  7131. static FORCEINLINE HRESULT IXpsOMImageBrush_GetOpacity(IXpsOMImageBrush* This,FLOAT *opacity) {
  7132. return This->lpVtbl->GetOpacity(This,opacity);
  7133. }
  7134. static FORCEINLINE HRESULT IXpsOMImageBrush_SetOpacity(IXpsOMImageBrush* This,FLOAT opacity) {
  7135. return This->lpVtbl->SetOpacity(This,opacity);
  7136. }
  7137. /*** IXpsOMTileBrush methods ***/
  7138. static FORCEINLINE HRESULT IXpsOMImageBrush_GetTransform(IXpsOMImageBrush* This,IXpsOMMatrixTransform **transform) {
  7139. return This->lpVtbl->GetTransform(This,transform);
  7140. }
  7141. static FORCEINLINE HRESULT IXpsOMImageBrush_GetTransformLocal(IXpsOMImageBrush* This,IXpsOMMatrixTransform **transform) {
  7142. return This->lpVtbl->GetTransformLocal(This,transform);
  7143. }
  7144. static FORCEINLINE HRESULT IXpsOMImageBrush_SetTransformLocal(IXpsOMImageBrush* This,IXpsOMMatrixTransform *transform) {
  7145. return This->lpVtbl->SetTransformLocal(This,transform);
  7146. }
  7147. static FORCEINLINE HRESULT IXpsOMImageBrush_GetTransformLookup(IXpsOMImageBrush* This,LPWSTR *key) {
  7148. return This->lpVtbl->GetTransformLookup(This,key);
  7149. }
  7150. static FORCEINLINE HRESULT IXpsOMImageBrush_SetTransformLookup(IXpsOMImageBrush* This,LPCWSTR key) {
  7151. return This->lpVtbl->SetTransformLookup(This,key);
  7152. }
  7153. static FORCEINLINE HRESULT IXpsOMImageBrush_GetViewbox(IXpsOMImageBrush* This,XPS_RECT *viewbox) {
  7154. return This->lpVtbl->GetViewbox(This,viewbox);
  7155. }
  7156. static FORCEINLINE HRESULT IXpsOMImageBrush_SetViewbox(IXpsOMImageBrush* This,const XPS_RECT *viewbox) {
  7157. return This->lpVtbl->SetViewbox(This,viewbox);
  7158. }
  7159. static FORCEINLINE HRESULT IXpsOMImageBrush_GetViewport(IXpsOMImageBrush* This,XPS_RECT *viewport) {
  7160. return This->lpVtbl->GetViewport(This,viewport);
  7161. }
  7162. static FORCEINLINE HRESULT IXpsOMImageBrush_SetViewport(IXpsOMImageBrush* This,const XPS_RECT *viewport) {
  7163. return This->lpVtbl->SetViewport(This,viewport);
  7164. }
  7165. static FORCEINLINE HRESULT IXpsOMImageBrush_GetTileMode(IXpsOMImageBrush* This,XPS_TILE_MODE *tileMode) {
  7166. return This->lpVtbl->GetTileMode(This,tileMode);
  7167. }
  7168. static FORCEINLINE HRESULT IXpsOMImageBrush_SetTileMode(IXpsOMImageBrush* This,XPS_TILE_MODE tileMode) {
  7169. return This->lpVtbl->SetTileMode(This,tileMode);
  7170. }
  7171. /*** IXpsOMImageBrush methods ***/
  7172. static FORCEINLINE HRESULT IXpsOMImageBrush_GetImageResource(IXpsOMImageBrush* This,IXpsOMImageResource **imageResource) {
  7173. return This->lpVtbl->GetImageResource(This,imageResource);
  7174. }
  7175. static FORCEINLINE HRESULT IXpsOMImageBrush_SetImageResource(IXpsOMImageBrush* This,IXpsOMImageResource *imageResource) {
  7176. return This->lpVtbl->SetImageResource(This,imageResource);
  7177. }
  7178. static FORCEINLINE HRESULT IXpsOMImageBrush_GetColorProfileResource(IXpsOMImageBrush* This,IXpsOMColorProfileResource **colorProfileResource) {
  7179. return This->lpVtbl->GetColorProfileResource(This,colorProfileResource);
  7180. }
  7181. static FORCEINLINE HRESULT IXpsOMImageBrush_SetColorProfileResource(IXpsOMImageBrush* This,IXpsOMColorProfileResource *colorProfileResource) {
  7182. return This->lpVtbl->SetColorProfileResource(This,colorProfileResource);
  7183. }
  7184. static FORCEINLINE HRESULT IXpsOMImageBrush_Clone(IXpsOMImageBrush* This,IXpsOMImageBrush **imageBrush) {
  7185. return This->lpVtbl->Clone(This,imageBrush);
  7186. }
  7187. #endif
  7188. #endif
  7189. #endif
  7190. #endif /* __IXpsOMImageBrush_INTERFACE_DEFINED__ */
  7191. /*****************************************************************************
  7192. * IXpsOMLinearGradientBrush interface
  7193. */
  7194. #ifndef __IXpsOMLinearGradientBrush_INTERFACE_DEFINED__
  7195. #define __IXpsOMLinearGradientBrush_INTERFACE_DEFINED__
  7196. DEFINE_GUID(IID_IXpsOMLinearGradientBrush, 0x005e279f, 0xc30d, 0x40ff, 0x93,0xec, 0x19,0x50,0xd3,0xc5,0x28,0xdb);
  7197. #if defined(__cplusplus) && !defined(CINTERFACE)
  7198. MIDL_INTERFACE("005e279f-c30d-40ff-93ec-1950d3c528db")
  7199. IXpsOMLinearGradientBrush : public IXpsOMGradientBrush
  7200. {
  7201. virtual HRESULT STDMETHODCALLTYPE GetStartPoint(
  7202. XPS_POINT *startPoint) = 0;
  7203. virtual HRESULT STDMETHODCALLTYPE SetStartPoint(
  7204. const XPS_POINT *startPoint) = 0;
  7205. virtual HRESULT STDMETHODCALLTYPE GetEndPoint(
  7206. XPS_POINT *endPoint) = 0;
  7207. virtual HRESULT STDMETHODCALLTYPE SetEndPoint(
  7208. const XPS_POINT *endPoint) = 0;
  7209. virtual HRESULT STDMETHODCALLTYPE Clone(
  7210. IXpsOMLinearGradientBrush **linearGradientBrush) = 0;
  7211. };
  7212. #ifdef __CRT_UUID_DECL
  7213. __CRT_UUID_DECL(IXpsOMLinearGradientBrush, 0x005e279f, 0xc30d, 0x40ff, 0x93,0xec, 0x19,0x50,0xd3,0xc5,0x28,0xdb)
  7214. #endif
  7215. #else
  7216. typedef struct IXpsOMLinearGradientBrushVtbl {
  7217. BEGIN_INTERFACE
  7218. /*** IUnknown methods ***/
  7219. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  7220. IXpsOMLinearGradientBrush *This,
  7221. REFIID riid,
  7222. void **ppvObject);
  7223. ULONG (STDMETHODCALLTYPE *AddRef)(
  7224. IXpsOMLinearGradientBrush *This);
  7225. ULONG (STDMETHODCALLTYPE *Release)(
  7226. IXpsOMLinearGradientBrush *This);
  7227. /*** IXpsOMShareable methods ***/
  7228. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  7229. IXpsOMLinearGradientBrush *This,
  7230. IUnknown **owner);
  7231. HRESULT (STDMETHODCALLTYPE *GetType)(
  7232. IXpsOMLinearGradientBrush *This,
  7233. XPS_OBJECT_TYPE *type);
  7234. /*** IXpsOMBrush methods ***/
  7235. HRESULT (STDMETHODCALLTYPE *GetOpacity)(
  7236. IXpsOMLinearGradientBrush *This,
  7237. FLOAT *opacity);
  7238. HRESULT (STDMETHODCALLTYPE *SetOpacity)(
  7239. IXpsOMLinearGradientBrush *This,
  7240. FLOAT opacity);
  7241. /*** IXpsOMGradientBrush methods ***/
  7242. HRESULT (STDMETHODCALLTYPE *GetGradientStops)(
  7243. IXpsOMLinearGradientBrush *This,
  7244. IXpsOMGradientStopCollection **gradientStops);
  7245. HRESULT (STDMETHODCALLTYPE *GetTransform)(
  7246. IXpsOMLinearGradientBrush *This,
  7247. IXpsOMMatrixTransform **transform);
  7248. HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
  7249. IXpsOMLinearGradientBrush *This,
  7250. IXpsOMMatrixTransform **transform);
  7251. HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
  7252. IXpsOMLinearGradientBrush *This,
  7253. IXpsOMMatrixTransform *transform);
  7254. HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
  7255. IXpsOMLinearGradientBrush *This,
  7256. LPWSTR *key);
  7257. HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
  7258. IXpsOMLinearGradientBrush *This,
  7259. LPCWSTR key);
  7260. HRESULT (STDMETHODCALLTYPE *GetSpreadMethod)(
  7261. IXpsOMLinearGradientBrush *This,
  7262. XPS_SPREAD_METHOD *spreadMethod);
  7263. HRESULT (STDMETHODCALLTYPE *SetSpreadMethod)(
  7264. IXpsOMLinearGradientBrush *This,
  7265. XPS_SPREAD_METHOD spreadMethod);
  7266. HRESULT (STDMETHODCALLTYPE *GetColorInterpolationMode)(
  7267. IXpsOMLinearGradientBrush *This,
  7268. XPS_COLOR_INTERPOLATION *colorInterpolationMode);
  7269. HRESULT (STDMETHODCALLTYPE *SetColorInterpolationMode)(
  7270. IXpsOMLinearGradientBrush *This,
  7271. XPS_COLOR_INTERPOLATION colorInterpolationMode);
  7272. /*** IXpsOMLinearGradientBrush methods ***/
  7273. HRESULT (STDMETHODCALLTYPE *GetStartPoint)(
  7274. IXpsOMLinearGradientBrush *This,
  7275. XPS_POINT *startPoint);
  7276. HRESULT (STDMETHODCALLTYPE *SetStartPoint)(
  7277. IXpsOMLinearGradientBrush *This,
  7278. const XPS_POINT *startPoint);
  7279. HRESULT (STDMETHODCALLTYPE *GetEndPoint)(
  7280. IXpsOMLinearGradientBrush *This,
  7281. XPS_POINT *endPoint);
  7282. HRESULT (STDMETHODCALLTYPE *SetEndPoint)(
  7283. IXpsOMLinearGradientBrush *This,
  7284. const XPS_POINT *endPoint);
  7285. HRESULT (STDMETHODCALLTYPE *Clone)(
  7286. IXpsOMLinearGradientBrush *This,
  7287. IXpsOMLinearGradientBrush **linearGradientBrush);
  7288. END_INTERFACE
  7289. } IXpsOMLinearGradientBrushVtbl;
  7290. interface IXpsOMLinearGradientBrush {
  7291. CONST_VTBL IXpsOMLinearGradientBrushVtbl* lpVtbl;
  7292. };
  7293. #ifdef COBJMACROS
  7294. #ifndef WIDL_C_INLINE_WRAPPERS
  7295. /*** IUnknown methods ***/
  7296. #define IXpsOMLinearGradientBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  7297. #define IXpsOMLinearGradientBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
  7298. #define IXpsOMLinearGradientBrush_Release(This) (This)->lpVtbl->Release(This)
  7299. /*** IXpsOMShareable methods ***/
  7300. #define IXpsOMLinearGradientBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  7301. #define IXpsOMLinearGradientBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  7302. /*** IXpsOMBrush methods ***/
  7303. #define IXpsOMLinearGradientBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
  7304. #define IXpsOMLinearGradientBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
  7305. /*** IXpsOMGradientBrush methods ***/
  7306. #define IXpsOMLinearGradientBrush_GetGradientStops(This,gradientStops) (This)->lpVtbl->GetGradientStops(This,gradientStops)
  7307. #define IXpsOMLinearGradientBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
  7308. #define IXpsOMLinearGradientBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
  7309. #define IXpsOMLinearGradientBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
  7310. #define IXpsOMLinearGradientBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
  7311. #define IXpsOMLinearGradientBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
  7312. #define IXpsOMLinearGradientBrush_GetSpreadMethod(This,spreadMethod) (This)->lpVtbl->GetSpreadMethod(This,spreadMethod)
  7313. #define IXpsOMLinearGradientBrush_SetSpreadMethod(This,spreadMethod) (This)->lpVtbl->SetSpreadMethod(This,spreadMethod)
  7314. #define IXpsOMLinearGradientBrush_GetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode)
  7315. #define IXpsOMLinearGradientBrush_SetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode)
  7316. /*** IXpsOMLinearGradientBrush methods ***/
  7317. #define IXpsOMLinearGradientBrush_GetStartPoint(This,startPoint) (This)->lpVtbl->GetStartPoint(This,startPoint)
  7318. #define IXpsOMLinearGradientBrush_SetStartPoint(This,startPoint) (This)->lpVtbl->SetStartPoint(This,startPoint)
  7319. #define IXpsOMLinearGradientBrush_GetEndPoint(This,endPoint) (This)->lpVtbl->GetEndPoint(This,endPoint)
  7320. #define IXpsOMLinearGradientBrush_SetEndPoint(This,endPoint) (This)->lpVtbl->SetEndPoint(This,endPoint)
  7321. #define IXpsOMLinearGradientBrush_Clone(This,linearGradientBrush) (This)->lpVtbl->Clone(This,linearGradientBrush)
  7322. #else
  7323. /*** IUnknown methods ***/
  7324. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_QueryInterface(IXpsOMLinearGradientBrush* This,REFIID riid,void **ppvObject) {
  7325. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  7326. }
  7327. static FORCEINLINE ULONG IXpsOMLinearGradientBrush_AddRef(IXpsOMLinearGradientBrush* This) {
  7328. return This->lpVtbl->AddRef(This);
  7329. }
  7330. static FORCEINLINE ULONG IXpsOMLinearGradientBrush_Release(IXpsOMLinearGradientBrush* This) {
  7331. return This->lpVtbl->Release(This);
  7332. }
  7333. /*** IXpsOMShareable methods ***/
  7334. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetOwner(IXpsOMLinearGradientBrush* This,IUnknown **owner) {
  7335. return This->lpVtbl->GetOwner(This,owner);
  7336. }
  7337. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetType(IXpsOMLinearGradientBrush* This,XPS_OBJECT_TYPE *type) {
  7338. return This->lpVtbl->GetType(This,type);
  7339. }
  7340. /*** IXpsOMBrush methods ***/
  7341. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetOpacity(IXpsOMLinearGradientBrush* This,FLOAT *opacity) {
  7342. return This->lpVtbl->GetOpacity(This,opacity);
  7343. }
  7344. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetOpacity(IXpsOMLinearGradientBrush* This,FLOAT opacity) {
  7345. return This->lpVtbl->SetOpacity(This,opacity);
  7346. }
  7347. /*** IXpsOMGradientBrush methods ***/
  7348. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetGradientStops(IXpsOMLinearGradientBrush* This,IXpsOMGradientStopCollection **gradientStops) {
  7349. return This->lpVtbl->GetGradientStops(This,gradientStops);
  7350. }
  7351. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetTransform(IXpsOMLinearGradientBrush* This,IXpsOMMatrixTransform **transform) {
  7352. return This->lpVtbl->GetTransform(This,transform);
  7353. }
  7354. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetTransformLocal(IXpsOMLinearGradientBrush* This,IXpsOMMatrixTransform **transform) {
  7355. return This->lpVtbl->GetTransformLocal(This,transform);
  7356. }
  7357. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetTransformLocal(IXpsOMLinearGradientBrush* This,IXpsOMMatrixTransform *transform) {
  7358. return This->lpVtbl->SetTransformLocal(This,transform);
  7359. }
  7360. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetTransformLookup(IXpsOMLinearGradientBrush* This,LPWSTR *key) {
  7361. return This->lpVtbl->GetTransformLookup(This,key);
  7362. }
  7363. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetTransformLookup(IXpsOMLinearGradientBrush* This,LPCWSTR key) {
  7364. return This->lpVtbl->SetTransformLookup(This,key);
  7365. }
  7366. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetSpreadMethod(IXpsOMLinearGradientBrush* This,XPS_SPREAD_METHOD *spreadMethod) {
  7367. return This->lpVtbl->GetSpreadMethod(This,spreadMethod);
  7368. }
  7369. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetSpreadMethod(IXpsOMLinearGradientBrush* This,XPS_SPREAD_METHOD spreadMethod) {
  7370. return This->lpVtbl->SetSpreadMethod(This,spreadMethod);
  7371. }
  7372. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetColorInterpolationMode(IXpsOMLinearGradientBrush* This,XPS_COLOR_INTERPOLATION *colorInterpolationMode) {
  7373. return This->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode);
  7374. }
  7375. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetColorInterpolationMode(IXpsOMLinearGradientBrush* This,XPS_COLOR_INTERPOLATION colorInterpolationMode) {
  7376. return This->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode);
  7377. }
  7378. /*** IXpsOMLinearGradientBrush methods ***/
  7379. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetStartPoint(IXpsOMLinearGradientBrush* This,XPS_POINT *startPoint) {
  7380. return This->lpVtbl->GetStartPoint(This,startPoint);
  7381. }
  7382. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetStartPoint(IXpsOMLinearGradientBrush* This,const XPS_POINT *startPoint) {
  7383. return This->lpVtbl->SetStartPoint(This,startPoint);
  7384. }
  7385. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_GetEndPoint(IXpsOMLinearGradientBrush* This,XPS_POINT *endPoint) {
  7386. return This->lpVtbl->GetEndPoint(This,endPoint);
  7387. }
  7388. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_SetEndPoint(IXpsOMLinearGradientBrush* This,const XPS_POINT *endPoint) {
  7389. return This->lpVtbl->SetEndPoint(This,endPoint);
  7390. }
  7391. static FORCEINLINE HRESULT IXpsOMLinearGradientBrush_Clone(IXpsOMLinearGradientBrush* This,IXpsOMLinearGradientBrush **linearGradientBrush) {
  7392. return This->lpVtbl->Clone(This,linearGradientBrush);
  7393. }
  7394. #endif
  7395. #endif
  7396. #endif
  7397. #endif /* __IXpsOMLinearGradientBrush_INTERFACE_DEFINED__ */
  7398. /*****************************************************************************
  7399. * IXpsOMRadialGradientBrush interface
  7400. */
  7401. #ifndef __IXpsOMRadialGradientBrush_INTERFACE_DEFINED__
  7402. #define __IXpsOMRadialGradientBrush_INTERFACE_DEFINED__
  7403. DEFINE_GUID(IID_IXpsOMRadialGradientBrush, 0x75f207e5, 0x08bf, 0x413c, 0x96,0xb1, 0xb8,0x2b,0x40,0x64,0x17,0x6b);
  7404. #if defined(__cplusplus) && !defined(CINTERFACE)
  7405. MIDL_INTERFACE("75f207e5-08bf-413c-96b1-b82b4064176b")
  7406. IXpsOMRadialGradientBrush : public IXpsOMGradientBrush
  7407. {
  7408. virtual HRESULT STDMETHODCALLTYPE GetCenter(
  7409. XPS_POINT *center) = 0;
  7410. virtual HRESULT STDMETHODCALLTYPE SetCenter(
  7411. const XPS_POINT *center) = 0;
  7412. virtual HRESULT STDMETHODCALLTYPE GetRadiiSizes(
  7413. XPS_SIZE *radiiSizes) = 0;
  7414. virtual HRESULT STDMETHODCALLTYPE SetRadiiSizes(
  7415. const XPS_SIZE *radiiSizes) = 0;
  7416. virtual HRESULT STDMETHODCALLTYPE GetGradientOrigin(
  7417. XPS_POINT *origin) = 0;
  7418. virtual HRESULT STDMETHODCALLTYPE SetGradientOrigin(
  7419. const XPS_POINT *origin) = 0;
  7420. virtual HRESULT STDMETHODCALLTYPE Clone(
  7421. IXpsOMRadialGradientBrush **radialGradientBrush) = 0;
  7422. };
  7423. #ifdef __CRT_UUID_DECL
  7424. __CRT_UUID_DECL(IXpsOMRadialGradientBrush, 0x75f207e5, 0x08bf, 0x413c, 0x96,0xb1, 0xb8,0x2b,0x40,0x64,0x17,0x6b)
  7425. #endif
  7426. #else
  7427. typedef struct IXpsOMRadialGradientBrushVtbl {
  7428. BEGIN_INTERFACE
  7429. /*** IUnknown methods ***/
  7430. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  7431. IXpsOMRadialGradientBrush *This,
  7432. REFIID riid,
  7433. void **ppvObject);
  7434. ULONG (STDMETHODCALLTYPE *AddRef)(
  7435. IXpsOMRadialGradientBrush *This);
  7436. ULONG (STDMETHODCALLTYPE *Release)(
  7437. IXpsOMRadialGradientBrush *This);
  7438. /*** IXpsOMShareable methods ***/
  7439. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  7440. IXpsOMRadialGradientBrush *This,
  7441. IUnknown **owner);
  7442. HRESULT (STDMETHODCALLTYPE *GetType)(
  7443. IXpsOMRadialGradientBrush *This,
  7444. XPS_OBJECT_TYPE *type);
  7445. /*** IXpsOMBrush methods ***/
  7446. HRESULT (STDMETHODCALLTYPE *GetOpacity)(
  7447. IXpsOMRadialGradientBrush *This,
  7448. FLOAT *opacity);
  7449. HRESULT (STDMETHODCALLTYPE *SetOpacity)(
  7450. IXpsOMRadialGradientBrush *This,
  7451. FLOAT opacity);
  7452. /*** IXpsOMGradientBrush methods ***/
  7453. HRESULT (STDMETHODCALLTYPE *GetGradientStops)(
  7454. IXpsOMRadialGradientBrush *This,
  7455. IXpsOMGradientStopCollection **gradientStops);
  7456. HRESULT (STDMETHODCALLTYPE *GetTransform)(
  7457. IXpsOMRadialGradientBrush *This,
  7458. IXpsOMMatrixTransform **transform);
  7459. HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
  7460. IXpsOMRadialGradientBrush *This,
  7461. IXpsOMMatrixTransform **transform);
  7462. HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
  7463. IXpsOMRadialGradientBrush *This,
  7464. IXpsOMMatrixTransform *transform);
  7465. HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
  7466. IXpsOMRadialGradientBrush *This,
  7467. LPWSTR *key);
  7468. HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
  7469. IXpsOMRadialGradientBrush *This,
  7470. LPCWSTR key);
  7471. HRESULT (STDMETHODCALLTYPE *GetSpreadMethod)(
  7472. IXpsOMRadialGradientBrush *This,
  7473. XPS_SPREAD_METHOD *spreadMethod);
  7474. HRESULT (STDMETHODCALLTYPE *SetSpreadMethod)(
  7475. IXpsOMRadialGradientBrush *This,
  7476. XPS_SPREAD_METHOD spreadMethod);
  7477. HRESULT (STDMETHODCALLTYPE *GetColorInterpolationMode)(
  7478. IXpsOMRadialGradientBrush *This,
  7479. XPS_COLOR_INTERPOLATION *colorInterpolationMode);
  7480. HRESULT (STDMETHODCALLTYPE *SetColorInterpolationMode)(
  7481. IXpsOMRadialGradientBrush *This,
  7482. XPS_COLOR_INTERPOLATION colorInterpolationMode);
  7483. /*** IXpsOMRadialGradientBrush methods ***/
  7484. HRESULT (STDMETHODCALLTYPE *GetCenter)(
  7485. IXpsOMRadialGradientBrush *This,
  7486. XPS_POINT *center);
  7487. HRESULT (STDMETHODCALLTYPE *SetCenter)(
  7488. IXpsOMRadialGradientBrush *This,
  7489. const XPS_POINT *center);
  7490. HRESULT (STDMETHODCALLTYPE *GetRadiiSizes)(
  7491. IXpsOMRadialGradientBrush *This,
  7492. XPS_SIZE *radiiSizes);
  7493. HRESULT (STDMETHODCALLTYPE *SetRadiiSizes)(
  7494. IXpsOMRadialGradientBrush *This,
  7495. const XPS_SIZE *radiiSizes);
  7496. HRESULT (STDMETHODCALLTYPE *GetGradientOrigin)(
  7497. IXpsOMRadialGradientBrush *This,
  7498. XPS_POINT *origin);
  7499. HRESULT (STDMETHODCALLTYPE *SetGradientOrigin)(
  7500. IXpsOMRadialGradientBrush *This,
  7501. const XPS_POINT *origin);
  7502. HRESULT (STDMETHODCALLTYPE *Clone)(
  7503. IXpsOMRadialGradientBrush *This,
  7504. IXpsOMRadialGradientBrush **radialGradientBrush);
  7505. END_INTERFACE
  7506. } IXpsOMRadialGradientBrushVtbl;
  7507. interface IXpsOMRadialGradientBrush {
  7508. CONST_VTBL IXpsOMRadialGradientBrushVtbl* lpVtbl;
  7509. };
  7510. #ifdef COBJMACROS
  7511. #ifndef WIDL_C_INLINE_WRAPPERS
  7512. /*** IUnknown methods ***/
  7513. #define IXpsOMRadialGradientBrush_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  7514. #define IXpsOMRadialGradientBrush_AddRef(This) (This)->lpVtbl->AddRef(This)
  7515. #define IXpsOMRadialGradientBrush_Release(This) (This)->lpVtbl->Release(This)
  7516. /*** IXpsOMShareable methods ***/
  7517. #define IXpsOMRadialGradientBrush_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  7518. #define IXpsOMRadialGradientBrush_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  7519. /*** IXpsOMBrush methods ***/
  7520. #define IXpsOMRadialGradientBrush_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
  7521. #define IXpsOMRadialGradientBrush_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
  7522. /*** IXpsOMGradientBrush methods ***/
  7523. #define IXpsOMRadialGradientBrush_GetGradientStops(This,gradientStops) (This)->lpVtbl->GetGradientStops(This,gradientStops)
  7524. #define IXpsOMRadialGradientBrush_GetTransform(This,transform) (This)->lpVtbl->GetTransform(This,transform)
  7525. #define IXpsOMRadialGradientBrush_GetTransformLocal(This,transform) (This)->lpVtbl->GetTransformLocal(This,transform)
  7526. #define IXpsOMRadialGradientBrush_SetTransformLocal(This,transform) (This)->lpVtbl->SetTransformLocal(This,transform)
  7527. #define IXpsOMRadialGradientBrush_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
  7528. #define IXpsOMRadialGradientBrush_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
  7529. #define IXpsOMRadialGradientBrush_GetSpreadMethod(This,spreadMethod) (This)->lpVtbl->GetSpreadMethod(This,spreadMethod)
  7530. #define IXpsOMRadialGradientBrush_SetSpreadMethod(This,spreadMethod) (This)->lpVtbl->SetSpreadMethod(This,spreadMethod)
  7531. #define IXpsOMRadialGradientBrush_GetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode)
  7532. #define IXpsOMRadialGradientBrush_SetColorInterpolationMode(This,colorInterpolationMode) (This)->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode)
  7533. /*** IXpsOMRadialGradientBrush methods ***/
  7534. #define IXpsOMRadialGradientBrush_GetCenter(This,center) (This)->lpVtbl->GetCenter(This,center)
  7535. #define IXpsOMRadialGradientBrush_SetCenter(This,center) (This)->lpVtbl->SetCenter(This,center)
  7536. #define IXpsOMRadialGradientBrush_GetRadiiSizes(This,radiiSizes) (This)->lpVtbl->GetRadiiSizes(This,radiiSizes)
  7537. #define IXpsOMRadialGradientBrush_SetRadiiSizes(This,radiiSizes) (This)->lpVtbl->SetRadiiSizes(This,radiiSizes)
  7538. #define IXpsOMRadialGradientBrush_GetGradientOrigin(This,origin) (This)->lpVtbl->GetGradientOrigin(This,origin)
  7539. #define IXpsOMRadialGradientBrush_SetGradientOrigin(This,origin) (This)->lpVtbl->SetGradientOrigin(This,origin)
  7540. #define IXpsOMRadialGradientBrush_Clone(This,radialGradientBrush) (This)->lpVtbl->Clone(This,radialGradientBrush)
  7541. #else
  7542. /*** IUnknown methods ***/
  7543. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_QueryInterface(IXpsOMRadialGradientBrush* This,REFIID riid,void **ppvObject) {
  7544. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  7545. }
  7546. static FORCEINLINE ULONG IXpsOMRadialGradientBrush_AddRef(IXpsOMRadialGradientBrush* This) {
  7547. return This->lpVtbl->AddRef(This);
  7548. }
  7549. static FORCEINLINE ULONG IXpsOMRadialGradientBrush_Release(IXpsOMRadialGradientBrush* This) {
  7550. return This->lpVtbl->Release(This);
  7551. }
  7552. /*** IXpsOMShareable methods ***/
  7553. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetOwner(IXpsOMRadialGradientBrush* This,IUnknown **owner) {
  7554. return This->lpVtbl->GetOwner(This,owner);
  7555. }
  7556. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetType(IXpsOMRadialGradientBrush* This,XPS_OBJECT_TYPE *type) {
  7557. return This->lpVtbl->GetType(This,type);
  7558. }
  7559. /*** IXpsOMBrush methods ***/
  7560. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetOpacity(IXpsOMRadialGradientBrush* This,FLOAT *opacity) {
  7561. return This->lpVtbl->GetOpacity(This,opacity);
  7562. }
  7563. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetOpacity(IXpsOMRadialGradientBrush* This,FLOAT opacity) {
  7564. return This->lpVtbl->SetOpacity(This,opacity);
  7565. }
  7566. /*** IXpsOMGradientBrush methods ***/
  7567. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetGradientStops(IXpsOMRadialGradientBrush* This,IXpsOMGradientStopCollection **gradientStops) {
  7568. return This->lpVtbl->GetGradientStops(This,gradientStops);
  7569. }
  7570. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetTransform(IXpsOMRadialGradientBrush* This,IXpsOMMatrixTransform **transform) {
  7571. return This->lpVtbl->GetTransform(This,transform);
  7572. }
  7573. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetTransformLocal(IXpsOMRadialGradientBrush* This,IXpsOMMatrixTransform **transform) {
  7574. return This->lpVtbl->GetTransformLocal(This,transform);
  7575. }
  7576. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetTransformLocal(IXpsOMRadialGradientBrush* This,IXpsOMMatrixTransform *transform) {
  7577. return This->lpVtbl->SetTransformLocal(This,transform);
  7578. }
  7579. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetTransformLookup(IXpsOMRadialGradientBrush* This,LPWSTR *key) {
  7580. return This->lpVtbl->GetTransformLookup(This,key);
  7581. }
  7582. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetTransformLookup(IXpsOMRadialGradientBrush* This,LPCWSTR key) {
  7583. return This->lpVtbl->SetTransformLookup(This,key);
  7584. }
  7585. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetSpreadMethod(IXpsOMRadialGradientBrush* This,XPS_SPREAD_METHOD *spreadMethod) {
  7586. return This->lpVtbl->GetSpreadMethod(This,spreadMethod);
  7587. }
  7588. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetSpreadMethod(IXpsOMRadialGradientBrush* This,XPS_SPREAD_METHOD spreadMethod) {
  7589. return This->lpVtbl->SetSpreadMethod(This,spreadMethod);
  7590. }
  7591. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetColorInterpolationMode(IXpsOMRadialGradientBrush* This,XPS_COLOR_INTERPOLATION *colorInterpolationMode) {
  7592. return This->lpVtbl->GetColorInterpolationMode(This,colorInterpolationMode);
  7593. }
  7594. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetColorInterpolationMode(IXpsOMRadialGradientBrush* This,XPS_COLOR_INTERPOLATION colorInterpolationMode) {
  7595. return This->lpVtbl->SetColorInterpolationMode(This,colorInterpolationMode);
  7596. }
  7597. /*** IXpsOMRadialGradientBrush methods ***/
  7598. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetCenter(IXpsOMRadialGradientBrush* This,XPS_POINT *center) {
  7599. return This->lpVtbl->GetCenter(This,center);
  7600. }
  7601. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetCenter(IXpsOMRadialGradientBrush* This,const XPS_POINT *center) {
  7602. return This->lpVtbl->SetCenter(This,center);
  7603. }
  7604. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetRadiiSizes(IXpsOMRadialGradientBrush* This,XPS_SIZE *radiiSizes) {
  7605. return This->lpVtbl->GetRadiiSizes(This,radiiSizes);
  7606. }
  7607. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetRadiiSizes(IXpsOMRadialGradientBrush* This,const XPS_SIZE *radiiSizes) {
  7608. return This->lpVtbl->SetRadiiSizes(This,radiiSizes);
  7609. }
  7610. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_GetGradientOrigin(IXpsOMRadialGradientBrush* This,XPS_POINT *origin) {
  7611. return This->lpVtbl->GetGradientOrigin(This,origin);
  7612. }
  7613. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_SetGradientOrigin(IXpsOMRadialGradientBrush* This,const XPS_POINT *origin) {
  7614. return This->lpVtbl->SetGradientOrigin(This,origin);
  7615. }
  7616. static FORCEINLINE HRESULT IXpsOMRadialGradientBrush_Clone(IXpsOMRadialGradientBrush* This,IXpsOMRadialGradientBrush **radialGradientBrush) {
  7617. return This->lpVtbl->Clone(This,radialGradientBrush);
  7618. }
  7619. #endif
  7620. #endif
  7621. #endif
  7622. #endif /* __IXpsOMRadialGradientBrush_INTERFACE_DEFINED__ */
  7623. /*****************************************************************************
  7624. * IXpsOMResource interface
  7625. */
  7626. #ifndef __IXpsOMResource_INTERFACE_DEFINED__
  7627. #define __IXpsOMResource_INTERFACE_DEFINED__
  7628. DEFINE_GUID(IID_IXpsOMResource, 0xda2ac0a2, 0x73a2, 0x4975, 0xad,0x14, 0x74,0x09,0x7c,0x3f,0xf3,0xa5);
  7629. #if defined(__cplusplus) && !defined(CINTERFACE)
  7630. MIDL_INTERFACE("da2ac0a2-73a2-4975-ad14-74097c3ff3a5")
  7631. IXpsOMResource : public IXpsOMPart
  7632. {
  7633. };
  7634. #ifdef __CRT_UUID_DECL
  7635. __CRT_UUID_DECL(IXpsOMResource, 0xda2ac0a2, 0x73a2, 0x4975, 0xad,0x14, 0x74,0x09,0x7c,0x3f,0xf3,0xa5)
  7636. #endif
  7637. #else
  7638. typedef struct IXpsOMResourceVtbl {
  7639. BEGIN_INTERFACE
  7640. /*** IUnknown methods ***/
  7641. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  7642. IXpsOMResource *This,
  7643. REFIID riid,
  7644. void **ppvObject);
  7645. ULONG (STDMETHODCALLTYPE *AddRef)(
  7646. IXpsOMResource *This);
  7647. ULONG (STDMETHODCALLTYPE *Release)(
  7648. IXpsOMResource *This);
  7649. /*** IXpsOMPart methods ***/
  7650. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  7651. IXpsOMResource *This,
  7652. IOpcPartUri **partUri);
  7653. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  7654. IXpsOMResource *This,
  7655. IOpcPartUri *partUri);
  7656. END_INTERFACE
  7657. } IXpsOMResourceVtbl;
  7658. interface IXpsOMResource {
  7659. CONST_VTBL IXpsOMResourceVtbl* lpVtbl;
  7660. };
  7661. #ifdef COBJMACROS
  7662. #ifndef WIDL_C_INLINE_WRAPPERS
  7663. /*** IUnknown methods ***/
  7664. #define IXpsOMResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  7665. #define IXpsOMResource_AddRef(This) (This)->lpVtbl->AddRef(This)
  7666. #define IXpsOMResource_Release(This) (This)->lpVtbl->Release(This)
  7667. /*** IXpsOMPart methods ***/
  7668. #define IXpsOMResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  7669. #define IXpsOMResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  7670. #else
  7671. /*** IUnknown methods ***/
  7672. static FORCEINLINE HRESULT IXpsOMResource_QueryInterface(IXpsOMResource* This,REFIID riid,void **ppvObject) {
  7673. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  7674. }
  7675. static FORCEINLINE ULONG IXpsOMResource_AddRef(IXpsOMResource* This) {
  7676. return This->lpVtbl->AddRef(This);
  7677. }
  7678. static FORCEINLINE ULONG IXpsOMResource_Release(IXpsOMResource* This) {
  7679. return This->lpVtbl->Release(This);
  7680. }
  7681. /*** IXpsOMPart methods ***/
  7682. static FORCEINLINE HRESULT IXpsOMResource_GetPartName(IXpsOMResource* This,IOpcPartUri **partUri) {
  7683. return This->lpVtbl->GetPartName(This,partUri);
  7684. }
  7685. static FORCEINLINE HRESULT IXpsOMResource_SetPartName(IXpsOMResource* This,IOpcPartUri *partUri) {
  7686. return This->lpVtbl->SetPartName(This,partUri);
  7687. }
  7688. #endif
  7689. #endif
  7690. #endif
  7691. #endif /* __IXpsOMResource_INTERFACE_DEFINED__ */
  7692. /*****************************************************************************
  7693. * IXpsOMFontResource interface
  7694. */
  7695. #ifndef __IXpsOMFontResource_INTERFACE_DEFINED__
  7696. #define __IXpsOMFontResource_INTERFACE_DEFINED__
  7697. DEFINE_GUID(IID_IXpsOMFontResource, 0xa8c45708, 0x47d9, 0x4af4, 0x8d,0x20, 0x33,0xb4,0x8c,0x9b,0x84,0x85);
  7698. #if defined(__cplusplus) && !defined(CINTERFACE)
  7699. MIDL_INTERFACE("a8c45708-47d9-4af4-8d20-33b48c9b8485")
  7700. IXpsOMFontResource : public IXpsOMResource
  7701. {
  7702. virtual HRESULT STDMETHODCALLTYPE GetStream(
  7703. IStream **readerStream) = 0;
  7704. virtual HRESULT STDMETHODCALLTYPE SetContent(
  7705. IStream *sourceStream,
  7706. XPS_FONT_EMBEDDING embeddingOption,
  7707. IOpcPartUri *partName) = 0;
  7708. virtual HRESULT STDMETHODCALLTYPE GetEmbeddingOption(
  7709. XPS_FONT_EMBEDDING *embeddingOption) = 0;
  7710. };
  7711. #ifdef __CRT_UUID_DECL
  7712. __CRT_UUID_DECL(IXpsOMFontResource, 0xa8c45708, 0x47d9, 0x4af4, 0x8d,0x20, 0x33,0xb4,0x8c,0x9b,0x84,0x85)
  7713. #endif
  7714. #else
  7715. typedef struct IXpsOMFontResourceVtbl {
  7716. BEGIN_INTERFACE
  7717. /*** IUnknown methods ***/
  7718. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  7719. IXpsOMFontResource *This,
  7720. REFIID riid,
  7721. void **ppvObject);
  7722. ULONG (STDMETHODCALLTYPE *AddRef)(
  7723. IXpsOMFontResource *This);
  7724. ULONG (STDMETHODCALLTYPE *Release)(
  7725. IXpsOMFontResource *This);
  7726. /*** IXpsOMPart methods ***/
  7727. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  7728. IXpsOMFontResource *This,
  7729. IOpcPartUri **partUri);
  7730. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  7731. IXpsOMFontResource *This,
  7732. IOpcPartUri *partUri);
  7733. /*** IXpsOMFontResource methods ***/
  7734. HRESULT (STDMETHODCALLTYPE *GetStream)(
  7735. IXpsOMFontResource *This,
  7736. IStream **readerStream);
  7737. HRESULT (STDMETHODCALLTYPE *SetContent)(
  7738. IXpsOMFontResource *This,
  7739. IStream *sourceStream,
  7740. XPS_FONT_EMBEDDING embeddingOption,
  7741. IOpcPartUri *partName);
  7742. HRESULT (STDMETHODCALLTYPE *GetEmbeddingOption)(
  7743. IXpsOMFontResource *This,
  7744. XPS_FONT_EMBEDDING *embeddingOption);
  7745. END_INTERFACE
  7746. } IXpsOMFontResourceVtbl;
  7747. interface IXpsOMFontResource {
  7748. CONST_VTBL IXpsOMFontResourceVtbl* lpVtbl;
  7749. };
  7750. #ifdef COBJMACROS
  7751. #ifndef WIDL_C_INLINE_WRAPPERS
  7752. /*** IUnknown methods ***/
  7753. #define IXpsOMFontResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  7754. #define IXpsOMFontResource_AddRef(This) (This)->lpVtbl->AddRef(This)
  7755. #define IXpsOMFontResource_Release(This) (This)->lpVtbl->Release(This)
  7756. /*** IXpsOMPart methods ***/
  7757. #define IXpsOMFontResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  7758. #define IXpsOMFontResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  7759. /*** IXpsOMFontResource methods ***/
  7760. #define IXpsOMFontResource_GetStream(This,readerStream) (This)->lpVtbl->GetStream(This,readerStream)
  7761. #define IXpsOMFontResource_SetContent(This,sourceStream,embeddingOption,partName) (This)->lpVtbl->SetContent(This,sourceStream,embeddingOption,partName)
  7762. #define IXpsOMFontResource_GetEmbeddingOption(This,embeddingOption) (This)->lpVtbl->GetEmbeddingOption(This,embeddingOption)
  7763. #else
  7764. /*** IUnknown methods ***/
  7765. static FORCEINLINE HRESULT IXpsOMFontResource_QueryInterface(IXpsOMFontResource* This,REFIID riid,void **ppvObject) {
  7766. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  7767. }
  7768. static FORCEINLINE ULONG IXpsOMFontResource_AddRef(IXpsOMFontResource* This) {
  7769. return This->lpVtbl->AddRef(This);
  7770. }
  7771. static FORCEINLINE ULONG IXpsOMFontResource_Release(IXpsOMFontResource* This) {
  7772. return This->lpVtbl->Release(This);
  7773. }
  7774. /*** IXpsOMPart methods ***/
  7775. static FORCEINLINE HRESULT IXpsOMFontResource_GetPartName(IXpsOMFontResource* This,IOpcPartUri **partUri) {
  7776. return This->lpVtbl->GetPartName(This,partUri);
  7777. }
  7778. static FORCEINLINE HRESULT IXpsOMFontResource_SetPartName(IXpsOMFontResource* This,IOpcPartUri *partUri) {
  7779. return This->lpVtbl->SetPartName(This,partUri);
  7780. }
  7781. /*** IXpsOMFontResource methods ***/
  7782. static FORCEINLINE HRESULT IXpsOMFontResource_GetStream(IXpsOMFontResource* This,IStream **readerStream) {
  7783. return This->lpVtbl->GetStream(This,readerStream);
  7784. }
  7785. static FORCEINLINE HRESULT IXpsOMFontResource_SetContent(IXpsOMFontResource* This,IStream *sourceStream,XPS_FONT_EMBEDDING embeddingOption,IOpcPartUri *partName) {
  7786. return This->lpVtbl->SetContent(This,sourceStream,embeddingOption,partName);
  7787. }
  7788. static FORCEINLINE HRESULT IXpsOMFontResource_GetEmbeddingOption(IXpsOMFontResource* This,XPS_FONT_EMBEDDING *embeddingOption) {
  7789. return This->lpVtbl->GetEmbeddingOption(This,embeddingOption);
  7790. }
  7791. #endif
  7792. #endif
  7793. #endif
  7794. #endif /* __IXpsOMFontResource_INTERFACE_DEFINED__ */
  7795. /*****************************************************************************
  7796. * IXpsOMImageResource interface
  7797. */
  7798. #ifndef __IXpsOMImageResource_INTERFACE_DEFINED__
  7799. #define __IXpsOMImageResource_INTERFACE_DEFINED__
  7800. DEFINE_GUID(IID_IXpsOMImageResource, 0x3db8417d, 0xae50, 0x485e, 0x9a,0x44, 0xd7,0x75,0x8f,0x78,0xa2,0x3f);
  7801. #if defined(__cplusplus) && !defined(CINTERFACE)
  7802. MIDL_INTERFACE("3db8417d-ae50-485e-9a44-d7758f78a23f")
  7803. IXpsOMImageResource : public IXpsOMResource
  7804. {
  7805. virtual HRESULT STDMETHODCALLTYPE GetStream(
  7806. IStream **readerStream) = 0;
  7807. virtual HRESULT STDMETHODCALLTYPE SetContent(
  7808. IStream *sourceStream,
  7809. XPS_IMAGE_TYPE imageType,
  7810. IOpcPartUri *partName) = 0;
  7811. virtual HRESULT STDMETHODCALLTYPE GetImageType(
  7812. XPS_IMAGE_TYPE *imageType) = 0;
  7813. };
  7814. #ifdef __CRT_UUID_DECL
  7815. __CRT_UUID_DECL(IXpsOMImageResource, 0x3db8417d, 0xae50, 0x485e, 0x9a,0x44, 0xd7,0x75,0x8f,0x78,0xa2,0x3f)
  7816. #endif
  7817. #else
  7818. typedef struct IXpsOMImageResourceVtbl {
  7819. BEGIN_INTERFACE
  7820. /*** IUnknown methods ***/
  7821. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  7822. IXpsOMImageResource *This,
  7823. REFIID riid,
  7824. void **ppvObject);
  7825. ULONG (STDMETHODCALLTYPE *AddRef)(
  7826. IXpsOMImageResource *This);
  7827. ULONG (STDMETHODCALLTYPE *Release)(
  7828. IXpsOMImageResource *This);
  7829. /*** IXpsOMPart methods ***/
  7830. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  7831. IXpsOMImageResource *This,
  7832. IOpcPartUri **partUri);
  7833. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  7834. IXpsOMImageResource *This,
  7835. IOpcPartUri *partUri);
  7836. /*** IXpsOMImageResource methods ***/
  7837. HRESULT (STDMETHODCALLTYPE *GetStream)(
  7838. IXpsOMImageResource *This,
  7839. IStream **readerStream);
  7840. HRESULT (STDMETHODCALLTYPE *SetContent)(
  7841. IXpsOMImageResource *This,
  7842. IStream *sourceStream,
  7843. XPS_IMAGE_TYPE imageType,
  7844. IOpcPartUri *partName);
  7845. HRESULT (STDMETHODCALLTYPE *GetImageType)(
  7846. IXpsOMImageResource *This,
  7847. XPS_IMAGE_TYPE *imageType);
  7848. END_INTERFACE
  7849. } IXpsOMImageResourceVtbl;
  7850. interface IXpsOMImageResource {
  7851. CONST_VTBL IXpsOMImageResourceVtbl* lpVtbl;
  7852. };
  7853. #ifdef COBJMACROS
  7854. #ifndef WIDL_C_INLINE_WRAPPERS
  7855. /*** IUnknown methods ***/
  7856. #define IXpsOMImageResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  7857. #define IXpsOMImageResource_AddRef(This) (This)->lpVtbl->AddRef(This)
  7858. #define IXpsOMImageResource_Release(This) (This)->lpVtbl->Release(This)
  7859. /*** IXpsOMPart methods ***/
  7860. #define IXpsOMImageResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  7861. #define IXpsOMImageResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  7862. /*** IXpsOMImageResource methods ***/
  7863. #define IXpsOMImageResource_GetStream(This,readerStream) (This)->lpVtbl->GetStream(This,readerStream)
  7864. #define IXpsOMImageResource_SetContent(This,sourceStream,imageType,partName) (This)->lpVtbl->SetContent(This,sourceStream,imageType,partName)
  7865. #define IXpsOMImageResource_GetImageType(This,imageType) (This)->lpVtbl->GetImageType(This,imageType)
  7866. #else
  7867. /*** IUnknown methods ***/
  7868. static FORCEINLINE HRESULT IXpsOMImageResource_QueryInterface(IXpsOMImageResource* This,REFIID riid,void **ppvObject) {
  7869. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  7870. }
  7871. static FORCEINLINE ULONG IXpsOMImageResource_AddRef(IXpsOMImageResource* This) {
  7872. return This->lpVtbl->AddRef(This);
  7873. }
  7874. static FORCEINLINE ULONG IXpsOMImageResource_Release(IXpsOMImageResource* This) {
  7875. return This->lpVtbl->Release(This);
  7876. }
  7877. /*** IXpsOMPart methods ***/
  7878. static FORCEINLINE HRESULT IXpsOMImageResource_GetPartName(IXpsOMImageResource* This,IOpcPartUri **partUri) {
  7879. return This->lpVtbl->GetPartName(This,partUri);
  7880. }
  7881. static FORCEINLINE HRESULT IXpsOMImageResource_SetPartName(IXpsOMImageResource* This,IOpcPartUri *partUri) {
  7882. return This->lpVtbl->SetPartName(This,partUri);
  7883. }
  7884. /*** IXpsOMImageResource methods ***/
  7885. static FORCEINLINE HRESULT IXpsOMImageResource_GetStream(IXpsOMImageResource* This,IStream **readerStream) {
  7886. return This->lpVtbl->GetStream(This,readerStream);
  7887. }
  7888. static FORCEINLINE HRESULT IXpsOMImageResource_SetContent(IXpsOMImageResource* This,IStream *sourceStream,XPS_IMAGE_TYPE imageType,IOpcPartUri *partName) {
  7889. return This->lpVtbl->SetContent(This,sourceStream,imageType,partName);
  7890. }
  7891. static FORCEINLINE HRESULT IXpsOMImageResource_GetImageType(IXpsOMImageResource* This,XPS_IMAGE_TYPE *imageType) {
  7892. return This->lpVtbl->GetImageType(This,imageType);
  7893. }
  7894. #endif
  7895. #endif
  7896. #endif
  7897. #endif /* __IXpsOMImageResource_INTERFACE_DEFINED__ */
  7898. /*****************************************************************************
  7899. * IXpsOMColorProfileResource interface
  7900. */
  7901. #ifndef __IXpsOMColorProfileResource_INTERFACE_DEFINED__
  7902. #define __IXpsOMColorProfileResource_INTERFACE_DEFINED__
  7903. DEFINE_GUID(IID_IXpsOMColorProfileResource, 0x67bd7d69, 0x1eef, 0x4bb1, 0xb5,0xe7, 0x6f,0x4f,0x87,0xbe,0x8a,0xbe);
  7904. #if defined(__cplusplus) && !defined(CINTERFACE)
  7905. MIDL_INTERFACE("67bd7d69-1eef-4bb1-b5e7-6f4f87be8abe")
  7906. IXpsOMColorProfileResource : public IXpsOMResource
  7907. {
  7908. virtual HRESULT STDMETHODCALLTYPE GetStream(
  7909. IStream **stream) = 0;
  7910. virtual HRESULT STDMETHODCALLTYPE SetContent(
  7911. IStream *sourceStream,
  7912. IOpcPartUri *partName) = 0;
  7913. };
  7914. #ifdef __CRT_UUID_DECL
  7915. __CRT_UUID_DECL(IXpsOMColorProfileResource, 0x67bd7d69, 0x1eef, 0x4bb1, 0xb5,0xe7, 0x6f,0x4f,0x87,0xbe,0x8a,0xbe)
  7916. #endif
  7917. #else
  7918. typedef struct IXpsOMColorProfileResourceVtbl {
  7919. BEGIN_INTERFACE
  7920. /*** IUnknown methods ***/
  7921. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  7922. IXpsOMColorProfileResource *This,
  7923. REFIID riid,
  7924. void **ppvObject);
  7925. ULONG (STDMETHODCALLTYPE *AddRef)(
  7926. IXpsOMColorProfileResource *This);
  7927. ULONG (STDMETHODCALLTYPE *Release)(
  7928. IXpsOMColorProfileResource *This);
  7929. /*** IXpsOMPart methods ***/
  7930. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  7931. IXpsOMColorProfileResource *This,
  7932. IOpcPartUri **partUri);
  7933. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  7934. IXpsOMColorProfileResource *This,
  7935. IOpcPartUri *partUri);
  7936. /*** IXpsOMColorProfileResource methods ***/
  7937. HRESULT (STDMETHODCALLTYPE *GetStream)(
  7938. IXpsOMColorProfileResource *This,
  7939. IStream **stream);
  7940. HRESULT (STDMETHODCALLTYPE *SetContent)(
  7941. IXpsOMColorProfileResource *This,
  7942. IStream *sourceStream,
  7943. IOpcPartUri *partName);
  7944. END_INTERFACE
  7945. } IXpsOMColorProfileResourceVtbl;
  7946. interface IXpsOMColorProfileResource {
  7947. CONST_VTBL IXpsOMColorProfileResourceVtbl* lpVtbl;
  7948. };
  7949. #ifdef COBJMACROS
  7950. #ifndef WIDL_C_INLINE_WRAPPERS
  7951. /*** IUnknown methods ***/
  7952. #define IXpsOMColorProfileResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  7953. #define IXpsOMColorProfileResource_AddRef(This) (This)->lpVtbl->AddRef(This)
  7954. #define IXpsOMColorProfileResource_Release(This) (This)->lpVtbl->Release(This)
  7955. /*** IXpsOMPart methods ***/
  7956. #define IXpsOMColorProfileResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  7957. #define IXpsOMColorProfileResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  7958. /*** IXpsOMColorProfileResource methods ***/
  7959. #define IXpsOMColorProfileResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
  7960. #define IXpsOMColorProfileResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
  7961. #else
  7962. /*** IUnknown methods ***/
  7963. static FORCEINLINE HRESULT IXpsOMColorProfileResource_QueryInterface(IXpsOMColorProfileResource* This,REFIID riid,void **ppvObject) {
  7964. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  7965. }
  7966. static FORCEINLINE ULONG IXpsOMColorProfileResource_AddRef(IXpsOMColorProfileResource* This) {
  7967. return This->lpVtbl->AddRef(This);
  7968. }
  7969. static FORCEINLINE ULONG IXpsOMColorProfileResource_Release(IXpsOMColorProfileResource* This) {
  7970. return This->lpVtbl->Release(This);
  7971. }
  7972. /*** IXpsOMPart methods ***/
  7973. static FORCEINLINE HRESULT IXpsOMColorProfileResource_GetPartName(IXpsOMColorProfileResource* This,IOpcPartUri **partUri) {
  7974. return This->lpVtbl->GetPartName(This,partUri);
  7975. }
  7976. static FORCEINLINE HRESULT IXpsOMColorProfileResource_SetPartName(IXpsOMColorProfileResource* This,IOpcPartUri *partUri) {
  7977. return This->lpVtbl->SetPartName(This,partUri);
  7978. }
  7979. /*** IXpsOMColorProfileResource methods ***/
  7980. static FORCEINLINE HRESULT IXpsOMColorProfileResource_GetStream(IXpsOMColorProfileResource* This,IStream **stream) {
  7981. return This->lpVtbl->GetStream(This,stream);
  7982. }
  7983. static FORCEINLINE HRESULT IXpsOMColorProfileResource_SetContent(IXpsOMColorProfileResource* This,IStream *sourceStream,IOpcPartUri *partName) {
  7984. return This->lpVtbl->SetContent(This,sourceStream,partName);
  7985. }
  7986. #endif
  7987. #endif
  7988. #endif
  7989. #endif /* __IXpsOMColorProfileResource_INTERFACE_DEFINED__ */
  7990. /*****************************************************************************
  7991. * IXpsOMPrintTicketResource interface
  7992. */
  7993. #ifndef __IXpsOMPrintTicketResource_INTERFACE_DEFINED__
  7994. #define __IXpsOMPrintTicketResource_INTERFACE_DEFINED__
  7995. DEFINE_GUID(IID_IXpsOMPrintTicketResource, 0xe7ff32d2, 0x34aa, 0x499b, 0xbb,0xe9, 0x9c,0xd4,0xee,0x6c,0x59,0xf7);
  7996. #if defined(__cplusplus) && !defined(CINTERFACE)
  7997. MIDL_INTERFACE("e7ff32d2-34aa-499b-bbe9-9cd4ee6c59f7")
  7998. IXpsOMPrintTicketResource : public IXpsOMResource
  7999. {
  8000. virtual HRESULT STDMETHODCALLTYPE GetStream(
  8001. IStream **stream) = 0;
  8002. virtual HRESULT STDMETHODCALLTYPE SetContent(
  8003. IStream *sourceStream,
  8004. IOpcPartUri *partName) = 0;
  8005. };
  8006. #ifdef __CRT_UUID_DECL
  8007. __CRT_UUID_DECL(IXpsOMPrintTicketResource, 0xe7ff32d2, 0x34aa, 0x499b, 0xbb,0xe9, 0x9c,0xd4,0xee,0x6c,0x59,0xf7)
  8008. #endif
  8009. #else
  8010. typedef struct IXpsOMPrintTicketResourceVtbl {
  8011. BEGIN_INTERFACE
  8012. /*** IUnknown methods ***/
  8013. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  8014. IXpsOMPrintTicketResource *This,
  8015. REFIID riid,
  8016. void **ppvObject);
  8017. ULONG (STDMETHODCALLTYPE *AddRef)(
  8018. IXpsOMPrintTicketResource *This);
  8019. ULONG (STDMETHODCALLTYPE *Release)(
  8020. IXpsOMPrintTicketResource *This);
  8021. /*** IXpsOMPart methods ***/
  8022. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  8023. IXpsOMPrintTicketResource *This,
  8024. IOpcPartUri **partUri);
  8025. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  8026. IXpsOMPrintTicketResource *This,
  8027. IOpcPartUri *partUri);
  8028. /*** IXpsOMPrintTicketResource methods ***/
  8029. HRESULT (STDMETHODCALLTYPE *GetStream)(
  8030. IXpsOMPrintTicketResource *This,
  8031. IStream **stream);
  8032. HRESULT (STDMETHODCALLTYPE *SetContent)(
  8033. IXpsOMPrintTicketResource *This,
  8034. IStream *sourceStream,
  8035. IOpcPartUri *partName);
  8036. END_INTERFACE
  8037. } IXpsOMPrintTicketResourceVtbl;
  8038. interface IXpsOMPrintTicketResource {
  8039. CONST_VTBL IXpsOMPrintTicketResourceVtbl* lpVtbl;
  8040. };
  8041. #ifdef COBJMACROS
  8042. #ifndef WIDL_C_INLINE_WRAPPERS
  8043. /*** IUnknown methods ***/
  8044. #define IXpsOMPrintTicketResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  8045. #define IXpsOMPrintTicketResource_AddRef(This) (This)->lpVtbl->AddRef(This)
  8046. #define IXpsOMPrintTicketResource_Release(This) (This)->lpVtbl->Release(This)
  8047. /*** IXpsOMPart methods ***/
  8048. #define IXpsOMPrintTicketResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  8049. #define IXpsOMPrintTicketResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  8050. /*** IXpsOMPrintTicketResource methods ***/
  8051. #define IXpsOMPrintTicketResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
  8052. #define IXpsOMPrintTicketResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
  8053. #else
  8054. /*** IUnknown methods ***/
  8055. static FORCEINLINE HRESULT IXpsOMPrintTicketResource_QueryInterface(IXpsOMPrintTicketResource* This,REFIID riid,void **ppvObject) {
  8056. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  8057. }
  8058. static FORCEINLINE ULONG IXpsOMPrintTicketResource_AddRef(IXpsOMPrintTicketResource* This) {
  8059. return This->lpVtbl->AddRef(This);
  8060. }
  8061. static FORCEINLINE ULONG IXpsOMPrintTicketResource_Release(IXpsOMPrintTicketResource* This) {
  8062. return This->lpVtbl->Release(This);
  8063. }
  8064. /*** IXpsOMPart methods ***/
  8065. static FORCEINLINE HRESULT IXpsOMPrintTicketResource_GetPartName(IXpsOMPrintTicketResource* This,IOpcPartUri **partUri) {
  8066. return This->lpVtbl->GetPartName(This,partUri);
  8067. }
  8068. static FORCEINLINE HRESULT IXpsOMPrintTicketResource_SetPartName(IXpsOMPrintTicketResource* This,IOpcPartUri *partUri) {
  8069. return This->lpVtbl->SetPartName(This,partUri);
  8070. }
  8071. /*** IXpsOMPrintTicketResource methods ***/
  8072. static FORCEINLINE HRESULT IXpsOMPrintTicketResource_GetStream(IXpsOMPrintTicketResource* This,IStream **stream) {
  8073. return This->lpVtbl->GetStream(This,stream);
  8074. }
  8075. static FORCEINLINE HRESULT IXpsOMPrintTicketResource_SetContent(IXpsOMPrintTicketResource* This,IStream *sourceStream,IOpcPartUri *partName) {
  8076. return This->lpVtbl->SetContent(This,sourceStream,partName);
  8077. }
  8078. #endif
  8079. #endif
  8080. #endif
  8081. #endif /* __IXpsOMPrintTicketResource_INTERFACE_DEFINED__ */
  8082. /*****************************************************************************
  8083. * IXpsOMRemoteDictionaryResource interface
  8084. */
  8085. #ifndef __IXpsOMRemoteDictionaryResource_INTERFACE_DEFINED__
  8086. #define __IXpsOMRemoteDictionaryResource_INTERFACE_DEFINED__
  8087. DEFINE_GUID(IID_IXpsOMRemoteDictionaryResource, 0xc9bd7cd4, 0xe16a, 0x4bf8, 0x8c,0x84, 0xc9,0x50,0xaf,0x7a,0x30,0x61);
  8088. #if defined(__cplusplus) && !defined(CINTERFACE)
  8089. MIDL_INTERFACE("c9bd7cd4-e16a-4bf8-8c84-c950af7a3061")
  8090. IXpsOMRemoteDictionaryResource : public IXpsOMResource
  8091. {
  8092. virtual HRESULT STDMETHODCALLTYPE GetDictionary(
  8093. IXpsOMDictionary **dictionary) = 0;
  8094. virtual HRESULT STDMETHODCALLTYPE SetDictionary(
  8095. IXpsOMDictionary *dictionary) = 0;
  8096. };
  8097. #ifdef __CRT_UUID_DECL
  8098. __CRT_UUID_DECL(IXpsOMRemoteDictionaryResource, 0xc9bd7cd4, 0xe16a, 0x4bf8, 0x8c,0x84, 0xc9,0x50,0xaf,0x7a,0x30,0x61)
  8099. #endif
  8100. #else
  8101. typedef struct IXpsOMRemoteDictionaryResourceVtbl {
  8102. BEGIN_INTERFACE
  8103. /*** IUnknown methods ***/
  8104. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  8105. IXpsOMRemoteDictionaryResource *This,
  8106. REFIID riid,
  8107. void **ppvObject);
  8108. ULONG (STDMETHODCALLTYPE *AddRef)(
  8109. IXpsOMRemoteDictionaryResource *This);
  8110. ULONG (STDMETHODCALLTYPE *Release)(
  8111. IXpsOMRemoteDictionaryResource *This);
  8112. /*** IXpsOMPart methods ***/
  8113. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  8114. IXpsOMRemoteDictionaryResource *This,
  8115. IOpcPartUri **partUri);
  8116. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  8117. IXpsOMRemoteDictionaryResource *This,
  8118. IOpcPartUri *partUri);
  8119. /*** IXpsOMRemoteDictionaryResource methods ***/
  8120. HRESULT (STDMETHODCALLTYPE *GetDictionary)(
  8121. IXpsOMRemoteDictionaryResource *This,
  8122. IXpsOMDictionary **dictionary);
  8123. HRESULT (STDMETHODCALLTYPE *SetDictionary)(
  8124. IXpsOMRemoteDictionaryResource *This,
  8125. IXpsOMDictionary *dictionary);
  8126. END_INTERFACE
  8127. } IXpsOMRemoteDictionaryResourceVtbl;
  8128. interface IXpsOMRemoteDictionaryResource {
  8129. CONST_VTBL IXpsOMRemoteDictionaryResourceVtbl* lpVtbl;
  8130. };
  8131. #ifdef COBJMACROS
  8132. #ifndef WIDL_C_INLINE_WRAPPERS
  8133. /*** IUnknown methods ***/
  8134. #define IXpsOMRemoteDictionaryResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  8135. #define IXpsOMRemoteDictionaryResource_AddRef(This) (This)->lpVtbl->AddRef(This)
  8136. #define IXpsOMRemoteDictionaryResource_Release(This) (This)->lpVtbl->Release(This)
  8137. /*** IXpsOMPart methods ***/
  8138. #define IXpsOMRemoteDictionaryResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  8139. #define IXpsOMRemoteDictionaryResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  8140. /*** IXpsOMRemoteDictionaryResource methods ***/
  8141. #define IXpsOMRemoteDictionaryResource_GetDictionary(This,dictionary) (This)->lpVtbl->GetDictionary(This,dictionary)
  8142. #define IXpsOMRemoteDictionaryResource_SetDictionary(This,dictionary) (This)->lpVtbl->SetDictionary(This,dictionary)
  8143. #else
  8144. /*** IUnknown methods ***/
  8145. static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource_QueryInterface(IXpsOMRemoteDictionaryResource* This,REFIID riid,void **ppvObject) {
  8146. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  8147. }
  8148. static FORCEINLINE ULONG IXpsOMRemoteDictionaryResource_AddRef(IXpsOMRemoteDictionaryResource* This) {
  8149. return This->lpVtbl->AddRef(This);
  8150. }
  8151. static FORCEINLINE ULONG IXpsOMRemoteDictionaryResource_Release(IXpsOMRemoteDictionaryResource* This) {
  8152. return This->lpVtbl->Release(This);
  8153. }
  8154. /*** IXpsOMPart methods ***/
  8155. static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource_GetPartName(IXpsOMRemoteDictionaryResource* This,IOpcPartUri **partUri) {
  8156. return This->lpVtbl->GetPartName(This,partUri);
  8157. }
  8158. static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource_SetPartName(IXpsOMRemoteDictionaryResource* This,IOpcPartUri *partUri) {
  8159. return This->lpVtbl->SetPartName(This,partUri);
  8160. }
  8161. /*** IXpsOMRemoteDictionaryResource methods ***/
  8162. static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource_GetDictionary(IXpsOMRemoteDictionaryResource* This,IXpsOMDictionary **dictionary) {
  8163. return This->lpVtbl->GetDictionary(This,dictionary);
  8164. }
  8165. static FORCEINLINE HRESULT IXpsOMRemoteDictionaryResource_SetDictionary(IXpsOMRemoteDictionaryResource* This,IXpsOMDictionary *dictionary) {
  8166. return This->lpVtbl->SetDictionary(This,dictionary);
  8167. }
  8168. #endif
  8169. #endif
  8170. #endif
  8171. #endif /* __IXpsOMRemoteDictionaryResource_INTERFACE_DEFINED__ */
  8172. /*****************************************************************************
  8173. * IXpsOMDocumentStructureResource interface
  8174. */
  8175. #ifndef __IXpsOMDocumentStructureResource_INTERFACE_DEFINED__
  8176. #define __IXpsOMDocumentStructureResource_INTERFACE_DEFINED__
  8177. DEFINE_GUID(IID_IXpsOMDocumentStructureResource, 0x85febc8a, 0x6b63, 0x48a9, 0xaf,0x07, 0x70,0x64,0xe4,0xec,0xff,0x30);
  8178. #if defined(__cplusplus) && !defined(CINTERFACE)
  8179. MIDL_INTERFACE("85febc8a-6b63-48a9-af07-7064e4ecff30")
  8180. IXpsOMDocumentStructureResource : public IXpsOMResource
  8181. {
  8182. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  8183. IXpsOMDocument **owner) = 0;
  8184. virtual HRESULT STDMETHODCALLTYPE GetStream(
  8185. IStream **stream) = 0;
  8186. virtual HRESULT STDMETHODCALLTYPE SetContent(
  8187. IStream *sourceStream,
  8188. IOpcPartUri *partName) = 0;
  8189. };
  8190. #ifdef __CRT_UUID_DECL
  8191. __CRT_UUID_DECL(IXpsOMDocumentStructureResource, 0x85febc8a, 0x6b63, 0x48a9, 0xaf,0x07, 0x70,0x64,0xe4,0xec,0xff,0x30)
  8192. #endif
  8193. #else
  8194. typedef struct IXpsOMDocumentStructureResourceVtbl {
  8195. BEGIN_INTERFACE
  8196. /*** IUnknown methods ***/
  8197. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  8198. IXpsOMDocumentStructureResource *This,
  8199. REFIID riid,
  8200. void **ppvObject);
  8201. ULONG (STDMETHODCALLTYPE *AddRef)(
  8202. IXpsOMDocumentStructureResource *This);
  8203. ULONG (STDMETHODCALLTYPE *Release)(
  8204. IXpsOMDocumentStructureResource *This);
  8205. /*** IXpsOMPart methods ***/
  8206. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  8207. IXpsOMDocumentStructureResource *This,
  8208. IOpcPartUri **partUri);
  8209. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  8210. IXpsOMDocumentStructureResource *This,
  8211. IOpcPartUri *partUri);
  8212. /*** IXpsOMDocumentStructureResource methods ***/
  8213. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  8214. IXpsOMDocumentStructureResource *This,
  8215. IXpsOMDocument **owner);
  8216. HRESULT (STDMETHODCALLTYPE *GetStream)(
  8217. IXpsOMDocumentStructureResource *This,
  8218. IStream **stream);
  8219. HRESULT (STDMETHODCALLTYPE *SetContent)(
  8220. IXpsOMDocumentStructureResource *This,
  8221. IStream *sourceStream,
  8222. IOpcPartUri *partName);
  8223. END_INTERFACE
  8224. } IXpsOMDocumentStructureResourceVtbl;
  8225. interface IXpsOMDocumentStructureResource {
  8226. CONST_VTBL IXpsOMDocumentStructureResourceVtbl* lpVtbl;
  8227. };
  8228. #ifdef COBJMACROS
  8229. #ifndef WIDL_C_INLINE_WRAPPERS
  8230. /*** IUnknown methods ***/
  8231. #define IXpsOMDocumentStructureResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  8232. #define IXpsOMDocumentStructureResource_AddRef(This) (This)->lpVtbl->AddRef(This)
  8233. #define IXpsOMDocumentStructureResource_Release(This) (This)->lpVtbl->Release(This)
  8234. /*** IXpsOMPart methods ***/
  8235. #define IXpsOMDocumentStructureResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  8236. #define IXpsOMDocumentStructureResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  8237. /*** IXpsOMDocumentStructureResource methods ***/
  8238. #define IXpsOMDocumentStructureResource_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  8239. #define IXpsOMDocumentStructureResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
  8240. #define IXpsOMDocumentStructureResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
  8241. #else
  8242. /*** IUnknown methods ***/
  8243. static FORCEINLINE HRESULT IXpsOMDocumentStructureResource_QueryInterface(IXpsOMDocumentStructureResource* This,REFIID riid,void **ppvObject) {
  8244. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  8245. }
  8246. static FORCEINLINE ULONG IXpsOMDocumentStructureResource_AddRef(IXpsOMDocumentStructureResource* This) {
  8247. return This->lpVtbl->AddRef(This);
  8248. }
  8249. static FORCEINLINE ULONG IXpsOMDocumentStructureResource_Release(IXpsOMDocumentStructureResource* This) {
  8250. return This->lpVtbl->Release(This);
  8251. }
  8252. /*** IXpsOMPart methods ***/
  8253. static FORCEINLINE HRESULT IXpsOMDocumentStructureResource_GetPartName(IXpsOMDocumentStructureResource* This,IOpcPartUri **partUri) {
  8254. return This->lpVtbl->GetPartName(This,partUri);
  8255. }
  8256. static FORCEINLINE HRESULT IXpsOMDocumentStructureResource_SetPartName(IXpsOMDocumentStructureResource* This,IOpcPartUri *partUri) {
  8257. return This->lpVtbl->SetPartName(This,partUri);
  8258. }
  8259. /*** IXpsOMDocumentStructureResource methods ***/
  8260. static FORCEINLINE HRESULT IXpsOMDocumentStructureResource_GetOwner(IXpsOMDocumentStructureResource* This,IXpsOMDocument **owner) {
  8261. return This->lpVtbl->GetOwner(This,owner);
  8262. }
  8263. static FORCEINLINE HRESULT IXpsOMDocumentStructureResource_GetStream(IXpsOMDocumentStructureResource* This,IStream **stream) {
  8264. return This->lpVtbl->GetStream(This,stream);
  8265. }
  8266. static FORCEINLINE HRESULT IXpsOMDocumentStructureResource_SetContent(IXpsOMDocumentStructureResource* This,IStream *sourceStream,IOpcPartUri *partName) {
  8267. return This->lpVtbl->SetContent(This,sourceStream,partName);
  8268. }
  8269. #endif
  8270. #endif
  8271. #endif
  8272. #endif /* __IXpsOMDocumentStructureResource_INTERFACE_DEFINED__ */
  8273. /*****************************************************************************
  8274. * IXpsOMStoryFragmentsResource interface
  8275. */
  8276. #ifndef __IXpsOMStoryFragmentsResource_INTERFACE_DEFINED__
  8277. #define __IXpsOMStoryFragmentsResource_INTERFACE_DEFINED__
  8278. DEFINE_GUID(IID_IXpsOMStoryFragmentsResource, 0xc2b3ca09, 0x0473, 0x4282, 0x87,0xae, 0x17,0x80,0x86,0x32,0x23,0xf0);
  8279. #if defined(__cplusplus) && !defined(CINTERFACE)
  8280. MIDL_INTERFACE("c2b3ca09-0473-4282-87ae-1780863223f0")
  8281. IXpsOMStoryFragmentsResource : public IXpsOMResource
  8282. {
  8283. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  8284. IXpsOMPageReference **owner) = 0;
  8285. virtual HRESULT STDMETHODCALLTYPE GetStream(
  8286. IStream **stream) = 0;
  8287. virtual HRESULT STDMETHODCALLTYPE SetContent(
  8288. IStream *sourceStream,
  8289. IOpcPartUri *partName) = 0;
  8290. };
  8291. #ifdef __CRT_UUID_DECL
  8292. __CRT_UUID_DECL(IXpsOMStoryFragmentsResource, 0xc2b3ca09, 0x0473, 0x4282, 0x87,0xae, 0x17,0x80,0x86,0x32,0x23,0xf0)
  8293. #endif
  8294. #else
  8295. typedef struct IXpsOMStoryFragmentsResourceVtbl {
  8296. BEGIN_INTERFACE
  8297. /*** IUnknown methods ***/
  8298. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  8299. IXpsOMStoryFragmentsResource *This,
  8300. REFIID riid,
  8301. void **ppvObject);
  8302. ULONG (STDMETHODCALLTYPE *AddRef)(
  8303. IXpsOMStoryFragmentsResource *This);
  8304. ULONG (STDMETHODCALLTYPE *Release)(
  8305. IXpsOMStoryFragmentsResource *This);
  8306. /*** IXpsOMPart methods ***/
  8307. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  8308. IXpsOMStoryFragmentsResource *This,
  8309. IOpcPartUri **partUri);
  8310. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  8311. IXpsOMStoryFragmentsResource *This,
  8312. IOpcPartUri *partUri);
  8313. /*** IXpsOMStoryFragmentsResource methods ***/
  8314. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  8315. IXpsOMStoryFragmentsResource *This,
  8316. IXpsOMPageReference **owner);
  8317. HRESULT (STDMETHODCALLTYPE *GetStream)(
  8318. IXpsOMStoryFragmentsResource *This,
  8319. IStream **stream);
  8320. HRESULT (STDMETHODCALLTYPE *SetContent)(
  8321. IXpsOMStoryFragmentsResource *This,
  8322. IStream *sourceStream,
  8323. IOpcPartUri *partName);
  8324. END_INTERFACE
  8325. } IXpsOMStoryFragmentsResourceVtbl;
  8326. interface IXpsOMStoryFragmentsResource {
  8327. CONST_VTBL IXpsOMStoryFragmentsResourceVtbl* lpVtbl;
  8328. };
  8329. #ifdef COBJMACROS
  8330. #ifndef WIDL_C_INLINE_WRAPPERS
  8331. /*** IUnknown methods ***/
  8332. #define IXpsOMStoryFragmentsResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  8333. #define IXpsOMStoryFragmentsResource_AddRef(This) (This)->lpVtbl->AddRef(This)
  8334. #define IXpsOMStoryFragmentsResource_Release(This) (This)->lpVtbl->Release(This)
  8335. /*** IXpsOMPart methods ***/
  8336. #define IXpsOMStoryFragmentsResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  8337. #define IXpsOMStoryFragmentsResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  8338. /*** IXpsOMStoryFragmentsResource methods ***/
  8339. #define IXpsOMStoryFragmentsResource_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  8340. #define IXpsOMStoryFragmentsResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
  8341. #define IXpsOMStoryFragmentsResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
  8342. #else
  8343. /*** IUnknown methods ***/
  8344. static FORCEINLINE HRESULT IXpsOMStoryFragmentsResource_QueryInterface(IXpsOMStoryFragmentsResource* This,REFIID riid,void **ppvObject) {
  8345. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  8346. }
  8347. static FORCEINLINE ULONG IXpsOMStoryFragmentsResource_AddRef(IXpsOMStoryFragmentsResource* This) {
  8348. return This->lpVtbl->AddRef(This);
  8349. }
  8350. static FORCEINLINE ULONG IXpsOMStoryFragmentsResource_Release(IXpsOMStoryFragmentsResource* This) {
  8351. return This->lpVtbl->Release(This);
  8352. }
  8353. /*** IXpsOMPart methods ***/
  8354. static FORCEINLINE HRESULT IXpsOMStoryFragmentsResource_GetPartName(IXpsOMStoryFragmentsResource* This,IOpcPartUri **partUri) {
  8355. return This->lpVtbl->GetPartName(This,partUri);
  8356. }
  8357. static FORCEINLINE HRESULT IXpsOMStoryFragmentsResource_SetPartName(IXpsOMStoryFragmentsResource* This,IOpcPartUri *partUri) {
  8358. return This->lpVtbl->SetPartName(This,partUri);
  8359. }
  8360. /*** IXpsOMStoryFragmentsResource methods ***/
  8361. static FORCEINLINE HRESULT IXpsOMStoryFragmentsResource_GetOwner(IXpsOMStoryFragmentsResource* This,IXpsOMPageReference **owner) {
  8362. return This->lpVtbl->GetOwner(This,owner);
  8363. }
  8364. static FORCEINLINE HRESULT IXpsOMStoryFragmentsResource_GetStream(IXpsOMStoryFragmentsResource* This,IStream **stream) {
  8365. return This->lpVtbl->GetStream(This,stream);
  8366. }
  8367. static FORCEINLINE HRESULT IXpsOMStoryFragmentsResource_SetContent(IXpsOMStoryFragmentsResource* This,IStream *sourceStream,IOpcPartUri *partName) {
  8368. return This->lpVtbl->SetContent(This,sourceStream,partName);
  8369. }
  8370. #endif
  8371. #endif
  8372. #endif
  8373. #endif /* __IXpsOMStoryFragmentsResource_INTERFACE_DEFINED__ */
  8374. /*****************************************************************************
  8375. * IXpsOMSignatureBlockResource interface
  8376. */
  8377. #ifndef __IXpsOMSignatureBlockResource_INTERFACE_DEFINED__
  8378. #define __IXpsOMSignatureBlockResource_INTERFACE_DEFINED__
  8379. DEFINE_GUID(IID_IXpsOMSignatureBlockResource, 0x4776ad35, 0x2e04, 0x4357, 0x87,0x43, 0xeb,0xf6,0xc1,0x71,0xa9,0x05);
  8380. #if defined(__cplusplus) && !defined(CINTERFACE)
  8381. MIDL_INTERFACE("4776ad35-2e04-4357-8743-ebf6c171a905")
  8382. IXpsOMSignatureBlockResource : public IXpsOMResource
  8383. {
  8384. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  8385. IXpsOMDocument **owner) = 0;
  8386. virtual HRESULT STDMETHODCALLTYPE GetStream(
  8387. IStream **stream) = 0;
  8388. virtual HRESULT STDMETHODCALLTYPE SetContent(
  8389. IStream *sourceStream,
  8390. IOpcPartUri *partName) = 0;
  8391. };
  8392. #ifdef __CRT_UUID_DECL
  8393. __CRT_UUID_DECL(IXpsOMSignatureBlockResource, 0x4776ad35, 0x2e04, 0x4357, 0x87,0x43, 0xeb,0xf6,0xc1,0x71,0xa9,0x05)
  8394. #endif
  8395. #else
  8396. typedef struct IXpsOMSignatureBlockResourceVtbl {
  8397. BEGIN_INTERFACE
  8398. /*** IUnknown methods ***/
  8399. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  8400. IXpsOMSignatureBlockResource *This,
  8401. REFIID riid,
  8402. void **ppvObject);
  8403. ULONG (STDMETHODCALLTYPE *AddRef)(
  8404. IXpsOMSignatureBlockResource *This);
  8405. ULONG (STDMETHODCALLTYPE *Release)(
  8406. IXpsOMSignatureBlockResource *This);
  8407. /*** IXpsOMPart methods ***/
  8408. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  8409. IXpsOMSignatureBlockResource *This,
  8410. IOpcPartUri **partUri);
  8411. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  8412. IXpsOMSignatureBlockResource *This,
  8413. IOpcPartUri *partUri);
  8414. /*** IXpsOMSignatureBlockResource methods ***/
  8415. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  8416. IXpsOMSignatureBlockResource *This,
  8417. IXpsOMDocument **owner);
  8418. HRESULT (STDMETHODCALLTYPE *GetStream)(
  8419. IXpsOMSignatureBlockResource *This,
  8420. IStream **stream);
  8421. HRESULT (STDMETHODCALLTYPE *SetContent)(
  8422. IXpsOMSignatureBlockResource *This,
  8423. IStream *sourceStream,
  8424. IOpcPartUri *partName);
  8425. END_INTERFACE
  8426. } IXpsOMSignatureBlockResourceVtbl;
  8427. interface IXpsOMSignatureBlockResource {
  8428. CONST_VTBL IXpsOMSignatureBlockResourceVtbl* lpVtbl;
  8429. };
  8430. #ifdef COBJMACROS
  8431. #ifndef WIDL_C_INLINE_WRAPPERS
  8432. /*** IUnknown methods ***/
  8433. #define IXpsOMSignatureBlockResource_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  8434. #define IXpsOMSignatureBlockResource_AddRef(This) (This)->lpVtbl->AddRef(This)
  8435. #define IXpsOMSignatureBlockResource_Release(This) (This)->lpVtbl->Release(This)
  8436. /*** IXpsOMPart methods ***/
  8437. #define IXpsOMSignatureBlockResource_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  8438. #define IXpsOMSignatureBlockResource_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  8439. /*** IXpsOMSignatureBlockResource methods ***/
  8440. #define IXpsOMSignatureBlockResource_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  8441. #define IXpsOMSignatureBlockResource_GetStream(This,stream) (This)->lpVtbl->GetStream(This,stream)
  8442. #define IXpsOMSignatureBlockResource_SetContent(This,sourceStream,partName) (This)->lpVtbl->SetContent(This,sourceStream,partName)
  8443. #else
  8444. /*** IUnknown methods ***/
  8445. static FORCEINLINE HRESULT IXpsOMSignatureBlockResource_QueryInterface(IXpsOMSignatureBlockResource* This,REFIID riid,void **ppvObject) {
  8446. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  8447. }
  8448. static FORCEINLINE ULONG IXpsOMSignatureBlockResource_AddRef(IXpsOMSignatureBlockResource* This) {
  8449. return This->lpVtbl->AddRef(This);
  8450. }
  8451. static FORCEINLINE ULONG IXpsOMSignatureBlockResource_Release(IXpsOMSignatureBlockResource* This) {
  8452. return This->lpVtbl->Release(This);
  8453. }
  8454. /*** IXpsOMPart methods ***/
  8455. static FORCEINLINE HRESULT IXpsOMSignatureBlockResource_GetPartName(IXpsOMSignatureBlockResource* This,IOpcPartUri **partUri) {
  8456. return This->lpVtbl->GetPartName(This,partUri);
  8457. }
  8458. static FORCEINLINE HRESULT IXpsOMSignatureBlockResource_SetPartName(IXpsOMSignatureBlockResource* This,IOpcPartUri *partUri) {
  8459. return This->lpVtbl->SetPartName(This,partUri);
  8460. }
  8461. /*** IXpsOMSignatureBlockResource methods ***/
  8462. static FORCEINLINE HRESULT IXpsOMSignatureBlockResource_GetOwner(IXpsOMSignatureBlockResource* This,IXpsOMDocument **owner) {
  8463. return This->lpVtbl->GetOwner(This,owner);
  8464. }
  8465. static FORCEINLINE HRESULT IXpsOMSignatureBlockResource_GetStream(IXpsOMSignatureBlockResource* This,IStream **stream) {
  8466. return This->lpVtbl->GetStream(This,stream);
  8467. }
  8468. static FORCEINLINE HRESULT IXpsOMSignatureBlockResource_SetContent(IXpsOMSignatureBlockResource* This,IStream *sourceStream,IOpcPartUri *partName) {
  8469. return This->lpVtbl->SetContent(This,sourceStream,partName);
  8470. }
  8471. #endif
  8472. #endif
  8473. #endif
  8474. #endif /* __IXpsOMSignatureBlockResource_INTERFACE_DEFINED__ */
  8475. /*****************************************************************************
  8476. * IXpsOMCanvas interface
  8477. */
  8478. #ifndef __IXpsOMCanvas_INTERFACE_DEFINED__
  8479. #define __IXpsOMCanvas_INTERFACE_DEFINED__
  8480. DEFINE_GUID(IID_IXpsOMCanvas, 0x221d1452, 0x331e, 0x47c6, 0x87,0xe9, 0x6c,0xce,0xfb,0x9b,0x5b,0xa3);
  8481. #if defined(__cplusplus) && !defined(CINTERFACE)
  8482. MIDL_INTERFACE("221d1452-331e-47c6-87e9-6ccefb9b5ba3")
  8483. IXpsOMCanvas : public IXpsOMVisual
  8484. {
  8485. virtual HRESULT STDMETHODCALLTYPE GetVisuals(
  8486. IXpsOMVisualCollection **visuals) = 0;
  8487. virtual HRESULT STDMETHODCALLTYPE GetUseAliasedEdgeMode(
  8488. WINBOOL *useAliasedEdgeMode) = 0;
  8489. virtual HRESULT STDMETHODCALLTYPE SetUseAliasedEdgeMode(
  8490. WINBOOL useAliasedEdgeMode) = 0;
  8491. virtual HRESULT STDMETHODCALLTYPE GetAccessibilityShortDescription(
  8492. LPWSTR *shortDescription) = 0;
  8493. virtual HRESULT STDMETHODCALLTYPE SetAccessibilityShortDescription(
  8494. LPCWSTR shortDescription) = 0;
  8495. virtual HRESULT STDMETHODCALLTYPE GetAccessibilityLongDescription(
  8496. LPWSTR *longDescription) = 0;
  8497. virtual HRESULT STDMETHODCALLTYPE SetAccessibilityLongDescription(
  8498. LPCWSTR longDescription) = 0;
  8499. virtual HRESULT STDMETHODCALLTYPE GetDictionary(
  8500. IXpsOMDictionary **resourceDictionary) = 0;
  8501. virtual HRESULT STDMETHODCALLTYPE GetDictionaryLocal(
  8502. IXpsOMDictionary **resourceDictionary) = 0;
  8503. virtual HRESULT STDMETHODCALLTYPE SetDictionaryLocal(
  8504. IXpsOMDictionary *resourceDictionary) = 0;
  8505. virtual HRESULT STDMETHODCALLTYPE GetDictionaryResource(
  8506. IXpsOMRemoteDictionaryResource **remoteDictionaryResource) = 0;
  8507. virtual HRESULT STDMETHODCALLTYPE SetDictionaryResource(
  8508. IXpsOMRemoteDictionaryResource *remoteDictionaryResource) = 0;
  8509. virtual HRESULT STDMETHODCALLTYPE Clone(
  8510. IXpsOMCanvas **canvas) = 0;
  8511. };
  8512. #ifdef __CRT_UUID_DECL
  8513. __CRT_UUID_DECL(IXpsOMCanvas, 0x221d1452, 0x331e, 0x47c6, 0x87,0xe9, 0x6c,0xce,0xfb,0x9b,0x5b,0xa3)
  8514. #endif
  8515. #else
  8516. typedef struct IXpsOMCanvasVtbl {
  8517. BEGIN_INTERFACE
  8518. /*** IUnknown methods ***/
  8519. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  8520. IXpsOMCanvas *This,
  8521. REFIID riid,
  8522. void **ppvObject);
  8523. ULONG (STDMETHODCALLTYPE *AddRef)(
  8524. IXpsOMCanvas *This);
  8525. ULONG (STDMETHODCALLTYPE *Release)(
  8526. IXpsOMCanvas *This);
  8527. /*** IXpsOMShareable methods ***/
  8528. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  8529. IXpsOMCanvas *This,
  8530. IUnknown **owner);
  8531. HRESULT (STDMETHODCALLTYPE *GetType)(
  8532. IXpsOMCanvas *This,
  8533. XPS_OBJECT_TYPE *type);
  8534. /*** IXpsOMVisual methods ***/
  8535. HRESULT (STDMETHODCALLTYPE *GetTransform)(
  8536. IXpsOMCanvas *This,
  8537. IXpsOMMatrixTransform **matrixTransform);
  8538. HRESULT (STDMETHODCALLTYPE *GetTransformLocal)(
  8539. IXpsOMCanvas *This,
  8540. IXpsOMMatrixTransform **matrixTransform);
  8541. HRESULT (STDMETHODCALLTYPE *SetTransformLocal)(
  8542. IXpsOMCanvas *This,
  8543. IXpsOMMatrixTransform *matrixTransform);
  8544. HRESULT (STDMETHODCALLTYPE *GetTransformLookup)(
  8545. IXpsOMCanvas *This,
  8546. LPWSTR *key);
  8547. HRESULT (STDMETHODCALLTYPE *SetTransformLookup)(
  8548. IXpsOMCanvas *This,
  8549. LPCWSTR key);
  8550. HRESULT (STDMETHODCALLTYPE *GetClipGeometry)(
  8551. IXpsOMCanvas *This,
  8552. IXpsOMGeometry **clipGeometry);
  8553. HRESULT (STDMETHODCALLTYPE *GetClipGeometryLocal)(
  8554. IXpsOMCanvas *This,
  8555. IXpsOMGeometry **clipGeometry);
  8556. HRESULT (STDMETHODCALLTYPE *SetClipGeometryLocal)(
  8557. IXpsOMCanvas *This,
  8558. IXpsOMGeometry *clipGeometry);
  8559. HRESULT (STDMETHODCALLTYPE *GetClipGeometryLookup)(
  8560. IXpsOMCanvas *This,
  8561. LPWSTR *key);
  8562. HRESULT (STDMETHODCALLTYPE *SetClipGeometryLookup)(
  8563. IXpsOMCanvas *This,
  8564. LPCWSTR key);
  8565. HRESULT (STDMETHODCALLTYPE *GetOpacity)(
  8566. IXpsOMCanvas *This,
  8567. FLOAT *opacity);
  8568. HRESULT (STDMETHODCALLTYPE *SetOpacity)(
  8569. IXpsOMCanvas *This,
  8570. FLOAT opacity);
  8571. HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrush)(
  8572. IXpsOMCanvas *This,
  8573. IXpsOMBrush **opacityMaskBrush);
  8574. HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLocal)(
  8575. IXpsOMCanvas *This,
  8576. IXpsOMBrush **opacityMaskBrush);
  8577. HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLocal)(
  8578. IXpsOMCanvas *This,
  8579. IXpsOMBrush *opacityMaskBrush);
  8580. HRESULT (STDMETHODCALLTYPE *GetOpacityMaskBrushLookup)(
  8581. IXpsOMCanvas *This,
  8582. LPWSTR *key);
  8583. HRESULT (STDMETHODCALLTYPE *SetOpacityMaskBrushLookup)(
  8584. IXpsOMCanvas *This,
  8585. LPCWSTR key);
  8586. HRESULT (STDMETHODCALLTYPE *GetName)(
  8587. IXpsOMCanvas *This,
  8588. LPWSTR *name);
  8589. HRESULT (STDMETHODCALLTYPE *SetName)(
  8590. IXpsOMCanvas *This,
  8591. LPCWSTR name);
  8592. HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
  8593. IXpsOMCanvas *This,
  8594. WINBOOL *isHyperlink);
  8595. HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
  8596. IXpsOMCanvas *This,
  8597. WINBOOL isHyperlink);
  8598. HRESULT (STDMETHODCALLTYPE *GetHyperlinkNavigateUri)(
  8599. IXpsOMCanvas *This,
  8600. IUri **hyperlinkUri);
  8601. HRESULT (STDMETHODCALLTYPE *SetHyperlinkNavigateUri)(
  8602. IXpsOMCanvas *This,
  8603. IUri *hyperlinkUri);
  8604. HRESULT (STDMETHODCALLTYPE *GetLanguage)(
  8605. IXpsOMCanvas *This,
  8606. LPWSTR *language);
  8607. HRESULT (STDMETHODCALLTYPE *SetLanguage)(
  8608. IXpsOMCanvas *This,
  8609. LPCWSTR language);
  8610. /*** IXpsOMCanvas methods ***/
  8611. HRESULT (STDMETHODCALLTYPE *GetVisuals)(
  8612. IXpsOMCanvas *This,
  8613. IXpsOMVisualCollection **visuals);
  8614. HRESULT (STDMETHODCALLTYPE *GetUseAliasedEdgeMode)(
  8615. IXpsOMCanvas *This,
  8616. WINBOOL *useAliasedEdgeMode);
  8617. HRESULT (STDMETHODCALLTYPE *SetUseAliasedEdgeMode)(
  8618. IXpsOMCanvas *This,
  8619. WINBOOL useAliasedEdgeMode);
  8620. HRESULT (STDMETHODCALLTYPE *GetAccessibilityShortDescription)(
  8621. IXpsOMCanvas *This,
  8622. LPWSTR *shortDescription);
  8623. HRESULT (STDMETHODCALLTYPE *SetAccessibilityShortDescription)(
  8624. IXpsOMCanvas *This,
  8625. LPCWSTR shortDescription);
  8626. HRESULT (STDMETHODCALLTYPE *GetAccessibilityLongDescription)(
  8627. IXpsOMCanvas *This,
  8628. LPWSTR *longDescription);
  8629. HRESULT (STDMETHODCALLTYPE *SetAccessibilityLongDescription)(
  8630. IXpsOMCanvas *This,
  8631. LPCWSTR longDescription);
  8632. HRESULT (STDMETHODCALLTYPE *GetDictionary)(
  8633. IXpsOMCanvas *This,
  8634. IXpsOMDictionary **resourceDictionary);
  8635. HRESULT (STDMETHODCALLTYPE *GetDictionaryLocal)(
  8636. IXpsOMCanvas *This,
  8637. IXpsOMDictionary **resourceDictionary);
  8638. HRESULT (STDMETHODCALLTYPE *SetDictionaryLocal)(
  8639. IXpsOMCanvas *This,
  8640. IXpsOMDictionary *resourceDictionary);
  8641. HRESULT (STDMETHODCALLTYPE *GetDictionaryResource)(
  8642. IXpsOMCanvas *This,
  8643. IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
  8644. HRESULT (STDMETHODCALLTYPE *SetDictionaryResource)(
  8645. IXpsOMCanvas *This,
  8646. IXpsOMRemoteDictionaryResource *remoteDictionaryResource);
  8647. HRESULT (STDMETHODCALLTYPE *Clone)(
  8648. IXpsOMCanvas *This,
  8649. IXpsOMCanvas **canvas);
  8650. END_INTERFACE
  8651. } IXpsOMCanvasVtbl;
  8652. interface IXpsOMCanvas {
  8653. CONST_VTBL IXpsOMCanvasVtbl* lpVtbl;
  8654. };
  8655. #ifdef COBJMACROS
  8656. #ifndef WIDL_C_INLINE_WRAPPERS
  8657. /*** IUnknown methods ***/
  8658. #define IXpsOMCanvas_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  8659. #define IXpsOMCanvas_AddRef(This) (This)->lpVtbl->AddRef(This)
  8660. #define IXpsOMCanvas_Release(This) (This)->lpVtbl->Release(This)
  8661. /*** IXpsOMShareable methods ***/
  8662. #define IXpsOMCanvas_GetOwner(This,owner) (This)->lpVtbl->GetOwner(This,owner)
  8663. #define IXpsOMCanvas_GetType(This,type) (This)->lpVtbl->GetType(This,type)
  8664. /*** IXpsOMVisual methods ***/
  8665. #define IXpsOMCanvas_GetTransform(This,matrixTransform) (This)->lpVtbl->GetTransform(This,matrixTransform)
  8666. #define IXpsOMCanvas_GetTransformLocal(This,matrixTransform) (This)->lpVtbl->GetTransformLocal(This,matrixTransform)
  8667. #define IXpsOMCanvas_SetTransformLocal(This,matrixTransform) (This)->lpVtbl->SetTransformLocal(This,matrixTransform)
  8668. #define IXpsOMCanvas_GetTransformLookup(This,key) (This)->lpVtbl->GetTransformLookup(This,key)
  8669. #define IXpsOMCanvas_SetTransformLookup(This,key) (This)->lpVtbl->SetTransformLookup(This,key)
  8670. #define IXpsOMCanvas_GetClipGeometry(This,clipGeometry) (This)->lpVtbl->GetClipGeometry(This,clipGeometry)
  8671. #define IXpsOMCanvas_GetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->GetClipGeometryLocal(This,clipGeometry)
  8672. #define IXpsOMCanvas_SetClipGeometryLocal(This,clipGeometry) (This)->lpVtbl->SetClipGeometryLocal(This,clipGeometry)
  8673. #define IXpsOMCanvas_GetClipGeometryLookup(This,key) (This)->lpVtbl->GetClipGeometryLookup(This,key)
  8674. #define IXpsOMCanvas_SetClipGeometryLookup(This,key) (This)->lpVtbl->SetClipGeometryLookup(This,key)
  8675. #define IXpsOMCanvas_GetOpacity(This,opacity) (This)->lpVtbl->GetOpacity(This,opacity)
  8676. #define IXpsOMCanvas_SetOpacity(This,opacity) (This)->lpVtbl->SetOpacity(This,opacity)
  8677. #define IXpsOMCanvas_GetOpacityMaskBrush(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush)
  8678. #define IXpsOMCanvas_GetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush)
  8679. #define IXpsOMCanvas_SetOpacityMaskBrushLocal(This,opacityMaskBrush) (This)->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush)
  8680. #define IXpsOMCanvas_GetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->GetOpacityMaskBrushLookup(This,key)
  8681. #define IXpsOMCanvas_SetOpacityMaskBrushLookup(This,key) (This)->lpVtbl->SetOpacityMaskBrushLookup(This,key)
  8682. #define IXpsOMCanvas_GetName(This,name) (This)->lpVtbl->GetName(This,name)
  8683. #define IXpsOMCanvas_SetName(This,name) (This)->lpVtbl->SetName(This,name)
  8684. #define IXpsOMCanvas_GetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink)
  8685. #define IXpsOMCanvas_SetIsHyperlinkTarget(This,isHyperlink) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink)
  8686. #define IXpsOMCanvas_GetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri)
  8687. #define IXpsOMCanvas_SetHyperlinkNavigateUri(This,hyperlinkUri) (This)->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri)
  8688. #define IXpsOMCanvas_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
  8689. #define IXpsOMCanvas_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
  8690. /*** IXpsOMCanvas methods ***/
  8691. #define IXpsOMCanvas_GetVisuals(This,visuals) (This)->lpVtbl->GetVisuals(This,visuals)
  8692. #define IXpsOMCanvas_GetUseAliasedEdgeMode(This,useAliasedEdgeMode) (This)->lpVtbl->GetUseAliasedEdgeMode(This,useAliasedEdgeMode)
  8693. #define IXpsOMCanvas_SetUseAliasedEdgeMode(This,useAliasedEdgeMode) (This)->lpVtbl->SetUseAliasedEdgeMode(This,useAliasedEdgeMode)
  8694. #define IXpsOMCanvas_GetAccessibilityShortDescription(This,shortDescription) (This)->lpVtbl->GetAccessibilityShortDescription(This,shortDescription)
  8695. #define IXpsOMCanvas_SetAccessibilityShortDescription(This,shortDescription) (This)->lpVtbl->SetAccessibilityShortDescription(This,shortDescription)
  8696. #define IXpsOMCanvas_GetAccessibilityLongDescription(This,longDescription) (This)->lpVtbl->GetAccessibilityLongDescription(This,longDescription)
  8697. #define IXpsOMCanvas_SetAccessibilityLongDescription(This,longDescription) (This)->lpVtbl->SetAccessibilityLongDescription(This,longDescription)
  8698. #define IXpsOMCanvas_GetDictionary(This,resourceDictionary) (This)->lpVtbl->GetDictionary(This,resourceDictionary)
  8699. #define IXpsOMCanvas_GetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->GetDictionaryLocal(This,resourceDictionary)
  8700. #define IXpsOMCanvas_SetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->SetDictionaryLocal(This,resourceDictionary)
  8701. #define IXpsOMCanvas_GetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource)
  8702. #define IXpsOMCanvas_SetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource)
  8703. #define IXpsOMCanvas_Clone(This,canvas) (This)->lpVtbl->Clone(This,canvas)
  8704. #else
  8705. /*** IUnknown methods ***/
  8706. static FORCEINLINE HRESULT IXpsOMCanvas_QueryInterface(IXpsOMCanvas* This,REFIID riid,void **ppvObject) {
  8707. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  8708. }
  8709. static FORCEINLINE ULONG IXpsOMCanvas_AddRef(IXpsOMCanvas* This) {
  8710. return This->lpVtbl->AddRef(This);
  8711. }
  8712. static FORCEINLINE ULONG IXpsOMCanvas_Release(IXpsOMCanvas* This) {
  8713. return This->lpVtbl->Release(This);
  8714. }
  8715. /*** IXpsOMShareable methods ***/
  8716. static FORCEINLINE HRESULT IXpsOMCanvas_GetOwner(IXpsOMCanvas* This,IUnknown **owner) {
  8717. return This->lpVtbl->GetOwner(This,owner);
  8718. }
  8719. static FORCEINLINE HRESULT IXpsOMCanvas_GetType(IXpsOMCanvas* This,XPS_OBJECT_TYPE *type) {
  8720. return This->lpVtbl->GetType(This,type);
  8721. }
  8722. /*** IXpsOMVisual methods ***/
  8723. static FORCEINLINE HRESULT IXpsOMCanvas_GetTransform(IXpsOMCanvas* This,IXpsOMMatrixTransform **matrixTransform) {
  8724. return This->lpVtbl->GetTransform(This,matrixTransform);
  8725. }
  8726. static FORCEINLINE HRESULT IXpsOMCanvas_GetTransformLocal(IXpsOMCanvas* This,IXpsOMMatrixTransform **matrixTransform) {
  8727. return This->lpVtbl->GetTransformLocal(This,matrixTransform);
  8728. }
  8729. static FORCEINLINE HRESULT IXpsOMCanvas_SetTransformLocal(IXpsOMCanvas* This,IXpsOMMatrixTransform *matrixTransform) {
  8730. return This->lpVtbl->SetTransformLocal(This,matrixTransform);
  8731. }
  8732. static FORCEINLINE HRESULT IXpsOMCanvas_GetTransformLookup(IXpsOMCanvas* This,LPWSTR *key) {
  8733. return This->lpVtbl->GetTransformLookup(This,key);
  8734. }
  8735. static FORCEINLINE HRESULT IXpsOMCanvas_SetTransformLookup(IXpsOMCanvas* This,LPCWSTR key) {
  8736. return This->lpVtbl->SetTransformLookup(This,key);
  8737. }
  8738. static FORCEINLINE HRESULT IXpsOMCanvas_GetClipGeometry(IXpsOMCanvas* This,IXpsOMGeometry **clipGeometry) {
  8739. return This->lpVtbl->GetClipGeometry(This,clipGeometry);
  8740. }
  8741. static FORCEINLINE HRESULT IXpsOMCanvas_GetClipGeometryLocal(IXpsOMCanvas* This,IXpsOMGeometry **clipGeometry) {
  8742. return This->lpVtbl->GetClipGeometryLocal(This,clipGeometry);
  8743. }
  8744. static FORCEINLINE HRESULT IXpsOMCanvas_SetClipGeometryLocal(IXpsOMCanvas* This,IXpsOMGeometry *clipGeometry) {
  8745. return This->lpVtbl->SetClipGeometryLocal(This,clipGeometry);
  8746. }
  8747. static FORCEINLINE HRESULT IXpsOMCanvas_GetClipGeometryLookup(IXpsOMCanvas* This,LPWSTR *key) {
  8748. return This->lpVtbl->GetClipGeometryLookup(This,key);
  8749. }
  8750. static FORCEINLINE HRESULT IXpsOMCanvas_SetClipGeometryLookup(IXpsOMCanvas* This,LPCWSTR key) {
  8751. return This->lpVtbl->SetClipGeometryLookup(This,key);
  8752. }
  8753. static FORCEINLINE HRESULT IXpsOMCanvas_GetOpacity(IXpsOMCanvas* This,FLOAT *opacity) {
  8754. return This->lpVtbl->GetOpacity(This,opacity);
  8755. }
  8756. static FORCEINLINE HRESULT IXpsOMCanvas_SetOpacity(IXpsOMCanvas* This,FLOAT opacity) {
  8757. return This->lpVtbl->SetOpacity(This,opacity);
  8758. }
  8759. static FORCEINLINE HRESULT IXpsOMCanvas_GetOpacityMaskBrush(IXpsOMCanvas* This,IXpsOMBrush **opacityMaskBrush) {
  8760. return This->lpVtbl->GetOpacityMaskBrush(This,opacityMaskBrush);
  8761. }
  8762. static FORCEINLINE HRESULT IXpsOMCanvas_GetOpacityMaskBrushLocal(IXpsOMCanvas* This,IXpsOMBrush **opacityMaskBrush) {
  8763. return This->lpVtbl->GetOpacityMaskBrushLocal(This,opacityMaskBrush);
  8764. }
  8765. static FORCEINLINE HRESULT IXpsOMCanvas_SetOpacityMaskBrushLocal(IXpsOMCanvas* This,IXpsOMBrush *opacityMaskBrush) {
  8766. return This->lpVtbl->SetOpacityMaskBrushLocal(This,opacityMaskBrush);
  8767. }
  8768. static FORCEINLINE HRESULT IXpsOMCanvas_GetOpacityMaskBrushLookup(IXpsOMCanvas* This,LPWSTR *key) {
  8769. return This->lpVtbl->GetOpacityMaskBrushLookup(This,key);
  8770. }
  8771. static FORCEINLINE HRESULT IXpsOMCanvas_SetOpacityMaskBrushLookup(IXpsOMCanvas* This,LPCWSTR key) {
  8772. return This->lpVtbl->SetOpacityMaskBrushLookup(This,key);
  8773. }
  8774. static FORCEINLINE HRESULT IXpsOMCanvas_GetName(IXpsOMCanvas* This,LPWSTR *name) {
  8775. return This->lpVtbl->GetName(This,name);
  8776. }
  8777. static FORCEINLINE HRESULT IXpsOMCanvas_SetName(IXpsOMCanvas* This,LPCWSTR name) {
  8778. return This->lpVtbl->SetName(This,name);
  8779. }
  8780. static FORCEINLINE HRESULT IXpsOMCanvas_GetIsHyperlinkTarget(IXpsOMCanvas* This,WINBOOL *isHyperlink) {
  8781. return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlink);
  8782. }
  8783. static FORCEINLINE HRESULT IXpsOMCanvas_SetIsHyperlinkTarget(IXpsOMCanvas* This,WINBOOL isHyperlink) {
  8784. return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlink);
  8785. }
  8786. static FORCEINLINE HRESULT IXpsOMCanvas_GetHyperlinkNavigateUri(IXpsOMCanvas* This,IUri **hyperlinkUri) {
  8787. return This->lpVtbl->GetHyperlinkNavigateUri(This,hyperlinkUri);
  8788. }
  8789. static FORCEINLINE HRESULT IXpsOMCanvas_SetHyperlinkNavigateUri(IXpsOMCanvas* This,IUri *hyperlinkUri) {
  8790. return This->lpVtbl->SetHyperlinkNavigateUri(This,hyperlinkUri);
  8791. }
  8792. static FORCEINLINE HRESULT IXpsOMCanvas_GetLanguage(IXpsOMCanvas* This,LPWSTR *language) {
  8793. return This->lpVtbl->GetLanguage(This,language);
  8794. }
  8795. static FORCEINLINE HRESULT IXpsOMCanvas_SetLanguage(IXpsOMCanvas* This,LPCWSTR language) {
  8796. return This->lpVtbl->SetLanguage(This,language);
  8797. }
  8798. /*** IXpsOMCanvas methods ***/
  8799. static FORCEINLINE HRESULT IXpsOMCanvas_GetVisuals(IXpsOMCanvas* This,IXpsOMVisualCollection **visuals) {
  8800. return This->lpVtbl->GetVisuals(This,visuals);
  8801. }
  8802. static FORCEINLINE HRESULT IXpsOMCanvas_GetUseAliasedEdgeMode(IXpsOMCanvas* This,WINBOOL *useAliasedEdgeMode) {
  8803. return This->lpVtbl->GetUseAliasedEdgeMode(This,useAliasedEdgeMode);
  8804. }
  8805. static FORCEINLINE HRESULT IXpsOMCanvas_SetUseAliasedEdgeMode(IXpsOMCanvas* This,WINBOOL useAliasedEdgeMode) {
  8806. return This->lpVtbl->SetUseAliasedEdgeMode(This,useAliasedEdgeMode);
  8807. }
  8808. static FORCEINLINE HRESULT IXpsOMCanvas_GetAccessibilityShortDescription(IXpsOMCanvas* This,LPWSTR *shortDescription) {
  8809. return This->lpVtbl->GetAccessibilityShortDescription(This,shortDescription);
  8810. }
  8811. static FORCEINLINE HRESULT IXpsOMCanvas_SetAccessibilityShortDescription(IXpsOMCanvas* This,LPCWSTR shortDescription) {
  8812. return This->lpVtbl->SetAccessibilityShortDescription(This,shortDescription);
  8813. }
  8814. static FORCEINLINE HRESULT IXpsOMCanvas_GetAccessibilityLongDescription(IXpsOMCanvas* This,LPWSTR *longDescription) {
  8815. return This->lpVtbl->GetAccessibilityLongDescription(This,longDescription);
  8816. }
  8817. static FORCEINLINE HRESULT IXpsOMCanvas_SetAccessibilityLongDescription(IXpsOMCanvas* This,LPCWSTR longDescription) {
  8818. return This->lpVtbl->SetAccessibilityLongDescription(This,longDescription);
  8819. }
  8820. static FORCEINLINE HRESULT IXpsOMCanvas_GetDictionary(IXpsOMCanvas* This,IXpsOMDictionary **resourceDictionary) {
  8821. return This->lpVtbl->GetDictionary(This,resourceDictionary);
  8822. }
  8823. static FORCEINLINE HRESULT IXpsOMCanvas_GetDictionaryLocal(IXpsOMCanvas* This,IXpsOMDictionary **resourceDictionary) {
  8824. return This->lpVtbl->GetDictionaryLocal(This,resourceDictionary);
  8825. }
  8826. static FORCEINLINE HRESULT IXpsOMCanvas_SetDictionaryLocal(IXpsOMCanvas* This,IXpsOMDictionary *resourceDictionary) {
  8827. return This->lpVtbl->SetDictionaryLocal(This,resourceDictionary);
  8828. }
  8829. static FORCEINLINE HRESULT IXpsOMCanvas_GetDictionaryResource(IXpsOMCanvas* This,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
  8830. return This->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource);
  8831. }
  8832. static FORCEINLINE HRESULT IXpsOMCanvas_SetDictionaryResource(IXpsOMCanvas* This,IXpsOMRemoteDictionaryResource *remoteDictionaryResource) {
  8833. return This->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource);
  8834. }
  8835. static FORCEINLINE HRESULT IXpsOMCanvas_Clone(IXpsOMCanvas* This,IXpsOMCanvas **canvas) {
  8836. return This->lpVtbl->Clone(This,canvas);
  8837. }
  8838. #endif
  8839. #endif
  8840. #endif
  8841. #endif /* __IXpsOMCanvas_INTERFACE_DEFINED__ */
  8842. /*****************************************************************************
  8843. * IXpsOMPage interface
  8844. */
  8845. #ifndef __IXpsOMPage_INTERFACE_DEFINED__
  8846. #define __IXpsOMPage_INTERFACE_DEFINED__
  8847. DEFINE_GUID(IID_IXpsOMPage, 0xd3e18888, 0xf120, 0x4fee, 0x8c,0x68, 0x35,0x29,0x6e,0xae,0x91,0xd4);
  8848. #if defined(__cplusplus) && !defined(CINTERFACE)
  8849. MIDL_INTERFACE("d3e18888-f120-4fee-8c68-35296eae91d4")
  8850. IXpsOMPage : public IXpsOMPart
  8851. {
  8852. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  8853. IXpsOMPageReference **pageReference) = 0;
  8854. virtual HRESULT STDMETHODCALLTYPE GetVisuals(
  8855. IXpsOMVisualCollection **visuals) = 0;
  8856. virtual HRESULT STDMETHODCALLTYPE GetPageDimensions(
  8857. XPS_SIZE *pageDimensions) = 0;
  8858. virtual HRESULT STDMETHODCALLTYPE SetPageDimensions(
  8859. const XPS_SIZE *pageDimensions) = 0;
  8860. virtual HRESULT STDMETHODCALLTYPE GetContentBox(
  8861. XPS_RECT *contentBox) = 0;
  8862. virtual HRESULT STDMETHODCALLTYPE SetContentBox(
  8863. const XPS_RECT *contentBox) = 0;
  8864. virtual HRESULT STDMETHODCALLTYPE GetBleedBox(
  8865. XPS_RECT *bleedBox) = 0;
  8866. virtual HRESULT STDMETHODCALLTYPE SetBleedBox(
  8867. const XPS_RECT *bleedBox) = 0;
  8868. virtual HRESULT STDMETHODCALLTYPE GetLanguage(
  8869. LPWSTR *language) = 0;
  8870. virtual HRESULT STDMETHODCALLTYPE SetLanguage(
  8871. LPCWSTR language) = 0;
  8872. virtual HRESULT STDMETHODCALLTYPE GetName(
  8873. LPWSTR *name) = 0;
  8874. virtual HRESULT STDMETHODCALLTYPE SetName(
  8875. LPCWSTR name) = 0;
  8876. virtual HRESULT STDMETHODCALLTYPE GetIsHyperlinkTarget(
  8877. WINBOOL *isHyperlinkTarget) = 0;
  8878. virtual HRESULT STDMETHODCALLTYPE SetIsHyperlinkTarget(
  8879. WINBOOL isHyperlinkTarget) = 0;
  8880. virtual HRESULT STDMETHODCALLTYPE GetDictionary(
  8881. IXpsOMDictionary **resourceDictionary) = 0;
  8882. virtual HRESULT STDMETHODCALLTYPE GetDictionaryLocal(
  8883. IXpsOMDictionary **resourceDictionary) = 0;
  8884. virtual HRESULT STDMETHODCALLTYPE SetDictionaryLocal(
  8885. IXpsOMDictionary *resourceDictionary) = 0;
  8886. virtual HRESULT STDMETHODCALLTYPE GetDictionaryResource(
  8887. IXpsOMRemoteDictionaryResource **remoteDictionaryResource) = 0;
  8888. virtual HRESULT STDMETHODCALLTYPE SetDictionaryResource(
  8889. IXpsOMRemoteDictionaryResource *remoteDictionaryResource) = 0;
  8890. virtual HRESULT STDMETHODCALLTYPE Write(
  8891. ISequentialStream *stream,
  8892. WINBOOL optimizeMarkupSize) = 0;
  8893. virtual HRESULT STDMETHODCALLTYPE GenerateUnusedLookupKey(
  8894. XPS_OBJECT_TYPE type,
  8895. LPWSTR *key) = 0;
  8896. virtual HRESULT STDMETHODCALLTYPE Clone(
  8897. IXpsOMPage **page) = 0;
  8898. };
  8899. #ifdef __CRT_UUID_DECL
  8900. __CRT_UUID_DECL(IXpsOMPage, 0xd3e18888, 0xf120, 0x4fee, 0x8c,0x68, 0x35,0x29,0x6e,0xae,0x91,0xd4)
  8901. #endif
  8902. #else
  8903. typedef struct IXpsOMPageVtbl {
  8904. BEGIN_INTERFACE
  8905. /*** IUnknown methods ***/
  8906. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  8907. IXpsOMPage *This,
  8908. REFIID riid,
  8909. void **ppvObject);
  8910. ULONG (STDMETHODCALLTYPE *AddRef)(
  8911. IXpsOMPage *This);
  8912. ULONG (STDMETHODCALLTYPE *Release)(
  8913. IXpsOMPage *This);
  8914. /*** IXpsOMPart methods ***/
  8915. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  8916. IXpsOMPage *This,
  8917. IOpcPartUri **partUri);
  8918. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  8919. IXpsOMPage *This,
  8920. IOpcPartUri *partUri);
  8921. /*** IXpsOMPage methods ***/
  8922. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  8923. IXpsOMPage *This,
  8924. IXpsOMPageReference **pageReference);
  8925. HRESULT (STDMETHODCALLTYPE *GetVisuals)(
  8926. IXpsOMPage *This,
  8927. IXpsOMVisualCollection **visuals);
  8928. HRESULT (STDMETHODCALLTYPE *GetPageDimensions)(
  8929. IXpsOMPage *This,
  8930. XPS_SIZE *pageDimensions);
  8931. HRESULT (STDMETHODCALLTYPE *SetPageDimensions)(
  8932. IXpsOMPage *This,
  8933. const XPS_SIZE *pageDimensions);
  8934. HRESULT (STDMETHODCALLTYPE *GetContentBox)(
  8935. IXpsOMPage *This,
  8936. XPS_RECT *contentBox);
  8937. HRESULT (STDMETHODCALLTYPE *SetContentBox)(
  8938. IXpsOMPage *This,
  8939. const XPS_RECT *contentBox);
  8940. HRESULT (STDMETHODCALLTYPE *GetBleedBox)(
  8941. IXpsOMPage *This,
  8942. XPS_RECT *bleedBox);
  8943. HRESULT (STDMETHODCALLTYPE *SetBleedBox)(
  8944. IXpsOMPage *This,
  8945. const XPS_RECT *bleedBox);
  8946. HRESULT (STDMETHODCALLTYPE *GetLanguage)(
  8947. IXpsOMPage *This,
  8948. LPWSTR *language);
  8949. HRESULT (STDMETHODCALLTYPE *SetLanguage)(
  8950. IXpsOMPage *This,
  8951. LPCWSTR language);
  8952. HRESULT (STDMETHODCALLTYPE *GetName)(
  8953. IXpsOMPage *This,
  8954. LPWSTR *name);
  8955. HRESULT (STDMETHODCALLTYPE *SetName)(
  8956. IXpsOMPage *This,
  8957. LPCWSTR name);
  8958. HRESULT (STDMETHODCALLTYPE *GetIsHyperlinkTarget)(
  8959. IXpsOMPage *This,
  8960. WINBOOL *isHyperlinkTarget);
  8961. HRESULT (STDMETHODCALLTYPE *SetIsHyperlinkTarget)(
  8962. IXpsOMPage *This,
  8963. WINBOOL isHyperlinkTarget);
  8964. HRESULT (STDMETHODCALLTYPE *GetDictionary)(
  8965. IXpsOMPage *This,
  8966. IXpsOMDictionary **resourceDictionary);
  8967. HRESULT (STDMETHODCALLTYPE *GetDictionaryLocal)(
  8968. IXpsOMPage *This,
  8969. IXpsOMDictionary **resourceDictionary);
  8970. HRESULT (STDMETHODCALLTYPE *SetDictionaryLocal)(
  8971. IXpsOMPage *This,
  8972. IXpsOMDictionary *resourceDictionary);
  8973. HRESULT (STDMETHODCALLTYPE *GetDictionaryResource)(
  8974. IXpsOMPage *This,
  8975. IXpsOMRemoteDictionaryResource **remoteDictionaryResource);
  8976. HRESULT (STDMETHODCALLTYPE *SetDictionaryResource)(
  8977. IXpsOMPage *This,
  8978. IXpsOMRemoteDictionaryResource *remoteDictionaryResource);
  8979. HRESULT (STDMETHODCALLTYPE *Write)(
  8980. IXpsOMPage *This,
  8981. ISequentialStream *stream,
  8982. WINBOOL optimizeMarkupSize);
  8983. HRESULT (STDMETHODCALLTYPE *GenerateUnusedLookupKey)(
  8984. IXpsOMPage *This,
  8985. XPS_OBJECT_TYPE type,
  8986. LPWSTR *key);
  8987. HRESULT (STDMETHODCALLTYPE *Clone)(
  8988. IXpsOMPage *This,
  8989. IXpsOMPage **page);
  8990. END_INTERFACE
  8991. } IXpsOMPageVtbl;
  8992. interface IXpsOMPage {
  8993. CONST_VTBL IXpsOMPageVtbl* lpVtbl;
  8994. };
  8995. #ifdef COBJMACROS
  8996. #ifndef WIDL_C_INLINE_WRAPPERS
  8997. /*** IUnknown methods ***/
  8998. #define IXpsOMPage_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  8999. #define IXpsOMPage_AddRef(This) (This)->lpVtbl->AddRef(This)
  9000. #define IXpsOMPage_Release(This) (This)->lpVtbl->Release(This)
  9001. /*** IXpsOMPart methods ***/
  9002. #define IXpsOMPage_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  9003. #define IXpsOMPage_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  9004. /*** IXpsOMPage methods ***/
  9005. #define IXpsOMPage_GetOwner(This,pageReference) (This)->lpVtbl->GetOwner(This,pageReference)
  9006. #define IXpsOMPage_GetVisuals(This,visuals) (This)->lpVtbl->GetVisuals(This,visuals)
  9007. #define IXpsOMPage_GetPageDimensions(This,pageDimensions) (This)->lpVtbl->GetPageDimensions(This,pageDimensions)
  9008. #define IXpsOMPage_SetPageDimensions(This,pageDimensions) (This)->lpVtbl->SetPageDimensions(This,pageDimensions)
  9009. #define IXpsOMPage_GetContentBox(This,contentBox) (This)->lpVtbl->GetContentBox(This,contentBox)
  9010. #define IXpsOMPage_SetContentBox(This,contentBox) (This)->lpVtbl->SetContentBox(This,contentBox)
  9011. #define IXpsOMPage_GetBleedBox(This,bleedBox) (This)->lpVtbl->GetBleedBox(This,bleedBox)
  9012. #define IXpsOMPage_SetBleedBox(This,bleedBox) (This)->lpVtbl->SetBleedBox(This,bleedBox)
  9013. #define IXpsOMPage_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
  9014. #define IXpsOMPage_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
  9015. #define IXpsOMPage_GetName(This,name) (This)->lpVtbl->GetName(This,name)
  9016. #define IXpsOMPage_SetName(This,name) (This)->lpVtbl->SetName(This,name)
  9017. #define IXpsOMPage_GetIsHyperlinkTarget(This,isHyperlinkTarget) (This)->lpVtbl->GetIsHyperlinkTarget(This,isHyperlinkTarget)
  9018. #define IXpsOMPage_SetIsHyperlinkTarget(This,isHyperlinkTarget) (This)->lpVtbl->SetIsHyperlinkTarget(This,isHyperlinkTarget)
  9019. #define IXpsOMPage_GetDictionary(This,resourceDictionary) (This)->lpVtbl->GetDictionary(This,resourceDictionary)
  9020. #define IXpsOMPage_GetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->GetDictionaryLocal(This,resourceDictionary)
  9021. #define IXpsOMPage_SetDictionaryLocal(This,resourceDictionary) (This)->lpVtbl->SetDictionaryLocal(This,resourceDictionary)
  9022. #define IXpsOMPage_GetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource)
  9023. #define IXpsOMPage_SetDictionaryResource(This,remoteDictionaryResource) (This)->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource)
  9024. #define IXpsOMPage_Write(This,stream,optimizeMarkupSize) (This)->lpVtbl->Write(This,stream,optimizeMarkupSize)
  9025. #define IXpsOMPage_GenerateUnusedLookupKey(This,type,key) (This)->lpVtbl->GenerateUnusedLookupKey(This,type,key)
  9026. #define IXpsOMPage_Clone(This,page) (This)->lpVtbl->Clone(This,page)
  9027. #else
  9028. /*** IUnknown methods ***/
  9029. static FORCEINLINE HRESULT IXpsOMPage_QueryInterface(IXpsOMPage* This,REFIID riid,void **ppvObject) {
  9030. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  9031. }
  9032. static FORCEINLINE ULONG IXpsOMPage_AddRef(IXpsOMPage* This) {
  9033. return This->lpVtbl->AddRef(This);
  9034. }
  9035. static FORCEINLINE ULONG IXpsOMPage_Release(IXpsOMPage* This) {
  9036. return This->lpVtbl->Release(This);
  9037. }
  9038. /*** IXpsOMPart methods ***/
  9039. static FORCEINLINE HRESULT IXpsOMPage_GetPartName(IXpsOMPage* This,IOpcPartUri **partUri) {
  9040. return This->lpVtbl->GetPartName(This,partUri);
  9041. }
  9042. static FORCEINLINE HRESULT IXpsOMPage_SetPartName(IXpsOMPage* This,IOpcPartUri *partUri) {
  9043. return This->lpVtbl->SetPartName(This,partUri);
  9044. }
  9045. /*** IXpsOMPage methods ***/
  9046. static FORCEINLINE HRESULT IXpsOMPage_GetOwner(IXpsOMPage* This,IXpsOMPageReference **pageReference) {
  9047. return This->lpVtbl->GetOwner(This,pageReference);
  9048. }
  9049. static FORCEINLINE HRESULT IXpsOMPage_GetVisuals(IXpsOMPage* This,IXpsOMVisualCollection **visuals) {
  9050. return This->lpVtbl->GetVisuals(This,visuals);
  9051. }
  9052. static FORCEINLINE HRESULT IXpsOMPage_GetPageDimensions(IXpsOMPage* This,XPS_SIZE *pageDimensions) {
  9053. return This->lpVtbl->GetPageDimensions(This,pageDimensions);
  9054. }
  9055. static FORCEINLINE HRESULT IXpsOMPage_SetPageDimensions(IXpsOMPage* This,const XPS_SIZE *pageDimensions) {
  9056. return This->lpVtbl->SetPageDimensions(This,pageDimensions);
  9057. }
  9058. static FORCEINLINE HRESULT IXpsOMPage_GetContentBox(IXpsOMPage* This,XPS_RECT *contentBox) {
  9059. return This->lpVtbl->GetContentBox(This,contentBox);
  9060. }
  9061. static FORCEINLINE HRESULT IXpsOMPage_SetContentBox(IXpsOMPage* This,const XPS_RECT *contentBox) {
  9062. return This->lpVtbl->SetContentBox(This,contentBox);
  9063. }
  9064. static FORCEINLINE HRESULT IXpsOMPage_GetBleedBox(IXpsOMPage* This,XPS_RECT *bleedBox) {
  9065. return This->lpVtbl->GetBleedBox(This,bleedBox);
  9066. }
  9067. static FORCEINLINE HRESULT IXpsOMPage_SetBleedBox(IXpsOMPage* This,const XPS_RECT *bleedBox) {
  9068. return This->lpVtbl->SetBleedBox(This,bleedBox);
  9069. }
  9070. static FORCEINLINE HRESULT IXpsOMPage_GetLanguage(IXpsOMPage* This,LPWSTR *language) {
  9071. return This->lpVtbl->GetLanguage(This,language);
  9072. }
  9073. static FORCEINLINE HRESULT IXpsOMPage_SetLanguage(IXpsOMPage* This,LPCWSTR language) {
  9074. return This->lpVtbl->SetLanguage(This,language);
  9075. }
  9076. static FORCEINLINE HRESULT IXpsOMPage_GetName(IXpsOMPage* This,LPWSTR *name) {
  9077. return This->lpVtbl->GetName(This,name);
  9078. }
  9079. static FORCEINLINE HRESULT IXpsOMPage_SetName(IXpsOMPage* This,LPCWSTR name) {
  9080. return This->lpVtbl->SetName(This,name);
  9081. }
  9082. static FORCEINLINE HRESULT IXpsOMPage_GetIsHyperlinkTarget(IXpsOMPage* This,WINBOOL *isHyperlinkTarget) {
  9083. return This->lpVtbl->GetIsHyperlinkTarget(This,isHyperlinkTarget);
  9084. }
  9085. static FORCEINLINE HRESULT IXpsOMPage_SetIsHyperlinkTarget(IXpsOMPage* This,WINBOOL isHyperlinkTarget) {
  9086. return This->lpVtbl->SetIsHyperlinkTarget(This,isHyperlinkTarget);
  9087. }
  9088. static FORCEINLINE HRESULT IXpsOMPage_GetDictionary(IXpsOMPage* This,IXpsOMDictionary **resourceDictionary) {
  9089. return This->lpVtbl->GetDictionary(This,resourceDictionary);
  9090. }
  9091. static FORCEINLINE HRESULT IXpsOMPage_GetDictionaryLocal(IXpsOMPage* This,IXpsOMDictionary **resourceDictionary) {
  9092. return This->lpVtbl->GetDictionaryLocal(This,resourceDictionary);
  9093. }
  9094. static FORCEINLINE HRESULT IXpsOMPage_SetDictionaryLocal(IXpsOMPage* This,IXpsOMDictionary *resourceDictionary) {
  9095. return This->lpVtbl->SetDictionaryLocal(This,resourceDictionary);
  9096. }
  9097. static FORCEINLINE HRESULT IXpsOMPage_GetDictionaryResource(IXpsOMPage* This,IXpsOMRemoteDictionaryResource **remoteDictionaryResource) {
  9098. return This->lpVtbl->GetDictionaryResource(This,remoteDictionaryResource);
  9099. }
  9100. static FORCEINLINE HRESULT IXpsOMPage_SetDictionaryResource(IXpsOMPage* This,IXpsOMRemoteDictionaryResource *remoteDictionaryResource) {
  9101. return This->lpVtbl->SetDictionaryResource(This,remoteDictionaryResource);
  9102. }
  9103. static FORCEINLINE HRESULT IXpsOMPage_Write(IXpsOMPage* This,ISequentialStream *stream,WINBOOL optimizeMarkupSize) {
  9104. return This->lpVtbl->Write(This,stream,optimizeMarkupSize);
  9105. }
  9106. static FORCEINLINE HRESULT IXpsOMPage_GenerateUnusedLookupKey(IXpsOMPage* This,XPS_OBJECT_TYPE type,LPWSTR *key) {
  9107. return This->lpVtbl->GenerateUnusedLookupKey(This,type,key);
  9108. }
  9109. static FORCEINLINE HRESULT IXpsOMPage_Clone(IXpsOMPage* This,IXpsOMPage **page) {
  9110. return This->lpVtbl->Clone(This,page);
  9111. }
  9112. #endif
  9113. #endif
  9114. #endif
  9115. #endif /* __IXpsOMPage_INTERFACE_DEFINED__ */
  9116. /*****************************************************************************
  9117. * IXpsOMDocument interface
  9118. */
  9119. #ifndef __IXpsOMDocument_INTERFACE_DEFINED__
  9120. #define __IXpsOMDocument_INTERFACE_DEFINED__
  9121. DEFINE_GUID(IID_IXpsOMDocument, 0x2c2c94cb, 0xac5f, 0x4254, 0x8e,0xe9, 0x23,0x94,0x83,0x09,0xd9,0xf0);
  9122. #if defined(__cplusplus) && !defined(CINTERFACE)
  9123. MIDL_INTERFACE("2c2c94cb-ac5f-4254-8ee9-23948309d9f0")
  9124. IXpsOMDocument : public IXpsOMPart
  9125. {
  9126. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  9127. IXpsOMDocumentSequence **documentSequence) = 0;
  9128. virtual HRESULT STDMETHODCALLTYPE GetPageReferences(
  9129. IXpsOMPageReferenceCollection **pageReferences) = 0;
  9130. virtual HRESULT STDMETHODCALLTYPE GetPrintTicketResource(
  9131. IXpsOMPrintTicketResource **printTicketResource) = 0;
  9132. virtual HRESULT STDMETHODCALLTYPE SetPrintTicketResource(
  9133. IXpsOMPrintTicketResource *printTicketResource) = 0;
  9134. virtual HRESULT STDMETHODCALLTYPE GetDocumentStructureResource(
  9135. IXpsOMDocumentStructureResource **documentStructureResource) = 0;
  9136. virtual HRESULT STDMETHODCALLTYPE SetDocumentStructureResource(
  9137. IXpsOMDocumentStructureResource *documentStructureResource) = 0;
  9138. virtual HRESULT STDMETHODCALLTYPE GetSignatureBlockResources(
  9139. IXpsOMSignatureBlockResourceCollection **signatureBlockResources) = 0;
  9140. virtual HRESULT STDMETHODCALLTYPE Clone(
  9141. IXpsOMDocument **document) = 0;
  9142. };
  9143. #ifdef __CRT_UUID_DECL
  9144. __CRT_UUID_DECL(IXpsOMDocument, 0x2c2c94cb, 0xac5f, 0x4254, 0x8e,0xe9, 0x23,0x94,0x83,0x09,0xd9,0xf0)
  9145. #endif
  9146. #else
  9147. typedef struct IXpsOMDocumentVtbl {
  9148. BEGIN_INTERFACE
  9149. /*** IUnknown methods ***/
  9150. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  9151. IXpsOMDocument *This,
  9152. REFIID riid,
  9153. void **ppvObject);
  9154. ULONG (STDMETHODCALLTYPE *AddRef)(
  9155. IXpsOMDocument *This);
  9156. ULONG (STDMETHODCALLTYPE *Release)(
  9157. IXpsOMDocument *This);
  9158. /*** IXpsOMPart methods ***/
  9159. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  9160. IXpsOMDocument *This,
  9161. IOpcPartUri **partUri);
  9162. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  9163. IXpsOMDocument *This,
  9164. IOpcPartUri *partUri);
  9165. /*** IXpsOMDocument methods ***/
  9166. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  9167. IXpsOMDocument *This,
  9168. IXpsOMDocumentSequence **documentSequence);
  9169. HRESULT (STDMETHODCALLTYPE *GetPageReferences)(
  9170. IXpsOMDocument *This,
  9171. IXpsOMPageReferenceCollection **pageReferences);
  9172. HRESULT (STDMETHODCALLTYPE *GetPrintTicketResource)(
  9173. IXpsOMDocument *This,
  9174. IXpsOMPrintTicketResource **printTicketResource);
  9175. HRESULT (STDMETHODCALLTYPE *SetPrintTicketResource)(
  9176. IXpsOMDocument *This,
  9177. IXpsOMPrintTicketResource *printTicketResource);
  9178. HRESULT (STDMETHODCALLTYPE *GetDocumentStructureResource)(
  9179. IXpsOMDocument *This,
  9180. IXpsOMDocumentStructureResource **documentStructureResource);
  9181. HRESULT (STDMETHODCALLTYPE *SetDocumentStructureResource)(
  9182. IXpsOMDocument *This,
  9183. IXpsOMDocumentStructureResource *documentStructureResource);
  9184. HRESULT (STDMETHODCALLTYPE *GetSignatureBlockResources)(
  9185. IXpsOMDocument *This,
  9186. IXpsOMSignatureBlockResourceCollection **signatureBlockResources);
  9187. HRESULT (STDMETHODCALLTYPE *Clone)(
  9188. IXpsOMDocument *This,
  9189. IXpsOMDocument **document);
  9190. END_INTERFACE
  9191. } IXpsOMDocumentVtbl;
  9192. interface IXpsOMDocument {
  9193. CONST_VTBL IXpsOMDocumentVtbl* lpVtbl;
  9194. };
  9195. #ifdef COBJMACROS
  9196. #ifndef WIDL_C_INLINE_WRAPPERS
  9197. /*** IUnknown methods ***/
  9198. #define IXpsOMDocument_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  9199. #define IXpsOMDocument_AddRef(This) (This)->lpVtbl->AddRef(This)
  9200. #define IXpsOMDocument_Release(This) (This)->lpVtbl->Release(This)
  9201. /*** IXpsOMPart methods ***/
  9202. #define IXpsOMDocument_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  9203. #define IXpsOMDocument_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  9204. /*** IXpsOMDocument methods ***/
  9205. #define IXpsOMDocument_GetOwner(This,documentSequence) (This)->lpVtbl->GetOwner(This,documentSequence)
  9206. #define IXpsOMDocument_GetPageReferences(This,pageReferences) (This)->lpVtbl->GetPageReferences(This,pageReferences)
  9207. #define IXpsOMDocument_GetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->GetPrintTicketResource(This,printTicketResource)
  9208. #define IXpsOMDocument_SetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->SetPrintTicketResource(This,printTicketResource)
  9209. #define IXpsOMDocument_GetDocumentStructureResource(This,documentStructureResource) (This)->lpVtbl->GetDocumentStructureResource(This,documentStructureResource)
  9210. #define IXpsOMDocument_SetDocumentStructureResource(This,documentStructureResource) (This)->lpVtbl->SetDocumentStructureResource(This,documentStructureResource)
  9211. #define IXpsOMDocument_GetSignatureBlockResources(This,signatureBlockResources) (This)->lpVtbl->GetSignatureBlockResources(This,signatureBlockResources)
  9212. #define IXpsOMDocument_Clone(This,document) (This)->lpVtbl->Clone(This,document)
  9213. #else
  9214. /*** IUnknown methods ***/
  9215. static FORCEINLINE HRESULT IXpsOMDocument_QueryInterface(IXpsOMDocument* This,REFIID riid,void **ppvObject) {
  9216. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  9217. }
  9218. static FORCEINLINE ULONG IXpsOMDocument_AddRef(IXpsOMDocument* This) {
  9219. return This->lpVtbl->AddRef(This);
  9220. }
  9221. static FORCEINLINE ULONG IXpsOMDocument_Release(IXpsOMDocument* This) {
  9222. return This->lpVtbl->Release(This);
  9223. }
  9224. /*** IXpsOMPart methods ***/
  9225. static FORCEINLINE HRESULT IXpsOMDocument_GetPartName(IXpsOMDocument* This,IOpcPartUri **partUri) {
  9226. return This->lpVtbl->GetPartName(This,partUri);
  9227. }
  9228. static FORCEINLINE HRESULT IXpsOMDocument_SetPartName(IXpsOMDocument* This,IOpcPartUri *partUri) {
  9229. return This->lpVtbl->SetPartName(This,partUri);
  9230. }
  9231. /*** IXpsOMDocument methods ***/
  9232. static FORCEINLINE HRESULT IXpsOMDocument_GetOwner(IXpsOMDocument* This,IXpsOMDocumentSequence **documentSequence) {
  9233. return This->lpVtbl->GetOwner(This,documentSequence);
  9234. }
  9235. static FORCEINLINE HRESULT IXpsOMDocument_GetPageReferences(IXpsOMDocument* This,IXpsOMPageReferenceCollection **pageReferences) {
  9236. return This->lpVtbl->GetPageReferences(This,pageReferences);
  9237. }
  9238. static FORCEINLINE HRESULT IXpsOMDocument_GetPrintTicketResource(IXpsOMDocument* This,IXpsOMPrintTicketResource **printTicketResource) {
  9239. return This->lpVtbl->GetPrintTicketResource(This,printTicketResource);
  9240. }
  9241. static FORCEINLINE HRESULT IXpsOMDocument_SetPrintTicketResource(IXpsOMDocument* This,IXpsOMPrintTicketResource *printTicketResource) {
  9242. return This->lpVtbl->SetPrintTicketResource(This,printTicketResource);
  9243. }
  9244. static FORCEINLINE HRESULT IXpsOMDocument_GetDocumentStructureResource(IXpsOMDocument* This,IXpsOMDocumentStructureResource **documentStructureResource) {
  9245. return This->lpVtbl->GetDocumentStructureResource(This,documentStructureResource);
  9246. }
  9247. static FORCEINLINE HRESULT IXpsOMDocument_SetDocumentStructureResource(IXpsOMDocument* This,IXpsOMDocumentStructureResource *documentStructureResource) {
  9248. return This->lpVtbl->SetDocumentStructureResource(This,documentStructureResource);
  9249. }
  9250. static FORCEINLINE HRESULT IXpsOMDocument_GetSignatureBlockResources(IXpsOMDocument* This,IXpsOMSignatureBlockResourceCollection **signatureBlockResources) {
  9251. return This->lpVtbl->GetSignatureBlockResources(This,signatureBlockResources);
  9252. }
  9253. static FORCEINLINE HRESULT IXpsOMDocument_Clone(IXpsOMDocument* This,IXpsOMDocument **document) {
  9254. return This->lpVtbl->Clone(This,document);
  9255. }
  9256. #endif
  9257. #endif
  9258. #endif
  9259. #endif /* __IXpsOMDocument_INTERFACE_DEFINED__ */
  9260. /*****************************************************************************
  9261. * IXpsOMDocumentSequence interface
  9262. */
  9263. #ifndef __IXpsOMDocumentSequence_INTERFACE_DEFINED__
  9264. #define __IXpsOMDocumentSequence_INTERFACE_DEFINED__
  9265. DEFINE_GUID(IID_IXpsOMDocumentSequence, 0x56492eb4, 0xd8d5, 0x425e, 0x82,0x56, 0x4c,0x2b,0x64,0xad,0x02,0x64);
  9266. #if defined(__cplusplus) && !defined(CINTERFACE)
  9267. MIDL_INTERFACE("56492eb4-d8d5-425e-8256-4c2b64ad0264")
  9268. IXpsOMDocumentSequence : public IXpsOMPart
  9269. {
  9270. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  9271. IXpsOMPackage **package) = 0;
  9272. virtual HRESULT STDMETHODCALLTYPE GetDocuments(
  9273. IXpsOMDocumentCollection **documents) = 0;
  9274. virtual HRESULT STDMETHODCALLTYPE GetPrintTicketResource(
  9275. IXpsOMPrintTicketResource **printTicketResource) = 0;
  9276. virtual HRESULT STDMETHODCALLTYPE SetPrintTicketResource(
  9277. IXpsOMPrintTicketResource *printTicketResource) = 0;
  9278. };
  9279. #ifdef __CRT_UUID_DECL
  9280. __CRT_UUID_DECL(IXpsOMDocumentSequence, 0x56492eb4, 0xd8d5, 0x425e, 0x82,0x56, 0x4c,0x2b,0x64,0xad,0x02,0x64)
  9281. #endif
  9282. #else
  9283. typedef struct IXpsOMDocumentSequenceVtbl {
  9284. BEGIN_INTERFACE
  9285. /*** IUnknown methods ***/
  9286. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  9287. IXpsOMDocumentSequence *This,
  9288. REFIID riid,
  9289. void **ppvObject);
  9290. ULONG (STDMETHODCALLTYPE *AddRef)(
  9291. IXpsOMDocumentSequence *This);
  9292. ULONG (STDMETHODCALLTYPE *Release)(
  9293. IXpsOMDocumentSequence *This);
  9294. /*** IXpsOMPart methods ***/
  9295. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  9296. IXpsOMDocumentSequence *This,
  9297. IOpcPartUri **partUri);
  9298. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  9299. IXpsOMDocumentSequence *This,
  9300. IOpcPartUri *partUri);
  9301. /*** IXpsOMDocumentSequence methods ***/
  9302. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  9303. IXpsOMDocumentSequence *This,
  9304. IXpsOMPackage **package);
  9305. HRESULT (STDMETHODCALLTYPE *GetDocuments)(
  9306. IXpsOMDocumentSequence *This,
  9307. IXpsOMDocumentCollection **documents);
  9308. HRESULT (STDMETHODCALLTYPE *GetPrintTicketResource)(
  9309. IXpsOMDocumentSequence *This,
  9310. IXpsOMPrintTicketResource **printTicketResource);
  9311. HRESULT (STDMETHODCALLTYPE *SetPrintTicketResource)(
  9312. IXpsOMDocumentSequence *This,
  9313. IXpsOMPrintTicketResource *printTicketResource);
  9314. END_INTERFACE
  9315. } IXpsOMDocumentSequenceVtbl;
  9316. interface IXpsOMDocumentSequence {
  9317. CONST_VTBL IXpsOMDocumentSequenceVtbl* lpVtbl;
  9318. };
  9319. #ifdef COBJMACROS
  9320. #ifndef WIDL_C_INLINE_WRAPPERS
  9321. /*** IUnknown methods ***/
  9322. #define IXpsOMDocumentSequence_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  9323. #define IXpsOMDocumentSequence_AddRef(This) (This)->lpVtbl->AddRef(This)
  9324. #define IXpsOMDocumentSequence_Release(This) (This)->lpVtbl->Release(This)
  9325. /*** IXpsOMPart methods ***/
  9326. #define IXpsOMDocumentSequence_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  9327. #define IXpsOMDocumentSequence_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  9328. /*** IXpsOMDocumentSequence methods ***/
  9329. #define IXpsOMDocumentSequence_GetOwner(This,package) (This)->lpVtbl->GetOwner(This,package)
  9330. #define IXpsOMDocumentSequence_GetDocuments(This,documents) (This)->lpVtbl->GetDocuments(This,documents)
  9331. #define IXpsOMDocumentSequence_GetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->GetPrintTicketResource(This,printTicketResource)
  9332. #define IXpsOMDocumentSequence_SetPrintTicketResource(This,printTicketResource) (This)->lpVtbl->SetPrintTicketResource(This,printTicketResource)
  9333. #else
  9334. /*** IUnknown methods ***/
  9335. static FORCEINLINE HRESULT IXpsOMDocumentSequence_QueryInterface(IXpsOMDocumentSequence* This,REFIID riid,void **ppvObject) {
  9336. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  9337. }
  9338. static FORCEINLINE ULONG IXpsOMDocumentSequence_AddRef(IXpsOMDocumentSequence* This) {
  9339. return This->lpVtbl->AddRef(This);
  9340. }
  9341. static FORCEINLINE ULONG IXpsOMDocumentSequence_Release(IXpsOMDocumentSequence* This) {
  9342. return This->lpVtbl->Release(This);
  9343. }
  9344. /*** IXpsOMPart methods ***/
  9345. static FORCEINLINE HRESULT IXpsOMDocumentSequence_GetPartName(IXpsOMDocumentSequence* This,IOpcPartUri **partUri) {
  9346. return This->lpVtbl->GetPartName(This,partUri);
  9347. }
  9348. static FORCEINLINE HRESULT IXpsOMDocumentSequence_SetPartName(IXpsOMDocumentSequence* This,IOpcPartUri *partUri) {
  9349. return This->lpVtbl->SetPartName(This,partUri);
  9350. }
  9351. /*** IXpsOMDocumentSequence methods ***/
  9352. static FORCEINLINE HRESULT IXpsOMDocumentSequence_GetOwner(IXpsOMDocumentSequence* This,IXpsOMPackage **package) {
  9353. return This->lpVtbl->GetOwner(This,package);
  9354. }
  9355. static FORCEINLINE HRESULT IXpsOMDocumentSequence_GetDocuments(IXpsOMDocumentSequence* This,IXpsOMDocumentCollection **documents) {
  9356. return This->lpVtbl->GetDocuments(This,documents);
  9357. }
  9358. static FORCEINLINE HRESULT IXpsOMDocumentSequence_GetPrintTicketResource(IXpsOMDocumentSequence* This,IXpsOMPrintTicketResource **printTicketResource) {
  9359. return This->lpVtbl->GetPrintTicketResource(This,printTicketResource);
  9360. }
  9361. static FORCEINLINE HRESULT IXpsOMDocumentSequence_SetPrintTicketResource(IXpsOMDocumentSequence* This,IXpsOMPrintTicketResource *printTicketResource) {
  9362. return This->lpVtbl->SetPrintTicketResource(This,printTicketResource);
  9363. }
  9364. #endif
  9365. #endif
  9366. #endif
  9367. #endif /* __IXpsOMDocumentSequence_INTERFACE_DEFINED__ */
  9368. /*****************************************************************************
  9369. * IXpsOMCoreProperties interface
  9370. */
  9371. #ifndef __IXpsOMCoreProperties_INTERFACE_DEFINED__
  9372. #define __IXpsOMCoreProperties_INTERFACE_DEFINED__
  9373. DEFINE_GUID(IID_IXpsOMCoreProperties, 0x3340fe8f, 0x4027, 0x4aa1, 0x8f,0x5f, 0xd3,0x5a,0xe4,0x5f,0xe5,0x97);
  9374. #if defined(__cplusplus) && !defined(CINTERFACE)
  9375. MIDL_INTERFACE("3340fe8f-4027-4aa1-8f5f-d35ae45fe597")
  9376. IXpsOMCoreProperties : public IXpsOMPart
  9377. {
  9378. virtual HRESULT STDMETHODCALLTYPE GetOwner(
  9379. IXpsOMPackage **package) = 0;
  9380. virtual HRESULT STDMETHODCALLTYPE GetCategory(
  9381. LPWSTR *category) = 0;
  9382. virtual HRESULT STDMETHODCALLTYPE SetCategory(
  9383. LPCWSTR category) = 0;
  9384. virtual HRESULT STDMETHODCALLTYPE GetContentStatus(
  9385. LPWSTR *contentStatus) = 0;
  9386. virtual HRESULT STDMETHODCALLTYPE SetContentStatus(
  9387. LPCWSTR contentStatus) = 0;
  9388. virtual HRESULT STDMETHODCALLTYPE GetContentType(
  9389. LPWSTR *contentType) = 0;
  9390. virtual HRESULT STDMETHODCALLTYPE SetContentType(
  9391. LPCWSTR contentType) = 0;
  9392. virtual HRESULT STDMETHODCALLTYPE GetCreated(
  9393. SYSTEMTIME *created) = 0;
  9394. virtual HRESULT STDMETHODCALLTYPE SetCreated(
  9395. const SYSTEMTIME *created) = 0;
  9396. virtual HRESULT STDMETHODCALLTYPE GetCreator(
  9397. LPWSTR *creator) = 0;
  9398. virtual HRESULT STDMETHODCALLTYPE SetCreator(
  9399. LPCWSTR creator) = 0;
  9400. virtual HRESULT STDMETHODCALLTYPE GetDescription(
  9401. LPWSTR *description) = 0;
  9402. virtual HRESULT STDMETHODCALLTYPE SetDescription(
  9403. LPCWSTR description) = 0;
  9404. virtual HRESULT STDMETHODCALLTYPE GetIdentifier(
  9405. LPWSTR *identifier) = 0;
  9406. virtual HRESULT STDMETHODCALLTYPE SetIdentifier(
  9407. LPCWSTR identifier) = 0;
  9408. virtual HRESULT STDMETHODCALLTYPE GetKeywords(
  9409. LPWSTR *keywords) = 0;
  9410. virtual HRESULT STDMETHODCALLTYPE SetKeywords(
  9411. LPCWSTR keywords) = 0;
  9412. virtual HRESULT STDMETHODCALLTYPE GetLanguage(
  9413. LPWSTR *language) = 0;
  9414. virtual HRESULT STDMETHODCALLTYPE SetLanguage(
  9415. LPCWSTR language) = 0;
  9416. virtual HRESULT STDMETHODCALLTYPE GetLastModifiedBy(
  9417. LPWSTR *lastModifiedBy) = 0;
  9418. virtual HRESULT STDMETHODCALLTYPE SetLastModifiedBy(
  9419. LPCWSTR lastModifiedBy) = 0;
  9420. virtual HRESULT STDMETHODCALLTYPE GetLastPrinted(
  9421. SYSTEMTIME *lastPrinted) = 0;
  9422. virtual HRESULT STDMETHODCALLTYPE SetLastPrinted(
  9423. const SYSTEMTIME *lastPrinted) = 0;
  9424. virtual HRESULT STDMETHODCALLTYPE GetModified(
  9425. SYSTEMTIME *modified) = 0;
  9426. virtual HRESULT STDMETHODCALLTYPE SetModified(
  9427. const SYSTEMTIME *modified) = 0;
  9428. virtual HRESULT STDMETHODCALLTYPE GetRevision(
  9429. LPWSTR *revision) = 0;
  9430. virtual HRESULT STDMETHODCALLTYPE SetRevision(
  9431. LPCWSTR revision) = 0;
  9432. virtual HRESULT STDMETHODCALLTYPE GetSubject(
  9433. LPWSTR *subject) = 0;
  9434. virtual HRESULT STDMETHODCALLTYPE SetSubject(
  9435. LPCWSTR subject) = 0;
  9436. virtual HRESULT STDMETHODCALLTYPE GetTitle(
  9437. LPWSTR *title) = 0;
  9438. virtual HRESULT STDMETHODCALLTYPE SetTitle(
  9439. LPCWSTR title) = 0;
  9440. virtual HRESULT STDMETHODCALLTYPE GetVersion(
  9441. LPWSTR *version) = 0;
  9442. virtual HRESULT STDMETHODCALLTYPE SetVersion(
  9443. LPCWSTR version) = 0;
  9444. virtual HRESULT STDMETHODCALLTYPE Clone(
  9445. IXpsOMCoreProperties **coreProperties) = 0;
  9446. };
  9447. #ifdef __CRT_UUID_DECL
  9448. __CRT_UUID_DECL(IXpsOMCoreProperties, 0x3340fe8f, 0x4027, 0x4aa1, 0x8f,0x5f, 0xd3,0x5a,0xe4,0x5f,0xe5,0x97)
  9449. #endif
  9450. #else
  9451. typedef struct IXpsOMCorePropertiesVtbl {
  9452. BEGIN_INTERFACE
  9453. /*** IUnknown methods ***/
  9454. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  9455. IXpsOMCoreProperties *This,
  9456. REFIID riid,
  9457. void **ppvObject);
  9458. ULONG (STDMETHODCALLTYPE *AddRef)(
  9459. IXpsOMCoreProperties *This);
  9460. ULONG (STDMETHODCALLTYPE *Release)(
  9461. IXpsOMCoreProperties *This);
  9462. /*** IXpsOMPart methods ***/
  9463. HRESULT (STDMETHODCALLTYPE *GetPartName)(
  9464. IXpsOMCoreProperties *This,
  9465. IOpcPartUri **partUri);
  9466. HRESULT (STDMETHODCALLTYPE *SetPartName)(
  9467. IXpsOMCoreProperties *This,
  9468. IOpcPartUri *partUri);
  9469. /*** IXpsOMCoreProperties methods ***/
  9470. HRESULT (STDMETHODCALLTYPE *GetOwner)(
  9471. IXpsOMCoreProperties *This,
  9472. IXpsOMPackage **package);
  9473. HRESULT (STDMETHODCALLTYPE *GetCategory)(
  9474. IXpsOMCoreProperties *This,
  9475. LPWSTR *category);
  9476. HRESULT (STDMETHODCALLTYPE *SetCategory)(
  9477. IXpsOMCoreProperties *This,
  9478. LPCWSTR category);
  9479. HRESULT (STDMETHODCALLTYPE *GetContentStatus)(
  9480. IXpsOMCoreProperties *This,
  9481. LPWSTR *contentStatus);
  9482. HRESULT (STDMETHODCALLTYPE *SetContentStatus)(
  9483. IXpsOMCoreProperties *This,
  9484. LPCWSTR contentStatus);
  9485. HRESULT (STDMETHODCALLTYPE *GetContentType)(
  9486. IXpsOMCoreProperties *This,
  9487. LPWSTR *contentType);
  9488. HRESULT (STDMETHODCALLTYPE *SetContentType)(
  9489. IXpsOMCoreProperties *This,
  9490. LPCWSTR contentType);
  9491. HRESULT (STDMETHODCALLTYPE *GetCreated)(
  9492. IXpsOMCoreProperties *This,
  9493. SYSTEMTIME *created);
  9494. HRESULT (STDMETHODCALLTYPE *SetCreated)(
  9495. IXpsOMCoreProperties *This,
  9496. const SYSTEMTIME *created);
  9497. HRESULT (STDMETHODCALLTYPE *GetCreator)(
  9498. IXpsOMCoreProperties *This,
  9499. LPWSTR *creator);
  9500. HRESULT (STDMETHODCALLTYPE *SetCreator)(
  9501. IXpsOMCoreProperties *This,
  9502. LPCWSTR creator);
  9503. HRESULT (STDMETHODCALLTYPE *GetDescription)(
  9504. IXpsOMCoreProperties *This,
  9505. LPWSTR *description);
  9506. HRESULT (STDMETHODCALLTYPE *SetDescription)(
  9507. IXpsOMCoreProperties *This,
  9508. LPCWSTR description);
  9509. HRESULT (STDMETHODCALLTYPE *GetIdentifier)(
  9510. IXpsOMCoreProperties *This,
  9511. LPWSTR *identifier);
  9512. HRESULT (STDMETHODCALLTYPE *SetIdentifier)(
  9513. IXpsOMCoreProperties *This,
  9514. LPCWSTR identifier);
  9515. HRESULT (STDMETHODCALLTYPE *GetKeywords)(
  9516. IXpsOMCoreProperties *This,
  9517. LPWSTR *keywords);
  9518. HRESULT (STDMETHODCALLTYPE *SetKeywords)(
  9519. IXpsOMCoreProperties *This,
  9520. LPCWSTR keywords);
  9521. HRESULT (STDMETHODCALLTYPE *GetLanguage)(
  9522. IXpsOMCoreProperties *This,
  9523. LPWSTR *language);
  9524. HRESULT (STDMETHODCALLTYPE *SetLanguage)(
  9525. IXpsOMCoreProperties *This,
  9526. LPCWSTR language);
  9527. HRESULT (STDMETHODCALLTYPE *GetLastModifiedBy)(
  9528. IXpsOMCoreProperties *This,
  9529. LPWSTR *lastModifiedBy);
  9530. HRESULT (STDMETHODCALLTYPE *SetLastModifiedBy)(
  9531. IXpsOMCoreProperties *This,
  9532. LPCWSTR lastModifiedBy);
  9533. HRESULT (STDMETHODCALLTYPE *GetLastPrinted)(
  9534. IXpsOMCoreProperties *This,
  9535. SYSTEMTIME *lastPrinted);
  9536. HRESULT (STDMETHODCALLTYPE *SetLastPrinted)(
  9537. IXpsOMCoreProperties *This,
  9538. const SYSTEMTIME *lastPrinted);
  9539. HRESULT (STDMETHODCALLTYPE *GetModified)(
  9540. IXpsOMCoreProperties *This,
  9541. SYSTEMTIME *modified);
  9542. HRESULT (STDMETHODCALLTYPE *SetModified)(
  9543. IXpsOMCoreProperties *This,
  9544. const SYSTEMTIME *modified);
  9545. HRESULT (STDMETHODCALLTYPE *GetRevision)(
  9546. IXpsOMCoreProperties *This,
  9547. LPWSTR *revision);
  9548. HRESULT (STDMETHODCALLTYPE *SetRevision)(
  9549. IXpsOMCoreProperties *This,
  9550. LPCWSTR revision);
  9551. HRESULT (STDMETHODCALLTYPE *GetSubject)(
  9552. IXpsOMCoreProperties *This,
  9553. LPWSTR *subject);
  9554. HRESULT (STDMETHODCALLTYPE *SetSubject)(
  9555. IXpsOMCoreProperties *This,
  9556. LPCWSTR subject);
  9557. HRESULT (STDMETHODCALLTYPE *GetTitle)(
  9558. IXpsOMCoreProperties *This,
  9559. LPWSTR *title);
  9560. HRESULT (STDMETHODCALLTYPE *SetTitle)(
  9561. IXpsOMCoreProperties *This,
  9562. LPCWSTR title);
  9563. HRESULT (STDMETHODCALLTYPE *GetVersion)(
  9564. IXpsOMCoreProperties *This,
  9565. LPWSTR *version);
  9566. HRESULT (STDMETHODCALLTYPE *SetVersion)(
  9567. IXpsOMCoreProperties *This,
  9568. LPCWSTR version);
  9569. HRESULT (STDMETHODCALLTYPE *Clone)(
  9570. IXpsOMCoreProperties *This,
  9571. IXpsOMCoreProperties **coreProperties);
  9572. END_INTERFACE
  9573. } IXpsOMCorePropertiesVtbl;
  9574. interface IXpsOMCoreProperties {
  9575. CONST_VTBL IXpsOMCorePropertiesVtbl* lpVtbl;
  9576. };
  9577. #ifdef COBJMACROS
  9578. #ifndef WIDL_C_INLINE_WRAPPERS
  9579. /*** IUnknown methods ***/
  9580. #define IXpsOMCoreProperties_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  9581. #define IXpsOMCoreProperties_AddRef(This) (This)->lpVtbl->AddRef(This)
  9582. #define IXpsOMCoreProperties_Release(This) (This)->lpVtbl->Release(This)
  9583. /*** IXpsOMPart methods ***/
  9584. #define IXpsOMCoreProperties_GetPartName(This,partUri) (This)->lpVtbl->GetPartName(This,partUri)
  9585. #define IXpsOMCoreProperties_SetPartName(This,partUri) (This)->lpVtbl->SetPartName(This,partUri)
  9586. /*** IXpsOMCoreProperties methods ***/
  9587. #define IXpsOMCoreProperties_GetOwner(This,package) (This)->lpVtbl->GetOwner(This,package)
  9588. #define IXpsOMCoreProperties_GetCategory(This,category) (This)->lpVtbl->GetCategory(This,category)
  9589. #define IXpsOMCoreProperties_SetCategory(This,category) (This)->lpVtbl->SetCategory(This,category)
  9590. #define IXpsOMCoreProperties_GetContentStatus(This,contentStatus) (This)->lpVtbl->GetContentStatus(This,contentStatus)
  9591. #define IXpsOMCoreProperties_SetContentStatus(This,contentStatus) (This)->lpVtbl->SetContentStatus(This,contentStatus)
  9592. #define IXpsOMCoreProperties_GetContentType(This,contentType) (This)->lpVtbl->GetContentType(This,contentType)
  9593. #define IXpsOMCoreProperties_SetContentType(This,contentType) (This)->lpVtbl->SetContentType(This,contentType)
  9594. #define IXpsOMCoreProperties_GetCreated(This,created) (This)->lpVtbl->GetCreated(This,created)
  9595. #define IXpsOMCoreProperties_SetCreated(This,created) (This)->lpVtbl->SetCreated(This,created)
  9596. #define IXpsOMCoreProperties_GetCreator(This,creator) (This)->lpVtbl->GetCreator(This,creator)
  9597. #define IXpsOMCoreProperties_SetCreator(This,creator) (This)->lpVtbl->SetCreator(This,creator)
  9598. #define IXpsOMCoreProperties_GetDescription(This,description) (This)->lpVtbl->GetDescription(This,description)
  9599. #define IXpsOMCoreProperties_SetDescription(This,description) (This)->lpVtbl->SetDescription(This,description)
  9600. #define IXpsOMCoreProperties_GetIdentifier(This,identifier) (This)->lpVtbl->GetIdentifier(This,identifier)
  9601. #define IXpsOMCoreProperties_SetIdentifier(This,identifier) (This)->lpVtbl->SetIdentifier(This,identifier)
  9602. #define IXpsOMCoreProperties_GetKeywords(This,keywords) (This)->lpVtbl->GetKeywords(This,keywords)
  9603. #define IXpsOMCoreProperties_SetKeywords(This,keywords) (This)->lpVtbl->SetKeywords(This,keywords)
  9604. #define IXpsOMCoreProperties_GetLanguage(This,language) (This)->lpVtbl->GetLanguage(This,language)
  9605. #define IXpsOMCoreProperties_SetLanguage(This,language) (This)->lpVtbl->SetLanguage(This,language)
  9606. #define IXpsOMCoreProperties_GetLastModifiedBy(This,lastModifiedBy) (This)->lpVtbl->GetLastModifiedBy(This,lastModifiedBy)
  9607. #define IXpsOMCoreProperties_SetLastModifiedBy(This,lastModifiedBy) (This)->lpVtbl->SetLastModifiedBy(This,lastModifiedBy)
  9608. #define IXpsOMCoreProperties_GetLastPrinted(This,lastPrinted) (This)->lpVtbl->GetLastPrinted(This,lastPrinted)
  9609. #define IXpsOMCoreProperties_SetLastPrinted(This,lastPrinted) (This)->lpVtbl->SetLastPrinted(This,lastPrinted)
  9610. #define IXpsOMCoreProperties_GetModified(This,modified) (This)->lpVtbl->GetModified(This,modified)
  9611. #define IXpsOMCoreProperties_SetModified(This,modified) (This)->lpVtbl->SetModified(This,modified)
  9612. #define IXpsOMCoreProperties_GetRevision(This,revision) (This)->lpVtbl->GetRevision(This,revision)
  9613. #define IXpsOMCoreProperties_SetRevision(This,revision) (This)->lpVtbl->SetRevision(This,revision)
  9614. #define IXpsOMCoreProperties_GetSubject(This,subject) (This)->lpVtbl->GetSubject(This,subject)
  9615. #define IXpsOMCoreProperties_SetSubject(This,subject) (This)->lpVtbl->SetSubject(This,subject)
  9616. #define IXpsOMCoreProperties_GetTitle(This,title) (This)->lpVtbl->GetTitle(This,title)
  9617. #define IXpsOMCoreProperties_SetTitle(This,title) (This)->lpVtbl->SetTitle(This,title)
  9618. #define IXpsOMCoreProperties_GetVersion(This,version) (This)->lpVtbl->GetVersion(This,version)
  9619. #define IXpsOMCoreProperties_SetVersion(This,version) (This)->lpVtbl->SetVersion(This,version)
  9620. #define IXpsOMCoreProperties_Clone(This,coreProperties) (This)->lpVtbl->Clone(This,coreProperties)
  9621. #else
  9622. /*** IUnknown methods ***/
  9623. static FORCEINLINE HRESULT IXpsOMCoreProperties_QueryInterface(IXpsOMCoreProperties* This,REFIID riid,void **ppvObject) {
  9624. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  9625. }
  9626. static FORCEINLINE ULONG IXpsOMCoreProperties_AddRef(IXpsOMCoreProperties* This) {
  9627. return This->lpVtbl->AddRef(This);
  9628. }
  9629. static FORCEINLINE ULONG IXpsOMCoreProperties_Release(IXpsOMCoreProperties* This) {
  9630. return This->lpVtbl->Release(This);
  9631. }
  9632. /*** IXpsOMPart methods ***/
  9633. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetPartName(IXpsOMCoreProperties* This,IOpcPartUri **partUri) {
  9634. return This->lpVtbl->GetPartName(This,partUri);
  9635. }
  9636. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetPartName(IXpsOMCoreProperties* This,IOpcPartUri *partUri) {
  9637. return This->lpVtbl->SetPartName(This,partUri);
  9638. }
  9639. /*** IXpsOMCoreProperties methods ***/
  9640. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetOwner(IXpsOMCoreProperties* This,IXpsOMPackage **package) {
  9641. return This->lpVtbl->GetOwner(This,package);
  9642. }
  9643. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetCategory(IXpsOMCoreProperties* This,LPWSTR *category) {
  9644. return This->lpVtbl->GetCategory(This,category);
  9645. }
  9646. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetCategory(IXpsOMCoreProperties* This,LPCWSTR category) {
  9647. return This->lpVtbl->SetCategory(This,category);
  9648. }
  9649. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetContentStatus(IXpsOMCoreProperties* This,LPWSTR *contentStatus) {
  9650. return This->lpVtbl->GetContentStatus(This,contentStatus);
  9651. }
  9652. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetContentStatus(IXpsOMCoreProperties* This,LPCWSTR contentStatus) {
  9653. return This->lpVtbl->SetContentStatus(This,contentStatus);
  9654. }
  9655. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetContentType(IXpsOMCoreProperties* This,LPWSTR *contentType) {
  9656. return This->lpVtbl->GetContentType(This,contentType);
  9657. }
  9658. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetContentType(IXpsOMCoreProperties* This,LPCWSTR contentType) {
  9659. return This->lpVtbl->SetContentType(This,contentType);
  9660. }
  9661. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetCreated(IXpsOMCoreProperties* This,SYSTEMTIME *created) {
  9662. return This->lpVtbl->GetCreated(This,created);
  9663. }
  9664. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetCreated(IXpsOMCoreProperties* This,const SYSTEMTIME *created) {
  9665. return This->lpVtbl->SetCreated(This,created);
  9666. }
  9667. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetCreator(IXpsOMCoreProperties* This,LPWSTR *creator) {
  9668. return This->lpVtbl->GetCreator(This,creator);
  9669. }
  9670. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetCreator(IXpsOMCoreProperties* This,LPCWSTR creator) {
  9671. return This->lpVtbl->SetCreator(This,creator);
  9672. }
  9673. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetDescription(IXpsOMCoreProperties* This,LPWSTR *description) {
  9674. return This->lpVtbl->GetDescription(This,description);
  9675. }
  9676. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetDescription(IXpsOMCoreProperties* This,LPCWSTR description) {
  9677. return This->lpVtbl->SetDescription(This,description);
  9678. }
  9679. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetIdentifier(IXpsOMCoreProperties* This,LPWSTR *identifier) {
  9680. return This->lpVtbl->GetIdentifier(This,identifier);
  9681. }
  9682. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetIdentifier(IXpsOMCoreProperties* This,LPCWSTR identifier) {
  9683. return This->lpVtbl->SetIdentifier(This,identifier);
  9684. }
  9685. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetKeywords(IXpsOMCoreProperties* This,LPWSTR *keywords) {
  9686. return This->lpVtbl->GetKeywords(This,keywords);
  9687. }
  9688. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetKeywords(IXpsOMCoreProperties* This,LPCWSTR keywords) {
  9689. return This->lpVtbl->SetKeywords(This,keywords);
  9690. }
  9691. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetLanguage(IXpsOMCoreProperties* This,LPWSTR *language) {
  9692. return This->lpVtbl->GetLanguage(This,language);
  9693. }
  9694. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetLanguage(IXpsOMCoreProperties* This,LPCWSTR language) {
  9695. return This->lpVtbl->SetLanguage(This,language);
  9696. }
  9697. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetLastModifiedBy(IXpsOMCoreProperties* This,LPWSTR *lastModifiedBy) {
  9698. return This->lpVtbl->GetLastModifiedBy(This,lastModifiedBy);
  9699. }
  9700. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetLastModifiedBy(IXpsOMCoreProperties* This,LPCWSTR lastModifiedBy) {
  9701. return This->lpVtbl->SetLastModifiedBy(This,lastModifiedBy);
  9702. }
  9703. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetLastPrinted(IXpsOMCoreProperties* This,SYSTEMTIME *lastPrinted) {
  9704. return This->lpVtbl->GetLastPrinted(This,lastPrinted);
  9705. }
  9706. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetLastPrinted(IXpsOMCoreProperties* This,const SYSTEMTIME *lastPrinted) {
  9707. return This->lpVtbl->SetLastPrinted(This,lastPrinted);
  9708. }
  9709. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetModified(IXpsOMCoreProperties* This,SYSTEMTIME *modified) {
  9710. return This->lpVtbl->GetModified(This,modified);
  9711. }
  9712. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetModified(IXpsOMCoreProperties* This,const SYSTEMTIME *modified) {
  9713. return This->lpVtbl->SetModified(This,modified);
  9714. }
  9715. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetRevision(IXpsOMCoreProperties* This,LPWSTR *revision) {
  9716. return This->lpVtbl->GetRevision(This,revision);
  9717. }
  9718. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetRevision(IXpsOMCoreProperties* This,LPCWSTR revision) {
  9719. return This->lpVtbl->SetRevision(This,revision);
  9720. }
  9721. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetSubject(IXpsOMCoreProperties* This,LPWSTR *subject) {
  9722. return This->lpVtbl->GetSubject(This,subject);
  9723. }
  9724. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetSubject(IXpsOMCoreProperties* This,LPCWSTR subject) {
  9725. return This->lpVtbl->SetSubject(This,subject);
  9726. }
  9727. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetTitle(IXpsOMCoreProperties* This,LPWSTR *title) {
  9728. return This->lpVtbl->GetTitle(This,title);
  9729. }
  9730. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetTitle(IXpsOMCoreProperties* This,LPCWSTR title) {
  9731. return This->lpVtbl->SetTitle(This,title);
  9732. }
  9733. static FORCEINLINE HRESULT IXpsOMCoreProperties_GetVersion(IXpsOMCoreProperties* This,LPWSTR *version) {
  9734. return This->lpVtbl->GetVersion(This,version);
  9735. }
  9736. static FORCEINLINE HRESULT IXpsOMCoreProperties_SetVersion(IXpsOMCoreProperties* This,LPCWSTR version) {
  9737. return This->lpVtbl->SetVersion(This,version);
  9738. }
  9739. static FORCEINLINE HRESULT IXpsOMCoreProperties_Clone(IXpsOMCoreProperties* This,IXpsOMCoreProperties **coreProperties) {
  9740. return This->lpVtbl->Clone(This,coreProperties);
  9741. }
  9742. #endif
  9743. #endif
  9744. #endif
  9745. #endif /* __IXpsOMCoreProperties_INTERFACE_DEFINED__ */
  9746. #endif
  9747. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  9748. /*****************************************************************************
  9749. * IXpsOMThumbnailGenerator interface
  9750. */
  9751. #ifndef __IXpsOMThumbnailGenerator_INTERFACE_DEFINED__
  9752. #define __IXpsOMThumbnailGenerator_INTERFACE_DEFINED__
  9753. DEFINE_GUID(IID_IXpsOMThumbnailGenerator, 0x15b873d5, 0x1971, 0x41e8, 0x83,0xa3, 0x65,0x78,0x40,0x30,0x64,0xc7);
  9754. #if defined(__cplusplus) && !defined(CINTERFACE)
  9755. MIDL_INTERFACE("15b873d5-1971-41e8-83a3-6578403064c7")
  9756. IXpsOMThumbnailGenerator : public IUnknown
  9757. {
  9758. virtual HRESULT STDMETHODCALLTYPE GenerateThumbnail(
  9759. IXpsOMPage *page,
  9760. XPS_IMAGE_TYPE thumbnailType,
  9761. XPS_THUMBNAIL_SIZE thumbnailSize,
  9762. IOpcPartUri *imageResourcePartName,
  9763. IXpsOMImageResource **imageResource) = 0;
  9764. };
  9765. #ifdef __CRT_UUID_DECL
  9766. __CRT_UUID_DECL(IXpsOMThumbnailGenerator, 0x15b873d5, 0x1971, 0x41e8, 0x83,0xa3, 0x65,0x78,0x40,0x30,0x64,0xc7)
  9767. #endif
  9768. #else
  9769. typedef struct IXpsOMThumbnailGeneratorVtbl {
  9770. BEGIN_INTERFACE
  9771. /*** IUnknown methods ***/
  9772. HRESULT (STDMETHODCALLTYPE *QueryInterface)(
  9773. IXpsOMThumbnailGenerator *This,
  9774. REFIID riid,
  9775. void **ppvObject);
  9776. ULONG (STDMETHODCALLTYPE *AddRef)(
  9777. IXpsOMThumbnailGenerator *This);
  9778. ULONG (STDMETHODCALLTYPE *Release)(
  9779. IXpsOMThumbnailGenerator *This);
  9780. /*** IXpsOMThumbnailGenerator methods ***/
  9781. HRESULT (STDMETHODCALLTYPE *GenerateThumbnail)(
  9782. IXpsOMThumbnailGenerator *This,
  9783. IXpsOMPage *page,
  9784. XPS_IMAGE_TYPE thumbnailType,
  9785. XPS_THUMBNAIL_SIZE thumbnailSize,
  9786. IOpcPartUri *imageResourcePartName,
  9787. IXpsOMImageResource **imageResource);
  9788. END_INTERFACE
  9789. } IXpsOMThumbnailGeneratorVtbl;
  9790. interface IXpsOMThumbnailGenerator {
  9791. CONST_VTBL IXpsOMThumbnailGeneratorVtbl* lpVtbl;
  9792. };
  9793. #ifdef COBJMACROS
  9794. #ifndef WIDL_C_INLINE_WRAPPERS
  9795. /*** IUnknown methods ***/
  9796. #define IXpsOMThumbnailGenerator_QueryInterface(This,riid,ppvObject) (This)->lpVtbl->QueryInterface(This,riid,ppvObject)
  9797. #define IXpsOMThumbnailGenerator_AddRef(This) (This)->lpVtbl->AddRef(This)
  9798. #define IXpsOMThumbnailGenerator_Release(This) (This)->lpVtbl->Release(This)
  9799. /*** IXpsOMThumbnailGenerator methods ***/
  9800. #define IXpsOMThumbnailGenerator_GenerateThumbnail(This,page,thumbnailType,thumbnailSize,imageResourcePartName,imageResource) (This)->lpVtbl->GenerateThumbnail(This,page,thumbnailType,thumbnailSize,imageResourcePartName,imageResource)
  9801. #else
  9802. /*** IUnknown methods ***/
  9803. static FORCEINLINE HRESULT IXpsOMThumbnailGenerator_QueryInterface(IXpsOMThumbnailGenerator* This,REFIID riid,void **ppvObject) {
  9804. return This->lpVtbl->QueryInterface(This,riid,ppvObject);
  9805. }
  9806. static FORCEINLINE ULONG IXpsOMThumbnailGenerator_AddRef(IXpsOMThumbnailGenerator* This) {
  9807. return This->lpVtbl->AddRef(This);
  9808. }
  9809. static FORCEINLINE ULONG IXpsOMThumbnailGenerator_Release(IXpsOMThumbnailGenerator* This) {
  9810. return This->lpVtbl->Release(This);
  9811. }
  9812. /*** IXpsOMThumbnailGenerator methods ***/
  9813. static FORCEINLINE HRESULT IXpsOMThumbnailGenerator_GenerateThumbnail(IXpsOMThumbnailGenerator* This,IXpsOMPage *page,XPS_IMAGE_TYPE thumbnailType,XPS_THUMBNAIL_SIZE thumbnailSize,IOpcPartUri *imageResourcePartName,IXpsOMImageResource **imageResource) {
  9814. return This->lpVtbl->GenerateThumbnail(This,page,thumbnailType,thumbnailSize,imageResourcePartName,imageResource);
  9815. }
  9816. #endif
  9817. #endif
  9818. #endif
  9819. #endif /* __IXpsOMThumbnailGenerator_INTERFACE_DEFINED__ */
  9820. #endif
  9821. #ifndef __MSXPS_LIBRARY_DEFINED__
  9822. #define __MSXPS_LIBRARY_DEFINED__
  9823. DEFINE_GUID(LIBID_MSXPS, 0xb47491a0, 0xcf33, 0x4fe4, 0x9a,0x48, 0xb0,0xac,0xda,0xe2,0x07,0xe8);
  9824. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_APP)
  9825. /*****************************************************************************
  9826. * XpsOMObjectFactory coclass
  9827. */
  9828. DEFINE_GUID(CLSID_XpsOMObjectFactory, 0xe974d26d, 0x3d9b, 0x4d47, 0x88,0xcc, 0x38,0x72,0xf2,0xdc,0x35,0x85);
  9829. #ifdef __cplusplus
  9830. class DECLSPEC_UUID("e974d26d-3d9b-4d47-88cc-3872f2dc3585") XpsOMObjectFactory;
  9831. #ifdef __CRT_UUID_DECL
  9832. __CRT_UUID_DECL(XpsOMObjectFactory, 0xe974d26d, 0x3d9b, 0x4d47, 0x88,0xcc, 0x38,0x72,0xf2,0xdc,0x35,0x85)
  9833. #endif
  9834. #endif
  9835. #endif
  9836. #if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
  9837. /*****************************************************************************
  9838. * XpsOMThumbnailGenerator coclass
  9839. */
  9840. DEFINE_GUID(CLSID_XpsOMThumbnailGenerator, 0x7e4a23e2, 0xb969, 0x4761, 0xbe,0x35, 0x1a,0x8c,0xed,0x58,0xe3,0x23);
  9841. #ifdef __cplusplus
  9842. class DECLSPEC_UUID("7e4a23e2-b969-4761-be35-1a8ced58e323") XpsOMThumbnailGenerator;
  9843. #ifdef __CRT_UUID_DECL
  9844. __CRT_UUID_DECL(XpsOMThumbnailGenerator, 0x7e4a23e2, 0xb969, 0x4761, 0xbe,0x35, 0x1a,0x8c,0xed,0x58,0xe3,0x23)
  9845. #endif
  9846. #endif
  9847. #endif
  9848. #endif /* __MSXPS_LIBRARY_DEFINED__ */
  9849. #endif
  9850. /* Begin additional prototypes for all interfaces */
  9851. /* End additional prototypes */
  9852. #ifdef __cplusplus
  9853. }
  9854. #endif
  9855. #endif /* __xpsobjectmodel_h__ */